/system/vold/ |
H A D | main.cpp | 38 static void coldboot(const char *path); 136 static void coldboot(const char *path) argument 138 DIR *d = opendir(path);
|
H A D | DirectVolume.h | 48 int addPath(const char *path);
|
H A D | VolumeManager.h | 85 int shareEnabled(const char *path, const char *method, bool *enabled);
|
/system/extras/ext4_utils/ |
H A D | make_ext4fs_main.c | 40 static void usage(char *path) argument 42 fprintf(stderr, "%s [ -l <len> ] [ -j <journal size> ] [ -b <block_size> ]\n", basename(path));
|
H A D | ext2simg.c | 46 static void usage(char *path) argument 48 fprintf(stderr, "%s [ options ] <image or block device> <output image>\n", path);
|
/system/extras/librank/ |
H A D | Android.mk | 20 LOCAL_C_INCLUDES := $(call include-path-for, libpagemap)
|
/system/extras/procmem/ |
H A D | Android.mk | 20 LOCAL_C_INCLUDES := $(call include-path-for, libpagemap)
|
/system/extras/tests/sdcard/ |
H A D | sdcard_perf_test.cpp | 609 char path[MAX_PATH]; local 611 strcpy(path, kTestDir); 616 // Go deeper by appending onto current path 617 snprintf(path + strlen(path), MAX_PATH - strlen(path), "/dir%d", i); 618 mkdir(path, S_IRWXU); 621 strcpy(filepath, path); 622 int pathlen = strlen(path);
|
/system/netd/ |
H A D | Android.mk | 37 $(call include-path-for, libhardware_legacy)/hardware_legacy
|
H A D | CommandListener.h | 52 static int writeFile(const char *path, const char *value, int size);
|
H A D | NatController.cpp | 48 int NatController::runCmd(const char *path, const char *cmd) { argument 59 asprintf(&buffer, "%s %s", path, cmd);
|
/system/core/adb/ |
H A D | file_sync_service.h | 80 int do_sync_ls(const char *path);
|
/system/core/sh/ |
H A D | cd.c | 82 const char *path; local 122 if (*dest == '/' || (path = bltinlookup("CDPATH", 1)) == NULL) 123 path = nullstr; 124 while ((p = padvance(&path, dest)) != NULL) { 162 * Check each component of the path. If we find a symlink or 209 * Get the next component of the path name pointed to by cdcomppath.
|
H A D | main.c | 332 * Take commands from a file. To be compatible we should do a path 341 const char *path = pathval(); local 348 while ((fullname = padvance(&path, basename)) != NULL) {
|
H A D | eval.c | 696 const char *path = pathval(); local 790 * Modify the command lookup path, if a PATH= assignment 795 path = sp->text + sizeof(PATH) - 1; 799 find_command(argv[0], &cmdentry, cmd_flags, path); 820 path = syspath() + 5; 995 if (path != pathval() && (cmdentry.u.bltin == hashcmd || 999 mklocal(path - 5 /* PATH= */, 0); 1065 shellexec(argv, envp, path, cmdentry.u.index, vforked);
|
/system/extras/tests/directiotest/ |
H A D | directiotest.c | 172 const char *path; local 186 path = argv[1]; 187 fd = open(path, O_RDWR | O_DIRECT | O_LARGEFILE); 196 fprintf(stderr, "%s is not a block device\n", path);
|
/system/bluetooth/brcm_patchram_plus/ |
H A D | brcm_patchram_plus.c | 100 ** set, then the bd_addr will be read from this path. 746 char path[PROPERTY_VALUE_MAX]; local 752 property_get("ro.bt.bdaddr_path", path, ""); 753 if (path[0] == 0) 756 fd = open(path, O_RDONLY); 758 fprintf(stderr, "open(%s) failed: %s (%d)", path, strerror(errno), 765 fprintf(stderr, "read(%s) failed: %s (%d)", path, strerror(errno), 770 fprintf(stderr, "read(%s) unexpected size %d", path, sz);
|
/system/core/fastboot/ |
H A D | fastboot.c | 90 void get_my_path(char *path); 96 char path[PATH_MAX + 128]; local 116 get_my_path(path); 117 sprintf(path + strlen(path), 119 return strdup(path); 128 sprintf(path, "%s/%s", dir, fn); 129 return strdup(path); 213 // require matching serial number or device path if requested 295 " or path t [all...] |
/system/extras/procrank/ |
H A D | Android.mk | 20 LOCAL_C_INCLUDES := $(call include-path-for, libpagemap)
|
/system/core/libcutils/ |
H A D | dir_hash.c | 36 * specified by path, using the specified algorithm. Returns the length 39 int get_file_hash(HashAlgorithm algorithm, const char *path, argument 52 if (stat(path, &sb) != 0) { 60 len = readlink(path, buf, sizeof(buf)); 70 FILE *f = fopen(path, "rb");
|
/system/core/cpio/ |
H A D | mkbootfs.c | 45 /* Each line in the canned file should be a path plus three ints (uid, 56 static void fix_stat(const char *path, struct stat *s) argument 68 if (strcmp(p->name, path) == 0) { 81 fs_config(path, S_ISDIR(s->st_mode), &s->st_uid, &s->st_gid, &s->st_mode);
|
/system/core/toolbox/ |
H A D | schedtop.c | 157 char path[1024]; local 160 sprintf(path, "/proc/%d/task", pid); 161 d = opendir(path);
|
/system/core/debuggerd/ |
H A D | debuggerd.c | 160 char path[64]; local 161 snprintf(path, sizeof(path), "/proc/%d/status", tid); 163 FILE* fp = fopen(path, "r");
|
/system/core/toolbox/grep/ |
H A D | grep.h | 160 struct file *grep_open(const char *path);
|
/system/core/run-as/ |
H A D | package.c | 147 check_directory_ownership(const char* path, uid_t uid) argument 153 ret = lstat(path, &st); 179 /* This function is used to check the data directory path for safety. 182 * path is properly owned by the user ID. 191 /* the path should be absolute */ 198 * directory separators in the input path and 199 * checking each sub-path independently 430 * <dataDir> is the path to the package's data directory (e.g. /data/data/com.example.foo) 479 /* fourth field is data directory path and must not contain
|