/cts/tests/tests/media/src/android/media/cts/ |
MediaCodecTest.java | 39 private static final String MIME_TYPE = "video/avc"; // H.264 Advanced Video Coding 58 MediaCodecInfo codecInfo = selectCodec(MIME_TYPE); 59 int colorFormat = findNonSurfaceColorFormat(codecInfo, MIME_TYPE); 109 encoder = MediaCodec.createEncoderByType(MIME_TYPE); 157 encoder = MediaCodec.createEncoderByType(MIME_TYPE); 191 encoder = MediaCodec.createEncoderByType(MIME_TYPE); 229 MediaFormat format = MediaFormat.createVideoFormat(MIME_TYPE, WIDTH, HEIGHT); 273 fail("couldn't find a good color format for " + codecInfo.getName() + " / " + MIME_TYPE);
|
EncodeDecodeTest.java | 54 private static final String MIME_TYPE = "video/avc"; // H.264 Advanced Video Coding 232 MediaCodecInfo codecInfo = selectCodec(MIME_TYPE); 235 Log.e(TAG, "Unable to find an appropriate codec for " + MIME_TYPE); 240 int colorFormat = selectColorFormat(codecInfo, MIME_TYPE); 245 MediaFormat format = MediaFormat.createVideoFormat(MIME_TYPE, mWidth, mHeight); 263 decoder = MediaCodec.createDecoderByType(MIME_TYPE); 296 MediaCodecInfo codecInfo = selectCodec(MIME_TYPE); 299 Log.e(TAG, "Unable to find an appropriate codec for " + MIME_TYPE); 308 MediaFormat format = MediaFormat.createVideoFormat(MIME_TYPE, mWidth, mHeight); 323 decoder = MediaCodec.createDecoderByType(MIME_TYPE); [all...] |
DecodeEditEncodeTest.java | 59 private static final String MIME_TYPE = "video/avc"; // H.264 Advanced Video Coding 194 MediaCodecInfo codecInfo = selectCodec(MIME_TYPE); 197 Log.e(TAG, "Unable to find an appropriate codec for " + MIME_TYPE); 204 MediaFormat format = MediaFormat.createVideoFormat(MIME_TYPE, mWidth, mHeight); 412 MediaFormat outputFormat = MediaFormat.createVideoFormat(MIME_TYPE, mWidth, mHeight); 424 encoder = MediaCodec.createEncoderByType(MIME_TYPE); 431 decoder = MediaCodec.createDecoderByType(MIME_TYPE); 631 decoder = MediaCodec.createDecoderByType(MIME_TYPE); [all...] |
/cts/tests/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);
|
/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"));
|
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/provider/ |
SharedImageProvider.java | 37 public static final String MIME_TYPE = "image/jpeg"; 43 MIME_TYPE 55 return MIME_TYPE;
|
/packages/apps/Gallery/src/com/android/camera/gallery/ |
ImageList.java | 67 "(" + Media.MIME_TYPE + " in (?, ?, ?))"; 102 Media.MIME_TYPE,
|
DrmImageList.java | 34 DrmStore.Images.MIME_TYPE,
|
VideoList.java | 41 Media.MIME_TYPE,
|
/packages/apps/Music/src/com/android/music/ |
VideoBrowserActivity.java | 83 String type = mCursor.getString(mCursor.getColumnIndexOrThrow(MediaStore.Video.Media.MIME_TYPE)); 94 MediaStore.Video.Media.MIME_TYPE,
|
MediaPickerActivity.java | 100 MediaStore.Audio.Media.MIME_TYPE)); 143 MediaStore.Audio.Media.MIME_TYPE, 153 MediaStore.Audio.Media.MIME_TYPE 238 mMimeIdx = cursor.getColumnIndexOrThrow(MediaStore.Audio.Media.MIME_TYPE);
|
/cts/tests/tests/provider/src/android/provider/cts/ |
MediaStore_Images_MediaTest.java | 119 new String[] { Media.TITLE, Media.DESCRIPTION, Media.MIME_TYPE }); 124 assertEquals(MIME_TYPE_JPEG, c.getString(c.getColumnIndex(Media.MIME_TYPE))); 130 new String[] { Media.TITLE, Media.DESCRIPTION, Media.MIME_TYPE }, null, 136 assertEquals(MIME_TYPE_JPEG, c.getString(c.getColumnIndex(Media.MIME_TYPE))); 140 assertEquals(MIME_TYPE_JPEG, c.getString(c.getColumnIndex(Media.MIME_TYPE))); 145 new String[] { Media.DESCRIPTION, Media.MIME_TYPE }, Media.TITLE + "=?", 150 assertEquals(MIME_TYPE_JPEG, c.getString(c.getColumnIndex(Media.MIME_TYPE))); 224 values.put(Media.MIME_TYPE, "image/jpeg"); 254 assertEquals("image/jpeg", c.getString(c.getColumnIndex(Media.MIME_TYPE))); 277 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 | 97 values.put(Media.MIME_TYPE, "video/3gpp"); 132 assertEquals("video/3gpp", c.getString(c.getColumnIndex(Media.MIME_TYPE))); 158 values.put(Media.MIME_TYPE, "video/3gpp"); 186 assertEquals("video/3gpp", c.getString(c.getColumnIndex(Media.MIME_TYPE)));
|
/frameworks/base/core/java/android/provider/ |
DrmStore.java | 80 public static final String MIME_TYPE = "mime_type"; 165 values.put(DrmStore.Columns.MIME_TYPE, mimeType);
|
VoicemailContract.java | 189 public static final String MIME_TYPE = "mime_type";
|
/packages/providers/CalendarProvider/src/com/android/providers/calendar/ |
CalendarDebugActivity.java | 53 private static final String MIME_TYPE = "application/zip"; 150 MIME_TYPE 194 intent.setType(MIME_TYPE);
|
/packages/apps/Dialer/tests/src/com/android/dialer/ |
CallDetailActivityTest.java | 56 private static final String MIME_TYPE = "audio/mp3"; 258 values.put(VoicemailContract.Voicemails.MIME_TYPE, MIME_TYPE);
|
/packages/apps/Bluetooth/src/com/android/bluetooth/opp/ |
BluetoothOppManager.java | 89 private static final String MIME_TYPE = "MIMETYPE"; 196 mMimeTypeOfSendingFile = settings.getString(MIME_TYPE, null); 236 editor.remove(MIME_TYPE); 239 editor.putString(MIME_TYPE, mMimeTypeOfSendingFile);
|
/packages/apps/Gallery2/src/com/android/gallery3d/provider/ |
GalleryProvider.java | 60 ImageColumns.MIME_TYPE, 153 } else if (ImageColumns.MIME_TYPE.equals(column)) {
|
/packages/apps/Gallery2/tests/src/com/android/photos/data/ |
PhotoDatabaseUtils.java | 55 Photos.MIME_TYPE, 107 values.put(Photos.MIME_TYPE, mimeType);
|
PhotoProviderTest.java | 42 private static final String MIME_TYPE = "test/test"; 86 MIME_TYPE, mAccountId); 223 assertEquals(MIME_TYPE, mResolver.getType(image)); 344 values.put(Photos.MIME_TYPE, "not-a/mime-type"); 366 insert.withValue(Photos.MIME_TYPE, "image/jpg");
|
/development/samples/Wiktionary/src/com/example/android/wiktionary/ |
ExtendedWikiHelper.java | 82 public static final String MIME_TYPE = "text/html";
|
/packages/apps/Camera/src/com/android/camera/ |
Storage.java | 98 values.put(ImageColumns.MIME_TYPE, "image/jpeg");
|
/packages/apps/Gallery2/src/com/android/gallery3d/util/ |
SaveVideoFileUtils.java | 101 values.put(Video.Media.MIME_TYPE, "video/mp4");
|