Home
last modified time | relevance | path

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

12345

/frameworks/native/libs/binder/ndk/
Dservice_manager.cpp26 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/
DIServiceManager.h112 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/
DIServiceManager.h112 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/
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.cpp158 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()
DbinderClearBufTest.cpp92 sp<IBinder> binder = defaultServiceManager()->getService(kServerName); in TEST()
116 android::defaultServiceManager()->addService(kServerName, 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/native/libs/binderdebug/tests/
Dbinderdebug_test.cpp71 sp<IBinder> binder = android::defaultServiceManager()->getService(String16("binderdebug")); in main()
80 android::defaultServiceManager()->addService(String16("binderdebug"), iface); in main()
/frameworks/av/media/audioserver/
Dmain_audioserver.cpp115 sp<IServiceManager> sm = defaultServiceManager(); in main()
141 sp<IServiceManager> sm = defaultServiceManager(); in main()
/frameworks/native/libs/ui/tests/
DGraphicBufferOverBinder_test.cpp69 sp<IServiceManager> sm = defaultServiceManager(); in runBinderServer()
90 mService = defaultServiceManager()->getService(kTestServiceName); in SetUp()
/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/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/av/services/tuner/
Dmain_tunerservice.cpp32 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/mediametrics/
Dmain_mediametrics.cpp45 defaultServiceManager()->addService( in main()
/frameworks/base/cmds/incidentd/src/
Dmain.cpp48 if (defaultServiceManager()->addService(String16("incident"), service) != 0) { in main()
/frameworks/av/media/mediaserver/
Dmain_mediaserver.cpp39 sp<IServiceManager> sm(defaultServiceManager()); in main()
/frameworks/av/services/mediaextractor/
Dmain_extractorservice.cpp71 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/native/libs/vr/libvr_manager/
Dtrusted_uids.cpp34 sp<IBinder> binder = defaultServiceManager()->getService(String16("permission")); in IsTrustedUid()

12345