Home
last modified time | relevance | path

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

/frameworks/base/core/tests/coretests/src/android/os/
DFileUtilsTest.java20 import static android.os.FileUtils.translateModeAccessToPosix;
558 assertEquals(O_RDONLY, translateModeAccessToPosix(F_OK)); in testTranslateMode_Access()
559 assertEquals(O_RDONLY, translateModeAccessToPosix(R_OK)); in testTranslateMode_Access()
560 assertEquals(O_WRONLY, translateModeAccessToPosix(W_OK)); in testTranslateMode_Access()
561 assertEquals(O_RDWR, translateModeAccessToPosix(R_OK | W_OK)); in testTranslateMode_Access()
562 assertEquals(O_RDWR, translateModeAccessToPosix(R_OK | W_OK | X_OK)); in testTranslateMode_Access()
/frameworks/base/core/java/android/os/
DFileUtils.java1411 public static int translateModeAccessToPosix(int mode) { in translateModeAccessToPosix() method in FileUtils
/frameworks/base/core/java/android/app/
DActivityThread.java7530 openDeprecatedDataPath(path, FileUtils.translateModeAccessToPosix(mode))); in access()