Home
last modified time | relevance | path

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

/cts/hostsidetests/scopedstorage/device/src/android/scopedstorage/cts/device/
DScopedStorageDeviceTest.java61 import static android.scopedstorage.cts.lib.TestUtils.getFileMimeTypeFromDatabase;
1603 assertThat(getFileMimeTypeFromDatabase(videoFile)).isEqualTo("video/mp4"); in testRenameFileType()
1658 assertThat(getFileMimeTypeFromDatabase(mpegFile)).isEqualTo("audio/mpeg"); in testScanUpdatesMimeTypeForRenameFileExtension()
1662 assertThat(getFileMimeTypeFromDatabase(nonMpegFile)).isNotEqualTo("audio/mpeg"); in testScanUpdatesMimeTypeForRenameFileExtension()
1666 assertThat(getFileMimeTypeFromDatabase(nonMpegFile)).isEqualTo("audio/mpeg"); in testScanUpdatesMimeTypeForRenameFileExtension()
/cts/hostsidetests/scopedstorage/libs/ScopedStorageTestLib/src/android/scopedstorage/cts/lib/
DTestUtils.java748 public static String getFileMimeTypeFromDatabase(@NonNull File file) { in getFileMimeTypeFromDatabase() method in TestUtils