Lines Matching refs:status_t
51 status_t CreateDeviceNode(const std::string& path, dev_t dev);
52 status_t DestroyDeviceNode(const std::string& path);
54 status_t SetDefaultAcl(const std::string& path, mode_t mode, uid_t uid, gid_t gid,
57 status_t AbortFuseConnections();
72 status_t PrepareDir(const std::string& path, mode_t mode, uid_t uid, gid_t gid,
76 status_t ForceUnmount(const std::string& path);
79 status_t KillProcessesUsingPath(const std::string& path);
82 status_t KillProcessesWithTmpfsMountPrefix(const std::string& path);
85 status_t BindMount(const std::string& source, const std::string& target);
88 status_t Symlink(const std::string& target, const std::string& linkpath);
91 status_t Unlink(const std::string& linkpath);
94 status_t CreateDir(const std::string& dir, mode_t mode);
99 status_t ReadMetadata(const std::string& path, std::string* fsType, std::string* fsUuid,
103 status_t ReadMetadataUntrusted(const std::string& path, std::string* fsType, std::string* fsUuid,
107 status_t ForkExecvp(const std::vector<std::string>& args, std::vector<std::string>* output = nullpt…
113 status_t GetBlockDevSize(int fd, uint64_t* size);
114 status_t GetBlockDevSize(const std::string& path, uint64_t* size);
116 status_t GetBlockDev512Sectors(const std::string& path, uint64_t* nr_sec);
118 status_t ReadRandomBytes(size_t bytes, std::string& out);
119 status_t ReadRandomBytes(size_t bytes, char* buffer);
120 status_t GenerateRandomUuid(std::string& out);
123 status_t HexToStr(const std::string& hex, std::string& str);
125 status_t StrToHex(const std::string& str, std::string& hex);
127 status_t StrToHex(const KeyBuffer& str, KeyBuffer& hex);
129 status_t NormalizeHex(const std::string& in, std::string& out);
139 status_t WipeBlockDevice(const std::string& path);
162 status_t EnsureDirExists(const std::string& path, mode_t mode, uid_t uid, gid_t gid);
164 status_t RestoreconRecursive(const std::string& path);
172 status_t UnmountTreeWithPrefix(const std::string& prefix);
173 status_t UnmountTree(const std::string& mountPoint);
177 status_t DeleteDirContentsAndDir(const std::string& pathname);
178 status_t DeleteDirContents(const std::string& pathname);
180 status_t WaitForFile(const char* filename, std::chrono::nanoseconds timeout);
196 status_t MountUserFuse(userid_t user_id, const std::string& absolute_lower_path,
199 status_t UnmountUserFuse(userid_t userId, const std::string& absolute_lower_path,
202 status_t PrepareAndroidDirs(const std::string& volumeRoot);