@Implements(value=android.os.ServiceManager.class, isInAndroidSdk=false) public class ShadowServiceManager extends java.lang.Object
Constructor and Description |
---|
ShadowServiceManager() |
Modifier and Type | Method and Description |
---|---|
static void |
addService(java.lang.String name,
android.os.IBinder service) |
static android.os.IBinder |
checkService(java.lang.String name) |
static android.os.IBinder |
getService(java.lang.String name) |
static void |
initServiceCache(java.util.Map<java.lang.String,android.os.IBinder> cache) |
static java.lang.String[] |
listServices() |
@Implementation public static android.os.IBinder getService(java.lang.String name)
@Implementation public static void addService(java.lang.String name, android.os.IBinder service)
@Implementation public static android.os.IBinder checkService(java.lang.String name)
@Implementation public static java.lang.String[] listServices() throws android.os.RemoteException
android.os.RemoteException
@Implementation public static void initServiceCache(java.util.Map<java.lang.String,android.os.IBinder> cache)