Searched refs:translateModeAccessToPosix (Results 1 – 3 of 3) sorted by relevance
21 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()
1646 public static int translateModeAccessToPosix(int mode) { in translateModeAccessToPosix() method in FileUtils
8579 openDeprecatedDataPath(path, FileUtils.translateModeAccessToPosix(mode))); in access()