/frameworks/native/libs/fakeservicemanager/ |
D | test_sm.cpp | 34 using android::IServiceManager; 52 IServiceManager::DUMP_FLAG_PRIORITY_DEFAULT), OK); in TEST() 58 IServiceManager::DUMP_FLAG_PRIORITY_DEFAULT), android::UNEXPECTED_NULL); in TEST() 64 IServiceManager::DUMP_FLAG_PRIORITY_DEFAULT), OK); in TEST() 66 IServiceManager::DUMP_FLAG_PRIORITY_DEFAULT), OK); in TEST() 72 IServiceManager::DUMP_FLAG_PRIORITY_DEFAULT), OK); in TEST() 83 IServiceManager::DUMP_FLAG_PRIORITY_DEFAULT), OK); in TEST() 98 IServiceManager::DUMP_FLAG_PRIORITY_DEFAULT), OK); in TEST() 100 IServiceManager::DUMP_FLAG_PRIORITY_NORMAL), OK); in TEST() 102 IServiceManager::DUMP_FLAG_PRIORITY_HIGH), OK); in TEST() [all …]
|
D | FakeServiceManager.cpp | 103 std::optional<IServiceManager::ConnectionInfo> FakeServiceManager::getConnectionInfo( in getConnectionInfo() 119 std::vector<IServiceManager::ServiceDebugInfo> FakeServiceManager::getServiceDebugInfo() { in getServiceDebugInfo() 120 std::vector<IServiceManager::ServiceDebugInfo> ret; in getServiceDebugInfo()
|
/frameworks/native/libs/binder/ndk/ |
D | service_manager.cpp | 26 using ::android::IServiceManager; 38 sp<IServiceManager> sm = defaultServiceManager(); in AServiceManager_addService() 49 sp<IServiceManager> sm = defaultServiceManager(); in AServiceManager_addServiceWithFlags() 54 dumpFlags |= IServiceManager::DUMP_FLAG_PRIORITY_CRITICAL; in AServiceManager_addServiceWithFlags() 57 dumpFlags |= IServiceManager::DUMP_FLAG_PRIORITY_HIGH; in AServiceManager_addServiceWithFlags() 60 dumpFlags |= IServiceManager::DUMP_FLAG_PRIORITY_NORMAL; in AServiceManager_addServiceWithFlags() 63 dumpFlags |= IServiceManager::DUMP_FLAG_PRIORITY_DEFAULT; in AServiceManager_addServiceWithFlags() 66 dumpFlags = IServiceManager::DUMP_FLAG_PRIORITY_DEFAULT; in AServiceManager_addServiceWithFlags() 79 sp<IServiceManager> sm = defaultServiceManager(); in AServiceManager_checkService() 91 sp<IServiceManager> sm = defaultServiceManager(); in AServiceManager_getService() [all …]
|
/frameworks/native/cmds/servicemanager/ |
D | test_sm.cpp | 40 using android::os::IServiceManager; 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() 117 IServiceManager::DUMP_FLAG_PRIORITY_DEFAULT).isOk()); in TEST() 123 IServiceManager::DUMP_FLAG_PRIORITY_DEFAULT).isOk()); in TEST() 137 IServiceManager::DUMP_FLAG_PRIORITY_DEFAULT).isOk()); in TEST() 145 IServiceManager::DUMP_FLAG_PRIORITY_DEFAULT).isOk()); in TEST() 147 IServiceManager::DUMP_FLAG_PRIORITY_DEFAULT).isOk()); in TEST() [all …]
|
/frameworks/native/libs/binder/include/binder/ |
D | IServiceManager.h | 33 class LIBBINDER_EXPORTED IServiceManager : public IInterface { 38 IServiceManager(); 39 virtual ~IServiceManager(); 152 LIBBINDER_EXPORTED sp<IServiceManager> defaultServiceManager(); 160 LIBBINDER_EXPORTED void setDefaultServiceManager(const sp<IServiceManager>& sm); 164 const sp<IServiceManager> sm = defaultServiceManager(); in waitForService() 170 const sp<IServiceManager> sm = defaultServiceManager(); in waitForDeclaredService() 177 const sp<IServiceManager> sm = defaultServiceManager(); in checkDeclaredService() 199 const sp<IServiceManager> sm = defaultServiceManager(); in getService() 237 LIBBINDER_EXPORTED sp<IServiceManager> createRpcDelegateServiceManager(
|
D | BinderService.h | 55 int dumpFlags = IServiceManager::DUMP_FLAG_PRIORITY_DEFAULT) { 56 sp<IServiceManager> sm(defaultServiceManager()); 63 int dumpFlags = IServiceManager::DUMP_FLAG_PRIORITY_DEFAULT) {
|
/frameworks/native/include/binder/ |
D | IServiceManager.h | 33 class LIBBINDER_EXPORTED IServiceManager : public IInterface { 38 IServiceManager(); 39 virtual ~IServiceManager(); 152 LIBBINDER_EXPORTED sp<IServiceManager> defaultServiceManager(); 160 LIBBINDER_EXPORTED void setDefaultServiceManager(const sp<IServiceManager>& sm); 164 const sp<IServiceManager> sm = defaultServiceManager(); in waitForService() 170 const sp<IServiceManager> sm = defaultServiceManager(); in waitForDeclaredService() 177 const sp<IServiceManager> sm = defaultServiceManager(); in checkDeclaredService() 199 const sp<IServiceManager> sm = defaultServiceManager(); in getService() 237 LIBBINDER_EXPORTED sp<IServiceManager> createRpcDelegateServiceManager(
|
D | BinderService.h | 55 int dumpFlags = IServiceManager::DUMP_FLAG_PRIORITY_DEFAULT) { 56 sp<IServiceManager> sm(defaultServiceManager()); 63 int dumpFlags = IServiceManager::DUMP_FLAG_PRIORITY_DEFAULT) {
|
/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; 74 sp<hidl::manager::V1_0::IServiceManager> mServiceManager; 75 sp<hidl::manager::V1_0::IServiceManager> mPassthroughManager;
|
D | ListCommand.h | 96 Status fetchPassthrough(const sp<::android::hidl::manager::V1_0::IServiceManager> &manager); 97 Status fetchBinderized(const sp<::android::hidl::manager::V1_0::IServiceManager> &manager); 98 Status fetchAllLibraries(const sp<::android::hidl::manager::V1_0::IServiceManager> &manager); 102 Status fetchBinderizedEntry(const sp<::android::hidl::manager::V1_0::IServiceManager> &manager,
|
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() 250 const sp<IServiceManager> &Lshal::serviceManager() const { in serviceManager() 254 const sp<IServiceManager> &Lshal::passthroughManager() const { in passthroughManager()
|
/frameworks/native/libs/binder/ |
D | IServiceManager.cpp | 53 using AidlRegistrationCallback = IServiceManager::LocalRegistrationCallback; 55 using AidlServiceManager = android::os::IServiceManager; 62 static_assert(AidlServiceManager::DUMP_FLAG_PRIORITY_CRITICAL == IServiceManager::DUMP_FLAG_PRIORIT… 63 static_assert(AidlServiceManager::DUMP_FLAG_PRIORITY_HIGH == IServiceManager::DUMP_FLAG_PRIORITY_HI… 64 static_assert(AidlServiceManager::DUMP_FLAG_PRIORITY_NORMAL == IServiceManager::DUMP_FLAG_PRIORITY_… 65 static_assert(AidlServiceManager::DUMP_FLAG_PRIORITY_DEFAULT == IServiceManager::DUMP_FLAG_PRIORITY… 66 static_assert(AidlServiceManager::DUMP_FLAG_PRIORITY_ALL == IServiceManager::DUMP_FLAG_PRIORITY_ALL… 67 static_assert(AidlServiceManager::DUMP_FLAG_PROTO == IServiceManager::DUMP_FLAG_PROTO); 69 const String16& IServiceManager::getInterfaceDescriptor() const { in getInterfaceDescriptor() 72 IServiceManager::IServiceManager() {} in IServiceManager() function in android::IServiceManager [all …]
|
D | servicedispatcher.cpp | 54 using ServiceRetriever = decltype(&android::IServiceManager::checkService); 120 ServiceManagerProxyToNative(const sp<android::os::IServiceManager>& impl) : mImpl(impl) {} in ServiceManagerProxyToNative() 187 sp<android::os::IServiceManager> mImpl; 205 auto interface = android::os::IServiceManager::asInterface(service); in wrapServiceManager() 278 ServiceRetriever serviceRetriever = &android::IServiceManager::checkService; in main() 285 serviceRetriever = &android::IServiceManager::getService; in main()
|
/frameworks/native/cmds/dumpsys/ |
D | dumpsys.cpp | 100 bitmask = IServiceManager::DUMP_FLAG_PRIORITY_CRITICAL; in ConvertPriorityTypeToBitmask() 104 bitmask = IServiceManager::DUMP_FLAG_PRIORITY_HIGH; in ConvertPriorityTypeToBitmask() 108 bitmask = IServiceManager::DUMP_FLAG_PRIORITY_NORMAL; in ConvertPriorityTypeToBitmask() 115 if (bitmask == IServiceManager::DUMP_FLAG_PRIORITY_CRITICAL) { in ConvertBitmaskToPriorityType() 118 if (bitmask == IServiceManager::DUMP_FLAG_PRIORITY_HIGH) { in ConvertBitmaskToPriorityType() 121 if (bitmask == IServiceManager::DUMP_FLAG_PRIORITY_NORMAL) { in ConvertBitmaskToPriorityType() 138 int priorityFlags = IServiceManager::DUMP_FLAG_PRIORITY_ALL; in main() 311 Vector<String16> protoServices = sm_->listServices(IServiceManager::DUMP_FLAG_PROTO); in listServices() 329 if ((priorityFlags == IServiceManager::DUMP_FLAG_PRIORITY_ALL) || in setServiceArgs() 330 (priorityFlags == IServiceManager::DUMP_FLAG_PRIORITY_NORMAL) || in setServiceArgs() [all …]
|
D | dumpsys.h | 29 explicit Dumpsys(android::IServiceManager* sm) : sm_(sm) { in Dumpsys() 129 android::IServiceManager* sm_;
|
/frameworks/native/cmds/dumpsys/tests/ |
D | dumpsys_test.cpp | 53 class ServiceManagerMock : public IServiceManager { 148 EXPECT_CALL(sm_, listServices(IServiceManager::DUMP_FLAG_PRIORITY_ALL)) in ExpectListServices() 308 … ExpectListServicesWithPriority({"Locksmith", "Valet"}, IServiceManager::DUMP_FLAG_PRIORITY_HIGH); in TEST_F() 319 ExpectListServicesWithPriority({}, IServiceManager::DUMP_FLAG_PRIORITY_HIGH); in TEST_F() 329 IServiceManager::DUMP_FLAG_PRIORITY_ALL); in TEST_F() 330 ExpectListServicesWithPriority({"Valet", "Car"}, IServiceManager::DUMP_FLAG_PROTO); in TEST_F() 400 IServiceManager::DUMP_FLAG_PRIORITY_NORMAL); in TEST_F() 415 IServiceManager::DUMP_FLAG_PRIORITY_CRITICAL); in TEST_F() 430 IServiceManager::DUMP_FLAG_PRIORITY_HIGH); in TEST_F() 479 IServiceManager::DUMP_FLAG_PRIORITY_CRITICAL); in TEST_F() [all …]
|
/frameworks/native/services/surfaceflinger/ |
D | main_surfaceflinger.cpp | 147 sp<IServiceManager> sm(defaultServiceManager()); in main() 149 IServiceManager::DUMP_FLAG_PRIORITY_CRITICAL | IServiceManager::DUMP_FLAG_PROTO); in main() 157 IServiceManager::DUMP_FLAG_PRIORITY_CRITICAL | IServiceManager::DUMP_FLAG_PROTO); in main()
|
/frameworks/native/libs/dumputils/ |
D | dump_utils.cpp | 165 using ServiceDebugInfo = android::IServiceManager::ServiceDebugInfo; in get_interesting_aidl_pids() 179 using android::hidl::manager::V1_0::IServiceManager; in get_interesting_hidl_pids() 183 sp<IServiceManager> manager = IServiceManager::getService(); in get_interesting_hidl_pids() 188 if (info.pid == static_cast<int>(IServiceManager::PidConstant::NO_PID)) { in get_interesting_hidl_pids()
|
/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() 130 private IServiceManager mServiceManager;
|
D | HwNoService.java | 19 import android.hidl.manager.V1_2.IServiceManager; 29 final class HwNoService extends IServiceManager.Stub implements IHwBinder, IHwInterface { 80 public ArrayList<android.hidl.manager.V1_0.IServiceManager.InstanceDebugInfo> debugDump() in debugDump() 83 return new ArrayList<android.hidl.manager.V1_0.IServiceManager.InstanceDebugInfo>(); in debugDump()
|
/frameworks/native/libs/fakeservicemanager/include/fakeservicemanager/ |
D | FakeServiceManager.h | 32 class FakeServiceManager : public IServiceManager { 58 std::optional<IServiceManager::ConnectionInfo> getConnectionInfo(const String16& name) override; 66 std::vector<IServiceManager::ServiceDebugInfo> getServiceDebugInfo() override;
|
/frameworks/av/media/audioserver/ |
D | main_audioserver.cpp | 124 sp<IServiceManager> sm = defaultServiceManager(); in main() 180 sp<IServiceManager> sm = defaultServiceManager(); in main() 182 false /* allowIsolated */, IServiceManager::DUMP_FLAG_PRIORITY_DEFAULT); in main() 184 false /* allowIsolated */, IServiceManager::DUMP_FLAG_PRIORITY_DEFAULT); in main()
|
/frameworks/native/libs/binder/ndk/tests/ |
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/base/services/core/jni/ |
D | com_android_server_SystemServer.cpp | 89 using ::android::hidl::manager::V1_0::IServiceManager; in startSensorManagerHidlService() 95 if (IServiceManager::Transport::HWBINDER == in startSensorManagerHidlService() 140 using ::android::hidl::manager::V1_0::IServiceManager; in android_server_SystemServer_startHidlServices() 145 if (IServiceManager::Transport::HWBINDER == in android_server_SystemServer_startHidlServices()
|
/frameworks/av/media/utils/fuzzers/ |
D | SchedulingPolicyServiceFuzz.cpp | 27 using android::IServiceManager; 35 const sp<IServiceManager> sm(defaultServiceManager()); in getBatteryService()
|