Home
last modified time | relevance | path

Searched refs:checkService (Results 1 – 25 of 72) sorted by relevance

123

/frameworks/native/libs/fakeservicemanager/
DServiceManager.cpp25 return checkService(name); in getService()
28 sp<IBinder> ServiceManager::checkService( const String16& name) const { in checkService() function in android::ServiceManager
57 return checkService(name); in waitForService()
DServiceManager.h41 sp<IBinder> checkService( const String16& name) const override;
/frameworks/native/services/sensorservice/
DBatteryService.cpp59 if (checkService()) { in enableSensorImpl()
68 if (checkService()) { in disableSensorImpl()
78 if (checkService()) { in cleanupImpl()
94 bool BatteryService::checkService() { in checkService() function in android::BatteryService
/frameworks/base/core/java/android/os/
DServiceManagerNative.java63 return mServiceManager.checkService(name); in getService()
66 public IBinder checkService(String name) throws RemoteException { in checkService() method in ServiceManagerProxy
67 return mServiceManager.checkService(name); in checkService()
DUpdateLock.java35 private static void checkService() { in checkService() method in UpdateLock
112 checkService(); in acquire()
137 checkService(); in release()
DServiceManager.java207 public static IBinder checkService(String name) { in checkService() method in ServiceManager
213 return Binder.allowBlocking(getIServiceManager().checkService(name)); in checkService()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/development/
DSystemPropPoker.java70 IBinder checkService(String service) { in checkService() method in SystemPropPoker.PokerTask
71 return ServiceManager.checkService(service); in checkService()
82 IBinder obj = checkService(service); in doInBackground()
/frameworks/base/core/java/com/android/ims/internal/uce/uceservice/
DImsUceManager.java115 public void createUceService(boolean checkService) { in createUceService() argument
117 if (checkService) { in createUceService()
118 IBinder binder = ServiceManager.checkService(getUceServiceName()); in createUceService()
/frameworks/native/libs/binder/
DIServiceManager.cpp71 sp<IBinder> checkService(const String16& name) const override;
183 sp<IBinder> binder = defaultServiceManager()->checkService(_permission); in checkPermission()
218 sp<IBinder> svc = checkService(name); in getService()
246 sp<IBinder> svc = checkService(name); in getService()
258 sp<IBinder> ServiceManagerShim::checkService(const String16& name) const in checkService() function in android::ServiceManagerShim
261 if (!mTheRealServiceManager->checkService(String8(name).c_str(), &ret).isOk()) { in checkService()
/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/vr/libvrflinger/
Dvr_flinger.cpp45 defaultServiceManager()->checkService(String16("vrmanager"))); in ~VrFlinger()
109 defaultServiceManager()->checkService(String16("vrmanager"))); in OnBootFinished()
/frameworks/native/libs/binder/include/binder/
DIServiceManager.h69 virtual sp<IBinder> checkService( const String16& name) const = 0;
128 return interface_cast<INTERFACE>(sm->checkService(name)); in checkDeclaredService()
/frameworks/native/include/binder/
DIServiceManager.h69 virtual sp<IBinder> checkService( const String16& name) const = 0;
128 return interface_cast<INTERFACE>(sm->checkService(name)); in checkDeclaredService()
/frameworks/native/cmds/service/
Dservice.cpp112 sp<IBinder> service = sm->checkService(String16(argv[optind])); in main()
126 sp<IBinder> service = sm->checkService(name); in main()
136 sp<IBinder> service = sm->checkService(String16(argv[optind++])); in main()
/frameworks/native/libs/binder/tests/
DbinderAllocationLimits.cpp139 sp<IBinder> binder = defaultServiceManager()->checkService(String16("manager")); in GetRemoteBinder()
173 manager->checkService(empty_descriptor); in TEST()
/frameworks/base/cmds/statsd/src/
Dstatscompanion_util.cpp33 statsCompanion = interface_cast<IStatsCompanionService>(sm->checkService(name)); in getStatsCompanionService()
/frameworks/layoutlib/bridge/src/android/os/
DServiceManager.java55 public static IBinder checkService(String name) { in checkService() method in ServiceManager
/frameworks/native/services/surfaceflinger/tests/fakehwc/
DFakeComposerUtils.cpp139 sf = sm->checkService(String16(android::SurfaceFlinger::getServiceName())); in startSurfaceFlinger()
151 sf = sm->checkService(String16(android::SurfaceFlinger::getServiceName())); in stopSurfaceFlinger()
/frameworks/av/media/libaudioclient/
DRecordingActivityTracker.cpp29 sp<IBinder> binder = defaultServiceManager()->checkService(String16("audio")); in RecordingActivityTracker()
/frameworks/av/media/libstagefright/
DVideoFrameScheduler.cpp45 mComposer = interface_cast<ISurfaceComposer>(sm->checkService(name)); in updateVsync()
/frameworks/native/libs/binder/aidl/android/os/
DIServiceManager.aidl70 @nullable IBinder checkService(@utf8InCpp String name); in checkService() method
/frameworks/av/media/utils/fuzzers/
DSchedulingPolicyServiceFuzz.cpp37 batteryStatService = checked_interface_cast<IBatteryStats>(sm->checkService(name)); in getBatteryService()
/frameworks/base/cmds/bootanimation/
DBootAnimationUtil.cpp63 while (sm->checkService(name) == nullptr) { in waitForSurfaceFlinger()
/frameworks/native/cmds/cmd/
Dcmd.cpp198 sp<IBinder> service = sm->checkService(services[i]); in cmdMain()
219 service = sm->checkService(serviceName); in cmdMain()
/frameworks/native/libs/binder/ndk/
Dservice_manager.cpp46 sp<IBinder> binder = sm->checkService(String16(instance)); in AServiceManager_checkService()

123