Home
last modified time | relevance | path

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

12

/cts/tests/tests/mimemap/src/android/content/type/cts/
DMimeMapTest.java185 String mimeType = "application/vnd.ms-word.document.macroEnabled.12".toLowerCase(Locale.US); in nonLowercaseMimeType() local
191 String mimeType = mimeMap.guessMimeTypeFromExtension("apk"); in caseInsensitiveKeys() local
253 String mimeType = mimeMap.guessMimeTypeFromExtension(extension); in agreesWithPublicApi() local
278 private void assertMimeTypeFromExtension(String mimeType, String extension) { in assertMimeTypeFromExtension()
285 private void assertExtensionFromMimeType(String extension, String mimeType) { in assertExtensionFromMimeType()
292 private void assertBidirectional(String mimeType, String extension) { in assertBidirectional()
/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()
DDRMTest.java195 int type, HashMap<String, String> request, String mimeType) throws Exception { in executeAcquireDrmInfo() argument
/cts/tests/tests/media/src/android/media/cts/
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()
DMediaExtractorTest.java163 final String mimeType = trackFormatForDolbyVision.getString(MediaFormat.KEY_MIME); in testDolbyVisionMediaExtractorProfileDvheDtr() local
180 final String mimeType = trackFormat.getString(MediaFormat.KEY_MIME); in testDolbyVisionMediaExtractorProfileDvheDtr() local
193 final String mimeType = trackFormat.getString(MediaFormat.KEY_MIME); in testDolbyVisionMediaExtractorProfileDvheStn() local
232 final String mimeType = trackFormatForDolbyVision.getString(MediaFormat.KEY_MIME); in testDolbyVisionMediaExtractorProfileDvheSt() local
249 final String mimeType = trackFormat.getString(MediaFormat.KEY_MIME); in testDolbyVisionMediaExtractorProfileDvheSt() local
279 final String mimeType = trackFormatForDolbyVision.getString(MediaFormat.KEY_MIME); in testDolbyVisionMediaExtractorProfileDvavSe() local
296 final String mimeType = trackFormat.getString(MediaFormat.KEY_MIME); in testDolbyVisionMediaExtractorProfileDvavSe() local
DMediaDrmMockTest.java73 String mimeType = "video/mp4"; in testIsMimeTypeSupported() local
81 String mimeType = "video/foo"; in testIsMimeTypeNotSupported() local
248 String mimeType = "video/iso.segment"; in testGetKeyRequest() local
281 String mimeType = "video/iso.segment"; in testGetKeyRequestNoOptionalParameters() local
313 String mimeType = "video/iso.segment"; in testGetKeyRequestOffline() local
343 String mimeType = "video/iso.segment"; in testGetKeyRequestRelease() local
DNativeMediaDrmClearkeyTest.java81 public String mimeType; field in NativeMediaDrmClearkeyTest.PlaybackParams
213 … UUID drmSchemeUuid, String mimeType, /*String initDataType,*/ Uri audioUrl, Uri videoUrl, in testClearKeyPlayback()
DMediaCodecTest.java172 String mimeType = format.getString(MediaFormat.KEY_MIME); in verifyException() local
615 String mimeType = mediaFormat.getString(MediaFormat.KEY_MIME); in testAsyncReset() local
1254 String mimeType = mediaFormat.getString(MediaFormat.KEY_MIME); in runDecodeShortInput() local
1692 private static MediaCodecInfo selectCodec(String mimeType) { in selectCodec()
1714 private static int findNonSurfaceColorFormat(MediaCodecInfo codecInfo, String mimeType) { in findNonSurfaceColorFormat()
1751 private static boolean supportsCodec(String mimeType, boolean encoder) { in supportsCodec()
2378 String mimeType = mediaFormat.getString(MediaFormat.KEY_MIME); in testAsyncRelease() local
2462 String mimeType = format.getString(MediaFormat.KEY_MIME); in testSetAudioPresentation() local
DExtractDecodeEditEncodeMuxTest.java288 private void setVideoMimeType(String mimeType) { in setVideoMimeType()
1210 private static MediaCodecInfo selectCodec(String mimeType) { in selectCodec()
/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/tests/video/src/android/video/cts/
DCodecInfo.java58 String codecName, String mimeType, int w, int h, int maxFps) { in getSupportedFormatInfo()
/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/
DMediaStoreUtils.java97 @NonNull String mimeType) { in PendingParams()
DMediaStore_DownloadsTest.java174 final String mimeType = "text/html"; in testInsertDownload() local
337 File file, String mimeType, int resourceId) throws Exception { in insertImage()
DSettingsTest.java207 String mimeType = cr.getType(uri); in tryBadTableAccess() local
/cts/hostsidetests/appsecurity/test-apps/DocumentProvider/src/com/android/cts/documentprovider/
DMyDocumentsProvider.java119 private Doc buildDoc(String docId, String displayName, String mimeType, in buildDoc()
208 public String mimeType; field in MyDocumentsProvider.Doc
241 public String createDocument(String parentDocumentId, String mimeType, String displayName) in createDocument()
/cts/libs/deviceutillegacy/src/android/webkit/cts/
DWebViewSyncLoader.java209 final String mimeType, final String encoding) { in loadDataAndWaitForCompletion()
220 final String data, final String mimeType, final String encoding, in loadDataWithBaseURLAndWaitForCompletion()
/cts/tests/tests/provider/src/android/provider/cts/contacts/
DContactsContract_TestDataBuilder.java272 public TestData newDataRow(String mimeType) { in newDataRow()
325 public TestData(TestRawContact rawContact, String mimeType) { in TestData()
/cts/hostsidetests/appsecurity/test-apps/DocumentClient/src/com/android/cts/documentclient/
DDocumentsClientTestCase.java121 protected byte[] readTypedFully(Uri uri, String mimeType) throws IOException { in readTypedFully()
/cts/libs/testserver/src/android/webkit/cts/
DCtsTestServer.java409 public String getBinaryUrl(String mimeType, int contentLength) { in getBinaryUrl()
597 String mimeType = null; in getResponse() local
640 String mimeType = in getResponse() local
/cts/tests/JobScheduler/src/android/jobscheduler/cts/
DTriggerContentTest.java75 public boolean scan(Context context, String file, String mimeType) in scan()
/cts/tests/tests/media/libmediandkjni/
Dnative-mediadrm-jni.cpp45 jfieldID mimeType; member
52 jstring mimeType; member

12