Searched refs:fileStr (Results 1 – 1 of 1) sorted by relevance
97 const char *fileStr = env->GetStringUTFChars(file, NULL); in android_cts_FileUtils_setPermissions() local98 if (fileStr == NULL) { in android_cts_FileUtils_setPermissions()102 if (strlen(fileStr) <= 0) { in android_cts_FileUtils_setPermissions()103 env->ReleaseStringUTFChars(file, fileStr); in android_cts_FileUtils_setPermissions()107 jint returnValue = chmod(fileStr, mode) == 0 ? 0 : errno; in android_cts_FileUtils_setPermissions()108 env->ReleaseStringUTFChars(file, fileStr); in android_cts_FileUtils_setPermissions()