Home
last modified time | relevance | path

Searched refs:service_path (Results 1 – 6 of 6) sorted by relevance

/aosp12/frameworks/native/libs/vr/libpdx_default_transport/
H A Dpdx_tool.cpp22 explicit ControlClient(const std::string& service_path, long timeout_ms);
52 : BASE{ClientChannelFactory::Create(service_path), timeout_ms} {} in ControlClient()
111 int ReloadCommand(const std::string& service_path) { in ReloadCommand() argument
114 if (service_path == "" || service_path == "all") { in ReloadCommand()
119 auto client = ControlClient::Create(service_path, kClientTimeoutMs); in ReloadCommand()
122 service_path.c_str()); in ReloadCommand()
131 int DumpCommand(const std::string& service_path) { in DumpCommand() argument
134 if (service_path == "" || service_path == "all") { in DumpCommand()
139 auto client = ControlClient::Create(service_path, kClientTimeoutMs); in DumpCommand()
142 service_path.c_str()); in DumpCommand()
[all …]
H A Dpdx_benchmarks.cpp495 explicit BenchmarkClient(const std::string& service_path) in BenchmarkClient() argument
496 : BASE(ClientChannelFactory::Create(service_path), in BenchmarkClient()
/aosp12/system/update_engine/update_manager/
H A Dreal_shill_provider_unittest.cc111 ServiceProxyMock* SetServiceReply(const std::string& service_path,
127 void SendDefaultServiceSignal(const std::string& service_path, in SendDefaultServiceSignal() argument
133 shill::kDefaultServiceProperty, dbus::ObjectPath(service_path)); in SendDefaultServiceSignal()
145 void SetupConnectionAndAttrs(const std::string& service_path, in SetupConnectionAndAttrs() argument
149 SetServiceReply(service_path, shill_type, nullptr, shill_tethering); in SetupConnectionAndAttrs()
156 SendDefaultServiceSignal(service_path, &conn_change_time); in SetupConnectionAndAttrs()
170 void SetupConnectionAndTestType(const char* service_path, in SetupConnectionAndTestType() argument
175 SetupConnectionAndAttrs(service_path, in SetupConnectionAndTestType()
190 const char* service_path, in SetupConnectionAndTestTethering() argument
239 const std::string& service_path, in SetServiceReply() argument
[all …]
H A Dreal_shill_provider.cc68 dbus::ObjectPath service_path = value.TryGet<dbus::ObjectPath>(); in OnManagerPropertyChanged() local
69 if (!service_path.IsValid()) { in OnManagerPropertyChanged()
73 << ", read as the object path: '" << service_path.value() in OnManagerPropertyChanged()
76 ProcessDefaultService(service_path); in OnManagerPropertyChanged()
/aosp12/system/update_engine/cros/
H A Dconnection_manager_unittest.cc70 void SetServiceReply(const string& service_path,
113 void ConnectionManagerTest::SetServiceReply(const string& service_path, in SetServiceReply() argument
137 fake_shill_proxy_->SetServiceForPath(dbus::ObjectPath(service_path), in SetServiceReply()
/aosp12/system/core/init/
H A Dservice.cpp67 static Result<std::string> ComputeContextFromExecutable(const std::string& service_path) { in ComputeContextFromExecutable() argument
78 if (getfilecon(service_path.c_str(), &raw_filecon) == -1) { in ComputeContextFromExecutable()
91 return Error() << "File " << service_path << "(labeled \"" << filecon.get() in ComputeContextFromExecutable()