Home
last modified time | relevance | path

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

/frameworks/native/include/binder/
DIServiceManager.h104 virtual bool isDeclared(const String16& name) = 0;
164 if (!sm->isDeclared(name)) return nullptr; in waitForDeclaredService()
171 if (!sm->isDeclared(name)) return nullptr; in checkDeclaredService()
/frameworks/native/libs/binder/include/binder/
DIServiceManager.h104 virtual bool isDeclared(const String16& name) = 0;
164 if (!sm->isDeclared(name)) return nullptr; in waitForDeclaredService()
171 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.java245 public static boolean isDeclared(@NonNull String name) { in isDeclared() method in ServiceManager
247 return getIServiceManager().isDeclared(name); in isDeclared()
297 return isDeclared(name) ? waitForService(name) : null; in waitForDeclaredService()
/frameworks/native/libs/fakeservicemanager/
Dtest_sm.cpp115 EXPECT_FALSE(sm->isDeclared(String16("foo"))); in TEST()
125 EXPECT_TRUE(sm->isDeclared(String16("foo"))); in TEST()
DServiceManager.h49 bool isDeclared(const String16& name) override;
DServiceManager.cpp60 bool ServiceManager::isDeclared(const String16& name) { in isDeclared() function in android::ServiceManager
/frameworks/native/services/surfaceflinger/DisplayHardware/
DComposerHal.cpp29 if (AidlComposer::isDeclared(serviceName)) { in create()
DAidlComposerHal.h57 static bool isDeclared(const std::string& serviceName);
DAidlComposerHal.cpp214 bool AidlComposer::isDeclared(const std::string& serviceName) { in isDeclared() function in android::Hwc2::AidlComposer
/frameworks/native/libs/binder/aidl/android/os/
DIServiceManager.aidl101 boolean isDeclared(@utf8InCpp String name); in isDeclared() method
/frameworks/base/services/core/java/com/android/server/soundtrigger_middleware/
DDefaultHalFactory.java64 if (ServiceManager.isDeclared(aidlServiceName)) { in create()
/frameworks/native/libs/binder/
Dservicedispatcher.cpp148 android::binder::Status isDeclared(const std::string& name, bool* _aidl_return) override { in isDeclared() function in __anoneb4e3c760111::ServiceManagerProxyToNative
149 return mImpl->isDeclared(name, _aidl_return); in isDeclared()
DIServiceManager.cpp80 bool isDeclared(const String16& name) override;
422 bool ServiceManagerShim::isDeclared(const String16& name) { in isDeclared() function in android::ServiceManagerShim
424 if (Status status = mTheRealServiceManager->isDeclared(String8(name).c_str(), &declared); in isDeclared()
/frameworks/native/libs/binder/ndk/
Dservice_manager.cpp95 return sm->isDeclared(String16(instance)); in AServiceManager_isDeclared()
/frameworks/native/cmds/servicemanager/
DServiceManager.h48 binder::Status isDeclared(const std::string& name, bool* outReturn) override;
DServiceManager.cpp434 Status ServiceManager::isDeclared(const std::string& name, bool* outReturn) { in isDeclared() function in android::ServiceManager
/frameworks/native/libs/binder/tests/
DbinderStabilityTest.cpp194 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.java158 return ServiceManager.isDeclared(USB_AIDL_SERVICE); in isServicePresent()
/frameworks/base/services/core/java/com/android/server/location/contexthub/
DIContextHubWrapper.java164 if (ServiceManager.isDeclared(aidlServiceName)) { in maybeConnectToAidl()
/frameworks/native/services/surfaceflinger/fuzzer/
Dsurfaceflinger_displayhardware_fuzzer.cpp256 if (!Hwc2::AidlComposer::isDeclared("default")) { in invokeAidlComposer()
/frameworks/base/core/api/
Dmodule-lib-current.txt358 method public static boolean isDeclared(@NonNull String);
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DRIL.java1142 if (ServiceManager.isDeclared(serviceName + '/' + HIDL_SERVICE_NAME[mPhoneId])) { in isRadioVersion2_0()
/frameworks/opt/setupwizard/tools/docs/
Dandroid-22.txt58362 method public abstract boolean isDeclared(int);
58363 method public abstract boolean isDeclared(java.lang.String);
58364 method public abstract boolean isDeclared(java.lang.String, java.lang.String);
58373 method public boolean isDeclared(int);
58374 method public boolean isDeclared(java.lang.String, java.lang.String);
58375 method public boolean isDeclared(java.lang.String);