/system/extras/ext4_utils/ |
H A D | contents.h | 21 char *path; member in struct:dentry
|
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);
|
H A D | make_ext4fs.c | 130 asprintf(&dentries[i].path, "%s/%s", dir_path, namelist[i]->d_name); 152 fs_config_func(dentries[i].path, dir, &uid, &gid, &mode); 163 asprintf(&sepath, "/%s", dentries[i].path); 191 error("unknown file type on %s", dentries[i].path); 205 dentries[i].path, inode, fs_config_func, sehnd); 209 error("unknown file type on %s", dentries[i].path); 218 error("failed to set permissions on %s\n", dentries[i].path); 221 error("failed to set SELinux context on %s\n", dentries[i].path); 223 free(dentries[i].path);
|
H A D | make_ext4fs.h | 34 typedef void (*fs_config_func_t)(const char *path, int dir, unsigned *uid, unsigned *gid,
|
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 | setup_fs.c | 14 char buf[256], path[128]; local 20 n = readlink(blockdev, path, sizeof(path) - 1); 22 path[n] = 0; 23 if (!memcmp(path, "/dev/block/", 11)) 24 blockdev = path + 11;
|
/system/extras/fatblock/ |
H A D | fatblock.c | 151 char *path; local 162 DIE("Usage: fatblock <path> <size in MB>\n"); 164 path = argv[1]; 167 INFO("fatblock: importing filesystem from %s (%d MB)\n", path, mb); 169 ret = chdir(path); 171 DIE("fatblock: chdir(%s) failed: %s; aborting\n", path, strerror(errno));
|
H A D | fatblock.h | 46 char *path; member in struct:file 59 char *path; member in struct:dir 67 int import_tree(struct fs *fs, char *path);
|
H A D | import.c | 95 static int import_file(struct fs *fs, char *path, struct imported *out) argument 102 ret = stat(path, &st); 104 WARN("importing %s: stat failed: %s\n", path, strerror(errno)); 111 "out of memory\n", path); 116 path_copy = strdup(path); 118 WARN("importing %s: couldn't strdup path: out of memory\n", 119 path); 124 f->path = path_copy; 134 WARN("importing %s: couldn't allocate data extent\n", path); 193 static int import_dir(struct fs *fs, char *path, in argument 352 import_tree(struct fs *fs, char *path) argument [all...] |
H A D | read.c | 59 ret = stat(f->path, &st); 62 f->path, strerror(errno)); 84 f->path, off, len); 91 f->path, off, len); 97 f->path, off, len); 101 fd = fdpool_open(&f->pfd, f->path, O_RDONLY); 103 WARN("reading %s: open failed: %s\n", f->path, strerror(errno)); 110 f->path, off, len, strerror(errno)); 117 f->path, off, len, strerror(errno));
|
/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/procrank/ |
H A D | Android.mk | 20 LOCAL_C_INCLUDES := $(call include-path-for, libpagemap)
|
/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/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/media/audio_utils/ |
H A D | Android.mk | 14 LOCAL_C_INCLUDES += $(call include-path-for, speex) 16 $(call include-path-for, speex) \ 17 $(call include-path-for, audio-utils)
|
/system/netd/ |
H A D | Android.mk | 37 $(call include-path-for, libhardware_legacy)/hardware_legacy
|
H A D | CommandListener.cpp | 206 int CommandListener::writeFile(const char *path, const char *value, int size) { argument 207 int fd = open(path, O_WRONLY); 209 ALOGE("Failed to open %s: %s", path, strerror(errno)); 214 ALOGE("Failed to write %s: %s", path, strerror(errno));
|
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);
|
H A D | NatController.h | 42 int runCmd(const char *path, const char *cmd);
|
H A D | main.cpp | 38 static void coldboot(const char *path); 135 static void coldboot(const char *path) argument 137 DIR *d = opendir(path);
|
/system/vold/ |
H A D | CommandListener.cpp | 137 cli->sendMsg(ResponseCode::CommandSyntaxError, "Usage: volume mount <path>", false); 145 cli->sendMsg(ResponseCode::CommandSyntaxError, "Usage: volume unmount <path> [force|force_and_revert]", false); 160 cli->sendMsg(ResponseCode::CommandSyntaxError, "Usage: volume format <path>", false); 167 "Usage: volume share <path> <method>", false); 174 "Usage: volume unshare <path> <method>", false); 182 "Usage: volume shared <path> <method>", false); 389 } else if (!strcmp(argv[1], "path")) { 392 cli->sendMsg(ResponseCode::CommandSyntaxError, "Usage: asec path <container-id>", false); 395 char path[255]; local 397 if (!(rc = vm->getAsecMountPath(argv[2], path, sizeo 407 char path[255]; local 471 char path[255]; local [all...] |
H A D | DirectVolume.cpp | 60 int DirectVolume::addPath(const char *path) { argument 61 mPaths->push_back(strdup(path)); 389 * This is to change the sysfs path associated with a partition, in particular, 394 SLOGE("Cannot change path if there are more than one for a volume\n"); 401 addPath(new_path); /* Put the new path on the list */
|
H A D | DirectVolume.h | 48 int addPath(const char *path);
|