Home
last modified time | relevance | path

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

123

/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/entitlement/http/
DHttpClientTest.java114 .setContentType(CONTENT_TYPE_STRING_JSON) in request_contentTypeXml_returnsXmlBody()
145 .setContentType(CONTENT_TYPE_STRING_JSON) in request_httpGetResponseBadRequest_throwsException()
176 .setContentType(CONTENT_TYPE_STRING_JSON) in request_contentTypeXml_returnsXmlBody_useSpecificNetwork()
216 .setContentType(CONTENT_TYPE_STRING_JSON) in request_postJson_doNotEscapeForwardSlash()
240 .setContentType(CONTENT_TYPE_STRING_JSON) in request_postGzipJsonArray()
265 .setContentType(CONTENT_TYPE_STRING_JSON) in request_postJsonArray()
293 .setContentType(CONTENT_TYPE_STRING_JSON) in request_postGzipJsonArray_response_gunzipJsonArray()
317 .setContentType(CONTENT_TYPE_STRING_JSON) in request_getResponseCodeFailed_expectThrowsException()
343 .setContentType(CONTENT_TYPE_STRING_JSON) in request_getResponseBodyFailed_expectThrowsException()
DFakeURLStreamHandler.java197 .setContentType("") in builder()
213 public abstract Builder setContentType(String contentType); in setContentType() method in FakeURLStreamHandler.FakeResponse.Builder
/packages/apps/Messaging/src/android/support/v7/mms/pdu/
DSendReq.java33 setContentType("application/vnd.wap.multipart.related".getBytes()); in SendReq()
64 setContentType(contentType); in SendReq()
162 public void setContentType(byte[] value) { in setContentType() method in SendReq
DRetrieveConf.java90 public void setContentType(byte[] value) { in setContentType() method in RetrieveConf
/packages/apps/Messaging/src/com/android/messaging/mmslib/pdu/
DSendReq.java35 setContentType("application/vnd.wap.multipart.related".getBytes()); in SendReq()
67 setContentType(contentType); in SendReq()
165 public void setContentType(byte[] value) { in setContentType() method in SendReq
DRetrieveConf.java92 public void setContentType(byte[] value) { in setContentType() method in RetrieveConf
DPduPart.java282 public void setContentType(final byte[] contentType) { in setContentType() method in PduPart
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/audio/
DCoreAudioRoutingUtils.java55 .setContentType(AudioAttributes.CONTENT_TYPE_MUSIC)
59 .setContentType(AudioAttributes.CONTENT_TYPE_MOVIE)
71 .setContentType(AudioAttributes.CONTENT_TYPE_SPEECH)
100 .setContentType(AudioAttributes.CONTENT_TYPE_MUSIC)
106 .setContentType(AudioAttributes.CONTENT_TYPE_SPEECH)
/packages/modules/Wifi/service/java/com/android/server/wifi/entitlement/http/
DHttpResponse.java67 public abstract Builder setContentType(int contentType); in setContentType() method in HttpResponse.Builder
95 .setContentType(ContentType.UNKNOWN) in builder()
/packages/services/Car/tests/carservice_test/src/com/android/car/audio/
DCoreAudioRoutingUtils.java42 .setContentType(AudioAttributes.CONTENT_TYPE_MUSIC)
56 .setContentType(AudioAttributes.CONTENT_TYPE_SPEECH)
86 .setContentType(AudioAttributes.CONTENT_TYPE_MUSIC)
92 .setContentType(AudioAttributes.CONTENT_TYPE_SPEECH)
/packages/services/Telephony/testapps/TestRcsApp/aosp_test_rcsclient/src/com/android/libraries/rcs/simpleclient/protocol/cpim/
DSimpleCpimMessage.java102 builder.setContentType(headerMatcher.group(2)); in parse()
121 public abstract Builder setContentType(String value); in setContentType() method in SimpleCpimMessage.Builder
DCpimUtils.java42 .setContentType("text/plain") in createForText()
/packages/apps/Camera2/src/com/android/camera/
DSoundPlayer.java47 .setContentType(AudioAttributes.CONTENT_TYPE_SONIFICATION) in SoundPlayer()
/packages/apps/TV/tests/robotests/src/com/android/tv/search/
DFakeSearchInterface.java54 result.setContentType(Programs.CONTENT_ITEM_TYPE); in fromProgram()
/packages/apps/DeskClock/src/com/android/deskclock/timer/
DTimerKlaxon.kt81 .setContentType(AudioAttributes.CONTENT_TYPE_SONIFICATION) in vibrateLOrLater()
/packages/apps/TV/src/com/android/tv/search/
DDataManagerSearch.java253 result.setContentType(Programs.CONTENT_ITEM_TYPE); in addResult()
268 result.setContentType(Programs.CONTENT_ITEM_TYPE); in addResult()
/packages/apps/DeskClock/src/com/android/deskclock/alarms/
DAlarmKlaxon.kt79 .setContentType(AudioAttributes.CONTENT_TYPE_SONIFICATION) in vibrateLOrLater()
/packages/services/Telephony/src/com/android/services/telephony/
DEmergencyTonePlayer.java47 .setContentType(AudioAttributes.CONTENT_TYPE_SPEECH)
/packages/apps/EmergencyInfo/EmergencyGestureAction/src/com/android/emergency/action/sensoryfeedback/
DEmergencyActionAlarmHelper.java65 .setContentType(AudioAttributes.CONTENT_TYPE_SONIFICATION) in playWarningSound()
/packages/apps/DeskClock/src/com/android/deskclock/
DAsyncRingtonePlayer.kt292 .setContentType(AudioAttributes.CONTENT_TYPE_SONIFICATION) in <lambda>()
487 .setContentType(AudioAttributes.CONTENT_TYPE_SONIFICATION) in <lambda>()
/packages/apps/TV/src/com/android/tv/audio/
DAudioManagerHelper.java50 .setContentType(AudioAttributes.CONTENT_TYPE_MOVIE) in AudioManagerHelper()
/packages/apps/UniversalMediaPlayer/java/com/android/pump/activity/
DVideoPlayerActivity.java75 .setContentType(AudioAttributesCompat.CONTENT_TYPE_MOVIE).build(); in onCreate()
/packages/modules/AdServices/sdksandbox/tests/manual-test-apps/SdkSandboxClient/src/com/android/sdksandboxclient/
DAppVideoView.java158 .setContentType(C.AUDIO_CONTENT_TYPE_MOVIE) in initializePlayer()
/packages/services/Telecomm/src/com/android/server/telecom/
DHeadsetMediaButton.java43 .setContentType(AudioAttributes.CONTENT_TYPE_SPEECH)
/packages/apps/Launcher3/src/com/android/launcher3/util/
DVibratorWrapper.java47 .setContentType(AudioAttributes.CONTENT_TYPE_SONIFICATION)

123