/frameworks/av/media/libstagefright/ |
H A D | DataSourceFactory.cpp | 37 String8 *contentType, 39 if (contentType != NULL) { 40 *contentType = ""; 77 if (contentType != NULL) { 78 *contentType = httpSource->getMIMEType(); 33 CreateFromURI( const sp<MediaHTTPService> &httpService, const char *uri, const KeyedVector<String8, String8> *headers, String8 *contentType, HTTPBase *httpSource) argument
|
/frameworks/av/media/libaaudio/tests/ |
H A D | test_attributes.cpp | 33 aaudio_content_type_t contentType, 53 if (contentType != DONT_SET) { 54 AAudioStreamBuilder_setContentType(aaudioBuilder, contentType); 72 (contentType == DONT_SET || contentType == AAUDIO_UNSPECIFIED) 74 : contentType; 142 for (aaudio_content_type_t contentType : sContentypes) { 143 checkAttributes(perfMode, DONT_SET, contentType); 31 checkAttributes(aaudio_performance_mode_t perfMode, aaudio_usage_t usage, aaudio_content_type_t contentType, aaudio_input_preset_t preset = DONT_SET, aaudio_direction_t direction = AAUDIO_DIRECTION_OUTPUT) argument
|
/frameworks/av/media/libaudioclient/tests/ |
H A D | test_create_audiotrack.cpp | 70 audio_content_type_t contentType; local 83 &flags, &sessionId, &usage, &contentType) != NUM_ARGUMENTS) { 109 attributes.content_type = contentType;
|
/frameworks/base/core/java/android/print/ |
H A D | PrintDocumentInfo.java | 270 builder.append(", contentType=").append(contentTypeToString(mContentType)); 276 private String contentTypeToString(int contentType) { argument 277 switch (contentType) {
|
/frameworks/base/wifi/java/android/net/wifi/hotspot2/ |
H A D | ConfigParser.java | 89 public String contentType = null; field in class:ConfigParser.MimeHeader 222 if (!TextUtils.equals(header.contentType, TYPE_MULTIPART_MIXED)) { 223 throw new IOException("Invalid content type: " + header.contentType); 273 if (!TextUtils.equals(header.contentType, TYPE_PASSPOINT_PROFILE) && 274 !TextUtils.equals(header.contentType, TYPE_CA_CERT) && 275 !TextUtils.equals(header.contentType, TYPE_PKCS12)) { 276 throw new IOException("Unexpected content type: " + header.contentType); 299 part.type = header.contentType; 323 header.contentType = value.first; 344 * @param contentType Th 348 parseContentType(String contentType) argument [all...] |
/frameworks/opt/telephony/src/java/com/google/android/mms/pdu/ |
H A D | SendReq.java | 53 * @param contentType the content type value 58 * NullPointerException if contentType, form or transactionId is null. 60 public SendReq(byte[] contentType, argument 66 setContentType(contentType);
|
H A D | PduPart.java | 307 public void setContentType(byte[] contentType) { argument 308 if(contentType == null) { 312 mPartHeader.put(P_CONTENT_TYPE, contentType);
|
H A D | PduPersister.java | 402 byte[] contentType = getByteArrayFromPartColumn( 404 if (contentType != null) { 405 part.setContentType(contentType); 429 String type = toIsoString(contentType); 712 String contentType = getPartContentType(part); 713 if (contentType != null) { 716 if (ContentType.IMAGE_JPG.equals(contentType)) { 717 contentType = ContentType.IMAGE_JPEG; 720 values.put(Part.CONTENT_TYPE, contentType); 722 if (ContentType.APP_SMIL.equals(contentType)) { 782 persistData(PduPart part, Uri uri, String contentType, HashMap<Uri, InputStream> preOpenedFiles) argument [all...] |
/frameworks/av/media/libaaudio/src/core/ |
H A D | AAudioStreamParameters.h | 103 void setContentType(aaudio_content_type_t contentType) { argument 104 mContentType = contentType;
|
H A D | AAudioAudio.cpp | 187 aaudio_content_type_t contentType) { 189 streamBuilder->setContentType(contentType); 186 AAudioStreamBuilder_setContentType(AAudioStreamBuilder* builder, aaudio_content_type_t contentType) argument
|
H A D | AudioStream.h | 545 void setContentType(aaudio_content_type_t contentType) { argument 546 mContentType = contentType;
|
/frameworks/av/services/oboeservice/ |
H A D | AAudioServiceEndpointMMAP.cpp | 87 const audio_content_type_t contentType = local 98 .content_type = contentType,
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ |
H A D | WapPushOverSms.java | 293 String contentType = ((mimeType == null) ? 295 result.contentType = contentType; 296 if (DBG) Rlog.v(TAG, "appid found: " + wapAppId + ":" + contentType); 365 result.wapAppId, result.contentType, intent); 624 String contentType; field in class:WapPushOverSms.DecodedResult
|
/frameworks/av/media/libaaudio/examples/utils/ |
H A D | AAudioArgsParser.h | 36 aaudio_content_type_t contentType) = nullptr; 160 void setContentType(aaudio_content_type_t contentType) { argument 161 mContentType = contentType; 350 printf(" -y{contentType} eg. 1 for AAUDIO_CONTENT_TYPE_SPEECH\n");
|
/frameworks/av/media/libaaudio/src/legacy/ |
H A D | AudioStreamRecord.cpp | 131 const audio_content_type_t contentType = local 137 .content_type = contentType,
|
H A D | AudioStreamTrack.cpp | 125 const audio_content_type_t contentType = local 131 .content_type = contentType,
|
/frameworks/av/media/libaaudio/src/utility/ |
H A D | AAudioUtilities.cpp | 574 audio_content_type_t AAudioConvert_contentTypeToInternal(aaudio_content_type_t contentType) { argument 581 if (contentType == AAUDIO_UNSPECIFIED) { 582 contentType = AAUDIO_CONTENT_TYPE_MUSIC; 584 return (audio_content_type_t) contentType; // same value
|
/frameworks/base/core/java/android/app/usage/ |
H A D | UsageStatsManager.java | 735 * @param contentType The type of the content, e.g., Image, Video, App. 741 public void reportChooserSelection(String packageName, int userId, String contentType, argument 744 mService.reportChooserSelection(packageName, userId, contentType, annotations, action);
|
/frameworks/opt/telephony/src/java/com/google/android/mms/ |
H A D | ContentType.java | 169 public static boolean isSupportedType(String contentType) { argument 170 return (null != contentType) && sSupportedContentTypes.contains(contentType); 173 public static boolean isSupportedImageType(String contentType) { argument 174 return isImageType(contentType) && isSupportedType(contentType); 177 public static boolean isSupportedAudioType(String contentType) { argument 178 return isAudioType(contentType) && isSupportedType(contentType); 181 public static boolean isSupportedVideoType(String contentType) { argument 185 isTextType(String contentType) argument 189 isImageType(String contentType) argument 193 isAudioType(String contentType) argument 197 isVideoType(String contentType) argument 201 isDrmType(String contentType) argument 207 isUnspecified(String contentType) argument [all...] |
/frameworks/av/drm/libdrmframework/plugins/forward-lock/FwdLockEngine/src/ |
H A D | FwdLockEngine.cpp | 330 String8 contentType = String8(pMimeType); local 331 contentType.toLower(); 332 mimeString = MimeTypeUtil::convertMimeType(contentType); 508 String8 contentType = String8(pmime == NULL ? "" : pmime); local 509 contentType.toLower(); 510 decryptHandle->mimeType = MimeTypeUtil::convertMimeType(contentType);
|
/frameworks/base/media/java/android/media/ |
H A D | AudioAttributes.java | 576 * @param contentType the content type values, one of 584 public Builder setContentType(@AttributeContentType int contentType) { argument 585 switch (contentType) { 591 mContentType = contentType;
|
/frameworks/support/media/src/main/java/androidx/media/ |
H A D | AudioAttributesCompat.java | 424 int contentType = bundle.getInt(AUDIO_ATTRIBUTES_CONTENT_TYPE, CONTENT_TYPE_UNKNOWN); 428 // Builder class guesses the usage based on other value (contentType/legacyStream), and 432 attr.mContentType = contentType; 585 * @param contentType the content type values, one of {@link 593 public Builder setContentType(@AttributeContentType int contentType) { argument 594 switch (contentType) { 600 mContentType = contentType;
|
/frameworks/av/media/libmediaplayer2/nuplayer2/ |
H A D | GenericSource2.cpp | 368 String8 contentType; local 382 mHTTPService, uri, &mUriHeaders, &contentType,
|
/frameworks/base/services/usage/java/com/android/server/usage/ |
H A D | UsageStatsService.java | 1089 public void reportChooserSelection(String packageName, int userId, String contentType, argument 1106 event.mContentType = contentType;
|
/frameworks/av/drm/libdrmframework/plugins/forward-lock/internal-format/converter/ |
H A D | FwdLockConv.c | 142 FwdLockConv_String_t contentType; member in struct:FwdLockConv_Session 475 if (pSession->contentType.ptr == NULL) { 504 if (pSession->contentType.ptr == NULL) { 506 pSession->contentType.ptr = malloc(sizeof strTextPlain); 507 if (pSession->contentType.ptr == NULL) { 510 memcpy(pSession->contentType.ptr, strTextPlain, sizeof strTextPlain); 511 pSession->contentType.length = strlenTextPlain; 512 pSession->contentType.maxLength = strlenTextPlain; 530 if (pSession->contentType.ptr == NULL) { 532 } else if (strcmp(pSession->contentType [all...] |