Home
last modified time | relevance | path

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

/cts/hostsidetests/scopedstorage/general/src/android/scopedstorage/cts/general/
DScopedStorageDeviceTest.java66 import static android.scopedstorage.cts.lib.TestUtils.getFileMimeTypeFromDatabase;
1694 assertThat(getFileMimeTypeFromDatabase(videoFile)).isEqualTo("video/mp4"); in testRenameFileType()
1752 assertThat(getFileMimeTypeFromDatabase(mpegFile)).isEqualTo("audio/mpeg"); in testScanUpdatesMimeTypeForRenameFileExtension()
1756 assertThat(getFileMimeTypeFromDatabase(nonMpegFile)).isNotEqualTo("audio/mpeg"); in testScanUpdatesMimeTypeForRenameFileExtension()
1760 assertThat(getFileMimeTypeFromDatabase(nonMpegFile)).isEqualTo("audio/mpeg"); in testScanUpdatesMimeTypeForRenameFileExtension()
/cts/hostsidetests/scopedstorage/libs/ScopedStorageTestLib/src/android/scopedstorage/cts/lib/
DTestUtils.java932 public static String getFileMimeTypeFromDatabase(@NonNull File file) { in getFileMimeTypeFromDatabase() method in TestUtils