/system/apex/apexd/ |
D | apexd_utils.h | 91 android::base::Result<void> WalkDir(const std::string& path, Fn fn) { in WalkDir() 108 android::base::Result<std::vector<std::string>> ReadDir(const std::string& path, in ReadDir() 124 inline bool IsEmptyDirectory(const std::string& path) { in IsEmptyDirectory() 129 inline android::base::Result<void> CreateDirIfNeeded(const std::string& path, in CreateDirIfNeeded() 157 inline android::base::Result<void> DeleteDirContent(const std::string& path) { in DeleteDirContent() 174 inline android::base::Result<void> DeleteDir(const std::string& path) { in DeleteDir() 185 inline android::base::Result<bool> PathExists(const std::string& path) { in PathExists() 208 const std::string& path, std::chrono::nanoseconds timeout) { in WaitForFile() 227 const std::string& path) { in GetSubdirs() 246 const std::string& path, const std::vector<std::string>& suffix_list) { in FindFilesBySuffix() [all …]
|
/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 | Utils.cpp | 100 status_t CreateDeviceNode(const std::string& path, dev_t dev) { in CreateDeviceNode() 129 status_t DestroyDeviceNode(const std::string& path) { in DestroyDeviceNode() 139 status_t SetDefaultAcl(const std::string& path, mode_t mode, uid_t uid, gid_t gid, in SetDefaultAcl() 201 int SetQuotaInherit(const std::string& path) { in SetQuotaInherit() 227 int SetQuotaProjectId(const std::string& path, long projectId) { in SetQuotaProjectId() 251 int PrepareDirWithProjectId(const std::string& path, mode_t mode, uid_t uid, gid_t gid, in PrepareDirWithProjectId() 266 static int FixupAppDir(const std::string& path, mode_t mode, uid_t uid, gid_t gid, long projectId) { in FixupAppDir() 298 int PrepareAppDirFromRoot(const std::string& path, const std::string& root, int appUid, in PrepareAppDirFromRoot() 424 int SetAttrs(const std::string& path, unsigned int attrs) { in SetAttrs() 448 status_t PrepareDir(const std::string& path, mode_t mode, uid_t uid, gid_t gid, in PrepareDir() [all …]
|
/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() 148 static void preparePathComponent(std::string_view& path, bool trimAll) { in preparePathComponent() 177 void details::appendNextPath(std::string& res, std::string_view path) { in appendNextPath() 212 bool startsWith(std::string_view path, std::string_view prefix) { in startsWith() 219 bool endsWith(std::string_view path, std::string_view suffix) { in endsWith()
|
/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/linkerconfig/contents/tests/backward_compatibility/ |
D | testbase.h | 59 const std::string& path) { in ContainsPath() 67 const std::string& path) { in ContainsSearchPath() 88 const std::string& path) { in ContainsPermittedPath()
|
/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/modules/ |
D | namespace.cc | 116 void Namespace::AddSearchPath(const std::string& path) { in AddSearchPath() 125 void Namespace::AddPermittedPath(const std::string& path) { in AddPermittedPath() 134 void Namespace::AddAllowedLib(const std::string& path) { in AddAllowedLib() 142 bool Namespace::RequiresAsanPath(const std::string& path) { in RequiresAsanPath() 146 const std::string Namespace::CreateAsanPath(const std::string& path) { in CreateAsanPath()
|
/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() 190 bool RemoveFile(const std::string& path) { in RemoveFile()
|
/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/core/fs_mgr/liblp/ |
D | partition_opener.cpp | 40 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/libbase/include/android-base/ |
D | file.h | 51 char path[1024]; variable 68 char path[1024]; variable
|
/system/bt/gd/os/android/ |
D | parameter_provider.cc | 43 void ParameterProvider::OverrideConfigFilePath(const std::string& path) { in OverrideConfigFilePath() 58 void ParameterProvider::OverrideSnoopLogFilePath(const std::string& path) { in OverrideSnoopLogFilePath() 74 void ParameterProvider::OverrideSnoozLogFilePath(const std::string& path) { in OverrideSnoozLogFilePath()
|
/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()
|
D | HostFileSystem.cpp | 36 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 std::string HostFileSystem::resolve(const std::string& path, std::string* error) const { in resolve() argument
|
/system/memory/libmeminfo/ |
D | sysmeminfo.cpp | 53 bool SysMemInfo::ReadMemInfo(const char* path) { in ReadMemInfo() 65 bool SysMemInfo::ReadMemInfo(std::vector<uint64_t>* out, const char* path) { in ReadMemInfo() 73 const char* path) { in ReadMemInfo() 90 bool SysMemInfo::ReadMemInfo(const char* path, size_t ntags, const std::string_view* tags, in ReadMemInfo() 208 uint64_t ReadVmallocInfo(const char* path) { in ReadVmallocInfo() 243 static bool ReadSysfsFile(const std::string& path, uint64_t* value) { in ReadSysfsFile() 259 bool ReadIonHeapsSizeKb(uint64_t* size, const std::string& path) { in ReadIonHeapsSizeKb() 263 bool ReadIonPoolsSizeKb(uint64_t* size, const std::string& path) { in ReadIonPoolsSizeKb()
|
/system/update_engine/cros/ |
D | fake_shill_proxy.cc | 34 const dbus::ObjectPath& path) { in GetServiceForPath() 44 const dbus::ObjectPath& path, in SetServiceForPath()
|
/system/bt/gd/os/host/ |
D | parameter_provider.cc | 53 void ParameterProvider::OverrideConfigFilePath(const std::string& path) { in OverrideConfigFilePath() 73 void ParameterProvider::OverrideSnoopLogFilePath(const std::string& path) { in OverrideSnoopLogFilePath() 94 void ParameterProvider::OverrideSnoozLogFilePath(const std::string& path) { in OverrideSnoozLogFilePath()
|
/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/core/init/ |
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()
|
D | devices.cpp | 59 static bool FindPciDevicePrefix(const std::string& path, std::string* result) { in FindPciDevicePrefix() 90 static bool FindVbdDevicePrefix(const std::string& path, std::string* result) { in FindVbdDevicePrefix() 114 static bool FindDmDevice(const std::string& path, std::string* name, std::string* uuid) { in FindDmDevice() 164 bool SysfsPermissions::MatchWithSubsystem(const std::string& path, in MatchWithSubsystem() 193 bool DeviceHandler::FindPlatformDevice(std::string path, std::string* platform_device_path) const { in FindPlatformDevice() 226 std::string path = "/sys" + upath; in FixupSysPermissions() local 241 const std::string& path, const std::vector<std::string>& links) const { in GetDevicePermissions() argument 253 void DeviceHandler::MakeDevice(const std::string& path, bool block, int major, int minor, in MakeDevice() 406 auto path = dir + "/" + dp->d_name; in RemoveDeviceMapperLinks() local
|
D | security.cpp | 39 static bool SetHighestAvailableOptionValue(const std::string& path, int min, int max) { in SetHighestAvailableOptionValue() 80 std::string path; in SetMmapRndBitsMin() local 140 std::string path = KPTR_RESTRICT_PATH; in SetKptrRestrictAction() local
|