Searched refs:socket_path (Results 1 – 5 of 5) sorted by relevance
/system/logging/liblog/tests/ |
D | logd_writer_test.cpp | 37 auto socket_path = StringPrintf("%s/test_socket", temp_dir.path); in TEST() local 47 strlcpy(server_sockaddr.sun_path, socket_path.c_str(), sizeof(server_sockaddr.sun_path)); in TEST() 62 strlcpy(client_sockaddr.sun_path, socket_path.c_str(), sizeof(client_sockaddr.sun_path)); in TEST() 77 ASSERT_EQ(0, unlink(socket_path.c_str())) << strerror(errno); in TEST()
|
/system/core/init/ |
D | snapuserd_transition.cpp | 406 auto socket_path = ANDROID_SOCKET_DIR "/"s + android::snapshot::kSnapuserdSocket; in CleanupSnapuserdSocket() local 407 if (access(socket_path.c_str(), F_OK) != 0) { in CleanupSnapuserdSocket() 418 if (unlink(socket_path.c_str()) < 0) { in CleanupSnapuserdSocket() 419 PLOG(FATAL) << "unlink " << socket_path << " failed"; in CleanupSnapuserdSocket()
|
/system/core/trusty/utils/rpmb_dev/ |
D | rpmb_dev.c | 515 const char* socket_path = NULL; in main() local 557 socket_path = optarg; in main() 575 if (!data_file_name || (!init == !socket_path)) { in main() 623 strncpy(cmdres_sockaddr.sun_path, socket_path, sizeof(cmdres_sockaddr.sun_path)); in main() 627 ALOGE("rpmb_dev: Failed to bind command/response socket: %s: %s\n", socket_path, in main()
|
/system/core/fs_mgr/libsnapshot/snapuserd/dm-snapshot-merge/ |
D | snapuserd_server.cpp | 469 auto socket_path = ANDROID_SOCKET_DIR "/"s + kSnapuserdSocketProxy; in WaitForSocket() local 471 if (!android::fs_mgr::WaitForFile(socket_path, std::chrono::milliseconds::max())) { in WaitForSocket()
|
/system/core/fs_mgr/libsnapshot/snapuserd/user-space-merge/ |
D | snapuserd_server.cpp | 689 auto socket_path = ANDROID_SOCKET_DIR "/"s + kSnapuserdSocketProxy; in WaitForSocket() local 691 if (!android::fs_mgr::WaitForFile(socket_path, std::chrono::milliseconds::max())) { in WaitForSocket()
|