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.java21 import static android.os.FileUtils.translateModeAccessToPosix;
741 assertEquals(O_RDONLY, translateModeAccessToPosix(F_OK)); in testTranslateMode_Access()
742 assertEquals(O_RDONLY, translateModeAccessToPosix(R_OK)); in testTranslateMode_Access()
743 assertEquals(O_WRONLY, translateModeAccessToPosix(W_OK)); in testTranslateMode_Access()
744 assertEquals(O_RDWR, translateModeAccessToPosix(R_OK | W_OK)); in testTranslateMode_Access()
745 assertEquals(O_RDWR, translateModeAccessToPosix(R_OK | W_OK | X_OK)); in testTranslateMode_Access()
/frameworks/base/core/java/android/os/
DFileUtils.java1646 public static int translateModeAccessToPosix(int mode) { in translateModeAccessToPosix() method in FileUtils
/frameworks/base/core/java/android/app/
DActivityThread.java8579 openDeprecatedDataPath(path, FileUtils.translateModeAccessToPosix(mode))); in access()