/cts/tests/tests/media/src/android/media/cts/ |
MediaCodecTest.java | 54 private static final String MIME_TYPE = MediaFormat.MIMETYPE_VIDEO_AVC; 290 if (!supportsCodec(MIME_TYPE, true)) { 291 Log.i(TAG, "No encoder found for mimeType= " + MIME_TYPE); 300 MediaCodecInfo codecInfo = selectCodec(MIME_TYPE); 301 int colorFormat = findNonSurfaceColorFormat(codecInfo, MIME_TYPE); 349 if (!supportsCodec(MIME_TYPE, true)) { 350 Log.i(TAG, "No encoder found for mimeType= " + MIME_TYPE); 360 encoder = MediaCodec.createEncoderByType(MIME_TYPE); 362 fail("failed to create " + MIME_TYPE + " encoder"); 406 if (!supportsCodec(MIME_TYPE, true)) [all...] |
EncodeVirtualDisplayWithCompositionTest.java | 82 private static final String MIME_TYPE = MediaFormat.MIMETYPE_VIDEO_AVC; 234 mDecoder = MediaCodec.createDecoderByType(MIME_TYPE); 235 MediaFormat decoderFormat = MediaFormat.createVideoFormat(MIME_TYPE, w, h); 531 MediaFormat format = MediaFormat.createVideoFormat(MIME_TYPE, mW, mH); 545 mEncoder = MediaCodec.createEncoderByType(MIME_TYPE); [all...] |
EncodeVirtualDisplayTest.java | 87 private static final String MIME_TYPE = MediaFormat.MIMETYPE_VIDEO_AVC; 170 MIME_TYPE, ENCODER_PARAM_TABLE[i][0], ENCODER_PARAM_TABLE[i][1]); 210 MediaFormat encoderFormat = MediaFormat.createVideoFormat(MIME_TYPE, sWidth, sHeight); 235 decoder = MediaCodec.createDecoderByType(MIME_TYPE); 236 MediaFormat decoderFormat = MediaFormat.createVideoFormat(MIME_TYPE, sWidth, sHeight);
|
DecodeEditEncodeTest.java | 57 private static final String MIME_TYPE = MediaFormat.MIMETYPE_VIDEO_AVC; 196 MediaFormat format = MediaFormat.createVideoFormat(MIME_TYPE, mWidth, mHeight); 201 Log.e(TAG, "Unable to find an appropriate codec for " + MIME_TYPE); 399 MediaFormat outputFormat = MediaFormat.createVideoFormat(MIME_TYPE, mWidth, mHeight); 411 encoder = MediaCodec.createEncoderByType(MIME_TYPE); 418 decoder = MediaCodec.createDecoderByType(MIME_TYPE); 619 decoder = MediaCodec.createDecoderByType(MIME_TYPE); [all...] |
/cts/tests/tests/provider/src/android/provider/cts/ |
MediaStoreAudioTestHelper.java | 105 public static final String MIME_TYPE = "audio/x-mpeg"; 126 values.put(Media.MIME_TYPE, MIME_TYPE); 183 public static final String MIME_TYPE = "audio/x-mpeg"; 205 values.put(Media.MIME_TYPE, MIME_TYPE);
|
MediaStore_Images_MediaTest.java | 120 new String[] { Media.TITLE, Media.DESCRIPTION, Media.MIME_TYPE }); 125 assertEquals(MIME_TYPE_JPEG, c.getString(c.getColumnIndex(Media.MIME_TYPE))); 131 new String[] { Media.TITLE, Media.DESCRIPTION, Media.MIME_TYPE }, null, 137 assertEquals(MIME_TYPE_JPEG, c.getString(c.getColumnIndex(Media.MIME_TYPE))); 141 assertEquals(MIME_TYPE_JPEG, c.getString(c.getColumnIndex(Media.MIME_TYPE))); 146 new String[] { Media.DESCRIPTION, Media.MIME_TYPE }, Media.TITLE + "=?", 151 assertEquals(MIME_TYPE_JPEG, c.getString(c.getColumnIndex(Media.MIME_TYPE))); 225 values.put(Media.MIME_TYPE, "image/jpeg"); 255 assertEquals("image/jpeg", c.getString(c.getColumnIndex(Media.MIME_TYPE))); 278 values.put(Media.MIME_TYPE, "image/jpeg") [all...] |
MediaStore_Audio_MediaTest.java | 102 assertEquals(Audio1.MIME_TYPE, c.getString(c.getColumnIndex(Media.MIME_TYPE))); 144 assertEquals(Audio2.MIME_TYPE, c.getString(c.getColumnIndex(Media.MIME_TYPE)));
|
MediaStore_Video_MediaTest.java | 98 values.put(Media.MIME_TYPE, "video/3gpp"); 133 assertEquals("video/3gpp", c.getString(c.getColumnIndex(Media.MIME_TYPE))); 159 values.put(Media.MIME_TYPE, "video/3gpp"); 187 assertEquals("video/3gpp", c.getString(c.getColumnIndex(Media.MIME_TYPE)));
|
VoicemailContractTest.java | 66 Voicemails.HAS_CONTENT, Voicemails.MIME_TYPE}; 95 value.put(Voicemails.MIME_TYPE, insertMimeType); 197 value.put(Voicemails.MIME_TYPE, insertMimeType);
|
MediaStore_Audio_Playlists_MembersTest.java | 58 Members.MIME_TYPE, 88 Members.MIME_TYPE, 224 assertEquals(Audio1.MIME_TYPE, c.getString(c.getColumnIndex(Members.MIME_TYPE))); 268 assertEquals(Audio2.MIME_TYPE, c.getString(c.getColumnIndex(Members.MIME_TYPE)));
|
MediaStore_Audio_Genres_MembersTest.java | 125 assertEquals(Audio1.MIME_TYPE, c.getString(c.getColumnIndex(Members.MIME_TYPE)));
|
MediaStore_FilesTest.java | 215 values.put(MediaStore.Images.Media.MIME_TYPE, "image/jpeg"); 373 values.put(MediaStore.Audio.Media.MIME_TYPE, "audio/mp3");
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/nfc/tech/ |
NdefTagTester.java | 41 private static final String MIME_TYPE = "application/com.android.cts.verifier.nfc"; 74 NfcUtils.displayByteArray(mimeRecord.getId()), MIME_TYPE, PAYLOAD); 100 byte[] mimeBytes = MIME_TYPE.getBytes(Charset.forName("US-ASCII"));
|
/cts/tests/tests/mediastress/src/android/mediastress/cts/ |
NativeMediaTest.java | 33 private static final String MIME_TYPE = MediaFormat.MIMETYPE_VIDEO_AVC; 60 if (!MediaUtils.checkDecoder(MIME_TYPE)) {
|
/external/chromium_org/android_webview/javatests/src/org/chromium/android_webview/test/ |
AwContentsClientCallbackHelperTest.java | 74 static final String MIME_TYPE = "mimeType"; 123 MIME_TYPE, CONTENT_LENGTH); 128 assertEquals(MIME_TYPE, downloadStartHelper.getMimeType());
|
/cts/hostsidetests/appsecurity/test-apps/DocumentClient/src/com/android/cts/documentclient/ |
DocumentsClientTest.java | 159 final String MIME_TYPE = "image/png"; 164 intent.setType(MIME_TYPE); 179 assertEquals(MIME_TYPE, getColumn(uri, Document.COLUMN_MIME_TYPE));
|
/development/samples/Wiktionary/src/com/example/android/wiktionary/ |
ExtendedWikiHelper.java | 82 public static final String MIME_TYPE = "text/html";
|
LookupActivity.java | 255 ExtendedWikiHelper.MIME_TYPE, ExtendedWikiHelper.ENCODING, null);
|
/development/apps/Development/src/com/android/development/ |
MediaScannerActivity.java | 182 map.put(MediaStore.MediaColumns.MIME_TYPE, "audio/mp3");
|
/external/openssl/crypto/asn1/ |
asn_mime.c | 653 #define MIME_TYPE 2 687 state = MIME_TYPE; 694 case MIME_TYPE: 749 if(state == MIME_TYPE) {
|
/development/samples/VoicemailProviderDemo/src/com/example/android/voicemail/common/core/ |
VoicemailProviderHelpers.java | 148 // Update mime_type & has_content after we are done with file update. 150 values.put(Voicemails.MIME_TYPE, mimeType);
|
/external/chromium_org/third_party/android_platform/webview/ |
frameworks.jar | |
/external/chromium_org/third_party/libaddressinput/src/java/ |
android.jar | |