Home
last modified time | relevance | path

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

/packages/providers/MediaProvider/tests/src/com/android/providers/media/util/
DFileUtilsTest.java57 import static com.android.providers.media.util.FileUtils.translateModeAccessToPosix;
293 assertEquals(O_RDONLY, translateModeAccessToPosix(F_OK)); in testTranslateMode_Access()
294 assertEquals(O_RDONLY, translateModeAccessToPosix(R_OK)); in testTranslateMode_Access()
295 assertEquals(O_WRONLY, translateModeAccessToPosix(W_OK)); in testTranslateMode_Access()
296 assertEquals(O_RDWR, translateModeAccessToPosix(R_OK | W_OK)); in testTranslateMode_Access()
297 assertEquals(O_RDWR, translateModeAccessToPosix(R_OK | W_OK | X_OK)); in testTranslateMode_Access()
/packages/providers/MediaProvider/src/com/android/providers/media/util/
DFileUtils.java310 public static int translateModeAccessToPosix(int mode) { in translateModeAccessToPosix() method in FileUtils