/frameworks/base/core/java/android/os/ |
D | ServiceManagerNative.java | 27 public abstract class ServiceManagerNative extends Binder implements IServiceManager 33 static public IServiceManager asInterface(IBinder obj) in asInterface() 38 IServiceManager in = in asInterface() 39 (IServiceManager)obj.queryLocalInterface(descriptor); in asInterface() 56 case IServiceManager.GET_SERVICE_TRANSACTION: { in onTransact() 57 data.enforceInterface(IServiceManager.descriptor); in onTransact() 64 case IServiceManager.CHECK_SERVICE_TRANSACTION: { in onTransact() 65 data.enforceInterface(IServiceManager.descriptor); in onTransact() 72 case IServiceManager.ADD_SERVICE_TRANSACTION: { in onTransact() 73 data.enforceInterface(IServiceManager.descriptor); in onTransact() [all …]
|
D | ServiceManager.java | 33 private static IServiceManager sServiceManager; 101 private static IServiceManager getIServiceManager() { in getIServiceManager() 155 addService(name, service, false, IServiceManager.DUMP_FLAG_PRIORITY_DEFAULT); in addService() 168 addService(name, service, allowIsolated, IServiceManager.DUMP_FLAG_PRIORITY_DEFAULT); in addService() 215 return getIServiceManager().listServices(IServiceManager.DUMP_FLAG_PRIORITY_ALL); in listServices()
|
/frameworks/native/cmds/dumpsys/ |
D | dumpsys.cpp | 87 bitmask = IServiceManager::DUMP_FLAG_PRIORITY_CRITICAL; in ConvertPriorityTypeToBitmask() 91 bitmask = IServiceManager::DUMP_FLAG_PRIORITY_HIGH; in ConvertPriorityTypeToBitmask() 95 bitmask = IServiceManager::DUMP_FLAG_PRIORITY_NORMAL; in ConvertPriorityTypeToBitmask() 102 if (bitmask == IServiceManager::DUMP_FLAG_PRIORITY_CRITICAL) { in ConvertBitmaskToPriorityType() 105 if (bitmask == IServiceManager::DUMP_FLAG_PRIORITY_HIGH) { in ConvertBitmaskToPriorityType() 108 if (bitmask == IServiceManager::DUMP_FLAG_PRIORITY_NORMAL) { in ConvertBitmaskToPriorityType() 124 int priorityFlags = IServiceManager::DUMP_FLAG_PRIORITY_ALL; in main() 276 Vector<String16> protoServices = sm_->listServices(IServiceManager::DUMP_FLAG_PROTO); in listServices() 294 if ((priorityFlags == IServiceManager::DUMP_FLAG_PRIORITY_ALL) || in setServiceArgs() 295 (priorityFlags == IServiceManager::DUMP_FLAG_PRIORITY_NORMAL) || in setServiceArgs() [all …]
|
D | dumpsys.h | 29 Dumpsys(android::IServiceManager* sm) : sm_(sm) { in Dumpsys() 119 android::IServiceManager* sm_;
|
D | main.cpp | 33 sp<IServiceManager> sm = defaultServiceManager(); in main()
|
/frameworks/native/cmds/lshal/ |
D | Lshal.h | 40 sp<hidl::manager::V1_0::IServiceManager> serviceManager, 41 sp<hidl::manager::V1_0::IServiceManager> passthroughManager); 47 const sp<hidl::manager::V1_0::IServiceManager> &serviceManager() const; 48 const sp<hidl::manager::V1_0::IServiceManager> &passthroughManager() const; 69 sp<hidl::manager::V1_0::IServiceManager> mServiceManager; 70 sp<hidl::manager::V1_0::IServiceManager> mPassthroughManager;
|
D | ListCommand.h | 87 Status fetchPassthrough(const sp<::android::hidl::manager::V1_0::IServiceManager> &manager); 88 Status fetchBinderized(const sp<::android::hidl::manager::V1_0::IServiceManager> &manager); 89 Status fetchAllLibraries(const sp<::android::hidl::manager::V1_0::IServiceManager> &manager); 91 Status fetchBinderizedEntry(const sp<::android::hidl::manager::V1_0::IServiceManager> &manager,
|
D | Lshal.cpp | 35 using ::android::hidl::manager::V1_0::IServiceManager; 43 sp<hidl::manager::V1_0::IServiceManager> serviceManager, in Lshal() 44 sp<hidl::manager::V1_0::IServiceManager> passthroughManager) in Lshal() 240 const sp<IServiceManager> &Lshal::serviceManager() const { in serviceManager() 244 const sp<IServiceManager> &Lshal::passthroughManager() const { in passthroughManager()
|
D | test.cpp | 40 using ::android::hidl::manager::V1_0::IServiceManager; 48 using InstanceDebugInfo = IServiceManager::InstanceDebugInfo; 87 class MockServiceManager : public IServiceManager { 94 #define MOCK_METHOD_CB(name) MOCK_METHOD1(name, R<void>(IServiceManager::name##_cb)) 98 MOCK_METHOD2(getTransport, R<IServiceManager::Transport>(String, String)); 345 [] (IServiceManager::list_cb cb) { in initMockServiceManager() 357 [] (IServiceManager::debugDump_cb cb) { in initMockServiceManager() 366 [] (IServiceManager::debugDump_cb cb) { in initMockServiceManager()
|
/frameworks/native/cmds/dumpsys/tests/ |
D | dumpsys_test.cpp | 50 class ServiceManagerMock : public IServiceManager { 135 EXPECT_CALL(sm_, listServices(IServiceManager::DUMP_FLAG_PRIORITY_ALL)) in ExpectListServices() 279 … ExpectListServicesWithPriority({"Locksmith", "Valet"}, IServiceManager::DUMP_FLAG_PRIORITY_HIGH); in TEST_F() 290 ExpectListServicesWithPriority({}, IServiceManager::DUMP_FLAG_PRIORITY_HIGH); in TEST_F() 300 IServiceManager::DUMP_FLAG_PRIORITY_ALL); in TEST_F() 301 ExpectListServicesWithPriority({"Valet", "Car"}, IServiceManager::DUMP_FLAG_PROTO); in TEST_F() 371 IServiceManager::DUMP_FLAG_PRIORITY_NORMAL); in TEST_F() 386 IServiceManager::DUMP_FLAG_PRIORITY_CRITICAL); in TEST_F() 401 IServiceManager::DUMP_FLAG_PRIORITY_HIGH); in TEST_F() 450 IServiceManager::DUMP_FLAG_PRIORITY_CRITICAL); in TEST_F() [all …]
|
/frameworks/native/libs/dumputils/ |
D | dump_utils.cpp | 76 using android::hidl::manager::V1_0::IServiceManager; in get_interesting_hal_pids() 80 sp<IServiceManager> manager = IServiceManager::getService(); in get_interesting_hal_pids() 85 if (info.pid == static_cast<int>(IServiceManager::PidConstant::NO_PID)) { in get_interesting_hal_pids()
|
/frameworks/native/libs/binder/ |
D | IServiceManager.cpp | 38 sp<IServiceManager> defaultServiceManager() in defaultServiceManager() 45 gDefaultServiceManager = interface_cast<IServiceManager>( in defaultServiceManager() 136 class BpServiceManager : public BpInterface<IServiceManager> 140 : BpInterface<IServiceManager>(impl) in BpServiceManager() 181 data.writeInterfaceToken(IServiceManager::getInterfaceDescriptor()); in checkService() 190 data.writeInterfaceToken(IServiceManager::getInterfaceDescriptor()); in addService() 205 data.writeInterfaceToken(IServiceManager::getInterfaceDescriptor()); in listServices()
|
/frameworks/native/libs/binder/include/binder/ |
D | BinderService.h | 38 int dumpFlags = IServiceManager::DUMP_FLAG_PRIORITY_DEFAULT) { 39 sp<IServiceManager> sm(defaultServiceManager()); 46 int dumpFlags = IServiceManager::DUMP_FLAG_PRIORITY_DEFAULT) {
|
D | IServiceManager.h | 29 class IServiceManager : public IInterface 81 sp<IServiceManager> defaultServiceManager(); 86 const sp<IServiceManager> sm = defaultServiceManager(); in getService()
|
/frameworks/base/services/core/java/com/android/server/broadcastradio/hal2/ |
D | BroadcastRadioService.java | 27 import android.hidl.manager.V1_0.IServiceManager; 46 IServiceManager manager = IServiceManager.getService(); in listByInterface()
|
/frameworks/native/services/surfaceflinger/ |
D | main_surfaceflinger.cpp | 103 sp<IServiceManager> sm(defaultServiceManager()); in main() 105 IServiceManager::DUMP_FLAG_PRIORITY_CRITICAL); in main()
|
/frameworks/av/media/audioserver/ |
D | main_audioserver.cpp | 111 sp<IServiceManager> sm = defaultServiceManager(); in main() 137 sp<IServiceManager> sm = defaultServiceManager(); in main()
|
/frameworks/base/services/core/java/com/android/server/ |
D | Watchdog.java | 34 import android.hidl.manager.V1_0.IServiceManager; 383 IServiceManager serviceManager = IServiceManager.getService(); in getInterestingHalPids() 384 ArrayList<IServiceManager.InstanceDebugInfo> dump = in getInterestingHalPids() 387 for (IServiceManager.InstanceDebugInfo info : dump) { in getInterestingHalPids() 388 if (info.pid == IServiceManager.PidConstant.NO_PID) { in getInterestingHalPids()
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/ |
D | HostapdHal.java | 24 import android.hidl.manager.V1_0.IServiceManager; 52 private IServiceManager mIServiceManager = null; 377 protected IServiceManager getServiceManagerMockable() throws RemoteException { in getServiceManagerMockable() 379 return IServiceManager.getService(); in getServiceManagerMockable()
|
/frameworks/native/libs/binder/include/private/binder/ |
D | Static.h | 40 extern sp<IServiceManager> gDefaultServiceManager;
|
/frameworks/av/drm/drmserver/ |
D | main_drmserver.cpp | 34 sp<IServiceManager> sm = defaultServiceManager(); in main()
|
/frameworks/av/services/mediadrm/ |
D | main_mediadrmserver.cpp | 38 sp<IServiceManager> sm = defaultServiceManager(); in main()
|
/frameworks/av/media/libmediaplayerservice/ |
D | ActivityManager.cpp | 31 sp<IServiceManager> sm = defaultServiceManager(); in openContentProviderFile()
|
/frameworks/av/camera/cameraserver/ |
D | main_cameraserver.cpp | 33 sp<IServiceManager> sm = defaultServiceManager(); in main()
|
/frameworks/av/services/mediaanalytics/ |
D | main_mediametrics.cpp | 41 sp<IServiceManager> sm(defaultServiceManager()); in main()
|