Home
last modified time | relevance | path

Searched refs:fileStr (Results 1 – 1 of 1) sorted by relevance

/cts/common/device-side/util/jni/
Dandroid_cts_FileUtils.cpp97 const char *fileStr = env->GetStringUTFChars(file, NULL); in android_cts_FileUtils_setPermissions() local
98 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()