/aosp14/system/core/libbinderwrapper/ |
H A D | stub_binder_wrapper.cc | 31 void StubBinderWrapper::SetBinderForService(const std::string& service_name, in SetBinderForService() argument 33 services_to_return_[service_name] = binder; in SetBinderForService() 37 const std::string& service_name) const { in GetRegisteredService() 38 const auto it = registered_services_.find(service_name); in GetRegisteredService() 48 sp<IBinder> StubBinderWrapper::GetService(const std::string& service_name) { in GetService() argument 49 const auto it = services_to_return_.find(service_name); in GetService() 53 bool StubBinderWrapper::RegisterService(const std::string& service_name, in RegisterService() argument 55 registered_services_[service_name] = binder; in RegisterService()
|
H A D | real_binder_wrapper.cc | 52 sp<IBinder> RealBinderWrapper::GetService(const std::string& service_name) { in GetService() argument 59 service_manager->checkService(String16(service_name.c_str())); in GetService() 61 LOG(ERROR) << "Unable to get \"" << service_name << "\" service"; in GetService() 65 bool RealBinderWrapper::RegisterService(const std::string& service_name, in RegisterService() argument 73 String16(service_name.c_str()), binder); in RegisterService() 75 LOG(ERROR) << "Failed to register \"" << service_name << "\" with service " in RegisterService()
|
H A D | real_binder_wrapper.h | 36 sp<IBinder> GetService(const std::string& service_name) override; 37 bool RegisterService(const std::string& service_name,
|
/aosp14/system/core/libbinderwrapper/include/binderwrapper/ |
H A D | stub_binder_wrapper.h | 85 void SetBinderForService(const std::string& service_name, 90 sp<IBinder> GetRegisteredService(const std::string& service_name) const; 96 sp<IBinder> GetService(const std::string& service_name) override; 97 bool RegisterService(const std::string& service_name,
|
H A D | binder_wrapper.h | 60 virtual sp<IBinder> GetService(const std::string& service_name) = 0; 63 virtual bool RegisterService(const std::string& service_name,
|
/aosp14/system/core/init/test_kill_services/ |
H A D | init_kill_services_test.cpp | 26 void ExpectKillingServiceRecovers(const std::string& service_name) { in ExpectKillingServiceRecovers() argument 27 const std::string status_prop = "init.svc." + service_name; in ExpectKillingServiceRecovers() 28 const std::string pid_prop = "init.svc_debug_pid." + service_name; in ExpectKillingServiceRecovers()
|
/aosp14/system/core/fastboot/device/ |
H A D | fastboot_device.cpp | 52 auto service_name = IHealth::descriptor + "/default"s; in get_health_service() local 53 if (AServiceManager_isDeclared(service_name.c_str())) { in get_health_service() 54 ndk::SpAIBinder binder(AServiceManager_waitForService(service_name.c_str())); in get_health_service() 72 auto service_name = IFastboot::descriptor + "/default"s; in get_fastboot_service() local 73 if (AServiceManager_isDeclared(service_name.c_str())) { in get_fastboot_service() 74 ndk::SpAIBinder binder(AServiceManager_waitForService(service_name.c_str())); in get_fastboot_service()
|
/aosp14/system/core/usbd/ |
H A D | usbd.cpp | 44 const std::string service_name = in main() local 54 if (AServiceManager_isDeclared(service_name.c_str())) { in main() 57 ndk::SpAIBinder(AServiceManager_waitForService(service_name.c_str()))); in main()
|
/aosp14/system/core/trusty/storage/proxy/ |
H A D | ipc.h | 21 int ipc_connect(const char *device, const char *service_name);
|
/aosp14/system/core/storaged/ |
H A D | storaged.cpp | 87 auto service_name = IHealth::descriptor + "/default"s; in get() local 88 if (AServiceManager_isDeclared(service_name.c_str())) { in get() 89 ndk::SpAIBinder binder(AServiceManager_waitForService(service_name.c_str())); in get()
|
/aosp14/frameworks/base/core/proto/android/nfc/ |
H A D | card_emulation.proto | 122 optional .android.content.ComponentNameProto service_name = 2; field 128 optional .android.content.ComponentNameProto service_name = 1; field
|
/aosp14/frameworks/base/core/proto/android/service/ |
H A D | procstats.proto | 232 optional string service_name = 1; field 235 // The package_name, package_uid, package_version, service_name will not be set to save space.
|
H A D | print.proto | 178 …optional android.content.ComponentNameProto service_name = 1 [ (android.privacy).dest = DEST_AUTOM… field
|
/aosp14/frameworks/base/core/proto/android/server/ |
H A D | activitymanagerservice.proto | 551 optional string service_name = 4; field 557 optional string service_name = 1; field
|