Home
last modified time | relevance | path

Searched defs:path (Results 1 – 25 of 378) sorted by relevance

12345678910>>...16

/system/keymint/
DCargo.toml12 kmr-derive = { path = "derive" } qkey
13 kmr-common = { path = "common" } qkey
14 kmr-crypto-boring = { path = "boringssl" } qkey
15 kmr-ta = { path = "ta" } qkey
16 kmr-tests = { path = "tests" } qkey
17 kmr-wire = { path = "wire" } qkey
/system/apex/apexd/
Dapexd_utils.h48 android::base::Result<void> WalkDir(const std::string& path, Fn fn) { in WalkDir()
65 android::base::Result<std::vector<std::string>> ReadDir(const std::string& path, in ReadDir()
81 inline bool IsEmptyDirectory(const std::string& path) { in IsEmptyDirectory()
86 inline android::base::Result<void> CreateDirIfNeeded(const std::string& path, in CreateDirIfNeeded()
114 inline android::base::Result<void> DeleteDirContent(const std::string& path) { in DeleteDirContent()
131 inline android::base::Result<void> DeleteDir(const std::string& path) { in DeleteDir()
142 inline android::base::Result<bool> PathExists(const std::string& path) { in PathExists()
170 const std::string& path, std::chrono::nanoseconds timeout) { in WaitForFile()
189 const std::string& path) { in GetSubdirs()
208 const std::string& path, const std::vector<std::string>& suffix_list) { in FindFilesBySuffix()
[all …]
/system/incremental_delivery/incfs/
Dpath.cpp32 namespace android::incfs::path { namespace
66 bool isAbsolute(std::string_view path) { in isAbsolute()
70 std::string normalize(std::string_view path) { in normalize()
132 std::string readlink(std::string_view path) { in readlink()
161 static void preparePathComponent(std::string_view& path, bool trimAll) { in preparePathComponent()
190 void details::appendNextPath(std::string& res, std::string_view path) { in appendNextPath()
225 bool startsWith(std::string_view path, std::string_view prefix) { in startsWith()
232 bool endsWith(std::string_view path, std::string_view suffix) { in endsWith()
/system/vold/
DAppFuseUtil.cpp36 static android::status_t GetMountPath(uid_t uid, const std::string& name, std::string* path) { in GetMountPath()
51 static android::status_t Mount(int device_fd, const std::string& path) { in Mount()
73 static android::status_t RunCommand(const std::string& command, uid_t uid, const std::string& path, in RunCommand()
109 std::string path; in MountAppFuse() local
143 std::string path; in UnmountAppFuse() local
162 std::string path = StringPrintf("%s/%d", mountPoint.c_str(), fileId); in OpenAppFuseFile() local
DUtils.cpp101 status_t CreateDeviceNode(const std::string& path, dev_t dev) { in CreateDeviceNode()
132 status_t DestroyDeviceNode(const std::string& path) { in DestroyDeviceNode()
142 status_t SetDefaultAcl(const std::string& path, mode_t mode, uid_t uid, gid_t gid, in SetDefaultAcl()
204 int SetQuotaInherit(const std::string& path) { in SetQuotaInherit()
230 int SetQuotaProjectId(const std::string& path, long projectId) { in SetQuotaProjectId()
254 int PrepareDirWithProjectId(const std::string& path, mode_t mode, uid_t uid, gid_t gid, in PrepareDirWithProjectId()
269 static int FixupAppDir(const std::string& path, mode_t mode, uid_t uid, gid_t gid, long projectId) { in FixupAppDir()
301 int PrepareAppDirFromRoot(const std::string& path, const std::string& root, int appUid, in PrepareAppDirFromRoot()
427 int SetAttrs(const std::string& path, unsigned int attrs) { in SetAttrs()
451 status_t PrepareDir(const std::string& path, mode_t mode, uid_t uid, gid_t gid, in PrepareDir()
[all …]
/system/libvintf/
DFileSystem.cpp29 status_t FileSystemImpl::fetch(const std::string& path, std::string* fetched, in fetch()
41 status_t FileSystemImpl::listFiles(const std::string& path, std::vector<std::string>* out, in listFiles()
67 status_t FileSystemImpl::modifiedTime(const std::string& path, timespec* mtime, in modifiedTime()
101 status_t FileSystemUnderPath::fetch(const std::string& path, std::string* fetched, in fetch()
106 status_t FileSystemUnderPath::listFiles(const std::string& path, std::vector<std::string>* out, in listFiles()
111 status_t FileSystemUnderPath::modifiedTime(const std::string& path, timespec* mtime, in modifiedTime()
138 status_t PathReplacingFileSystem::fetch(const std::string& path, std::string* fetched, in fetch()
143 status_t PathReplacingFileSystem::listFiles(const std::string& path, std::vector<std::string>* out, in listFiles()
148 status_t PathReplacingFileSystem::modifiedTime(const std::string& path, timespec* mtime, in modifiedTime()
DHostFileSystem.cpp36 status_t HostFileSystem::fetch(const std::string& path, std::string* fetched, in fetch()
47 status_t HostFileSystem::listFiles(const std::string& path, std::vector<std::string>* out, in listFiles()
58 status_t HostFileSystem::modifiedTime(const std::string& path, timespec* mtime, in modifiedTime()
69 std::string HostFileSystem::resolve(const std::string& path, std::string* error) const { in resolve() argument
DVintfFm.cpp67 status_t fetch(const std::string& path, std::string* fetched, in fetch()
71 status_t listFiles(const std::string& path, std::vector<std::string>* out, in listFiles()
75 status_t modifiedTime(const std::string& path, timespec* out, in modifiedTime()
79 status_t write(const std::string& path, const std::string& content, in write()
90 status_t deleteFile(const std::string& path, std::string* error) const override { in deleteFile() argument
266 std::string path = dir + "/" + to_string(level) + ".xml"; in dumpMatrix() local
288 std::string path = dir + "/" + filename; in loadMatrices() local
/system/keymint/ta/fuzz/
DCargo.toml16 path = ".." qkey
24 path = "fuzz_targets/keydescription.rs" qkey
30 kmr-common = { path = "../../common" } qkey
31 kmr-derive = { path = "../../derive" } qkey
32 kmr-wire = { path = "../../wire" } qkey
/system/core/libcutils/
Dfs.cpp42 static int fs_prepare_path_impl(const char* path, mode_t mode, uid_t uid, gid_t gid, in fs_prepare_path_impl()
115 int fs_prepare_dir(const char* path, mode_t mode, uid_t uid, gid_t gid) { in fs_prepare_dir()
119 int fs_prepare_dir_strict(const char* path, mode_t mode, uid_t uid, gid_t gid) { in fs_prepare_dir_strict()
123 int fs_prepare_file_strict(const char* path, mode_t mode, uid_t uid, gid_t gid) { in fs_prepare_file_strict()
127 int fs_read_atomic_int(const char* path, int* out_value) { in fs_read_atomic_int()
152 int fs_write_atomic_int(const char* path, int value) { in fs_write_atomic_int()
196 int fs_mkdirs(const char* path, mode_t mode) { in fs_mkdirs()
/system/tools/hidl/hashing/
DHash.cpp34 Hash& Hash::getMutableHash(const std::string& path) { in getMutableHash()
46 const Hash& Hash::getHash(const std::string& path) { in getHash()
50 void Hash::clearHash(const std::string& path) { in clearHash()
54 static std::vector<uint8_t> sha256File(const std::string& path) { in sha256File()
67 Hash::Hash(const std::string& path) : mPath(path), mHash(sha256File(path)) {} in Hash()
152 std::string path; member
156 std::vector<std::string> Hash::lookupHash(const std::string& path, const std::string& interfaceName, in lookupHash()
/system/linkerconfig/contents/tests/backward_compatibility/
Dtestbase.h61 const std::string& path) { in ContainsPath()
69 const std::string& path) { in ContainsSearchPath()
90 const std::string& path) { in ContainsPermittedPath()
/system/keymint/common/fuzz/
DCargo.toml16 path = ".." qkey
24 path = "fuzz_targets/keyblob.rs" qkey
29 kmr-derive = { path = "../../derive" } qkey
30 kmr-wire = { path = "../../wire" } qkey
/system/linkerconfig/modules/
Dnamespace.cc132 void Namespace::AddSearchPath(const std::string& path) { in AddSearchPath()
141 void Namespace::AddPermittedPath(const std::string& path) { in AddPermittedPath()
150 void Namespace::AddAllowedLib(const std::string& path) { in AddAllowedLib()
158 bool Namespace::RequiresAsanPath(const std::string& path) { in RequiresAsanPath()
162 const std::string Namespace::CreateAsanPath(const std::string& path) { in CreateAsanPath()
/system/keymint/wire/fuzz/
DCargo.toml15 path = ".." qkey
23 path = "fuzz_targets/message.rs" qkey
29 path = "fuzz_targets/legacy_message.rs" qkey
34 kmr-derive = { path = "../../derive" } qkey
/system/core/fastboot/
Dfilesystem.cpp55 WCHAR path[MAX_PATH]; in GetHomeDirPath() local
86 bool FileExists(const std::string& path) { in FileExists()
101 FileLock::FileLock(const std::string& path) : fd_(open(path.c_str(), O_CREAT | O_WRONLY, 0644)) { in FileLock()
/system/libbase/
Dfile.cpp57 std::wstring path; in mkstemp() local
80 std::wstring path; in mkdtemp() local
247 bool ReadFileToString(const std::string& path, std::string* content, bool follow_symlinks) { in ReadFileToString()
272 static bool CleanUpAfterFailedWrite(const std::string& path) { in CleanUpAfterFailedWrite()
281 bool WriteStringToFile(const std::string& content, const std::string& path, in WriteStringToFile()
310 bool WriteStringToFile(const std::string& content, const std::string& path, in WriteStringToFile()
412 bool RemoveFileIfExists(const std::string& path, std::string* err) { in RemoveFileIfExists()
446 bool Readlink(const std::string& path, std::string* result) { in Readlink()
470 bool Realpath(const std::string& path, std::string* result) { in Realpath()
490 std::string path; in GetExecutablePath() local
[all …]
/system/tools/hidl/c2hal/test/
Dbuild_all.py48 def genFiles(path, is_open_gl): argument
73 def headers(path): argument
/system/core/fs_mgr/liblp/
Dpartition_opener.cpp40 std::string GetPartitionAbsolutePath(const std::string& path) { in GetPartitionAbsolutePath()
112 std::string path = GetPartitionAbsolutePath(partition_name); in Open() local
117 std::string path = GetPartitionAbsolutePath(partition_name); in GetInfo() local
/system/core/fastboot/device/
Dutility.h34 explicit PartitionHandle(const std::string& path) : path_(path) {} in PartitionHandle()
35 PartitionHandle(const std::string& path, std::function<void()>&& closer) in PartitionHandle()
46 const std::string& path() const { return path_; } in path() function
/system/libbase/include/android-base/
Dfile.h51 char path[1024]; variable
68 char path[1024]; variable
/system/sepolicy/tests/
Dpolicy_test.py21 def assertMatches(self, path, prefix): argument
24 def assertDoesNotMatch(self, path, prefix): argument
/system/core/fs_mgr/
Dfile_wait.cpp41 bool PollForFile(const std::string& path, const std::chrono::milliseconds relative_timeout) { in PollForFile()
55 bool PollForFileDeleted(const std::string& path, const std::chrono::milliseconds relative_timeout) { in PollForFileDeleted()
93 OneShotInotify::OneShotInotify(const std::string& path, uint32_t mask, in OneShotInotify()
218 bool WaitForFile(const std::string& path, const std::chrono::milliseconds relative_timeout) { in WaitForFile()
228 bool WaitForFileDeleted(const std::string& path, const std::chrono::milliseconds relative_timeout) { in WaitForFileDeleted()
/system/vold/model/
DObbVolume.cpp67 auto path = StringPrintf("/mnt/obb/%s", getId().c_str()); in doMount() local
85 auto path = getPath(); in doUnmount() local
/system/core/init/
Dparser.cpp134 bool Parser::ParseConfigFileInsecure(const std::string& path, bool follow_symlinks = false) { in ParseConfigFileInsecure()
144 Result<void> Parser::ParseConfigFile(const std::string& path) { in ParseConfigFile()
159 bool Parser::ParseConfigDir(const std::string& path) { in ParseConfigDir()
186 bool Parser::ParseConfig(const std::string& path) { in ParseConfig()

12345678910>>...16