public final class ActiveServices extends Object
Constructor and Description |
---|
ActiveServices(ActivityManagerService service) |
Modifier and Type | Method and Description |
---|---|
protected boolean |
dumpService(FileDescriptor fd,
PrintWriter pw,
String name,
String[] args,
int opti,
boolean dumpAll)
There are three ways to call this:
- no service specified: dump all the services
- a flattened component name that matched an existing service was specified as the
first arg: dump that one service
- the first arg isn't the flattened component name of an existing service:
dump all services whose component contains the first arg as a substring
|
PendingIntent |
getRunningServiceControlPanelLocked(ComponentName name) |
void |
setServiceForegroundLocked(ComponentName className,
IBinder token,
int id,
Notification notification,
int flags) |
void |
updateServiceConnectionActivitiesLocked(com.android.server.am.ProcessRecord clientProc) |
public ActiveServices(ActivityManagerService service)
public void setServiceForegroundLocked(ComponentName className, IBinder token, int id, Notification notification, int flags)
public void updateServiceConnectionActivitiesLocked(com.android.server.am.ProcessRecord clientProc)
public PendingIntent getRunningServiceControlPanelLocked(ComponentName name)
protected boolean dumpService(FileDescriptor fd, PrintWriter pw, String name, String[] args, int opti, boolean dumpAll)