/frameworks/native/libs/binder/ndk/ |
D | service_manager.cpp | 24 using ::android::defaultServiceManager; 38 sp<IServiceManager> sm = defaultServiceManager(); in AServiceManager_addService() 49 sp<IServiceManager> sm = defaultServiceManager(); in AServiceManager_addServiceWithFlags() 79 sp<IServiceManager> sm = defaultServiceManager(); in AServiceManager_checkService() 91 sp<IServiceManager> sm = defaultServiceManager(); in AServiceManager_getService() 113 sp<IServiceManager> sm = defaultServiceManager(); in AServiceManager_waitForService() 164 sp<IServiceManager> sm = defaultServiceManager(); in AServiceManager_registerForServiceNotifications() 187 sp<IServiceManager> sm = defaultServiceManager(); in AServiceManager_isDeclared() 196 sp<IServiceManager> sm = defaultServiceManager(); in AServiceManager_forEachDeclaredInstance() 206 sp<IServiceManager> sm = defaultServiceManager(); in AServiceManager_isUpdatableViaApex() [all …]
|
/frameworks/native/libs/binder/tests/ |
D | binderHostDeviceTest.cpp | 94 ASSERT_NE(nullptr, defaultServiceManager()) << "No defaultServiceManager() over RPC"; in SetUp() 119 auto sm = defaultServiceManager(); in TEST_F() 126 auto sm = defaultServiceManager(); in TEST_F() 136 auto sm = defaultServiceManager(); in TEST_F() 149 auto sm = defaultServiceManager(); in TEST_F() 159 auto sm = defaultServiceManager(); in TEST_F()
|
D | binderAllocationLimits.cpp | 137 using android::defaultServiceManager; 154 sp<IBinder> binder = defaultServiceManager()->checkService(String16("manager")); in GetRemoteBinder() 166 defaultServiceManager(); // first call may alloc in TEST() 168 defaultServiceManager(); in TEST() 214 sp<IServiceManager> manager = defaultServiceManager(); in TEST()
|
D | binderStabilityTest.cpp | 160 sp<IBinder> serverBinder = android::defaultServiceManager()->getService(kSystemStabilityServer); in TEST() 196 android::defaultServiceManager()->addService(String16("."), vintfServer)) << instance8; in TEST() 197 EXPECT_FALSE(android::defaultServiceManager()->isDeclared(instance)) << instance8; in TEST() 198 EXPECT_EQ(std::nullopt, android::defaultServiceManager()->updatableViaApex(instance)) in TEST() 204 sp<IServiceManager> sm = android::defaultServiceManager(); in TEST() 214 sp<IBinder> serverBinder = android::defaultServiceManager()->getService(kSystemStabilityServer); in TEST() 386 android::defaultServiceManager()->addService(kSystemStabilityServer, server); in main()
|
D | binderClearBufTest.cpp | 80 sp<IBinder> binder = defaultServiceManager()->getService(kServerName); in TEST() 105 android::defaultServiceManager()->addService(kServerName, server); in main()
|
/frameworks/native/libs/fakeservicemanager/ |
D | test_sm.cpp | 35 using android::defaultServiceManager; 148 EXPECT_EQ(defaultServiceManager()->getService(String16("foo")), nullptr); in TEST() 155 EXPECT_EQ(defaultServiceManager()->addService(String16("foo"), service, false /*allowIsolated*/, in TEST() 158 EXPECT_EQ(defaultServiceManager()->getService(String16("foo")), service); in TEST() 166 EXPECT_EQ(defaultServiceManager()->addService(String16("foo"), service, false /*allowIsolated*/, in TEST() 170 EXPECT_EQ(defaultServiceManager()->getService(String16("foo")), nullptr); in TEST()
|
/frameworks/native/libs/binder/include/binder/ |
D | IServiceManager.h | 152 LIBBINDER_EXPORTED sp<IServiceManager> defaultServiceManager(); 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()
|
/frameworks/native/include/binder/ |
D | IServiceManager.h | 152 LIBBINDER_EXPORTED sp<IServiceManager> defaultServiceManager(); 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()
|
/frameworks/native/libs/binderdebug/ |
D | stats.cpp | 34 for (const String16& name : defaultServiceManager()->listServices()) { in main() 35 sp<IBinder> binder = defaultServiceManager()->checkService(name); in main()
|
/frameworks/av/media/utils/fuzzers/ |
D | SchedulingPolicyServiceFuzz.cpp | 30 using android::defaultServiceManager; 35 const sp<IServiceManager> sm(defaultServiceManager()); in getBatteryService()
|
/frameworks/native/libs/binderdebug/tests/ |
D | binderdebug_test.cpp | 71 sp<IBinder> binder = android::defaultServiceManager()->getService(String16("binderdebug")); in main() 80 android::defaultServiceManager()->addService(String16("binderdebug"), iface); in main()
|
/frameworks/native/libs/binder/ |
D | servicedispatcher.cpp | 36 using android::defaultServiceManager; 80 auto sm = defaultServiceManager(); in Dispatch() 85 auto binder = std::invoke(serviceRetriever, defaultServiceManager(), String16(name)); in Dispatch() 195 auto sm = defaultServiceManager(); in wrapServiceManager() 200 auto service = std::invoke(serviceRetriever, defaultServiceManager(), String16("manager")); in wrapServiceManager()
|
/frameworks/av/services/tuner/ |
D | TunerHelper.cpp | 26 using ::android::defaultServiceManager; 46 sp<IServiceManager> serviceMgr = defaultServiceManager(); in checkTunerFeature()
|
/frameworks/native/libs/ui/tests/ |
D | GraphicBufferOverBinder_test.cpp | 66 sp<IServiceManager> sm = defaultServiceManager(); in runBinderServer() 87 mService = defaultServiceManager()->getService(kTestServiceName); in SetUp()
|
/frameworks/av/media/utils/ |
D | SchedulingPolicyService.cpp | 52 sp<IBinder> binder = defaultServiceManager()->checkService(_scheduling_policy); in requestPriority() 81 sp<IBinder> binder = defaultServiceManager()->checkService(_scheduling_policy); in requestCpusetBoost()
|
D | ProcessInfo.cpp | 55 sp<IBinder> binder = defaultServiceManager()->waitForService(String16("processinfo")); in checkProcessExistent() 90 sp<IBinder> binder = defaultServiceManager()->waitForService(String16("processinfo")); in getPriority()
|
/frameworks/av/drm/drmserver/ |
D | main_drmserver.cpp | 34 sp<IServiceManager> sm = defaultServiceManager(); in main()
|
/frameworks/av/media/libmediaplayerservice/ |
D | ActivityManager.cpp | 31 sp<IServiceManager> sm = defaultServiceManager(); in openContentProviderFile()
|
/frameworks/native/cmds/dumpsys/ |
D | main.cpp | 32 sp<IServiceManager> sm = defaultServiceManager(); in main()
|
/frameworks/native/services/gpuservice/ |
D | main_gpuservice.cpp | 30 sp<IServiceManager> sm(defaultServiceManager()); in main()
|
/frameworks/av/services/mediametrics/ |
D | main_mediametrics.cpp | 44 defaultServiceManager()->addService( in main()
|
/frameworks/base/cmds/incidentd/src/ |
D | main.cpp | 48 if (defaultServiceManager()->addService(String16("incident"), service) != 0) { in main()
|
/frameworks/av/camera/cameraserver/ |
D | main_cameraserver.cpp | 38 sp<IServiceManager> sm = defaultServiceManager(); in main()
|
/frameworks/av/media/mediaserver/ |
D | main_mediaserver.cpp | 38 sp<IServiceManager> sm(defaultServiceManager()); in main()
|
/frameworks/av/services/mediaextractor/ |
D | main_extractorservice.cpp | 71 sp<IServiceManager> sm = defaultServiceManager(); in main()
|