Home
last modified time | relevance | path

Searched refs:server_path (Results 1 – 5 of 5) sorted by relevance

/system/extras/simpleperf/
DUnixSocket.cpp30 static bool CreateUnixSocketAddress(const std::string& server_path, in CreateUnixSocketAddress() argument
40 if (server_path.size() + 1 > sun_path_len) { in CreateUnixSocketAddress()
42 << server_path; in CreateUnixSocketAddress()
45 strcpy(p, server_path.c_str()); in CreateUnixSocketAddress()
50 const std::string& server_path, bool is_abstract) { in Create() argument
57 if (!CreateUnixSocketAddress(server_path, is_abstract, serv_addr)) { in Create()
62 PLOG(ERROR) << "bind() failed for " << server_path; in Create()
70 new UnixSocketServer(sockfd, server_path)); in Create()
86 const std::string& server_path, bool is_abstract) { in Connect() argument
93 if (!CreateUnixSocketAddress(server_path, is_abstract, serv_addr)) { in Connect()
[all …]
Dinplace_sampler_lib.cpp326 std::string server_path = "inplace_sampler_server_" + std::to_string(getpid()); in CommunicationThread() local
327 std::unique_ptr<UnixSocketServer> server = UnixSocketServer::Create(server_path, true); in CommunicationThread()
329 LOG(ERROR) << "failed to create server at path " << server_path; in CommunicationThread()
332 LOG(INFO) << "Create inplace_sampler_server at " << server_path; in CommunicationThread()
DUnixSocket.h106 const std::string& server_path, bool is_abstract);
149 const std::string& server_path, bool is_abstract);
DInplaceSamplerClient.cpp56 std::string server_path = "inplace_sampler_server_" + std::to_string(pid_); in ConnectServer() local
60 conn_ = UnixSocketConnection::Connect(server_path, true); in ConnectServer()
/system/core/adb/client/
Dadb_client.cpp289 std::string server_path; in __adb_check_server_version() local
291 android::base::ReadFileToString(*server_path_path, &server_path)) { in __adb_check_server_version()
292 if (execve(server_path.c_str(), const_cast<char**>(__adb_argv), in __adb_check_server_version()
294 LOG(ERROR) << "failed to exec newer version at " << server_path; in __adb_check_server_version()