Home
last modified time | relevance | path

Searched refs:scanFile (Results 1 – 8 of 8) sorted by relevance

/cts/tests/tests/media/src/android/media/cts/
DMediaScannerTest.java132 mMediaScannerConnection.scanFile(unlocalizablePath, null); in testLocalizeRingtoneTitles()
149 mMediaScannerConnection.scanFile(localizablePath, null); in testLocalizeRingtoneTitles()
176 mMediaScannerConnection.scanFile(mMediaFile.getAbsolutePath(), MEDIA_TYPE); in testMediaScanner()
300 mMediaScannerConnection.scanFile(file1, MEDIA_TYPE); in testWildcardPaths()
307 mMediaScannerConnection.scanFile(file2, MEDIA_TYPE); in testWildcardPaths()
385 mMediaScannerConnection.scanFile(fileName, MEDIA_TYPE); in canonicalizeTest()
409 mMediaScannerConnection.scanFile(fileName2, MEDIA_TYPE); in canonicalizeTest()
DMediaScannerConnectionTest.java90 mMediaScannerConnection.scanFile(mMediaFile.getAbsolutePath(), MEDIA_TYPE); in testMediaScannerConnection()
/cts/tests/tests/provider/src/android/provider/cts/
DProviderTestUtils.java245 static Uri scanFile(File file) throws Exception { in scanFile() method in ProviderTestUtils
246 return MediaStore.scanFile(InstrumentationRegistry.getTargetContext(), file); in scanFile()
DMediaStorePlacementTest.java204 final Uri uri = ProviderTestUtils.scanFile(file); in testDirectory_InsideSandbox()
DMediaStore_DownloadsTest.java359 final Uri mediaStoreUri = ProviderTestUtils.scanFile(file); in verifyScannedDownload()
/cts/hostsidetests/appsecurity/test-apps/WriteExternalStorageApp/src/com/android/cts/writeexternalstorageapp/
DWriteExternalStorageTest.java264 MediaStore.scanFile(getContext(), path); in testVerifyNoMediaCreated()
/cts/tests/JobScheduler/src/android/jobscheduler/cts/
DTriggerContentTest.java78 MediaScannerConnection.scanFile(context, in scan()
/cts/tests/providerui/src/android/providerui/cts/
DMediaStoreUiTest.java395 mMediaStoreUri = MediaStore.scanFile(mContext, mFile); in prepareFile()