/frameworks/native/libs/binder/ndk/ |
D | service_manager.cpp | 26 using ::android::defaultServiceManager; 39 sp<IServiceManager> sm = defaultServiceManager(); in AServiceManager_addService() 48 sp<IServiceManager> sm = defaultServiceManager(); in AServiceManager_checkService() 60 sp<IServiceManager> sm = defaultServiceManager(); in AServiceManager_getService() 82 sp<IServiceManager> sm = defaultServiceManager(); in AServiceManager_waitForService() 94 sp<IServiceManager> sm = defaultServiceManager(); in AServiceManager_isDeclared() 103 sp<IServiceManager> sm = defaultServiceManager(); in AServiceManager_forEachDeclaredInstance() 113 sp<IServiceManager> sm = defaultServiceManager(); in AServiceManager_isUpdatableViaApex()
|
/frameworks/native/include/binder/ |
D | IServiceManager.h | 112 sp<IServiceManager> defaultServiceManager(); 124 const sp<IServiceManager> sm = defaultServiceManager(); in waitForService() 130 const sp<IServiceManager> sm = defaultServiceManager(); in waitForDeclaredService() 137 const sp<IServiceManager> sm = defaultServiceManager(); in checkDeclaredService() 159 const sp<IServiceManager> sm = defaultServiceManager(); in getService()
|
/frameworks/native/libs/binder/include/binder/ |
D | IServiceManager.h | 112 sp<IServiceManager> defaultServiceManager(); 124 const sp<IServiceManager> sm = defaultServiceManager(); in waitForService() 130 const sp<IServiceManager> sm = defaultServiceManager(); in waitForDeclaredService() 137 const sp<IServiceManager> sm = defaultServiceManager(); in checkDeclaredService() 159 const sp<IServiceManager> sm = defaultServiceManager(); in getService()
|
/frameworks/native/libs/binder/tests/ |
D | binderAllocationLimits.cpp | 130 using android::defaultServiceManager; 139 sp<IBinder> binder = defaultServiceManager()->checkService(String16("manager")); in GetRemoteBinder() 151 defaultServiceManager(); // first call may alloc in TEST() 153 defaultServiceManager(); in TEST() 165 sp<IServiceManager> manager = defaultServiceManager(); in TEST()
|
D | binderStabilityTest.cpp | 158 sp<IBinder> serverBinder = android::defaultServiceManager()->getService(kSystemStabilityServer); in TEST() 193 android::defaultServiceManager()->addService(String16("."), vintfServer)) << instance8; in TEST() 194 EXPECT_FALSE(android::defaultServiceManager()->isDeclared(instance)) << instance8; in TEST() 195 EXPECT_EQ(std::nullopt, android::defaultServiceManager()->updatableViaApex(instance)) in TEST() 201 sp<IBinder> serverBinder = android::defaultServiceManager()->getService(kSystemStabilityServer); in TEST() 369 android::defaultServiceManager()->addService(kSystemStabilityServer, server); in main()
|
D | binderClearBufTest.cpp | 92 sp<IBinder> binder = defaultServiceManager()->getService(kServerName); in TEST() 116 android::defaultServiceManager()->addService(kServerName, server); in main()
|
/frameworks/av/media/utils/fuzzers/ |
D | SchedulingPolicyServiceFuzz.cpp | 29 using android::defaultServiceManager; 34 const sp<IServiceManager> sm(defaultServiceManager()); in getBatteryService()
|
/frameworks/av/media/utils/ |
D | SchedulingPolicyService.cpp | 40 sp<IBinder> binder = defaultServiceManager()->checkService(_scheduling_policy); in requestPriority() 69 sp<IBinder> binder = defaultServiceManager()->checkService(_scheduling_policy); in requestCpusetBoost()
|
/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/av/media/audioserver/ |
D | main_audioserver.cpp | 115 sp<IServiceManager> sm = defaultServiceManager(); in main() 141 sp<IServiceManager> sm = defaultServiceManager(); in main()
|
/frameworks/native/libs/ui/tests/ |
D | GraphicBufferOverBinder_test.cpp | 69 sp<IServiceManager> sm = defaultServiceManager(); in runBinderServer() 90 mService = defaultServiceManager()->getService(kTestServiceName); in SetUp()
|
/frameworks/native/libs/vr/libvrflinger/ |
D | vr_flinger.cpp | 45 defaultServiceManager()->checkService(String16("vrmanager"))); in ~VrFlinger() 109 defaultServiceManager()->checkService(String16("vrmanager"))); in OnBootFinished()
|
/frameworks/native/libs/gui/tests/ |
D | SurfaceParcelable_test.cpp | 90 sp<IServiceManager> sm = defaultServiceManager(); in runBinderServer() 111 mService = defaultServiceManager()->getService(kTestServiceName); in SetUp()
|
/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/av/services/tuner/ |
D | main_tunerservice.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/camera/cameraserver/ |
D | main_cameraserver.cpp | 34 sp<IServiceManager> sm = defaultServiceManager(); in main()
|
/frameworks/av/services/mediametrics/ |
D | main_mediametrics.cpp | 45 defaultServiceManager()->addService( in main()
|
/frameworks/base/cmds/incidentd/src/ |
D | main.cpp | 48 if (defaultServiceManager()->addService(String16("incident"), service) != 0) { in main()
|
/frameworks/av/media/mediaserver/ |
D | main_mediaserver.cpp | 39 sp<IServiceManager> sm(defaultServiceManager()); in main()
|
/frameworks/av/services/mediaextractor/ |
D | main_extractorservice.cpp | 71 sp<IServiceManager> sm = defaultServiceManager(); in main()
|
/frameworks/native/libs/binder/ndk/tests/ |
D | binderVendorDoubleLoadTest.cpp | 63 Vector<String16> services = defaultServiceManager()->listServices(); in TEST() 69 status_t status = defaultServiceManager()->addService(String16("anything"), cppServer); in TEST()
|
/frameworks/native/libs/vr/libvr_manager/ |
D | trusted_uids.cpp | 34 sp<IBinder> binder = defaultServiceManager()->getService(String16("permission")); in IsTrustedUid()
|