Searched defs:srcpath (Results 1 - 1 of 1) sorted by relevance
/frameworks/base/cmds/installd/ |
H A D | commands.c | 821 int movefileordir(char* srcpath, char* dstpath, int dstbasepos, argument 828 int srcend = strlen(srcpath); 831 if (lstat(srcpath, statbuf) < 0) { 832 ALOGW("Unable to stat %s: %s\n", srcpath, strerror(errno)); 839 ALOGV("Renaming %s to %s (uid %d)\n", srcpath, dstpath, dstuid); 840 if (rename(srcpath, dstpath) >= 0) { 848 srcpath, dstpath, strerror(errno)); 854 d = opendir(srcpath); 856 ALOGW("Unable to opendir %s: %s\n", srcpath, strerror(errno)); 871 ALOGW("Source path too long; skipping: %s/%s\n", srcpath, nam 910 char srcpath[PKG_PATH_MAX]; local [all...] |
Completed in 70 milliseconds