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