| /system/vold/ |
| D | Ext4Crypt.cpp | 167 static UnencryptedProperties GetProps(const char* path) in GetProps() 172 static UnencryptedProperties GetAltProps(const char* path) in GetAltProps() 177 static UnencryptedProperties GetPropsOrAltProps(const char* path) in GetPropsOrAltProps() 186 int e4crypt_enable(const char* path) in e4crypt_enable() 236 int e4crypt_change_password(const char* path, int crypt_type, in e4crypt_change_password() 278 int e4crypt_crypto_complete(const char* path) in e4crypt_crypto_complete() 308 int e4crypt_check_passwd(const char* path, const char* password) in e4crypt_check_passwd() 418 int e4crypt_restart(const char* path) in e4crypt_restart() 448 int e4crypt_get_password_type(const char* path) in e4crypt_get_password_type() 455 const char* e4crypt_get_password(const char* path) in e4crypt_get_password() [all …]
|
| D | Process.cpp | 35 int Process::readSymLink(const char *path, char *link, size_t max) { in readSymLink() 52 int Process::pathMatchesMountPoint(const char* path, const char* mountPoint) { in pathMatchesMountPoint() 87 char path[PATH_MAX]; in checkFileDescriptorSymLinks() local 139 const char* path = strchr(buffer, '/'); in checkFileMaps() local 155 char path[PATH_MAX]; in checkSymLink() local 173 extern "C" void vold_killProcessesWithOpenFiles(const char *path, int signal) { in vold_killProcessesWithOpenFiles() 180 int Process::killProcessesWithOpenFiles(const char *path, int signal) { in killProcessesWithOpenFiles()
|
| D | secdiscard.cpp | 66 static void destroy_key(const std::string &path) { in destroy_key() 86 static int file_device_range(const std::string &path, uint64_t range[2]) in file_device_range() 136 static int open_block_device_for_path(const std::string &path) in open_block_device_for_path() 159 static int read_file_as_string_atomically(const std::string &path, std::string &contents) in read_file_as_string_atomically() 190 const std::string &path, in find_block_device_for_path()
|
| D | Utils.cpp | 60 status_t CreateDeviceNode(const std::string& path, dev_t dev) { in CreateDeviceNode() 88 status_t DestroyDeviceNode(const std::string& path) { in DestroyDeviceNode() 97 status_t PrepareDir(const std::string& path, mode_t mode, uid_t uid, gid_t gid) { in PrepareDir() 121 status_t ForceUnmount(const std::string& path) { in ForceUnmount() 151 status_t KillProcessesUsingPath(const std::string& path) { in KillProcessesUsingPath() 185 static status_t readMetadata(const std::string& path, std::string& fsType, in readMetadata() 233 status_t ReadMetadata(const std::string& path, std::string& fsType, in ReadMetadata() 238 status_t ReadMetadataUntrusted(const std::string& path, std::string& fsType, in ReadMetadataUntrusted() 432 uint64_t GetFreeBytes(const std::string& path) { in GetFreeBytes() 496 uint64_t GetTreeBytes(const std::string& path) { in GetTreeBytes() [all …]
|
| D | Benchmark.cpp | 39 static void notifyResult(const std::string& path, int64_t create_d, in notifyResult() 51 static nsecs_t benchmark(const std::string& path) { in benchmark() 135 nsecs_t BenchmarkPrivate(const std::string& path) { in BenchmarkPrivate()
|
| D | TrimTask.cpp | 106 static void notifyResult(const std::string& path, int64_t bytes, int64_t delta) { in notifyResult() 117 for (auto path : mPaths) { in run() local
|
| D | main.cpp | 202 static void coldboot(const char *path) { in coldboot() 211 std::string path(android::vold::DefaultFstabPath()); in process_config() local
|
| /system/core/libprocessgroup/ |
| D | processgroup.cpp | 48 static int convertUidToPath(char *path, size_t size, uid_t uid) in convertUidToPath() 56 static int convertUidPidToPath(char *path, size_t size, uid_t uid, int pid) in convertUidPidToPath() 69 char path[PROCESSGROUP_MAX_PATH_LEN] = {0}; in initCtx() local 152 char path[PROCESSGROUP_MAX_PATH_LEN] = {0}; in removeProcessGroup() local 170 char path[PROCESSGROUP_MAX_PATH_LEN]; in removeUidProcessGroups() local 198 char path[PROCESSGROUP_MAX_PATH_LEN]; in removeAllProcessGroups() local 281 static int mkdirAndChown(const char *path, mode_t mode, uid_t uid, gid_t gid) in mkdirAndChown() 302 char path[PROCESSGROUP_MAX_PATH_LEN] = {0}; in createProcessGroup() local
|
| /system/core/libcutils/ |
| D | fs.c | 40 int fs_prepare_dir(const char* path, mode_t mode, uid_t uid, gid_t gid) { in fs_prepare_dir() 84 int fs_read_atomic_int(const char* path, int* out_value) { in fs_read_atomic_int() 109 int fs_write_atomic_int(const char* path, int value) { in fs_write_atomic_int() 153 int fs_mkdirs(const char* path, mode_t mode) { in fs_mkdirs()
|
| /system/core/adb/ |
| D | file_sync_service.cpp | 37 static bool should_use_fs_config(const char* path) { in should_use_fs_config() 80 static int do_stat(int s, const char *path) in do_stat() 100 static int do_list(int s, const char *path) in do_list() 176 static int handle_send_file(int s, char *path, uid_t uid, in handle_send_file() 273 static int handle_send_link(int s, char *path, char *buffer) in handle_send_link() 325 static int do_send(int s, char *path, char *buffer) in do_send() 374 static int do_recv(int s, const char *path, char *buffer) in do_recv()
|
| D | sysdeps.h | 111 static __inline__ int adb_unlink(const char* path) in adb_unlink() 127 static __inline__ int adb_mkdir(const char* path, int mode) in adb_mkdir() 161 static __inline__ int adb_open_mode(const char* path, int options, int mode) in adb_open_mode() 166 static __inline__ int unix_open(const char* path, int options,...) in unix_open() 243 static __inline__ char* adb_dirstart( const char* path ) in adb_dirstart() 256 static __inline__ char* adb_dirstop( const char* path ) in adb_dirstop() 269 static __inline__ int adb_is_absolute_host_path( const char* path ) in adb_is_absolute_host_path() 323 static __inline__ int unix_open(const char* path, int options,...) in unix_open() 394 static __inline__ int adb_unlink(const char* path) in adb_unlink() 401 static __inline__ int adb_creat(const char* path, int mode) in adb_creat() [all …]
|
| D | adb_auth_host.cpp | 160 char path[PATH_MAX], info[MAX_PAYLOAD]; in write_public_keyfile() local 304 char path[PATH_MAX]; in get_user_keyfilepath() local 337 char path[PATH_MAX]; in get_user_key() local 364 for (auto& path : android::base::Split(adb_keys_path, ENV_PATH_SEPARATOR_STR)) { in get_vendor_keys() local 414 char path[PATH_MAX]; in adb_auth_get_userkey() local
|
| D | file_sync_client.cpp | 94 int sync_ls(int fd, const char *path, sync_ls_cb func, void *cookie) in sync_ls() 141 int sync_readtime(int fd, const char *path, unsigned int *timestamp, in sync_readtime() 168 static int sync_start_readtime(int fd, const char *path) in sync_start_readtime() 202 int sync_readmode(int fd, const char *path, unsigned *mode) in sync_readmode() 227 static int write_data_file(int fd, const char *path, syncsendbuf *sbuf, int show_progress) in write_data_file() 313 static int write_data_link(int fd, const char *path, syncsendbuf *sbuf) in write_data_link() 542 int do_sync_ls(const char* path) { in do_sync_ls() 886 static char *add_slash_to_path(const char *path) in add_slash_to_path()
|
| /system/core/healthd/ |
| D | BatteryMonitor.cpp | 102 int BatteryMonitor::readFromFile(const String8& path, char* buf, size_t size) { in readFromFile() 126 BatteryMonitor::PowerSupplyType BatteryMonitor::readPowerSupplyType(const String8& path) { in readPowerSupplyType() 154 bool BatteryMonitor::getBooleanField(const String8& path) { in getBooleanField() 168 int BatteryMonitor::getIntField(const String8& path) { in getIntField() 228 String8 path; in update() local 420 String8 path; in init() local
|
| /system/core/base/ |
| D | file.cpp | 45 bool ReadFileToString(const std::string& path, std::string* content) { in ReadFileToString() 72 static bool CleanUpAfterFailedWrite(const std::string& path) { in CleanUpAfterFailedWrite() 81 bool WriteStringToFile(const std::string& content, const std::string& path, in WriteStringToFile() 110 bool WriteStringToFile(const std::string& content, const std::string& path) { in WriteStringToFile()
|
| /system/media/audio_route/ |
| D | audio_route.c | 74 struct mixer_path *path; member 98 static void path_print(struct audio_route *ar, struct mixer_path *path) in path_print() 177 static int find_ctl_index_in_path(struct mixer_path *path, in find_ctl_index_in_path() 189 static int alloc_path_setting(struct mixer_path *path) in alloc_path_setting() 217 static int path_add_setting(struct audio_route *ar, struct mixer_path *path, in path_add_setting() 244 static int path_add_value(struct audio_route *ar, struct mixer_path *path, in path_add_value() 288 static int path_add_path(struct audio_route *ar, struct mixer_path *path, in path_add_path() 300 static int path_apply(struct audio_route *ar, struct mixer_path *path) in path_apply() 322 static int path_reset(struct audio_route *ar, struct mixer_path *path) in path_reset() 608 struct mixer_path *path; in audio_route_apply_path() local [all …]
|
| /system/core/init/ |
| D | devices.cpp | 62 const char *path; member 89 char *path; member 173 static bool perm_path_matches(const char *path, struct perms_ *dp) in perm_path_matches() 189 static mode_t get_device_perm(const char *path, const char **links, in get_device_perm() 231 static void make_device(const char *path, in make_device() 266 static void add_platform_device(const char *path) in add_platform_device() 292 static struct platform_node *find_platform_device(const char *path) in find_platform_device() 309 static void remove_platform_device(const char *path) in remove_platform_device() 329 static int find_pci_device_prefix(const char *path, char *buf, ssize_t buf_sz) in find_pci_device_prefix() 525 const char *path, int block, int major, int minor, char **links) in handle_device() [all …]
|
| D | util.cpp | 152 bool read_file(const char* path, std::string* content) { in read_file() 177 int write_file(const char* path, const char* content) { in write_file() 356 char path[256]; in remove_link() local 433 int make_dir(const char *path, mode_t mode) in make_dir()
|
| /system/extras/puncture_fs/ |
| D | puncture_fs.c | 48 static u64 get_free_space(const char * const path) { in get_free_space() 139 static bool puncture_fs (const char * const path, const u64 total_size, in puncture_fs() 201 char *path = NULL; in main() local
|
| /system/core/fastboot/ |
| D | util_linux.c | 37 void get_my_path(char *path) in get_my_path()
|
| /system/extras/ext4_utils/ |
| D | canned_fs_config.c | 28 const char* path; member 83 void canned_fs_config(const char* path, int dir, const char* target_out_path, in canned_fs_config()
|
| D | setup_fs.c | 14 char buf[256], path[128]; in setup_fs() local
|
| /system/core/debuggerd/ |
| D | backtrace.cpp | 42 char path[PATH_MAX]; in dump_process_header() local 72 char path[PATH_MAX]; in dump_thread() local
|
| /system/extras/f2fs_utils/ |
| D | make_f2fs_main.c | 33 static void usage(char *path) in usage()
|
| /system/bt/main/ |
| D | bte_conf.c | 32 void bte_load_ble_conf(const char* path) in bte_load_ble_conf()
|