public class ManagedServices.ManagedServiceInfo extends Object implements IBinder.DeathRecipient
Modifier and Type | Field and Description |
---|---|
ComponentName |
component |
ServiceConnection |
connection |
boolean |
isSystem |
IInterface |
service |
int |
targetSdkVersion |
int |
userid |
Constructor and Description |
---|
ManagedServiceInfo(IInterface service,
ComponentName component,
int userid,
boolean isSystem,
ServiceConnection connection,
int targetSdkVersion) |
Modifier and Type | Method and Description |
---|---|
void |
binderDied() |
boolean |
enabledAndUserMatches(int nid) |
ManagedServices |
getOwner() |
boolean |
isEnabledForCurrentProfiles()
convenience method for looking in mEnabledServicesForCurrentProfiles
|
boolean |
isGuest(ManagedServices host) |
boolean |
supportsProfiles() |
String |
toString()
Returns a string representation of the object.
|
public IInterface service
public ComponentName component
public int userid
public boolean isSystem
public ServiceConnection connection
public int targetSdkVersion
public ManagedServiceInfo(IInterface service, ComponentName component, int userid, boolean isSystem, ServiceConnection connection, int targetSdkVersion)
public boolean isGuest(ManagedServices host)
public ManagedServices getOwner()
public String toString()
Object
toString
method returns a string that
"textually represents" this object. The result should
be a concise but informative representation that is easy for a
person to read.
It is recommended that all subclasses override this method.
The toString
method for class Object
returns a string consisting of the name of the class of which the
object is an instance, the at-sign character `@
', and
the unsigned hexadecimal representation of the hash code of the
object. In other words, this method returns a string equal to the
value of:
getClass().getName() + '@' + Integer.toHexString(hashCode())
public boolean enabledAndUserMatches(int nid)
public boolean supportsProfiles()
public void binderDied()
binderDied
in interface IBinder.DeathRecipient
public boolean isEnabledForCurrentProfiles()