Home
last modified time | relevance | path

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

/system/core/fs_mgr/libsnapshot/
Dsnapuserd_client.cpp57 SnapuserdClient::SnapuserdClient(android::base::unique_fd&& sockfd) : sockfd_(std::move(sockfd)) {} in SnapuserdClient() function in android::snapshot::SnapuserdClient
63 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 …]
Dcow_snapuserd_test.cpp146 std::unique_ptr<SnapuserdClient> client_;
254 client_ = SnapuserdClient::Connect(kSnapuserdSocketTest, 10s); in StartSnapuserdDaemon()
Dsnapshot.cpp1462 snapuserd_client_ = SnapuserdClient::Connect(kSnapuserdSocket, 10s); in PerformInitTransition()
2668 snapuserd_client_ = SnapuserdClient::Connect(kSnapuserdSocket, 10s); in EnsureSnapuserdConnected()
/system/core/fs_mgr/libsnapshot/include/libsnapshot/
Dsnapuserd_client.h38 class SnapuserdClient {
48 explicit SnapuserdClient(android::base::unique_fd&& sockfd);
50 static std::unique_ptr<SnapuserdClient> Connect(const std::string& socket_name,
Dsnapshot.h766 SnapuserdClient* snapuserd_client() const { return snapuserd_client_.get(); } in snapuserd_client()
782 std::unique_ptr<SnapuserdClient> snapuserd_client_;
/system/core/init/
Dsnapuserd_transition.cpp52 using android::snapshot::SnapuserdClient;
305 if (auto client = SnapuserdClient::Connect(android::snapshot::kSnapuserdSocket, 3s)) { in CleanupSnapuserdSocket()