| /system/apex/apexd/ |
| D | apexd_utils.h | 86 Status WalkDir(const std::string& path, Fn fn) { in WalkDir() 103 StatusOr<std::vector<std::string>> ReadDir(const std::string& path, in ReadDir() 120 inline bool IsEmptyDirectory(const std::string& path) { in IsEmptyDirectory() 125 inline Status createDirIfNeeded(const std::string& path, mode_t mode) { in createDirIfNeeded() 151 inline Status DeleteDirContent(const std::string& path) { in DeleteDirContent() 165 inline StatusOr<bool> PathExists(const std::string& path) { in PathExists() 188 inline Status WaitForFile(const std::string& path, in WaitForFile()
|
| /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
|
| D | Utils.cpp | 78 status_t CreateDeviceNode(const std::string& path, dev_t dev) { in CreateDeviceNode() 107 status_t DestroyDeviceNode(const std::string& path) { in DestroyDeviceNode() 116 status_t PrepareDir(const std::string& path, mode_t mode, uid_t uid, gid_t gid) { in PrepareDir() 141 status_t ForceUnmount(const std::string& path) { in ForceUnmount() 171 status_t KillProcessesUsingPath(const std::string& path) { in KillProcessesUsingPath() 266 static status_t readMetadata(const std::string& path, std::string* fsType, std::string* fsUuid, in readMetadata() 301 status_t ReadMetadata(const std::string& path, std::string* fsType, std::string* fsUuid, in ReadMetadata() 306 status_t ReadMetadataUntrusted(const std::string& path, std::string* fsType, std::string* fsUuid, in ReadMetadataUntrusted() 528 status_t GetBlockDevSize(const std::string& path, uint64_t* size) { in GetBlockDevSize() 543 status_t GetBlockDev512Sectors(const std::string& path, uint64_t* nr_sec) { in GetBlockDev512Sectors() [all …]
|
| /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/libvintf/ |
| D | VintfObjectRecovery.cpp | 49 status_t mount(const std::string& path) { in mount() 59 status_t mount(const std::string& path, const std::string& mountPoint) { in mount() 81 status_t fetch(const std::string& path, std::string* fetched, std::string* error) const { in fetch() argument 88 status_t listFiles(const std::string& path, std::vector<std::string>* out, in listFiles() 102 status_t getFileSystem(const std::string& path, const FileSystem** fs, in getFileSystem() 127 static std::string GetPartition(const std::string& path) { in GetPartition()
|
| D | FileSystem.cpp | 30 status_t FileSystemImpl::fetch(const std::string& path, std::string* fetched, in fetch() 50 status_t FileSystemImpl::listFiles(const std::string& path, std::vector<std::string>* out, in listFiles() 87 status_t FileSystemUnderPath::fetch(const std::string& path, std::string* fetched, in fetch() 92 status_t FileSystemUnderPath::listFiles(const std::string& path, std::vector<std::string>* out, in listFiles()
|
| /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/core/fastboot/device/ |
| D | utility.h | 32 explicit PartitionHandle(const std::string& path) : path_(path) {} in PartitionHandle() 33 PartitionHandle(const std::string& path, std::function<void()>&& closer) in PartitionHandle() 44 const std::string& path() const { return path_; } in path() function
|
| /system/core/adb/daemon/ |
| D | file_sync_service.cpp | 62 static bool should_use_fs_config(const std::string& path) { in should_use_fs_config() 72 static bool update_capabilities(const char* path, uint64_t capabilities) { in update_capabilities() 93 static bool secure_mkdirs(const std::string& path) { in secure_mkdirs() 134 static bool do_lstat_v1(int s, const char* path) { in do_lstat_v1() 146 static bool do_stat_v2(int s, uint32_t id, const char* path) { in do_stat_v2() 177 static bool do_list(int s, const char* path) { in do_list() 229 static bool handle_send_file(int s, const char* path, uint32_t* timestamp, uid_t uid, gid_t gid, in handle_send_file() 346 static bool handle_send_link(int s, const std::string& path, uint32_t* timestamp, in handle_send_link() 405 std::string path = spec.substr(0, comma); in do_send() local 458 static bool do_recv(int s, const char* path, std::vector<char>& buffer) { in do_recv()
|
| /system/update_engine/payload_consumer/ |
| D | mtd_file_descriptor.cc | 49 std::unique_ptr<UbiVolumeInfo> GetUbiVolumeInfo(const string& path) { in GetUbiVolumeInfo() 98 bool MtdFileDescriptor::IsMtd(const char* path) { in IsMtd() 103 bool MtdFileDescriptor::Open(const char* path, int flags, mode_t mode) { in Open() 131 bool MtdFileDescriptor::Open(const char* path, int flags) { in Open() 166 bool UbiFileDescriptor::IsUbi(const char* path) { in IsUbi() 175 bool UbiFileDescriptor::Open(const char* path, int flags, mode_t mode) { in Open() 209 bool UbiFileDescriptor::Open(const char* path, int flags) { in Open()
|
| /system/core/fs_mgr/liblp/ |
| D | partition_opener.cpp | 39 std::string GetPartitionAbsolutePath(const std::string& path) { in GetPartitionAbsolutePath() 87 std::string path = GetPartitionAbsolutePath(partition_name); in Open() local 92 std::string path = GetPartitionAbsolutePath(partition_name); in GetInfo() local
|
| /system/core/fs_mgr/ |
| D | fs_mgr_dm_linear.cpp | 61 std::string path = "/dev/block/by-name/" + name; in GetPhysicalPartitionDevicePath() local 87 std::string path; in CreateDmTable() local 113 const std::string& super_device, std::string* path) { in CreateLogicalPartition() 162 std::string path; in CreateLogicalPartitions() local 173 const std::chrono::milliseconds& timeout_ms, std::string* path) { in CreateLogicalPartition() 186 const std::chrono::milliseconds& timeout_ms, std::string* path) { in CreateLogicalPartition() 198 std::string path; in UnmapDevice() local
|
| /system/sepolicy/tests/ |
| D | FcSort.py | 6 path = None variable in FileContextsNode 14 def __init__(self, path, fileType, context, meta, stemLen, strLen): argument 26 def getStemLen(path): argument 40 def getIsMeta(path): argument
|
| /system/tools/hidl/c2hal/test/ |
| D | build_all.py | 48 def genFiles(path, is_open_gl): argument 73 def headers(path): argument
|
| /system/core/base/include/android-base/ |
| D | file.h | 50 char path[1024]; variable 67 char path[1024]; variable
|
| /system/update_engine/ |
| D | fake_shill_proxy.cc | 34 const dbus::ObjectPath& path) { in GetServiceForPath() 44 const dbus::ObjectPath& path, in SetServiceForPath()
|
| /system/core/base/ |
| D | file.cpp | 198 bool ReadFileToString(const std::string& path, std::string* content, bool follow_symlinks) { in ReadFileToString() 223 static bool CleanUpAfterFailedWrite(const std::string& path) { in CleanUpAfterFailedWrite() 232 bool WriteStringToFile(const std::string& content, const std::string& path, in WriteStringToFile() 261 bool WriteStringToFile(const std::string& content, const std::string& path, in WriteStringToFile() 327 bool RemoveFileIfExists(const std::string& path, std::string* err) { in RemoveFileIfExists() 361 bool Readlink(const std::string& path, std::string* result) { in Readlink() 385 bool Realpath(const std::string& path, std::string* result) { in Realpath() 405 std::string path; in GetExecutablePath() local 433 std::string Basename(const std::string& path) { in Basename() 458 std::string Dirname(const std::string& path) { in Dirname()
|
| /system/core/adb/client/ |
| D | auth.cpp | 169 static bool load_keys(const std::string& path, bool allow_dir = true) { in load_keys() 222 std::string path = get_user_key_path(); in generate_userkey() local 247 for (const auto& path : android::base::Split(adb_keys_path, ENV_PATH_SEPARATOR_STR)) { in get_vendor_keys() local 291 static bool pubkey_from_privkey(std::string* out, const std::string& path) { in pubkey_from_privkey() 300 std::string path = get_user_key_path(); in adb_auth_get_userkey() local 356 std::string path = root_it->second; in adb_auth_inotify_update() local 388 for (const std::string& path : paths) { in adb_auth_inotify_init() local 418 for (const std::string& path : key_paths) { in adb_auth_init() local
|
| /system/core/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()
|
| /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 | 63 static bool FindPciDevicePrefix(const std::string& path, std::string* result) { in FindPciDevicePrefix() 94 static bool FindVbdDevicePrefix(const std::string& path, std::string* result) { in FindVbdDevicePrefix() 118 static bool FindDmDevicePartition(const std::string& path, std::string* result) { in FindDmDevicePartition() 169 bool SysfsPermissions::MatchWithSubsystem(const std::string& path, in MatchWithSubsystem() 198 bool DeviceHandler::FindPlatformDevice(std::string path, std::string* platform_device_path) const { in FindPlatformDevice() 230 std::string path = "/sys" + upath; in FixupSysPermissions() local 245 const std::string& path, const std::vector<std::string>& links) const { in GetDevicePermissions() argument 257 void DeviceHandler::MakeDevice(const std::string& path, bool block, int major, int minor, in MakeDevice()
|
| /system/core/healthd/ |
| D | BatteryMonitor.cpp | 143 int BatteryMonitor::readFromFile(const String8& path, std::string* buf) { in readFromFile() 150 BatteryMonitor::PowerSupplyType BatteryMonitor::readPowerSupplyType(const String8& path) { in readPowerSupplyType() 182 bool BatteryMonitor::getBooleanField(const String8& path) { in getBooleanField() 193 int BatteryMonitor::getIntField(const String8& path) { in getIntField() 248 String8 path; in update() local 469 String8 path; in init() local
|
| /system/linkerconfig/modules/ |
| D | namespace.cc | 34 for (auto& path : path_list) { in WritePathString() local 90 void Namespace::AddSearchPath(const std::string& path, bool in_asan, in AddSearchPath() 102 void Namespace::AddPermittedPath(const std::string& path, bool in_asan, in AddPermittedPath()
|
| /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
|