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.java133 mMediaScannerConnection.scanFile(unlocalizablePath, null); in testLocalizeRingtoneTitles()
150 mMediaScannerConnection.scanFile(localizablePath, null); in testLocalizeRingtoneTitles()
177 mMediaScannerConnection.scanFile(mMediaFile.getAbsolutePath(), MEDIA_TYPE); in testMediaScanner()
301 mMediaScannerConnection.scanFile(file1, MEDIA_TYPE); in testWildcardPaths()
308 mMediaScannerConnection.scanFile(file2, MEDIA_TYPE); in testWildcardPaths()
386 mMediaScannerConnection.scanFile(fileName, MEDIA_TYPE); in canonicalizeTest()
410 mMediaScannerConnection.scanFile(fileName2, MEDIA_TYPE); in canonicalizeTest()
DMediaScannerConnectionTest.java91 mMediaScannerConnection.scanFile(mMediaFile.getAbsolutePath(), MEDIA_TYPE); in testMediaScannerConnection()
/cts/tests/tests/provider/src/android/provider/cts/
DProviderTestUtils.java269 static Uri scanFile(File file) throws Exception { in scanFile() method
270 Uri uri = 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/providerui/src/android/providerui/cts/
DMediaStoreUiTest.java201 mMediaStoreUri = MediaStore.scanFile(mContext, mFile); in prepareFile()
/cts/tests/JobScheduler/src/android/jobscheduler/cts/
DTriggerContentTest.java78 MediaScannerConnection.scanFile(context, in scan()