Searched refs:SnapuserdClient (Results 1 – 6 of 6) sorted by relevance
57 SnapuserdClient::SnapuserdClient(android::base::unique_fd&& sockfd) : sockfd_(std::move(sockfd)) {} in SnapuserdClient() function in android::snapshot::SnapuserdClient63 std::unique_ptr<SnapuserdClient> SnapuserdClient::Connect(const std::string& socket_name, in Connect()86 auto client = std::make_unique<SnapuserdClient>(std::move(fd)); in Connect()93 bool SnapuserdClient::ValidateConnection() { in ValidateConnection()114 bool SnapuserdClient::Sendmsg(const std::string& msg) { in Sendmsg()130 bool SnapuserdClient::WaitForDeviceDelete(const std::string& control_device) { in WaitForDeviceDelete()144 std::string SnapuserdClient::Receivemsg() { in Receivemsg()158 bool SnapuserdClient::StopSnapuserd() { in StopSnapuserd()168 bool SnapuserdClient::AttachDmUser(const std::string& misc_name) { in AttachDmUser()185 uint64_t SnapuserdClient::InitDmUserCow(const std::string& misc_name, const std::string& cow_device, in InitDmUserCow()[all …]
146 std::unique_ptr<SnapuserdClient> client_;254 client_ = SnapuserdClient::Connect(kSnapuserdSocketTest, 10s); in StartSnapuserdDaemon()
1462 snapuserd_client_ = SnapuserdClient::Connect(kSnapuserdSocket, 10s); in PerformInitTransition()2668 snapuserd_client_ = SnapuserdClient::Connect(kSnapuserdSocket, 10s); in EnsureSnapuserdConnected()
38 class SnapuserdClient {48 explicit SnapuserdClient(android::base::unique_fd&& sockfd);50 static std::unique_ptr<SnapuserdClient> Connect(const std::string& socket_name,
766 SnapuserdClient* snapuserd_client() const { return snapuserd_client_.get(); } in snapuserd_client()782 std::unique_ptr<SnapuserdClient> snapuserd_client_;
52 using android::snapshot::SnapuserdClient;305 if (auto client = SnapuserdClient::Connect(android::snapshot::kSnapuserdSocket, 3s)) { in CleanupSnapuserdSocket()