Searched refs:file8 (Results 1 – 2 of 2) sorted by relevance
/frameworks/base/core/jni/ |
D | android_os_FileUtils.cpp | 54 String8 file8; in android_os_FileUtils_setPermissions() local 56 file8 = String8(str, env->GetStringLength(file)); in android_os_FileUtils_setPermissions() 59 if (file8.size() <= 0) { in android_os_FileUtils_setPermissions() 63 int res = chown(file8.string(), uid, gid); in android_os_FileUtils_setPermissions() 68 return chmod(file8.string(), mode) == 0 ? 0 : errno; in android_os_FileUtils_setPermissions() 75 String8 file8; in android_os_FileUtils_getPermissions() local 77 file8 = String8(str, env->GetStringLength(file)); in android_os_FileUtils_getPermissions() 80 if (file8.size() <= 0) { in android_os_FileUtils_getPermissions() 84 if (stat(file8.string(), &st) != 0) { in android_os_FileUtils_getPermissions()
|
D | android_util_Process.cpp | 477 const char* file8 = env->GetStringUTFChars(fileStr, NULL); in android_os_Process_readProcLines() local 478 if (file8 == NULL) { in android_os_Process_readProcLines() 481 String8 file(file8); in android_os_Process_readProcLines() 482 env->ReleaseStringUTFChars(fileStr, file8); in android_os_Process_readProcLines() 586 const char* file8 = env->GetStringUTFChars(file, NULL); in android_os_Process_getPids() local 587 if (file8 == NULL) { in android_os_Process_getPids() 592 DIR* dirp = opendir(file8); in android_os_Process_getPids() 594 env->ReleaseStringUTFChars(file, file8); in android_os_Process_getPids() 800 const char* file8 = env->GetStringUTFChars(file, NULL); in android_os_Process_readProcFile() local 801 if (file8 == NULL) { in android_os_Process_readProcFile() [all …]
|