Home
last modified time | relevance | path

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

/cts/tests/tests/media/misc/src/android/media/misc/cts/
DMediaScannerConnectionTest.java38 private static final String MEDIA_TYPE = "audio/mpeg"; field in MediaScannerConnectionTest
89 mMediaScannerConnection.scanFile(mMediaFile.getAbsolutePath(), MEDIA_TYPE); in testMediaScannerConnection() local
DMediaScannerTest.java69 private static final String MEDIA_TYPE = "audio/mpeg"; field in MediaScannerTest
204 mMediaScannerConnection.scanFile(mMediaFile.getAbsolutePath(), MEDIA_TYPE); in testMediaScanner() local
328 mMediaScannerConnection.scanFile(file1, MEDIA_TYPE); in testWildcardPaths()
335 mMediaScannerConnection.scanFile(file2, MEDIA_TYPE); in testWildcardPaths()
415 mMediaScannerConnection.scanFile(fileName, MEDIA_TYPE); in canonicalizeTest()
439 mMediaScannerConnection.scanFile(fileName2, MEDIA_TYPE); in canonicalizeTest()
/cts/tests/mediaprovider/src/android/provider/cts/media/
DMediaStore_FilesTest.java281 values.put(FileColumns.MEDIA_TYPE, FileColumns.MEDIA_TYPE_AUDIO); in testUpdateMediaType()
289 newValues.put(FileColumns.MEDIA_TYPE, FileColumns.MEDIA_TYPE_NONE); in testUpdateMediaType()
293 fileUri, new String[] { FileColumns.MEDIA_TYPE }, null, null, null)) { in testUpdateMediaType() argument
296 c.getInt(c.getColumnIndex(FileColumns.MEDIA_TYPE))); in testUpdateMediaType()
308 values.put(FileColumns.MEDIA_TYPE, FileColumns.MEDIA_TYPE_NONE); in testInsertDocumentFile()
312 fileUri, new String[] { FileColumns.MEDIA_TYPE }, null, null, null)) { in testInsertDocumentFile() argument
315 c.getInt(c.getColumnIndex(FileColumns.MEDIA_TYPE))); in testInsertDocumentFile()
DMediaStore_DownloadsTest.java250 updateValues.put(MediaStore.Files.FileColumns.MEDIA_TYPE, in testUpdateDownload()
328 updateValues.put(Files.FileColumns.MEDIA_TYPE, Files.FileColumns.MEDIA_TYPE_AUDIO); in testNotifyChange()
DMediaStore_Audio_MediaTest.java321 FileColumns.MEDIA_TYPE in testMediaWithSubtitles()
DMediaStore_Video_MediaTest.java469 FileColumns.MEDIA_TYPE in testMediaWithSubtitles()
/cts/tests/tests/media/encoder/src/android/media/encoder/cts/
DSurfaceEncodeTimestampTest.java83 private static final String MEDIA_TYPE = MediaFormat.MIMETYPE_VIDEO_AVC; field in SurfaceEncodeTimestampTest
93 if (TestArgs.shouldSkipMediaType(MEDIA_TYPE)) { in shouldSkip()
372 mEncoder = MediaCodec.createEncoderByType(MEDIA_TYPE); in doTest()
374 MEDIA_TYPE, 1280, 720); in doTest()
/cts/tests/app/src/android/app/cts/
DDownloadManagerTestBase.java162 if (!MediaStore.Files.FileColumns.MEDIA_TYPE.equals(columnName)) { in getMediaStoreColumnValue()
202 MediaStore.Files.FileColumns.MEDIA_TYPE)); in getMediaType()