Home
last modified time | relevance | path

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

1234

/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
DBatteryService.h52 bool checkService();
/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/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.h36 sp<IBinder> checkService( const String16& name) const override;
/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/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()
DStatsServiceManager.java82 return ServiceManager.checkService(mServiceName); in tryGet()
DServiceManager.java208 public static IBinder checkService(String name) { in checkService() method in ServiceManager
214 return Binder.allowBlocking(getIServiceManager().checkService(name)); in checkService()
/frameworks/native/libs/binder/
DIServiceManager.cpp71 sp<IBinder> checkService(const String16& name) const override;
185 sp<IBinder> binder = defaultServiceManager()->checkService(_permission); in checkPermission()
220 sp<IBinder> svc = checkService(name); in getService()
248 sp<IBinder> svc = checkService(name); in getService()
260 sp<IBinder> ServiceManagerShim::checkService(const String16& name) const in checkService() function in android::ServiceManagerShim
263 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/include/binder/
DIServiceManager.h69 virtual sp<IBinder> checkService( const String16& name) const = 0;
139 return interface_cast<INTERFACE>(sm->checkService(name)); in checkDeclaredService()
/frameworks/native/libs/binder/include/binder/
DIServiceManager.h69 virtual sp<IBinder> checkService( const String16& name) const = 0;
139 return interface_cast<INTERFACE>(sm->checkService(name)); in checkDeclaredService()
/frameworks/native/libs/binder/tests/
DbinderAllocationLimits.cpp139 sp<IBinder> binder = defaultServiceManager()->checkService(String16("manager")); in GetRemoteBinder()
173 manager->checkService(empty_descriptor); in TEST()
/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/layoutlib/bridge/src/android/os/
DServiceManager.java55 public static IBinder checkService(String name) { in checkService() method in ServiceManager
/frameworks/av/media/libaudioclient/
DRecordingActivityTracker.cpp29 sp<IBinder> binder = defaultServiceManager()->checkService(String16("audio")); in RecordingActivityTracker()
/frameworks/base/services/core/jni/
Dcom_android_server_gpu_GpuService.cpp28 android::defaultServiceManager()->checkService(android::String16("gpu")); in getGpuService()
/frameworks/av/media/libstagefright/
DVideoFrameScheduler.cpp45 mComposer = interface_cast<ISurfaceComposer>(sm->checkService(name)); in updateVsync()
/frameworks/native/services/surfaceflinger/tests/fakehwc/
DFakeComposerUtils.cpp143 sf = sm->checkService(String16(android::SurfaceFlinger::getServiceName())); in startSurfaceFlinger()
155 sf = sm->checkService(String16(android::SurfaceFlinger::getServiceName())); in stopSurfaceFlinger()
/frameworks/av/media/utils/fuzzers/
DSchedulingPolicyServiceFuzz.cpp37 batteryStatService = checked_interface_cast<IBatteryStats>(sm->checkService(name)); in getBatteryService()
/frameworks/base/cmds/bootanimation/
DBootAnimationUtil.cpp70 while (sm->checkService(name) == nullptr) { in waitForSurfaceFlinger()
/frameworks/native/libs/binder/aidl/android/os/
DIServiceManager.aidl71 @nullable IBinder checkService(@utf8InCpp String name); in checkService() method

1234