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