Home
last modified time | relevance | path

Searched refs:ContentType (Results 1 – 25 of 39) sorted by relevance

12

/frameworks/libs/service_entitlement/tests/src/com/android/libraries/entitlement/eapaka/
DEapAkaApiTest.java50 import com.android.libraries.entitlement.http.HttpConstants.ContentType;
152 .setContentType(ContentType.XML) in queryEntitlementStatus_hasAuthenticationToken()
177 .setContentType(ContentType.XML) in queryEntitlementStatus_hasAuthenticationToken_useHttpPost()
211 .setContentType(ContentType.JSON) in queryEntitlementStatus_noAuthenticationToken()
217 .setContentType(ContentType.XML) in queryEntitlementStatus_noAuthenticationToken()
258 .setContentType(ContentType.JSON) in queryEntitlementStatus_noAuthenticationToken_useHttpPost()
264 .setContentType(ContentType.XML) in queryEntitlementStatus_noAuthenticationToken_useHttpPost()
306 .setContentType(ContentType.JSON) in queryEntitlementStatus_noAuthenticationToken_invalidChallenge()
312 .setContentType(ContentType.XML) in queryEntitlementStatus_noAuthenticationToken_invalidChallenge()
348 .setContentType(ContentType.JSON) in queryEntitlementStatus_noAuthenticationToken_secondChallenge()
[all …]
/frameworks/libs/service_entitlement/java/com/android/libraries/entitlement/http/
DHttpClient.java37 import com.android.libraries.entitlement.http.HttpConstants.ContentType;
194 String contentType = connection.getHeaderField(ContentType.NAME); in getContentType()
196 return ContentType.UNKNOWN; in getContentType()
200 return ContentType.XML; in getContentType()
203 return ContentType.XML; in getContentType()
205 return ContentType.JSON; in getContentType()
207 return ContentType.UNKNOWN; in getContentType()
DHttpConstants.java40 public static final class ContentType { class in HttpConstants
41 private ContentType() { in ContentType() method in HttpConstants.ContentType
DHttpResponse.java19 import com.android.libraries.entitlement.http.HttpConstants.ContentType;
80 .setContentType(ContentType.UNKNOWN) in builder()
/frameworks/libs/service_entitlement/java/com/android/libraries/entitlement/odsa/
DCheckEligibilityOperation.java25 import com.android.libraries.entitlement.utils.HttpConstants.ContentType;
285 @ContentType
358 @ContentType int notEnabledContentsType); in setNotEnabledContentsType()
DManageSubscriptionOperation.java28 import com.android.libraries.entitlement.utils.HttpConstants.ContentType;
700 @ContentType
769 @ContentType int contentType); in setSubscriptionServiceContentsType()
/frameworks/libs/service_entitlement/java/com/android/libraries/entitlement/utils/
DHttpConstants.java37 public @interface ContentType {} annotation in HttpConstants
/frameworks/base/telephony/common/com/google/android/mms/pdu/
DPduPersister.java44 import com.google.android.mms.ContentType;
442 if (!ContentType.isImageType(type) in loadParts()
443 && !ContentType.isAudioType(type) in loadParts()
444 && !ContentType.isVideoType(type)) { in loadParts()
451 if (ContentType.TEXT_PLAIN.equals(type) || ContentType.APP_SMIL.equals(type) in loadParts()
452 || ContentType.TEXT_HTML.equals(type)) { in loadParts()
732 if (ContentType.IMAGE_JPG.equals(contentType)) { in persistPart()
733 contentType = ContentType.IMAGE_JPEG; in persistPart()
738 if (ContentType.APP_SMIL.equals(contentType)) { in persistPart()
809 if (ContentType.TEXT_PLAIN.equals(contentType) in persistData()
[all …]
DPduParser.java23 import com.google.android.mms.ContentType;
183 if (ctTypeStr.equals(ContentType.MULTIPART_MIXED) in parse()
184 || ctTypeStr.equals(ContentType.MULTIPART_RELATED) in parse()
185 || ctTypeStr.equals(ContentType.MULTIPART_ALTERNATIVE)) { in parse()
190 } else if (ctTypeStr.equals(ContentType.MULTIPART_ALTERNATIVE)) { in parse()
906 if (partContentType.equalsIgnoreCase(ContentType.MULTIPART_ALTERNATIVE)) { in parseParts()
/frameworks/base/core/java/android/print/
DPrintDocumentInfo.java93 public @interface ContentType { annotation in PrintDocumentInfo
351 public @NonNull Builder setContentType(@ContentType int type) { in setContentType()
/frameworks/native/services/surfaceflinger/DisplayHardware/
DHWComposer.h259 PhysicalDisplayId, std::vector<hal::ContentType>* outSupportedContentTypes) const = 0;
261 bool supportsContentType(PhysicalDisplayId displayId, hal::ContentType type) const { in supportsContentType()
262 std::vector<hal::ContentType> types; in supportsContentType()
267 virtual status_t setContentType(PhysicalDisplayId, hal::ContentType) = 0;
450 std::vector<hal::ContentType>*) const override;
451 status_t setContentType(PhysicalDisplayId, hal::ContentType) override;
DHal.h59 using ContentType = IComposerClient::ContentType; variable
DHWC2.h176 std::vector<hal::ContentType>*) const = 0;
177 [[nodiscard]] virtual hal::Error setContentType(hal::ContentType) = 0;
259 std::vector<hal::ContentType>* outSupportedContentTypes) const override;
260 hal::Error setContentType(hal::ContentType) override;
DHWC2.cpp589 Error Display::getSupportedContentTypes(std::vector<ContentType>* outSupportedContentTypes) const { in getSupportedContentTypes()
590 std::vector<Hwc2::IComposerClient::ContentType> tmpSupportedContentTypes; in getSupportedContentTypes()
592 for (Hwc2::IComposerClient::ContentType contentType : tmpSupportedContentTypes) { in getSupportedContentTypes()
593 outSupportedContentTypes->push_back(static_cast<ContentType>(contentType)); in getSupportedContentTypes()
598 Error Display::setContentType(ContentType contentType) { in setContentType()
DAidlComposerHal.h215 std::vector<IComposerClient::ContentType>* outSupportedContentTypes) override;
217 IComposerClient::ContentType contentType) override;
DComposerHal.h270 std::vector<IComposerClient::ContentType>* outSupportedContentTypes) = 0;
272 IComposerClient::ContentType contentType) = 0;
/frameworks/libs/service_entitlement/tests/src/com/android/libraries/entitlement/http/
DHttpClientTest.java33 import com.android.libraries.entitlement.http.HttpConstants.ContentType;
103 assertThat(httpResponse.contentType()).isEqualTo(ContentType.JSON); in request_contentTypeXml_returnsXmlBody()
168 assertThat(httpResponse.contentType()).isEqualTo(ContentType.JSON); in request_contentTypeXml_returnsXmlBody_useSpecificNetwork()
/frameworks/av/services/oboeservice/fuzzer/
DREADME.md22 11. ContentType
38 | `ContentType` | `AAUDIO_CONTENT_TYPE_SPEECH`, `AAUDIO_CONTENT_TYPE_MUSIC`, `AAUDIO_CO…
/frameworks/base/telephony/common/com/google/android/mms/
DContentType.java25 public class ContentType { class
172 private ContentType() { in ContentType() method in ContentType
/frameworks/native/services/surfaceflinger/CompositionEngine/tests/
DMockHWComposer.h124 (PhysicalDisplayId, std::vector<hal::ContentType>*), (const, override));
125 MOCK_METHOD2(setContentType, status_t(PhysicalDisplayId, hal::ContentType));
/frameworks/base/media/java/android/media/metrics/
DPlaybackMetrics.java149 public @interface ContentType {} annotation in PlaybackMetrics
260 @ContentType
572 public @NonNull Builder setContentType(@ContentType int value) { in setContentType()
/frameworks/libs/service_entitlement/java/com/android/libraries/entitlement/
DTs43Operation.java329 int notEnabledContentsType = HttpConstants.ContentType.UNKNOWN; in checkEligibility()
333 notEnabledContentsType = HttpConstants.ContentType.XML; in checkEligibility()
336 notEnabledContentsType = HttpConstants.ContentType.JSON; in checkEligibility()
484 int contentsType = HttpConstants.ContentType.UNKNOWN; in manageSubscription()
487 contentsType = HttpConstants.ContentType.XML; in manageSubscription()
490 contentsType = HttpConstants.ContentType.JSON; in manageSubscription()
/frameworks/base/core/proto/android/media/
Daudioattributes.proto31 optional ContentType content_type = 2;
37 enum ContentType { enum
/frameworks/native/services/surfaceflinger/tests/unittests/mock/DisplayHardware/
DMockHWC2.h94 MOCK_METHOD(hal::Error, getSupportedContentTypes, (std::vector<hal::ContentType> *),
96 MOCK_METHOD(hal::Error, setContentType, (hal::ContentType), (override));
DMockComposer.h158 V2_4::Error(Display, std::vector<IComposerClient::ContentType>*));
159 MOCK_METHOD2(setContentType, V2_4::Error(Display, IComposerClient::ContentType));

12