Home
last modified time | relevance | path

Searched refs:defaultServiceManager (Results 1 – 25 of 121) sorted by relevance

12345

/frameworks/native/libs/binder/ndk/
Dservice_manager.cpp24 using ::android::defaultServiceManager;
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/native/libs/binder/include/binder/
DIServiceManager.h101 sp<IServiceManager> defaultServiceManager();
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()
/frameworks/native/include/binder/
DIServiceManager.h101 sp<IServiceManager> defaultServiceManager();
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()
/frameworks/native/libs/binder/tests/
DbinderAllocationLimits.cpp130 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()
DbinderStabilityTest.cpp143 android::defaultServiceManager()->addService(String16("."), vintfServer)) << instance8; in TEST()
144 EXPECT_FALSE(android::defaultServiceManager()->isDeclared(instance)) << instance8; in TEST()
149 sp<IBinder> serverBinder = android::defaultServiceManager()->getService(kSystemStabilityServer); in TEST()
317 android::defaultServiceManager()->addService(kSystemStabilityServer, server); in main()
/frameworks/av/media/utils/fuzzers/
DSchedulingPolicyServiceFuzz.cpp29 using android::defaultServiceManager;
34 const sp<IServiceManager> sm(defaultServiceManager()); in getBatteryService()
/frameworks/av/media/utils/
DSchedulingPolicyService.cpp40 sp<IBinder> binder = defaultServiceManager()->checkService(_scheduling_policy); in requestPriority()
69 sp<IBinder> binder = defaultServiceManager()->checkService(_scheduling_policy); in requestCpusetBoost()
/frameworks/av/media/audioserver/
Dmain_audioserver.cpp111 sp<IServiceManager> sm = defaultServiceManager(); in main()
137 sp<IServiceManager> sm = defaultServiceManager(); in main()
/frameworks/native/libs/vr/libvrflinger/
Dvr_flinger.cpp45 defaultServiceManager()->checkService(String16("vrmanager"))); in ~VrFlinger()
109 defaultServiceManager()->checkService(String16("vrmanager"))); in OnBootFinished()
/frameworks/native/libs/gui/tests/
DSurfaceParcelable_test.cpp90 sp<IServiceManager> sm = defaultServiceManager(); in runBinderServer()
111 mService = defaultServiceManager()->getService(kTestServiceName); in SetUp()
/frameworks/av/services/mediadrm/
DMediaDrmService.cpp33 defaultServiceManager()->addService( in instantiate()
Dmain_mediadrmserver.cpp38 sp<IServiceManager> sm = defaultServiceManager(); in main()
/frameworks/av/drm/drmserver/
Dmain_drmserver.cpp34 sp<IServiceManager> sm = defaultServiceManager(); in main()
/frameworks/av/media/libmediaplayerservice/
DActivityManager.cpp31 sp<IServiceManager> sm = defaultServiceManager(); in openContentProviderFile()
/frameworks/native/cmds/dumpsys/
Dmain.cpp32 sp<IServiceManager> sm = defaultServiceManager(); in main()
/frameworks/native/libs/binder/ndk/tests/
DbinderVendorDoubleLoadTest.cpp63 Vector<String16> services = defaultServiceManager()->listServices(); in TEST()
69 status_t status = defaultServiceManager()->addService(String16("anything"), cppServer); in TEST()
/frameworks/base/cmds/statsd/src/
Dstatscompanion_util.cpp29 static const sp <IServiceManager> sm(defaultServiceManager()); in getStatsCompanionService()
/frameworks/av/services/mediaanalytics/
Dmain_mediametrics.cpp41 sp<IServiceManager> sm(defaultServiceManager()); in main()
/frameworks/av/media/mediaserver/
Dmain_mediaserver.cpp39 sp<IServiceManager> sm(defaultServiceManager()); in main()
/frameworks/native/services/gpuservice/
Dmain_gpuservice.cpp30 sp<IServiceManager> sm(defaultServiceManager()); in main()
/frameworks/av/camera/cameraserver/
Dmain_cameraserver.cpp34 sp<IServiceManager> sm = defaultServiceManager(); in main()
/frameworks/av/services/mediaextractor/
Dmain_extractorservice.cpp62 sp<IServiceManager> sm = defaultServiceManager(); in main()
/frameworks/base/cmds/incidentd/src/
Dmain.cpp48 if (defaultServiceManager()->addService(String16("incident"), service) != 0) { in main()
/frameworks/av/media/libaaudio/src/binding/
DAAudioBinderClient.cpp43 using android::defaultServiceManager;
85 sp<IServiceManager> sm = defaultServiceManager(); in getAAudioService()
/frameworks/native/libs/binder/
DLazyServiceRegistrar.cpp80 auto manager = interface_cast<AidlServiceManager>(asBinder(defaultServiceManager())); in registerService()
170 auto manager = interface_cast<AidlServiceManager>(asBinder(defaultServiceManager())); in tryShutdown()

12345