Home
last modified time | relevance | path

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

/cts/hostsidetests/scopedstorage/general/src/android/scopedstorage/cts/general/
DScopedStorageDeviceTest.java2707 final File nomediaFile = new File(cameraDir, ".nomedia"); in testCanWriteToDCIMCameraWithNomedia() local
2721 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() local
2773 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()
/cts/hostsidetests/scopedstorage/src/android/scopedstorage/cts/
DScopedStorageTest.java734 final File nomediaFile = new File(nomediaDir, ".nomedia"); in testManageExternalStorageDoesntSkipScanningDirtyNomediaDir() local
741 assertThat(nomediaFile.createNewFile()).isTrue(); in testManageExternalStorageDoesntSkipScanningDirtyNomediaDir()
756 nomediaFile.delete(); in testManageExternalStorageDoesntSkipScanningDirtyNomediaDir()