/aosp12/frameworks/base/core/java/android/print/ |
H A D | PrintDocumentInfo.java | 125 private int mContentType; field in PrintDocumentInfo 143 mContentType = prototype.mContentType; in PrintDocumentInfo() 156 mContentType = parcel.readInt(); in PrintDocumentInfo() 191 return mContentType; in getContentType() 223 parcel.writeInt(mContentType); in writeToParcel() 232 result = prime * result + mContentType; in hashCode() 254 if (mContentType != other.mContentType) { in equals() 272 builder.append(", contentType=").append(contentTypeToString(mContentType)); in toString() 352 mPrototype.mContentType = type; in setContentType()
|
/aosp12/packages/apps/Messaging/src/com/android/messaging/datamodel/data/ |
H A D | GalleryGridItemData.java | 65 private String mContentType; field in GalleryGridItemData 79 mContentType = null; in bind() 81 mContentType = cursor.getString(INDEX_MIME_TYPE); in bind() 85 if (ContentType.isAudioType(mContentType)) { in bind() 101 if (ContentType.isVideoType(mContentType)) { in bind() 128 return ContentType.isAudioType(mContentType) ? mAudioUri : mImageData.uri; in getImageUri() 137 return ContentType.isAudioType(mContentType) in constructMessagePartData() 138 ? new MediaPickerMessagePartData(startRect, mContentType, mAudioUri, 0, 0) in constructMessagePartData() 139 : new MediaPickerMessagePartData(startRect, mContentType, mImageData.uri, in constructMessagePartData() 151 return mContentType; in getContentType()
|
H A D | MessagePartData.java | 106 private String mContentType; field in MessagePartData 162 mContentType = contentType; in MessagePartData() 279 if (mContentType != null) { in getInsertStatement() 309 return ContentType.isTextType(mContentType); in isText() 313 return ContentType.isImageType(mContentType); in isImage() 333 return mContentType; in getContentType() 366 mContentType = in.readString(); in MessagePartData() 377 dest.writeString(mContentType); in writeToParcel() 396 TextUtils.equals(mContentType, lhs.mContentType) && in equals() 407 result = 31 * result + (mContentType == null ? 0 : mContentType.hashCode()); in hashCode() [all …]
|
/aosp12/packages/apps/Bluetooth/src/com/android/bluetooth/map/ |
H A D | BluetoothMapbMessageMime.java | 83 if (mContentType != null) { in encode() 104 if (mContentType != null && (mContentType.toUpperCase().contains("TEXT") in encode() 128 if (mContentType != null && mContentType.toUpperCase().contains("TEXT")) { in encodePlainText() 134 } else if (mContentType != null && mContentType.toUpperCase().contains("/SMIL")) { in encodePlainText() 157 private String mContentType = null; field in BluetoothMapbMessageMime 324 this.mContentType = contentType; in setContentType() 328 return mContentType; in getContentType() 351 if (part.mContentType != null && part.mContentType.toUpperCase().contains("TEXT")) { in updateCharset() 461 if (mContentType != null) { in encodeHeaders() 787 if (mContentType == null) { in parseMime() [all …]
|
H A D | BluetoothMapContentObserver.java | 3014 if (part.mContentType != null && part.mContentType.toUpperCase() in pushMmsToFolder() 3056 } else if (part.mContentType != null && part.mContentType.toUpperCase() in pushMmsToFolder() 3092 Log.v(TAG, "Added part with content-type: " + part.mContentType in pushMmsToFolder() 3135 if (part.mContentType != null) { in writeMmsDataPart() 3136 values.put(Mms.Part.CONTENT_TYPE, part.mContentType); in writeMmsDataPart()
|
H A D | BluetoothMapContent.java | 3842 part.mContentType = contentType; in extractMmsParts() 3859 if (!part.mContentType.toUpperCase().contains("TEXT") in extractMmsParts() 3874 part.mContentType = "text"; in extractMmsParts() 4291 part.mContentType = "text/plain"; in getIMMessage()
|
/aosp12/frameworks/base/media/java/android/media/ |
H A D | AudioAttributes.java | 525 private int mContentType = CONTENT_TYPE_UNKNOWN; field in AudioAttributes 543 return mContentType; in getContentType() 744 mContentType = aa.mContentType; in Builder() 760 aa.mContentType = mContentType; in build() 905 mContentType = contentType; in setContentType() 1077 mContentType = CONTENT_TYPE_UNKNOWN; in setInternalLegacyStreamType() 1085 mContentType = attributes.mContentType; in setInternalLegacyStreamType() 1246 dest.writeInt(mContentType); in writeToParcel() 1267 mContentType = in.readInt(); in AudioAttributes() 1316 return ((mContentType == that.mContentType) in equals() [all …]
|
/aosp12/packages/apps/Messaging/src/com/android/messaging/sms/ |
H A D | DatabaseMessages.java | 579 public String mContentType; field in DatabaseMessages.MmsPart 700 mContentType = opt.outMimeType; in loadImage() 703 if (TextUtils.isEmpty(mContentType)) { in loadImage() 740 mContentType = in loadVideo() 812 return ContentType.isImageType(mContentType) in isMedia() 813 || ContentType.isVideoType(mContentType) in isMedia() 814 || ContentType.isAudioType(mContentType) in isMedia() 815 || ContentType.isVCardType(mContentType); in isMedia() 819 return ContentType.isImageType(mContentType); in isImage() 835 mContentType = in.readString(); in MmsPart() [all …]
|
H A D | MmsUtils.java | 1404 public String mContentType; field in MmsUtils.AttachmentInfo 1755 messagePart = MessagePartData.createMediaMessagePart(part.mContentType, in createMmsMessagePart()
|
/aosp12/frameworks/base/media/java/android/media/metrics/ |
H A D | PlaybackMetrics.java | 158 private final int mContentType; field in PlaybackMetrics 199 this.mContentType = contentType; in PlaybackMetrics() 262 return mContentType; in getContentType() 365 + "contentType = " + mContentType + ", " in toString() 389 && mContentType == that.mContentType in equals() 405 mDrmType, mContentType, mPlayerName, mPlayerVersion, mExperimentIds, in hashCode() 421 dest.writeInt(mContentType); in writeToParcel() 469 this.mContentType = contentType; in PlaybackMetrics() 507 private int mContentType = CONTENT_TYPE_UNKNOWN; field in PlaybackMetrics.Builder 572 mContentType = value; in setContentType() [all …]
|
/aosp12/packages/apps/Gallery2/src/com/android/gallery3d/data/ |
H A D | UriImage.java | 51 private final String mContentType; field in UriImage 67 mContentType = contentType; in UriImage() 100 if (MIME_TYPE_JPEG.equalsIgnoreCase(mContentType)) { in openOrDownloadInner() 123 if (MIME_TYPE_JPEG.equalsIgnoreCase(mContentType)) { in openOrDownloadInner() 217 if (BitmapUtils.isSupportedByRegionDecoder(mContentType)) { in getSupportedOperations() 258 if (mContentType != null) { in getDetails() 259 details.addDetail(MediaDetails.INDEX_MIMETYPE, mContentType); in getDetails() 271 return mContentType; in getMimeType()
|
/aosp12/packages/apps/Bluetooth/src/com/android/bluetooth/avrcpcontroller/bip/ |
H A D | BipAttachmentFormat.java | 41 private final String mContentType; field in BipAttachmentFormat 79 mContentType = contentType; in BipAttachmentFormat() 103 mContentType = Objects.requireNonNull(contentType, "Content-Type cannot be null"); in BipAttachmentFormat() 122 return mContentType; in getContentType() 163 sb.append(" content-type=\"" + mContentType + "\""); in toString()
|
/aosp12/frameworks/av/media/libaaudio/src/core/ |
H A D | AAudioStreamParameters.cpp | 46 mContentType = other.mContentType; in copyFrom() 153 switch (mContentType) { in validate() 161 ALOGD("content type not valid = %d", mContentType); in validate() 307 ALOGD("mContentType = %6d", mContentType); in dump()
|
H A D | AAudioStreamParameters.h | 93 return mContentType; in getContentType() 97 mContentType = contentType; in setContentType() 201 aaudio_content_type_t mContentType = AAUDIO_UNSPECIFIED; variable
|
H A D | AudioStream.h | 253 return mContentType; in getContentType() 602 mContentType = contentType; in setContentType() 669 aaudio_content_type_t mContentType = AAUDIO_UNSPECIFIED; variable
|
H A D | AudioStream.cpp | 91 mContentType = builder.getContentType(); in open() 92 if (mContentType == AAUDIO_UNSPECIFIED) { in open() 93 mContentType = AAUDIO_CONTENT_TYPE_MUSIC; in open()
|
/aosp12/art/tools/ahat/src/main/com/android/ahat/ |
H A D | StaticHandler.java | 29 private String mContentType; field in StaticHandler 33 mContentType = contentType; in StaticHandler() 48 exchange.getResponseHeaders().add("Content-Type", mContentType); in handle()
|
/aosp12/frameworks/av/media/libaaudio/examples/utils/ |
H A D | AAudioArgsParser.h | 181 return mContentType; in getContentType() 185 mContentType = contentType; in setContentType() 257 s_setContentType(builder, mContentType); in applyParameters() 258 } else if (mContentType != AAUDIO_UNSPECIFIED){ in applyParameters() 297 aaudio_content_type_t mContentType = AAUDIO_UNSPECIFIED; variable
|
/aosp12/frameworks/base/core/java/android/app/usage/ |
H A D | UsageEvents.java | 466 public String mContentType; field in UsageEvents.Event 709 mContentType = orig.mContentType; in copyFrom() 904 p.writeString(event.mContentType); in writeEventToParcel() 961 eventOut.mContentType = null; in readEventFromParcel() 976 eventOut.mContentType = p.readString(); in readEventFromParcel()
|
/aosp12/frameworks/base/core/jni/ |
H A D | android_media_AudioAttributes.cpp | 46 jfieldID mContentType; // AudioAttributes.mContentType member 97 gAudioAttributesFields.mContentType); in nativeAudioAttributesFromJavaAudioAttributes() 183 gAudioAttributesFields.mContentType = in register_android_media_AudioAttributes()
|
/aosp12/frameworks/base/core/java/com/android/internal/app/ |
H A D | AbstractResolverComparator.java | 54 protected String mContentType; field in AbstractResolverComparator 104 mContentType = intent.getType(); in AbstractResolverComparator() 240 mUsm.reportChooserSelection(packageName, userId, mContentType, mAnnotations, action); in updateChooserCounts()
|
H A D | ResolverRankerServiceResolverComparator.java | 176 .getOrDefault(mContentType, 0); in doCompute()
|
/aosp12/packages/apps/Contacts/src/com/android/contacts/ |
H A D | ShortcutIntentBuilder.java | 155 protected String mContentType; field in ShortcutIntentBuilder.LoadingAsyncTask 167 mContentType = mContext.getContentResolver().getType(mUri); in doInBackground() 218 createContactShortcutIntent(mUri, mContentType, mDisplayName, mLookupKey, mBitmapData); in onPostExecute()
|
/aosp12/packages/apps/Messaging/src/com/android/messaging/util/ |
H A D | ImageUtils.java | 409 private final String mContentType; field in ImageUtils.ImageResizer 465 mContentType = contentType; in ImageResizer() 474 return ImageUtils.isGif(mContentType, mUri) ? resizeGifImage() : resizeStaticImage(); in resize()
|
/aosp12/packages/apps/Bluetooth/tests/unit/src/com/android/bluetooth/map/ |
H A D | BluetoothMapContentObserverTest.java | 153 body.mContentType = "text/plain"; in testPushGroupMMS()
|