/frameworks/native/libs/fakeservicemanager/ |
D | test_sm.cpp | 33 using android::IServiceManager; 50 IServiceManager::DUMP_FLAG_PRIORITY_DEFAULT), OK); in TEST() 56 IServiceManager::DUMP_FLAG_PRIORITY_DEFAULT), OK); in TEST() 58 IServiceManager::DUMP_FLAG_PRIORITY_DEFAULT), OK); in TEST() 66 IServiceManager::DUMP_FLAG_PRIORITY_DEFAULT), OK); in TEST() 81 IServiceManager::DUMP_FLAG_PRIORITY_DEFAULT), OK); in TEST() 83 IServiceManager::DUMP_FLAG_PRIORITY_NORMAL), OK); in TEST() 85 IServiceManager::DUMP_FLAG_PRIORITY_HIGH), OK); in TEST() 87 IServiceManager::DUMP_FLAG_PRIORITY_CRITICAL), OK); in TEST() 89 android::Vector<String16> out = sm->listServices(IServiceManager::DUMP_FLAG_PRIORITY_ALL); in TEST() [all …]
|
/frameworks/native/cmds/servicemanager/ |
D | test_sm.cpp | 35 using android::os::IServiceManager; 81 IServiceManager::DUMP_FLAG_PRIORITY_DEFAULT).isOk()); in TEST() 87 IServiceManager::DUMP_FLAG_PRIORITY_DEFAULT).isOk()); in TEST() 93 IServiceManager::DUMP_FLAG_PRIORITY_DEFAULT).isOk()); in TEST() 99 IServiceManager::DUMP_FLAG_PRIORITY_DEFAULT).isOk()); in TEST() 105 IServiceManager::DUMP_FLAG_PRIORITY_DEFAULT).isOk()); in TEST() 111 IServiceManager::DUMP_FLAG_PRIORITY_DEFAULT).isOk()); in TEST() 125 IServiceManager::DUMP_FLAG_PRIORITY_DEFAULT).isOk()); in TEST() 133 IServiceManager::DUMP_FLAG_PRIORITY_DEFAULT).isOk()); in TEST() 135 IServiceManager::DUMP_FLAG_PRIORITY_DEFAULT).isOk()); in TEST() [all …]
|
D | main.cpp | 36 using ::android::os::IServiceManager; 128 …if (!manager->addService("manager", manager, false /*allowIsolated*/, IServiceManager::DUMP_FLAG_P… in main()
|
/frameworks/native/include/binder/ |
D | IServiceManager.h | 34 class IServiceManager : public IInterface 40 IServiceManager(); 41 virtual ~IServiceManager(); 101 sp<IServiceManager> defaultServiceManager(); 109 void setDefaultServiceManager(const sp<IServiceManager>& sm); 113 const sp<IServiceManager> sm = defaultServiceManager(); in waitForService() 119 const sp<IServiceManager> sm = defaultServiceManager(); in waitForDeclaredService() 126 const sp<IServiceManager> sm = defaultServiceManager(); in checkDeclaredService() 148 const sp<IServiceManager> sm = defaultServiceManager(); in getService()
|
D | BinderService.h | 38 int dumpFlags = IServiceManager::DUMP_FLAG_PRIORITY_DEFAULT) { 39 sp<IServiceManager> sm(defaultServiceManager()); 46 int dumpFlags = IServiceManager::DUMP_FLAG_PRIORITY_DEFAULT) {
|
/frameworks/native/libs/binder/include/binder/ |
D | IServiceManager.h | 34 class IServiceManager : public IInterface 40 IServiceManager(); 41 virtual ~IServiceManager(); 101 sp<IServiceManager> defaultServiceManager(); 109 void setDefaultServiceManager(const sp<IServiceManager>& sm); 113 const sp<IServiceManager> sm = defaultServiceManager(); in waitForService() 119 const sp<IServiceManager> sm = defaultServiceManager(); in waitForDeclaredService() 126 const sp<IServiceManager> sm = defaultServiceManager(); in checkDeclaredService() 148 const sp<IServiceManager> sm = defaultServiceManager(); in getService()
|
D | BinderService.h | 38 int dumpFlags = IServiceManager::DUMP_FLAG_PRIORITY_DEFAULT) { 39 sp<IServiceManager> sm(defaultServiceManager()); 46 int dumpFlags = IServiceManager::DUMP_FLAG_PRIORITY_DEFAULT) {
|
/frameworks/native/libs/binder/ |
D | IServiceManager.cpp | 43 using AidlServiceManager = android::os::IServiceManager; 50 static_assert(AidlServiceManager::DUMP_FLAG_PRIORITY_CRITICAL == IServiceManager::DUMP_FLAG_PRIORIT… 51 static_assert(AidlServiceManager::DUMP_FLAG_PRIORITY_HIGH == IServiceManager::DUMP_FLAG_PRIORITY_HI… 52 static_assert(AidlServiceManager::DUMP_FLAG_PRIORITY_NORMAL == IServiceManager::DUMP_FLAG_PRIORITY_… 53 static_assert(AidlServiceManager::DUMP_FLAG_PRIORITY_DEFAULT == IServiceManager::DUMP_FLAG_PRIORITY… 54 static_assert(AidlServiceManager::DUMP_FLAG_PRIORITY_ALL == IServiceManager::DUMP_FLAG_PRIORITY_ALL… 55 static_assert(AidlServiceManager::DUMP_FLAG_PROTO == IServiceManager::DUMP_FLAG_PROTO); 57 const String16& IServiceManager::getInterfaceDescriptor() const { in getInterfaceDescriptor() 60 IServiceManager::IServiceManager() {} in IServiceManager() function in android::IServiceManager 61 IServiceManager::~IServiceManager() {} in ~IServiceManager() [all …]
|
/frameworks/native/cmds/lshal/ |
D | Lshal.h | 38 sp<hidl::manager::V1_0::IServiceManager> serviceManager, 39 sp<hidl::manager::V1_0::IServiceManager> passthroughManager); 45 const sp<hidl::manager::V1_0::IServiceManager> &serviceManager() const; 46 const sp<hidl::manager::V1_0::IServiceManager> &passthroughManager() const; 67 sp<hidl::manager::V1_0::IServiceManager> mServiceManager; 68 sp<hidl::manager::V1_0::IServiceManager> mPassthroughManager;
|
D | Lshal.cpp | 37 using ::android::hidl::manager::V1_0::IServiceManager; 45 sp<hidl::manager::V1_0::IServiceManager> serviceManager, in Lshal() 46 sp<hidl::manager::V1_0::IServiceManager> passthroughManager) in Lshal() 243 const sp<IServiceManager> &Lshal::serviceManager() const { in serviceManager() 247 const sp<IServiceManager> &Lshal::passthroughManager() const { in passthroughManager()
|
D | ListCommand.h | 98 Status fetchPassthrough(const sp<::android::hidl::manager::V1_0::IServiceManager> &manager); 99 Status fetchBinderized(const sp<::android::hidl::manager::V1_0::IServiceManager> &manager); 100 Status fetchAllLibraries(const sp<::android::hidl::manager::V1_0::IServiceManager> &manager); 104 Status fetchBinderizedEntry(const sp<::android::hidl::manager::V1_0::IServiceManager> &manager,
|
/frameworks/native/cmds/dumpsys/ |
D | dumpsys.cpp | 89 bitmask = IServiceManager::DUMP_FLAG_PRIORITY_CRITICAL; in ConvertPriorityTypeToBitmask() 93 bitmask = IServiceManager::DUMP_FLAG_PRIORITY_HIGH; in ConvertPriorityTypeToBitmask() 97 bitmask = IServiceManager::DUMP_FLAG_PRIORITY_NORMAL; in ConvertPriorityTypeToBitmask() 104 if (bitmask == IServiceManager::DUMP_FLAG_PRIORITY_CRITICAL) { in ConvertBitmaskToPriorityType() 107 if (bitmask == IServiceManager::DUMP_FLAG_PRIORITY_HIGH) { in ConvertBitmaskToPriorityType() 110 if (bitmask == IServiceManager::DUMP_FLAG_PRIORITY_NORMAL) { in ConvertBitmaskToPriorityType() 127 int priorityFlags = IServiceManager::DUMP_FLAG_PRIORITY_ALL; in main() 288 Vector<String16> protoServices = sm_->listServices(IServiceManager::DUMP_FLAG_PROTO); in listServices() 306 if ((priorityFlags == IServiceManager::DUMP_FLAG_PRIORITY_ALL) || in setServiceArgs() 307 (priorityFlags == IServiceManager::DUMP_FLAG_PRIORITY_NORMAL) || in setServiceArgs() [all …]
|
D | dumpsys.h | 29 explicit Dumpsys(android::IServiceManager* sm) : sm_(sm) { in Dumpsys() 125 android::IServiceManager* sm_;
|
/frameworks/native/cmds/dumpsys/tests/ |
D | dumpsys_test.cpp | 50 class ServiceManagerMock : public IServiceManager { 136 EXPECT_CALL(sm_, listServices(IServiceManager::DUMP_FLAG_PRIORITY_ALL)) in ExpectListServices() 280 … ExpectListServicesWithPriority({"Locksmith", "Valet"}, IServiceManager::DUMP_FLAG_PRIORITY_HIGH); in TEST_F() 291 ExpectListServicesWithPriority({}, IServiceManager::DUMP_FLAG_PRIORITY_HIGH); in TEST_F() 301 IServiceManager::DUMP_FLAG_PRIORITY_ALL); in TEST_F() 302 ExpectListServicesWithPriority({"Valet", "Car"}, IServiceManager::DUMP_FLAG_PROTO); in TEST_F() 372 IServiceManager::DUMP_FLAG_PRIORITY_NORMAL); in TEST_F() 387 IServiceManager::DUMP_FLAG_PRIORITY_CRITICAL); in TEST_F() 402 IServiceManager::DUMP_FLAG_PRIORITY_HIGH); in TEST_F() 451 IServiceManager::DUMP_FLAG_PRIORITY_CRITICAL); in TEST_F() [all …]
|
/frameworks/native/libs/binder/ndk/ |
D | service_manager.cpp | 26 using ::android::IServiceManager; 36 sp<IServiceManager> sm = defaultServiceManager(); in AServiceManager_addService() 45 sp<IServiceManager> sm = defaultServiceManager(); in AServiceManager_checkService() 57 sp<IServiceManager> sm = defaultServiceManager(); in AServiceManager_getService()
|
/frameworks/base/core/java/android/os/ |
D | ServiceManagerNative.java | 38 public static IServiceManager asInterface(IBinder obj) { in asInterface() 50 class ServiceManagerProxy implements IServiceManager { 53 mServiceManager = IServiceManager.Stub.asInterface(remote); in ServiceManagerProxy() 110 private IServiceManager mServiceManager;
|
D | ServiceManager.java | 36 private static IServiceManager sServiceManager; 110 private static IServiceManager getIServiceManager() { in getIServiceManager() 166 addService(name, service, false, IServiceManager.DUMP_FLAG_PRIORITY_DEFAULT); in addService() 180 addService(name, service, allowIsolated, IServiceManager.DUMP_FLAG_PRIORITY_DEFAULT); in addService() 268 return getIServiceManager().listServices(IServiceManager.DUMP_FLAG_PRIORITY_ALL); in listServices()
|
/frameworks/native/libs/dumputils/ |
D | dump_utils.cpp | 132 using android::hidl::manager::V1_0::IServiceManager; in get_interesting_hal_pids() 136 sp<IServiceManager> manager = IServiceManager::getService(); in get_interesting_hal_pids() 143 if (info.pid == static_cast<int>(IServiceManager::PidConstant::NO_PID)) { in get_interesting_hal_pids()
|
/frameworks/native/services/surfaceflinger/ |
D | main_surfaceflinger.cpp | 112 sp<IServiceManager> sm(defaultServiceManager()); in main() 114 IServiceManager::DUMP_FLAG_PRIORITY_CRITICAL | IServiceManager::DUMP_FLAG_PROTO); in main()
|
/frameworks/av/media/libaudiohal/ |
D | FactoryHalHidl.cpp | 73 using ::android::hidl::manager::V1_0::IServiceManager; in hasHalService() 74 sp<IServiceManager> sm = ::android::hardware::defaultServiceManager(); in hasHalService() 82 using Transport = IServiceManager::Transport; in hasHalService()
|
/frameworks/native/libs/binder/ndk/test/ |
D | binderVendorDoubleLoadTest.cpp | 122 using aidl::android::os::IServiceManager; in TEST() 123 std::shared_ptr<IServiceManager> manager = IServiceManager::fromBinder(binder); in TEST() 129 manager->listServices(IServiceManager::DUMP_FLAG_PRIORITY_ALL, &services).getStatus()); in TEST()
|
/frameworks/av/media/libaudiohal/impl/ |
D | DevicesFactoryHalHidl.cpp | 37 using ::android::hidl::manager::V1_0::IServiceManager; 71 sp<IServiceManager> sm = IServiceManager::getService(); in onFirstRef() 153 if (debugInfo.pid == (int)IServiceManager::PidConstant::NO_PID) { in getHalPids()
|
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/ |
D | HostapdHalTest.java | 32 import android.hidl.manager.V1_0.IServiceManager; 68 private @Mock IServiceManager mServiceManagerMock; 110 protected IServiceManager getServiceManagerMockable() throws RemoteException { in getServiceManagerMockable() 158 .thenReturn(IServiceManager.Transport.EMPTY); in setUp() 203 .thenReturn(IServiceManager.Transport.HWBINDER); in testInitialize_successV1_1() 215 .thenReturn(IServiceManager.Transport.HWBINDER); in testInitialize_registerCallbackFailureV1_1() 508 .thenReturn(IServiceManager.Transport.HWBINDER); in testAddAccessPointSuccess_Psk_BandAny_WithACS_AcsChannels() 654 .thenReturn(IServiceManager.Transport.HWBINDER); in testOnFailureCallbackHandling() 819 .thenReturn(IServiceManager.Transport.HWBINDER); in testForceClientDisconnectSuccess() 834 .thenReturn(IServiceManager.Transport.HWBINDER); in testForceClientDisconnectFailureDueToInvalidArg() [all …]
|
/frameworks/base/services/core/java/com/android/server/broadcastradio/hal2/ |
D | BroadcastRadioService.java | 28 import android.hidl.manager.V1_0.IServiceManager; 122 IServiceManager manager = IServiceManager.getService(); in BroadcastRadioService()
|
/frameworks/av/media/audioserver/ |
D | main_audioserver.cpp | 110 sp<IServiceManager> sm = defaultServiceManager(); in main() 136 sp<IServiceManager> sm = defaultServiceManager(); in main()
|