Searched refs:dstpath (Results 1 - 1 of 1) sorted by relevance
/frameworks/native/cmds/installd/ |
H A D | commands.c | 1132 int movefileordir(char* srcpath, char* dstpath, int dstbasepos, argument 1140 int dstend = strlen(dstpath); 1148 mkinnerdirs(dstpath, dstbasepos, S_IRWXU|S_IRWXG|S_IXOTH, 1150 ALOGV("Renaming %s to %s (uid %d)\n", srcpath, dstpath, dstuid); 1151 if (rename(srcpath, dstpath) >= 0) { 1152 if (chown(dstpath, dstuid, dstgid) < 0) { 1153 ALOGE("cannot chown %s: %s\n", dstpath, strerror(errno)); 1154 unlink(dstpath); 1159 srcpath, dstpath, strerror(errno)); 1187 ALOGW("Destination path too long; skipping: %s/%s\n", dstpath, nam 1222 char dstpath[PKG_PATH_MAX]; local [all...] |
Completed in 43 milliseconds