Home
last modified time | relevance | path

Searched refs:service_name (Results 1 – 14 of 14) sorted by relevance

/aosp14/system/core/libbinderwrapper/
H A Dstub_binder_wrapper.cc31 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 Dreal_binder_wrapper.cc52 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 Dreal_binder_wrapper.h36 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 Dstub_binder_wrapper.h85 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 Dbinder_wrapper.h60 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 Dinit_kill_services_test.cpp26 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 Dfastboot_device.cpp52 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 Dusbd.cpp44 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 Dipc.h21 int ipc_connect(const char *device, const char *service_name);
/aosp14/system/core/storaged/
H A Dstoraged.cpp87 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 Dcard_emulation.proto122 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 Dprocstats.proto232 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 Dprint.proto178 …optional android.content.ComponentNameProto service_name = 1 [ (android.privacy).dest = DEST_AUTOM… field
/aosp14/frameworks/base/core/proto/android/server/
H A Dactivitymanagerservice.proto551 optional string service_name = 4; field
557 optional string service_name = 1; field