Home
last modified time | relevance | path

Searched refs:isDeclared (Results 1 – 25 of 35) sorted by relevance

12

/frameworks/native/libs/binder/include/binder/
DIServiceManager.h105 virtual bool isDeclared(const String16& name) = 0;
171 if (!sm->isDeclared(name)) return nullptr; in waitForDeclaredService()
178 if (!sm->isDeclared(name)) return nullptr; in checkDeclaredService()
/frameworks/native/include/binder/
DIServiceManager.h105 virtual bool isDeclared(const String16& name) = 0;
171 if (!sm->isDeclared(name)) return nullptr; in waitForDeclaredService()
178 if (!sm->isDeclared(name)) return nullptr; in checkDeclaredService()
/frameworks/base/core/java/android/os/
DServiceManagerNative.java89 public boolean isDeclared(String name) throws RemoteException { in isDeclared() method in ServiceManagerProxy
90 return mServiceManager.isDeclared(name); in isDeclared()
DServiceManager.java294 public static boolean isDeclared(@NonNull String name) { in isDeclared() method in ServiceManager
296 return getIServiceManager().isDeclared(name); in isDeclared()
352 return isDeclared(name) ? waitForService(name) : null; in waitForDeclaredService()
/frameworks/native/services/surfaceflinger/DisplayHardware/
DComposerHal.cpp29 if (AidlComposer::isDeclared(serviceName)) { in create()
DAidlComposerHal.h63 static bool isDeclared(const std::string& serviceName);
/frameworks/native/libs/fakeservicemanager/
Dtest_sm.cpp132 EXPECT_FALSE(sm->isDeclared(String16("foo"))); in TEST()
142 EXPECT_TRUE(sm->isDeclared(String16("foo"))); in TEST()
DFakeServiceManager.cpp73 bool FakeServiceManager::isDeclared(const String16& name) { in isDeclared() function in android::FakeServiceManager
/frameworks/av/media/libaudiohal/
DFactoryHal.cpp106 const bool isDeclared = AServiceManager_isDeclared(name.c_str()); in hasAidlHalService() local
107 if (!isDeclared) { in hasAidlHalService()
/frameworks/native/libs/binder/aidl/android/os/
DIServiceManager.aidl101 boolean isDeclared(@utf8InCpp String name); in isDeclared() method
/frameworks/native/libs/fakeservicemanager/include/fakeservicemanager/
DFakeServiceManager.h50 bool isDeclared(const String16& name) override;
/frameworks/base/services/voiceinteraction/java/com/android/server/soundtrigger_middleware/
DDefaultHalFactory.java64 if (ServiceManager.isDeclared(aidlServiceName)) { in create()
/frameworks/native/libs/binder/
DIServiceManager.cpp87 bool isDeclared(const String16& name) override;
272 if (!sm->isDeclared(name)) { in openDeclaredPassthroughHal()
470 bool ServiceManagerShim::isDeclared(const String16& name) { in isDeclared() function in android::ServiceManagerShim
472 if (Status status = mTheRealServiceManager->isDeclared(String8(name).c_str(), &declared); in isDeclared()
Dservicedispatcher.cpp150 android::binder::Status isDeclared(const std::string& name, bool* _aidl_return) override { in isDeclared() function in __anona95398ca0111::ServiceManagerProxyToNative
151 return mImpl->isDeclared(name, _aidl_return); in isDeclared()
/frameworks/av/services/camera/libcameraservice/aidl/
DAidlCameraService.cpp69 bool isDeclared = AServiceManager_isDeclared(serviceName.c_str()); in registerService() local
70 if (!isDeclared) { in registerService()
/frameworks/hardware/interfaces/stats/aidl/vts/java/apps/vtsistatsapp/src/
DVtsVendorAtomJavaTest.java52 if (!ServiceManager.isDeclared(instanceName)) { in setUp()
/frameworks/native/cmds/servicemanager/
DServiceManager.h48 binder::Status isDeclared(const std::string& name, bool* outReturn) override;
Dtest_sm.cpp369 EXPECT_TRUE(sm->isDeclared("mapper/minigbm", &declared).isOk()); in TEST()
DServiceManager.cpp603 Status ServiceManager::isDeclared(const std::string& name, bool* outReturn) { in isDeclared() function in android::ServiceManager
/frameworks/base/services/usb/java/com/android/server/usb/hal/gadget/
DUsbGadgetAidl.java96 return ServiceManager.isDeclared(USB_GADGET_AIDL_SERVICE); in isServicePresent()
/frameworks/native/libs/binder/ndk/
Dservice_manager.cpp188 return sm->isDeclared(String16(instance)); in AServiceManager_isDeclared()
/frameworks/av/camera/ndk/ndk_vendor/impl/
DACameraManager.cpp247 bool isDeclared = AServiceManager_isDeclared(serviceName.c_str()); in getCameraService() local
248 if (!isDeclared) { in getCameraService()
/frameworks/native/libs/binder/tests/
DbinderStabilityTest.cpp197 EXPECT_FALSE(android::defaultServiceManager()->isDeclared(instance)) << instance8; in TEST()
/frameworks/native/cmds/dumpsys/tests/
Ddumpsys_test.cpp60 MOCK_METHOD1(isDeclared, bool(const String16&));
/frameworks/base/services/usb/java/com/android/server/usb/hal/port/
DUsbPortAidl.java175 return ServiceManager.isDeclared(USB_AIDL_SERVICE); in isServicePresent()

12