Home
last modified time | relevance | path

Searched refs:mime (Results 1 – 25 of 31) sorted by relevance

12

/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/map/
DBluetoothMapbMessageMimeTest.java124 final BluetoothMapbMessageMime mime = new BluetoothMapbMessageMime(); in testAddFrom() local
127 mime.addFrom(nameToAdd, addressToAdd); in testAddFrom()
128 assertThat(mime.getFrom().get(0)).isEqualTo(new Rfc822Token(nameToAdd, addressToAdd, null)); in testAddFrom()
133 final BluetoothMapbMessageMime mime = new BluetoothMapbMessageMime(); in testAddSender() local
136 mime.addSender(nameToAdd, addressToAdd); in testAddSender()
137 assertThat(mime.getSender().get(0)) in testAddSender()
143 final BluetoothMapbMessageMime mime = new BluetoothMapbMessageMime(); in testAddTo() local
146 mime.addTo(nameToAdd, addressToAdd); in testAddTo()
147 assertThat(mime.getTo().get(0)).isEqualTo(new Rfc822Token(nameToAdd, addressToAdd, null)); in testAddTo()
152 final BluetoothMapbMessageMime mime = new BluetoothMapbMessageMime(); in testAddCc() local
[all …]
DBluetoothMapContentTest.java1882 BluetoothMapbMessageMime mime = new BluetoothMapbMessageMime(); in extractMmsAddresses_withTypeMmsFrom() local
1883 mContent.extractMmsAddresses(TEST_ID, mime); in extractMmsAddresses_withTypeMmsFrom()
1885 Rfc822Token fromToken = mime.getFrom().get(0); in extractMmsAddresses_withTypeMmsFrom()
1935 BluetoothMapbMessageMime mime = new BluetoothMapbMessageMime(); in extractMmsAddresses_withTypeMmsTo() local
1936 mContent.extractMmsAddresses(TEST_ID, mime); in extractMmsAddresses_withTypeMmsTo()
1938 Rfc822Token toToken = mime.getTo().get(0); in extractMmsAddresses_withTypeMmsTo()
1988 BluetoothMapbMessageMime mime = new BluetoothMapbMessageMime(); in extractMmsAddresses_withTypeMmsCc() local
1989 mContent.extractMmsAddresses(TEST_ID, mime); in extractMmsAddresses_withTypeMmsCc()
1991 Rfc822Token ccToken = mime.getCc().get(0); in extractMmsAddresses_withTypeMmsCc()
2041 BluetoothMapbMessageMime mime = new BluetoothMapbMessageMime(); in extractMmsAddresses_withTypeMmsBcc() local
[all …]
/packages/apps/DocumentsUI/src/com/android/documentsui/
DThumbnailLoader.java54 public static final BiConsumer<View, View> ANIM_FADE_IN = (mime, thumb) -> {
55 float alpha = mime.getAlpha();
56 mime.animate().alpha(0f).start();
60 public static final BiConsumer<View, View> ANIM_NO_OP = (mime, thumb) -> {};
/packages/apps/TV/tuner/src/com/android/tv/tuner/exoplayer2/
DMpegTsSampleExtractor.java253 String mime = format.sampleMimeType; in onPrepared() local
254 if (MimeTypes.isVideo(mime) && mVideoTrackIndex == -1) { in onPrepared()
256 if (MediaFormat.MIMETYPE_VIDEO_MPEG2.equals(mime)) { in onPrepared()
258 } else if (MediaFormat.MIMETYPE_VIDEO_AVC.equals(mime)) { in onPrepared()
261 } else if (MimeTypes.APPLICATION_CEA708.equals(mime)) { in onPrepared()
/packages/services/Car/cpp/computepipe/runner/input_manager/
DVideoDecoder.cpp125 const char* mime; in initializeMediaDecoder() local
129 if (!AMediaFormat_getString(format, AMEDIAFORMAT_KEY_MIME, &mime)) { in initializeMediaDecoder()
133 if (android::base::StartsWith(mime, "video/")) { in initializeMediaDecoder()
154 mCodec = AMediaCodec_createDecoderByType(mime); in initializeMediaDecoder()
/packages/apps/TV/tuner/src/com/android/tv/tuner/exoplayer/
DMpegTsSampleExtractor.java137 String mime = formats.get(i).mimeType; in prepare() local
138 if (MimeTypes.isVideo(mime) && mVideoTrackIndex == -1) { in prepare()
140 if (android.media.MediaFormat.MIMETYPE_VIDEO_MPEG2.equals(mime)) { in prepare()
142 } else if (android.media.MediaFormat.MIMETYPE_VIDEO_AVC.equals(mime)) { in prepare()
/packages/apps/Gallery2/src/com/android/gallery3d/ingest/data/
DMtpDeviceIndex.java161 final String mime = MimeTypeMap.getSingleton().getMimeTypeFromExtension( in isFormatSupported() local
163 if (mime != null) { in isFormatSupported()
165 result = mime.startsWith("image/") || mime.startsWith("video/"); in isFormatSupported()
/packages/apps/TV/tuner/src/com/android/tv/tuner/exoplayer/audio/
DAudioTrackMonitor.java68 public void setEncoding(String mime) { in setEncoding() argument
69 mIsMp2 = MimeTypes.AUDIO_MPEG_L2.equalsIgnoreCase(mime); in setEncoding()
/packages/modules/RemoteKeyProvisioning/app/tests/util/src/com/android/rkpdapp/testutil/
DFakeRkpServer.java103 Response(int code, String description, byte[] body, String mime) { in Response() argument
107 mMime = mime; in Response()
/packages/apps/Gallery2/src/com/android/gallery3d/app/
DVideoUtils.java147 String mime = format.getString(MediaFormat.KEY_MIME); in genVideoUsingMuxer() local
151 if (mime.startsWith("audio/") && useAudio) { in genVideoUsingMuxer()
153 } else if (mime.startsWith("video/") && useVideo) { in genVideoUsingMuxer()
/packages/apps/Gallery2/src/com/android/photos/
DMultiChoiceManager.java228 String mime = getItemMimetype(item); in singleItemAction() local
232 intent.setDataAndType(uri, mime) in singleItemAction()
238 intent.setDataAndType(uri, mime) in singleItemAction()
/packages/modules/Media/apex/framework/java/android/media/
DMediaTranscodingManager.java1103 String mime = format.getString(MediaFormat.KEY_MIME); in convertToVideoTrackFormat() local
1104 if (MediaFormat.MIMETYPE_VIDEO_AVC.equals(mime)) { in convertToVideoTrackFormat()
1106 } else if (MediaFormat.MIMETYPE_VIDEO_HEVC.equals(mime)) { in convertToVideoTrackFormat()
1227 String mime = videoFormat.containsKey(MediaFormat.KEY_MIME) in setVideoTrackFormat() local
1229 if (mime == null || !mime.startsWith("video/")) { in setVideoTrackFormat()
/packages/apps/DocumentsUI/tests/unit/com/android/documentsui/sorting/
DSortingCursorWrapperTest.java417 final String mime = in testSort_type_ascending() local
419 final String type = fileTypeLookup.lookup(mime); in testSort_type_ascending()
449 final String mime = in testSort_type_descending() local
451 final String type = fileTypeLookup.lookup(mime); in testSort_type_descending()
/packages/providers/MediaProvider/src/com/android/providers/media/metrics/
DStorageAccessMetrics.java255 String mime = mMimeTypes.valueAt(i); in getMimeTypesAsProto() local
259 mime); in getMimeTypesAsProto()
/packages/services/Telephony/testapps/TestRcsApp/TestApp/src/com/google/android/sample/rcsclient/
DFileUploadActivity.java301 MimeTypeMap mime = MimeTypeMap.getSingleton(); in getContentType() local
302 return mime.getExtensionFromMimeType(getContentResolver().getType(uri)); in getContentType()
/packages/providers/ContactsProvider/src/com/android/providers/contacts/
DLegacyApiSupport.java2020 String mime = null; in getContactMethodType() local
2029 mime = "vnd.android.cursor.item/email"; in getContactMethodType()
2033 mime = "vnd.android.cursor.item/jabber-im"; in getContactMethodType()
2037 mime = "vnd.android.cursor.item/postal-address"; in getContactMethodType()
2045 return mime; in getContactMethodType()
/packages/apps/Camera2/src/com/android/camera/
DVideoModule.java1223 String mime = convertOutputFormatToMimeType(mProfile.fileFormat); in generateVideoValues() local
1229 mCurrentVideoValues.put(Video.Media.MIME_TYPE, mime); in generateVideoValues()
/packages/apps/LegacyCamera/src/com/android/camera/
DVideoCamera.java1397 String mime = convertOutputFormatToMimeType(outputFileFormat); in generateVideoFilename() local
1403 mCurrentVideoValues.put(Video.Media.MIME_TYPE, mime); in generateVideoFilename()
/packages/inputmethods/LatinIME/dictionaries/
Dlt_wordlist.combined.gz1dictionary=main:lt,locale=lt,description=Lietuvių,date=1393228136, ...
Dpt_BR_wordlist.combined.gz1dictionary=main:pt_br,locale=pt_BR,description=Português (Brasil),date ...
Den_GB_wordlist.combined.gz
Den_US_wordlist.combined.gz
Den_wordlist.combined.gz
Dpt_PT_wordlist.combined.gz
Dnb_wordlist.combined.gz

12