/system/apex/apexd/ |
D | apexd_utils.h | 91 Result<void> WalkDir(const std::string& path, Fn fn) { in WalkDir() 108 Result<std::vector<std::string>> ReadDir(const std::string& path, FilterFn fn) { in ReadDir() 123 inline bool IsEmptyDirectory(const std::string& path) { in IsEmptyDirectory() 128 inline Result<void> createDirIfNeeded(const std::string& path, mode_t mode) { in createDirIfNeeded() 154 inline Result<void> DeleteDirContent(const std::string& path) { in DeleteDirContent() 167 inline Result<void> DeleteDir(const std::string& path) { in DeleteDir() 177 inline Result<ino_t> get_path_inode(const std::string& path) { in get_path_inode() 187 inline Result<bool> PathExists(const std::string& path) { in PathExists() 208 inline Result<void> WaitForFile(const std::string& path, in WaitForFile() 226 inline Result<std::vector<std::string>> GetSubdirs(const std::string& path) { in GetSubdirs()
|
/system/incremental_delivery/incfs/ |
D | path.cpp | 32 namespace android::incfs::path { namespace 66 bool isAbsolute(std::string_view path) { in isAbsolute() 70 std::string normalize(std::string_view path) { in normalize() 152 static void preparePathComponent(std::string_view& path, bool trimFront) { in preparePathComponent() 180 void details::appendNextPath(std::string& res, std::string_view path) { in appendNextPath() 191 std::string_view baseName(std::string_view path) { in baseName() 209 std::string_view dirName(std::string_view path) { in dirName() 250 bool startsWith(std::string_view path, std::string_view prefix) { in startsWith() 257 bool endsWith(std::string_view path, std::string_view suffix) { in endsWith()
|
/system/linkerconfig/modules/ |
D | namespace.cc | 78 void Namespace::AddSearchPath(const std::string& path) { in AddSearchPath() 87 void Namespace::AddPermittedPath(const std::string& path) { in AddPermittedPath() 96 void Namespace::AddWhitelisted(const std::string& path) { in AddWhitelisted() 104 bool Namespace::RequiresAsanPath(const std::string& path) { in RequiresAsanPath() 108 const std::string Namespace::CreateAsanPath(const std::string& path) { in CreateAsanPath()
|
/system/vold/ |
D | AppFuseUtil.cpp | 36 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
|
D | Process.cpp | 47 static bool checkMaps(const std::string& path, const std::string& prefix) { in checkMaps() 73 static bool checkSymlink(const std::string& path, const std::string& prefix) { in checkSymlink() 102 auto path = StringPrintf("/proc/%d", pid); in KillProcessesWithOpenFiles() local
|
/system/memory/libmeminfo/ |
D | sysmeminfo.cpp | 56 bool SysMemInfo::ReadMemInfo(const std::string& path) { in ReadMemInfo() 61 bool SysMemInfo::ReadMemInfo(std::vector<uint64_t>* out, const std::string& path) { in ReadMemInfo() 66 const std::string& path) { in ReadMemInfo() 122 bool SysMemInfo::ReadMemInfo(const std::vector<std::string>& tags, const std::string& path, in ReadMemInfo() 239 uint64_t ReadVmallocInfo(const std::string& path) { in ReadVmallocInfo() 274 static bool ReadSysfsFile(const std::string& path, uint64_t* value) { in ReadSysfsFile() 290 bool ReadIonHeapsSizeKb(uint64_t* size, const std::string& path) { in ReadIonHeapsSizeKb() 294 bool ReadIonPoolsSizeKb(uint64_t* size, const std::string& path) { in ReadIonPoolsSizeKb()
|
/system/core/libcutils/ |
D | fs.cpp | 42 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/ |
D | Hash.cpp | 33 Hash& Hash::getMutableHash(const std::string& path) { in getMutableHash() 45 const Hash& Hash::getHash(const std::string& path) { in getHash() 49 void Hash::clearHash(const std::string& path) { in clearHash() 53 static std::vector<uint8_t> sha256File(const std::string& path) { in sha256File() 66 Hash::Hash(const std::string& path) : mPath(path), mHash(sha256File(path)) {} in Hash() 160 std::string path; member 164 std::vector<std::string> Hash::lookupHash(const std::string& path, const std::string& interfaceName, in lookupHash()
|
/system/linkerconfig/contents/tests/backward_compatibility/ |
D | testbase.h | 57 const std::string& path) { in ContainsPath() 69 const std::string& path) { in ContainsSearchPath() 90 const std::string& path) { in ContainsPermittedPath()
|
/system/core/adb/daemon/ |
D | file_sync_service.cpp | 70 static bool should_use_fs_config(const std::string& path) { in should_use_fs_config() 80 static bool update_capabilities(const char* path, uint64_t capabilities) { in update_capabilities() 101 static bool secure_mkdirs(const std::string& path) { in secure_mkdirs() 142 static bool do_lstat_v1(int s, const char* path) { in do_lstat_v1() 154 static bool do_stat_v2(int s, uint32_t id, const char* path) { in do_stat_v2() 186 static bool do_list(int s, const char* path) { in do_list() 246 static bool do_list_v1(int s, const char* path) { in do_list_v1() 250 static bool do_list_v2(int s, const char* path) { in do_list_v2() 346 static bool handle_send_file(borrowed_fd s, const char* path, uint32_t* timestamp, uid_t uid, in handle_send_file() 445 static bool handle_send_link(int s, const std::string& path, uint32_t* timestamp, bool dry_run, in handle_send_link() [all …]
|
/system/core/fastboot/device/ |
D | utility.h | 33 explicit PartitionHandle(const std::string& path) : path_(path) {} in PartitionHandle() 34 PartitionHandle(const std::string& path, std::function<void()>&& closer) in PartitionHandle() 45 const std::string& path() const { return path_; } in path() function
|
/system/libbase/ |
D | file.cpp | 56 std::wstring path; in mkstemp() local 79 std::wstring path; in mkdtemp() local 236 bool ReadFileToString(const std::string& path, std::string* content, bool follow_symlinks) { in ReadFileToString() 261 static bool CleanUpAfterFailedWrite(const std::string& path) { in CleanUpAfterFailedWrite() 270 bool WriteStringToFile(const std::string& content, const std::string& path, in WriteStringToFile() 299 bool WriteStringToFile(const std::string& content, const std::string& path, in WriteStringToFile() 365 bool RemoveFileIfExists(const std::string& path, std::string* err) { in RemoveFileIfExists() 399 bool Readlink(const std::string& path, std::string* result) { in Readlink() 423 bool Realpath(const std::string& path, std::string* result) { in Realpath() 443 std::string path; in GetExecutablePath() local [all …]
|
/system/tools/hidl/c2hal/test/ |
D | build_all.py | 48 def genFiles(path, is_open_gl): argument 73 def headers(path): argument
|
/system/libbase/include/android-base/ |
D | file.h | 51 char path[1024]; variable 68 char path[1024]; variable
|
/system/core/fs_mgr/liblp/ |
D | partition_opener.cpp | 40 std::string GetPartitionAbsolutePath(const std::string& path) { in GetPartitionAbsolutePath() 108 std::string path = GetPartitionAbsolutePath(partition_name); in Open() local 113 std::string path = GetPartitionAbsolutePath(partition_name); in GetInfo() local
|
/system/libvintf/ |
D | FileSystem.cpp | 28 status_t FileSystemImpl::fetch(const std::string& path, std::string* fetched, in fetch() 40 status_t FileSystemImpl::listFiles(const std::string& path, std::vector<std::string>* out, in listFiles() 82 status_t FileSystemUnderPath::fetch(const std::string& path, std::string* fetched, in fetch() 87 status_t FileSystemUnderPath::listFiles(const std::string& path, std::vector<std::string>* out, in listFiles()
|
/system/update_engine/ |
D | fake_shill_proxy.cc | 34 const dbus::ObjectPath& path) { in GetServiceForPath() 44 const dbus::ObjectPath& path, in SetServiceForPath()
|
/system/sepolicy/tests/ |
D | fc_sort.py | 7 path = None variable in FileContextsNode 16 def __init__(self, path, fileType, context, meta, stemLen, strLen, line): argument 29 def getStemLen(path): argument 43 def getIsMeta(path): argument
|
/system/core/fs_mgr/ |
D | file_wait.cpp | 41 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() 215 bool WaitForFile(const std::string& path, const std::chrono::milliseconds relative_timeout) { in WaitForFile() 225 bool WaitForFileDeleted(const std::string& path, const std::chrono::milliseconds relative_timeout) { in WaitForFileDeleted()
|
/system/bt/gd/os/linux_generic/ |
D | files.cc | 53 bool FileExists(const std::string& path) { in FileExists() 66 std::optional<std::string> ReadSmallFile(const std::string& path) { in ReadSmallFile() 90 bool WriteToFile(const std::string& path, const std::string& data) { in WriteToFile()
|
/system/core/init/ |
D | devices.cpp | 58 static bool FindPciDevicePrefix(const std::string& path, std::string* result) { in FindPciDevicePrefix() 89 static bool FindVbdDevicePrefix(const std::string& path, std::string* result) { in FindVbdDevicePrefix() 113 static bool FindDmDevice(const std::string& path, std::string* name, std::string* uuid) { in FindDmDevice() 156 bool SysfsPermissions::MatchWithSubsystem(const std::string& path, in MatchWithSubsystem() 185 bool DeviceHandler::FindPlatformDevice(std::string path, std::string* platform_device_path) const { in FindPlatformDevice() 218 std::string path = "/sys" + upath; in FixupSysPermissions() local 233 const std::string& path, const std::vector<std::string>& links) const { in GetDevicePermissions() argument 245 void DeviceHandler::MakeDevice(const std::string& path, bool block, int major, int minor, in MakeDevice() 398 auto path = dir + "/" + dp->d_name; in RemoveDeviceMapperLinks() local
|
D | parser.cpp | 132 bool Parser::ParseConfigFileInsecure(const std::string& path) { in ParseConfigFileInsecure() 142 bool Parser::ParseConfigFile(const std::string& path) { in ParseConfigFile() 157 bool Parser::ParseConfigDir(const std::string& path) { in ParseConfigDir() 184 bool Parser::ParseConfig(const std::string& path) { in ParseConfig()
|
/system/core/adb/client/ |
D | auth.cpp | 157 static bool load_keys(const std::string& path, bool allow_dir = true) { in load_keys() 212 std::string path = get_user_key_path(); in load_userkey() local 237 for (const auto& path : android::base::Split(adb_keys_path, ENV_PATH_SEPARATOR_STR)) { in get_vendor_keys() local 281 static bool pubkey_from_privkey(std::string* out, const std::string& path) { in pubkey_from_privkey() 290 std::string path = get_user_key_path(); in adb_auth_get_user_privkey() local 312 std::string path = get_user_key_path(); in adb_auth_get_userkey() local 368 std::string path = root_it->second; in adb_auth_inotify_update() local 400 for (const std::string& path : paths) { in adb_auth_inotify_init() local 430 for (const std::string& path : key_paths) { in adb_auth_init() local
|
/system/core/libprocessgroup/cgrouprc_format/ |
D | cgroup_controller.cpp | 29 const std::string& path) in CgroupController() 54 const char* CgroupController::path() const { in path() function in android::cgrouprc::format::CgroupController
|
/system/core/libprocessgroup/profiles/ |
D | cgroups.proto | 30 string path = 2 [json_name = "Path"]; field 38 string path = 1 [json_name = "Path"]; field
|