Searched refs:path (Results 76 - 81 of 81) sorted by relevance

1234

/system/core/init/
H A Dbootchart.c87 file_buff_open( FileBuff buff, const char* path )
90 buff->fd = open(path, O_WRONLY|O_CREAT|O_TRUNC, 0755);
/system/vold/
H A DDirectVolume.cpp60 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 */
/system/core/adb/
H A Dsysdeps_win32.c303 int adb_open(const char* path, int options) argument
332 f->fh_handle = CreateFile( path, desiredAccess, shareMode, NULL, OPEN_EXISTING,
337 D( "adb_open: could not open '%s':", path );
345 D( "path not found\n" );
356 snprintf( f->name, sizeof(f->name), "%d(%s)", _fh_to_int(f), path );
357 D( "adb_open: '%s' => fd %d\n", path, _fh_to_int(f) );
362 int adb_creat(const char* path, int mode) argument
372 f->fh_handle = CreateFile( path, GENERIC_WRITE, FILE_SHARE_READ | FILE_SHARE_WRITE,
378 D( "adb_creat: could not open '%s':", path );
386 D( "path no
[all...]
H A Dadb.c873 char path[PATH_MAX]; local
888 strftime(path, sizeof(path),
891 fd = unix_open(path, O_WRONLY | O_CREAT | O_TRUNC, 0640);
944 /* get path of current program */
948 program_path, /* program path */
989 char path[PATH_MAX];
998 get_my_path(path, PATH_MAX);
1012 int result = execl(path, "adb", "fork-server", "server", NULL);
1125 // Our external storage path ma
[all...]
H A Dcommandline.c90 " -p <product name or path> - simple product name like 'sooner', or\n"
91 " a relative/absolute path to a product\n"
95 " be an absolute path.\n"
163 " adb get-devpath - prints: <device-path>\n"
665 static int mkdirs(char *path) argument
668 char *x = path + 1;
674 ret = adb_mkdir(path, 0775);
843 * - A relative path from the CWD to the ANDROID_PRODUCT_OUT dir
845 * - An absolute path to the PRODUCT_OUT dir
848 * Given <hint>, try to construct an absolute path t
[all...]
/system/netd/
H A DCommandListener.cpp206 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));

Completed in 62 milliseconds

1234