Home
last modified time | relevance | path

Searched defs:mimeType (Results 1 – 25 of 59) sorted by relevance

123

/cts/tests/tests/mimemap/src/android/content/type/cts/
DMimeMapTest.java215 String mimeType = "application/vnd.ms-word.document.macroEnabled.12".toLowerCase(Locale.US); in nonLowercaseMimeType() local
221 String mimeType = mimeMap.guessMimeTypeFromExtension("apk"); in caseInsensitiveKeys() local
283 String mimeType = mimeMap.guessMimeTypeFromExtension(extension); in agreesWithPublicApi() local
308 private void assertMimeTypeFromExtension(String mimeType, String extension) { in assertMimeTypeFromExtension()
315 private void assertExtensionFromMimeType(String extension, String mimeType) { in assertExtensionFromMimeType()
322 private void assertBidirectional(String mimeType, String extension) { in assertBidirectional()
327 private static String extractMajorMimeType(String mimeType) { in extractMajorMimeType()
/cts/hostsidetests/packagemanager/dynamicmime/test/src/android/dynamicmime/testapp/assertions/
DAssertionsByGroupData.java30 public void assertMatchedByMimeGroup(String mimeGroup, String mimeType) { in assertMatchedByMimeGroup()
35 public void assertNotMatchedByMimeGroup(String mimeGroup, String mimeType) { in assertNotMatchedByMimeGroup()
DAssertionsByIntentResolution.java51 public void assertMatchedByMimeGroup(String mimeGroup, String mimeType) { in assertMatchedByMimeGroup()
57 public void assertNotMatchedByMimeGroup(String mimeGroup, String mimeType) { in assertNotMatchedByMimeGroup()
115 private static Intent intentSend(String mimeType) { in intentSend()
DMimeGroupAssertions.java26 public abstract void assertMatchedByMimeGroup(String mimeGroup, String mimeType); in assertMatchedByMimeGroup()
28 public abstract void assertNotMatchedByMimeGroup(String mimeGroup, String mimeType); in assertNotMatchedByMimeGroup()
/cts/tests/tests/drm/src/android/drm/cts/
DDrmInfoRequestTest.java101 private static void checkInvalidMimeType(String mimeType) throws Exception { in checkInvalidMimeType()
110 private static void checkGetMimeType(String mimeType) throws Exception { in checkGetMimeType()
112 assertEquals(request.getMimeType(), mimeType); in checkGetMimeType() local
DDrmInfoTest.java121 private static void checkInvalidMimeType(String mimeType) throws Exception { in checkInvalidMimeType()
135 private static void checkGetMimeType(String mimeType) throws Exception { in checkGetMimeType()
137 assertEquals(info.getMimeType(), mimeType); in checkGetMimeType() local
DDrmSupportInfoTest.java126 private static void checkAddInvalidMimeType(String mimeType) throws Exception { in checkAddInvalidMimeType()
136 private static void checkAddValidMimeType(String mimeType) throws Exception { in checkAddValidMimeType()
/cts/tests/tests/media/src/android/media/cts/
DDrmInitDataTest.java34 String mimeType = "mime/type"; in testSchemeInitDataConstructor() local
DMediaExtractorTest.java219 final String mimeType = trackFormatForDolbyVision.getString(MediaFormat.KEY_MIME); in testDolbyVisionMediaExtractorProfileDvheDtr() local
236 final String mimeType = trackFormat.getString(MediaFormat.KEY_MIME); in testDolbyVisionMediaExtractorProfileDvheDtr() local
251 final String mimeType = trackFormat.getString(MediaFormat.KEY_MIME); in SKIP_testDolbyVisionMediaExtractorProfileDvheStn() local
291 final String mimeType = trackFormatForDolbyVision.getString(MediaFormat.KEY_MIME); in testDolbyVisionMediaExtractorProfileDvheSt() local
308 final String mimeType = trackFormat.getString(MediaFormat.KEY_MIME); in testDolbyVisionMediaExtractorProfileDvheSt() local
339 final String mimeType = trackFormatForDolbyVision.getString(MediaFormat.KEY_MIME); in testDolbyVisionMediaExtractorProfileDvavSe() local
356 final String mimeType = trackFormat.getString(MediaFormat.KEY_MIME); in testDolbyVisionMediaExtractorProfileDvavSe() local
371 final String mimeType = trackFormat.getString(MediaFormat.KEY_MIME); in testDolbyVisionMediaExtractorProfileDvav1() local
413 final String mimeType = trackFormatForDolbyVision.getString(MediaFormat.KEY_MIME); in testDolbyVisionMediaExtractorProfileDvav1_2() local
430 final String mimeType = trackFormat.getString(MediaFormat.KEY_MIME); in testDolbyVisionMediaExtractorProfileDvav1_2() local
[all …]
DIvfWriter.java56 String filename, String mimeType, int width, int height, int scale, in IvfWriter()
79 public IvfWriter(String filename, String mimeType, int width, int height) throws IOException { in IvfWriter()
117 int frameCount, int width, int height, int scale, int rate, String mimeType) { in makeIvfHeader()
DNativeMediaDrmClearkeyTest.java81 public String mimeType; field in NativeMediaDrmClearkeyTest.PlaybackParams
213 … UUID drmSchemeUuid, String mimeType, /*String initDataType,*/ Uri audioUrl, Uri videoUrl, in testClearKeyPlayback()
/cts/hostsidetests/packagemanager/dynamicmime/test/src/android/dynamicmime/testapp/util/
DMimeGroupOperations.java40 public final void assertMatchedByMimeGroup(String mimeGroup, String mimeType) { in assertMatchedByMimeGroup()
45 public final void assertNotMatchedByMimeGroup(String mimeGroup, String mimeType) { in assertNotMatchedByMimeGroup()
/cts/tests/tests/simphonebookprovider/src/android/provider/cts/simphonebook/
DSimPhonebookContract_ElementaryFilesNoSimTest.java63 String mimeType = mResolver.getType(ElementaryFiles.CONTENT_URI); in getType_elementaryFiles() local
70 String mimeType = mResolver.getType( in getType_itemUri() local
/cts/tests/mediapc/src/android/mediapc/cts/
DAdaptivePlaybackFrameDropTest.java39 public AdaptivePlaybackFrameDropTest(String mimeType, String decoderName, boolean isAsync) { in AdaptivePlaybackFrameDropTest()
DFrameDropTest.java37 public FrameDropTest(String mimeType, String decoderName, boolean isAsync) { in FrameDropTest()
DMultiEncoderPerfTest.java49 public MultiEncoderPerfTest(String mimeType, String encoderName, boolean isAsync) { in MultiEncoderPerfTest()
DMultiDecoderPerfTest.java48 public MultiDecoderPerfTest(String mimeType, String testFile, String decoderName, in MultiDecoderPerfTest()
/cts/tests/tests/assist/common/src/android/assist/common/
DMyWebView.java39 public void myLoadData(String url, String data, String mimeType, String encoding) { in myLoadData()
/cts/hostsidetests/packagemanager/dynamicmime/test/src/android/dynamicmime/testapp/preferred/
DPreferredActivitiesTest.java361 default String mimeType() { in mimeType() method
380 private static void sendIntent(String mimeType) { in sendIntent()
/cts/tests/video/src/android/video/cts/
DCodecInfo.java58 String codecName, String mimeType, int w, int h, int maxFps) { in getSupportedFormatInfo()
/cts/tests/contentcaptureservice/src/android/contentcaptureservice/cts/
DDataSharingService.java132 public void setMimeType(String mimeType) { in setMimeType()
/cts/hostsidetests/appsecurity/test-apps/MediaStorageApp/src/com/android/cts/mediastorageapp/
DMediaStoreUtils.java91 @NonNull String mimeType) { in PendingParams()
/cts/tests/tests/webkit/src/android/webkit/cts/
DMockContentProvider.java81 public void writeDataToPipe(ParcelFileDescriptor output, Uri uri, String mimeType, Bundle opts, in writeDataToPipe()
/cts/tests/tests/provider/src/android/provider/cts/media/
DMediaStoreUtils.java100 @NonNull String mimeType) { in PendingParams()
/cts/hostsidetests/appsecurity/test-apps/DocumentProvider/src/com/android/cts/documentprovider/
DMyDocumentsProvider.java119 private Doc buildDoc(String docId, String displayName, String mimeType, in buildDoc()
209 public String mimeType; field in MyDocumentsProvider.Doc
242 public String createDocument(String parentDocumentId, String mimeType, String displayName) in createDocument()

123