Home
last modified time | relevance | path

Searched refs:setContentType (Results 1 – 25 of 74) sorted by relevance

123

/frameworks/libs/service_entitlement/tests/src/com/android/libraries/entitlement/eapaka/
DEapAkaApiTest.java152 .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()
354 .setContentType(ContentType.XML) in queryEntitlementStatus_noAuthenticationToken_secondChallenge()
[all …]
/frameworks/libs/service_entitlement/tests/src/com/android/libraries/entitlement/http/
DHttpClientTest.java84 .setContentType(CONTENT_TYPE_STRING_JSON) in request_contentTypeXml_returnsXmlBody()
115 .setContentType(CONTENT_TYPE_STRING_JSON) in request_httpGetResponseBadRequest_throwsException()
146 .setContentType(CONTENT_TYPE_STRING_JSON) in request_contentTypeXml_returnsXmlBody_useSpecificNetwork()
186 .setContentType(CONTENT_TYPE_STRING_JSON) in request_postJson_doNotEscapeForwardSlash()
207 .setContentType(CONTENT_TYPE_STRING_JSON) in request_getResponseCodeFailed_expectThrowsException()
233 .setContentType(CONTENT_TYPE_STRING_JSON) in request_getResponseBodyFailed_expectThrowsException()
256 .setContentType(CONTENT_TYPE_STRING_JSON) in history()
/frameworks/libs/service_entitlement/java/com/android/libraries/entitlement/http/
DHttpResponse.java59 public abstract Builder setContentType(int contentType); in setContentType() method in HttpResponse.Builder
80 .setContentType(ContentType.UNKNOWN) in builder()
DHttpClient.java157 responseBuilder.setContentType(getContentType(connection)); in getHttpResponse()
/frameworks/base/telephony/common/com/google/android/mms/pdu/
DSendReq.java38 setContentType("application/vnd.wap.multipart.related".getBytes()); in SendReq()
69 setContentType(contentType); in SendReq()
176 public void setContentType(byte[] value) { in setContentType() method in SendReq
DRetrieveConf.java100 public void setContentType(byte[] value) { in setContentType() method in RetrieveConf
DPduPart.java324 public void setContentType(byte[] contentType) { in setContentType() method in PduPart
/frameworks/libs/service_entitlement/tests/utils/com/android/libraries/entitlement/testing/
DFakeURLStreamHandler.java191 .setContentType("") in builder()
206 public abstract Builder setContentType(String contentType); in setContentType() method in FakeURLStreamHandler.FakeResponse.Builder
/frameworks/base/packages/SystemUI/src/com/android/systemui/screenshot/
DScreenshotSoundProvider.kt52 .setContentType(AudioAttributes.CONTENT_TYPE_SONIFICATION) in getScreenshotSound()
/frameworks/base/core/tests/vibrator/src/android/os/
DExternalVibrationTest.java37 .setContentType(AudioAttributes.CONTENT_TYPE_SONIFICATION) in testSerialization()
/frameworks/base/packages/SystemUI/src/com/android/systemui/biometrics/
DUdfpsHapticsSimulator.kt40 .setContentType(AudioAttributes.CONTENT_TYPE_SONIFICATION)
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/template/
DAudioTestHarnessTemplateAndroidTest.java92 .setContentType(AudioAttributes.CONTENT_TYPE_MUSIC) in playAudioFile()
/frameworks/base/core/java/com/android/internal/notification/
DSystemNotificationChannels.java182 .setContentType(AudioAttributes.CONTENT_TYPE_SONIFICATION) in createAll()
191 .setContentType(AudioAttributes.CONTENT_TYPE_SONIFICATION) in createAll()
/frameworks/base/media/java/android/media/musicrecognition/
DRecognitionRequest.java89 .setContentType(CONTENT_TYPE_MUSIC)
/frameworks/av/media/libaaudio/src/core/
DAAudioStreamParameters.h96 void setContentType(aaudio_content_type_t contentType) { in setContentType() function
/frameworks/av/media/libaaudio/examples/utils/
DAAudioArgsParser.h184 void setContentType(aaudio_content_type_t contentType) { in setContentType() function
376 setContentType(atoi(&arg[2])); in parseArg()
/frameworks/base/media/java/android/media/
DMediaActionSound.java153 .setContentType(AudioAttributes.CONTENT_TYPE_SONIFICATION) in MediaActionSound()
/frameworks/base/packages/SystemUI/src/com/android/systemui/util/
DNotificationChannels.java64 .setContentType(AudioAttributes.CONTENT_TYPE_SONIFICATION) in createAll()
/frameworks/av/media/libaaudio/src/binding/
DAAudioStreamConfiguration.cpp52 setContentType(parcelable.contentType); in AAudioStreamConfiguration()
/frameworks/base/core/java/android/os/
DExternalVibration.java91 .setContentType(contentType) in readAudioAttributes()
/frameworks/base/core/java/android/print/
DPrintDocumentInfo.java351 public @NonNull Builder setContentType(@ContentType int type) { in setContentType() method in PrintDocumentInfo.Builder
/frameworks/base/services/tests/servicestests/src/com/android/server/audio/
DFadeOutManagerTest.java62 new AudioAttributes.Builder().setContentType(CONTENT_TYPE_SPEECH).build();
DFadeConfigurationsTest.java92 new AudioAttributes.Builder().setContentType(CONTENT_TYPE_SPEECH).build();
/frameworks/native/services/surfaceflinger/CompositionEngine/tests/
DMockHWComposer.h125 MOCK_METHOD2(setContentType, status_t(PhysicalDisplayId, hal::ContentType));
/frameworks/native/services/surfaceflinger/DisplayHardware/
DHWComposer.h267 virtual status_t setContentType(PhysicalDisplayId, hal::ContentType) = 0;
451 status_t setContentType(PhysicalDisplayId, hal::ContentType) override;

123