Home
last modified time | relevance | path

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

12

/test/vts/agents/hal/
DAgentRequestHandler.cpp76 bool AgentRequestHandler::CheckDriverService(const string& service_name, argument
81 if (IsDriverRunning(service_name, 10)) {
83 sp<IVtsFuzzer> binder = GetBinderClient(service_name);
89 LOG(DEBUG) << "set service_name " << service_name;
90 service_name_ = service_name;
105 const string& service_name = command_msg.service_name(); local
127 string socket_port_flie_path = GetSocketPortFilePath(service_name);
173 service_name.c_str(), callback_socket_name.c_str());
191 service_name.c_str(), driver_hal_spec_dir_path_.c_str(),
228 if (IsDriverRunning(service_name, 10)) {
[all …]
DBinderClientToDriver.cpp37 sp<IVtsFuzzer> GetBinderClient(const string& service_name) { in GetBinderClient() argument
44 sp<IBinder> binder = manager->getService(String16(service_name.c_str())); in GetBinderClient()
46 cerr << "can't find the " << service_name << " binder service." in GetBinderClient()
53 cerr << "can't cast the obtained " << service_name << " binder instance" in GetBinderClient()
DSocketClientToDriver.cpp226 string GetSocketPortFilePath(const string& service_name) { in GetSocketPortFilePath() argument
228 result += service_name; in GetSocketPortFilePath()
232 bool IsDriverRunning(const string& service_name, int retry_count) { in IsDriverRunning() argument
234 VtsDriverSocketClient* client = GetDriverSocketClient(service_name); in IsDriverRunning()
242 LOG(ERROR) << "Couldn't connect to " << service_name; in IsDriverRunning()
246 VtsDriverSocketClient* GetDriverSocketClient(const string& service_name) { in GetDriverSocketClient() argument
247 string socket_port_file_path = GetSocketPortFilePath(service_name); in GetDriverSocketClient()
DSocketClientToDriver.h120 extern string GetSocketPortFilePath(const string& service_name);
123 bool IsDriverRunning(const string& service_name, int retry_count);
126 extern VtsDriverSocketClient* GetDriverSocketClient(const string& service_name);
DBinderClientToDriver.h27 extern sp<IVtsFuzzer> GetBinderClient(const string& service_name);
DAgentRequestHandler.h56 bool CheckDriverService(const string& service_name, bool* live);
/test/vts/utils/python/mirror/
Dmirror_object.py100 service_name=None, argument
136 if not service_name:
137 service_name = "vts_driver_%s" % handler_name
146 service_name=service_name,
/test/vts-testcase/fuzz/iface_fuzzer/
DProtoFuzzerRunner.cpp70 string service_name = *instance_names.begin(); in GetServiceName() local
75 cout << "Using HAL instance: " << service_name << endl; in GetServiceName()
77 return service_name; in GetServiceName()
105 static void GetService(DriverBase *hal, string service_name, bool binder_mode) { in GetService() argument
110 if (!hal->GetService(true, service_name.c_str())) { in GetService()
119 if (!hal->GetService(false, service_name.c_str())) { in GetService()
169 string service_name = GetServiceName(*comp_spec); in Init() local
172 << "Service name: " << service_name << endl; in Init()
175 GetService(hal.get(), service_name, binder_mode); in Init()
/test/vts/runners/host/tcp_client/
Dvts_tcp_client.py187 def CheckDriverService(self, service_name): argument
190 SysMsg_pb2.CHECK_DRIVER_SERVICE, service_name=service_name)
196 service_name, argument
227 logging.debug("service_name: %s", service_name)
234 service_name=service_name,
584 service_name=interface_name,
643 service_name=None, argument
697 if service_name is not None:
698 command_msg.service_name = service_name
/test/vts/drivers/hal/server/
DVtsHalDriverServerMain.cpp74 string service_name; in main() local
101 service_name = string(optarg); in main()
119 android::vts::StartBinderServer(service_name, &driver_manager, in main()
DBinderServer.cpp196 void StartBinderServer(const string& service_name, in StartBinderServer() argument
200 String16(service_name.c_str()), in StartBinderServer()
DBinderServer.h27 extern void StartBinderServer(const string& service_name,
/test/vts-testcase/hal/media/c2/V1_0/host/
DVtsHalMediaC2V1_0HostTest.py49 for service_name in self.service_names:
56 hw_binder_service_name=service_name.encode("utf8"),
63 'owner' : service_name,
/test/vts/compilation_tools/vtsc/test/golden/DRIVER/
DNfcClientCallback.driver.cpp14 …android_hardware_nfc_V1_0_INfcClientCallback::GetService(bool get_stub, const char* service_name) { in GetService() argument
18 if (service_name) { in GetService()
19 LOG(INFO) << " - service name: " << service_name; in GetService()
21 …er_proxy_ = ::android::hardware::nfc::V1_0::INfcClientCallback::getService(service_name, get_stub); in GetService()
DMemoryTest.driver.cpp14 …droid_hardware_tests_memory_V1_0_IMemoryTest::GetService(bool get_stub, const char* service_name) { in GetService() argument
18 if (service_name) { in GetService()
19 LOG(INFO) << " - service name: " << service_name; in GetService()
21 …proxy_ = ::android::hardware::tests::memory::V1_0::IMemoryTest::getService(service_name, get_stub); in GetService()
DNfc.driver.cpp14 …uzzerExtended_android_hardware_nfc_V1_0_INfc::GetService(bool get_stub, const char* service_name) { in GetService() argument
18 if (service_name) { in GetService()
19 LOG(INFO) << " - service name: " << service_name; in GetService()
21 hw_binder_proxy_ = ::android::hardware::nfc::V1_0::INfc::getService(service_name, get_stub); in GetService()
DTestMsgQ.driver.cpp34 …d_android_hardware_tests_msgq_V1_0_ITestMsgQ::GetService(bool get_stub, const char* service_name) { in GetService() argument
38 if (service_name) { in GetService()
39 LOG(INFO) << " - service name: " << service_name; in GetService()
41 …der_proxy_ = ::android::hardware::tests::msgq::V1_0::ITestMsgQ::getService(service_name, get_stub); in GetService()
DNfcClientCallback.vts.h63 bool GetService(bool get_stub, const char* service_name);
DNfc.vts.h79 bool GetService(bool get_stub, const char* service_name);
DMemoryTest.vts.h74 bool GetService(bool get_stub, const char* service_name);
DTestMsgQ.vts.h86 bool GetService(bool get_stub, const char* service_name);
/test/vts/drivers/hal/common/component_loader/
DHalDriverLoader.cpp177 string service_name; in GetHidlHalDriver() local
179 service_name = hal_service_name; in GetHidlHalDriver()
181 service_name = kDefaultHwbinderServiceName; in GetHidlHalDriver()
192 if (!driver->GetService(get_stub, service_name.c_str())) { in GetHidlHalDriver()
/test/vts/harnesses/tradefed/tests/res/testtype/
Dvts_multi_device_test_parser_output_timeout.txt13 [VTS-Example] 07-01 08:55:02.368 INFO service_name: vts_binder_light
Dvts_multi_device_test_parser_output.txt13 [VTS-Example] 07-01 08:55:02.368 INFO service_name: vts_binder_light
/test/vts/proto/
DAndroidSystemControlMessage.proto99 optional bytes service_name = 2001; field

12