Searched refs:nomediaFile (Results 1 – 2 of 2) sorted by relevance
2707 final File nomediaFile = new File(cameraDir, ".nomedia"); in testCanWriteToDCIMCameraWithNomedia() local2721 createFileAsLegacyApp(nomediaFile); in testCanWriteToDCIMCameraWithNomedia()2722 assertTrue(nomediaFile.exists()); in testCanWriteToDCIMCameraWithNomedia()2738 deleteAsLegacyApp(nomediaFile); in testCanWriteToDCIMCameraWithNomedia()2761 final File nomediaFile = new File(directory, ".nomedia"); in assertNoMediaDoesntHideSpecialDirectories() local2773 Log.d(TAG, "CreateFileAs " + nomediaFile); in assertNoMediaDoesntHideSpecialDirectories()2774 createFileAsLegacyApp(nomediaFile); in assertNoMediaDoesntHideSpecialDirectories()2775 assertWithMessage("Exists " + nomediaFile).that(nomediaFile.exists()).isTrue(); in assertNoMediaDoesntHideSpecialDirectories()2791 deleteAsLegacyApp(nomediaFile); in assertNoMediaDoesntHideSpecialDirectories()
734 final File nomediaFile = new File(nomediaDir, ".nomedia"); in testManageExternalStorageDoesntSkipScanningDirtyNomediaDir() local741 assertThat(nomediaFile.createNewFile()).isTrue(); in testManageExternalStorageDoesntSkipScanningDirtyNomediaDir()756 nomediaFile.delete(); in testManageExternalStorageDoesntSkipScanningDirtyNomediaDir()