Home
last modified time | relevance | path

Searched refs:setHeader (Results 1 – 25 of 64) sorted by relevance

123

/packages/apps/Dialer/java/com/android/voicemail/impl/mail/internet/
DMimeMessage.java197 setHeader("Date", DATE_FORMAT.format(sentDate)); in setSentDate()
295 setHeader("To", MimeUtility.fold(Address.toHeader(addresses), toLength)); in setRecipients()
303 setHeader("CC", MimeUtility.fold(Address.toHeader(addresses), ccLength)); in setRecipients()
311 setHeader("BCC", MimeUtility.fold(Address.toHeader(addresses), bccLength)); in setRecipients()
328 setHeader("Subject", MimeUtility.foldAndEncode2(subject, headerNameLength)); in setSubject()
347 setHeader("From", MimeUtility.fold(from.toHeader(), fromLength)); in setFrom()
369 setHeader("Reply-to", MimeUtility.fold(Address.toHeader(replyTo), replyToLength)); in setReplyTo()
382 setHeader("Message-ID", messageId); in setMessageId()
418 setHeader(MimeHeader.HEADER_CONTENT_TYPE, multipart.getContentType()); in setBody()
419 setHeader("MIME-Version", "1.0"); in setBody()
[all …]
DMimeBodyPart.java50 setHeader(MimeHeader.HEADER_CONTENT_TYPE, mimeType); in MimeBodyPart()
65 public void setHeader(String name, String value) throws MessagingException { in setHeader() method in MimeBodyPart
66 header.setHeader(name, value); in setHeader()
91 setHeader(MimeHeader.HEADER_CONTENT_TYPE, multipart.getContentType()); in setBody()
98 setHeader(MimeHeader.HEADER_CONTENT_TYPE, contentType); in setBody()
99 setHeader(MimeHeader.HEADER_CONTENT_TRANSFER_ENCODING, "base64"); in setBody()
171 extendedHeader.setHeader(name, END_OF_LINE.matcher(value).replaceAll("")); in setExtendedHeader()
/packages/providers/DownloadProvider/tests/src/com/android/providers/downloads/
DPublicApiFunctionalTest.java148 .setHeader("Content-type", "text/plain") in testExtremelyLarge()
230 .setHeader("Content-length", isFirstResponse ? totalLength : (end - start)) in buildPartialResponse()
231 .setHeader("Etag", ETAG); in buildPartialResponse()
233 response.setHeader( in buildPartialResponse()
246 .setHeader("Content-length", contentLength) in buildContinuingResponse()
247 .setHeader("Etag", ETAG) in buildContinuingResponse()
427 .setHeader("Location", mServer.getUrl("/" + i).toString())); in testRunawayRedirect()
441 buildEmptyResponse(HTTP_UNAVAILABLE).setHeader("Retry-after", RETRY_DELAY)); in testRunawayUnavailable()
465 .setHeader("Content-length", A.length()) in testEtagChanged()
466 .setHeader("Etag", A)); in testEtagChanged()
[all …]
DAbstractDownloadProviderFunctionalTest.java276 .setHeader("Content-type", "text/plain") in buildResponse()
282 .setHeader("Content-type", "text/plain") in buildResponse()
/packages/apps/Bluetooth/src/com/android/bluetooth/avrcpcontroller/bip/
DRequestGetImage.java47 mHeaderSet.setHeader(HeaderSet.TYPE, TYPE); in RequestGetImage()
48 mHeaderSet.setHeader(HEADER_ID_IMG_HANDLE, mImageHandle); in RequestGetImage()
50 mHeaderSet.setHeader(HEADER_ID_IMG_DESCRIPTOR, mImageDescriptor.serialize()); in RequestGetImage()
52 mHeaderSet.setHeader(HEADER_ID_IMG_DESCRIPTOR, null); in RequestGetImage()
DRequestGetImageProperties.java44 mHeaderSet.setHeader(HeaderSet.TYPE, TYPE); in RequestGetImageProperties()
45 mHeaderSet.setHeader(HEADER_ID_IMG_HANDLE, mImageHandle); in RequestGetImageProperties()
/packages/apps/Bluetooth/src/com/android/bluetooth/mapclient/obex/
DRequestGetMessagesListing.java52 mHeaderSet.setHeader(HeaderSet.TYPE, TYPE); in RequestGetMessagesListing()
55 mHeaderSet.setHeader(HeaderSet.NAME, ""); in RequestGetMessagesListing()
57 mHeaderSet.setHeader(HeaderSet.NAME, folderName); in RequestGetMessagesListing()
DRequestSetMessageStatus.java34 mHeaderSet.setHeader(HeaderSet.TYPE, TYPE); in RequestSetMessageStatus()
35 mHeaderSet.setHeader(HeaderSet.NAME, handle); in RequestSetMessageStatus()
DRequestPushMessage.java36 mHeaderSet.setHeader(HeaderSet.TYPE, TYPE); in RequestPushMessage()
40 mHeaderSet.setHeader(HeaderSet.NAME, folder); in RequestPushMessage()
DRequestGetMessage.java47 mHeaderSet.setHeader(HeaderSet.NAME, handle); in RequestGetMessage()
49 mHeaderSet.setHeader(HeaderSet.TYPE, TYPE); in RequestGetMessage()
/packages/apps/Bluetooth/src/com/android/bluetooth/opp/
DBluetoothOppObexClientSession.java286 hs.setHeader(HeaderSet.COUNT, (long) numShares); in connect()
398 request.setHeader(HeaderSet.NAME, fileInfo.mFileName); in sendFile()
399 request.setHeader(HeaderSet.TYPE, fileInfo.mMimetype); in sendFile()
405 request.setHeader(HeaderSet.LENGTH, fileInfo.mLength); in sendFile()
689 request.setHeader(HeaderSet.NAME, newFilename); in applyRemoteDeviceQuirks()
/packages/apps/Bluetooth/src/com/android/bluetooth/pbapclient/
DBluetoothPbapRequestPullPhoneBookSize.java34 mHeaderSet.setHeader(HeaderSet.NAME, pbName); in BluetoothPbapRequestPullPhoneBookSize()
36 mHeaderSet.setHeader(HeaderSet.TYPE, TYPE); in BluetoothPbapRequestPullPhoneBookSize()
DBluetoothPbapRequestPullPhoneBook.java57 mHeaderSet.setHeader(HeaderSet.NAME, pbName); in BluetoothPbapRequestPullPhoneBook()
59 mHeaderSet.setHeader(HeaderSet.TYPE, TYPE); in BluetoothPbapRequestPullPhoneBook()
/packages/apps/Dialer/java/com/android/dialer/calllog/ui/
DNewCallLogAdapter.java222 ((HeaderViewHolder) viewHolder).setHeader(R.string.new_call_log_header_today); in onBindViewHolder()
225 ((HeaderViewHolder) viewHolder).setHeader(R.string.new_call_log_header_yesterday); in onBindViewHolder()
228 ((HeaderViewHolder) viewHolder).setHeader(R.string.new_call_log_header_older); in onBindViewHolder()
DHeaderViewHolder.java33 void setHeader(@StringRes int header) { in setHeader() method in HeaderViewHolder
/packages/apps/Dialer/java/com/android/voicemail/impl/mail/store/
DImapFolder.java575 part.setHeader(MimeHeader.HEADER_CONTENT_TYPE, contentType.toString()); in parseBodyStructure()
630 part.setHeader(MimeHeader.HEADER_CONTENT_DISPOSITION, contentDisposition.toString()); in parseBodyStructure()
638 part.setHeader(MimeHeader.HEADER_CONTENT_TRANSFER_ENCODING, encoding.getString()); in parseBodyStructure()
645 part.setHeader(MimeHeader.HEADER_CONTENT_ID, cid.getString()); in parseBodyStructure()
657 part.setHeader(MimeHeader.HEADER_ANDROID_ATTACHMENT_STORE_DATA, id); in parseBodyStructure()
/packages/apps/Bluetooth/src/com/android/bluetooth/pbap/
DBluetoothPbapObexServer.java251 reply.setHeader(HeaderSet.WHO, uuid); in onConnect()
263 reply.setHeader(HeaderSet.TARGET, remote); in onConnect()
1006 reply.setHeader(HeaderSet.APPLICATION_PARAMETER, ap.getAPPparam()); in handleAppParaForResponse()
1046 reply.setHeader(HeaderSet.APPLICATION_PARAMETER, ap.getAPPparam()); in handleAppParaForResponse()
1064 reply.setHeader(HeaderSet.APPLICATION_PARAMETER, ap.getAPPparam()); in handleAppParaForResponse()
1075 reply.setHeader(HeaderSet.APPLICATION_PARAMETER, ap.getAPPparam()); in handleAppParaForResponse()
1086 reply.setHeader(HeaderSet.APPLICATION_PARAMETER, ap.getAPPparam()); in handleAppParaForResponse()
/packages/apps/Bluetooth/src/com/android/bluetooth/map/
DBluetoothMnsObexClient.java390 hs.setHeader(HeaderSet.TARGET, mnsTarget); in connect()
456 request.setHeader(HeaderSet.TYPE, TYPE_EVENT); in sendEventHandler()
457 request.setHeader(HeaderSet.APPLICATION_PARAMETER, appParams.encodeParams()); in sendEventHandler()
DBluetoothMapObexServer.java367 reply.setHeader(HeaderSet.WHO, uuid); in onConnect()
379 reply.setHeader(HeaderSet.TARGET, remote); in onConnect()
386 reply.setHeader(THREADED_MAIL_HEADER_ID, THREAD_MAIL_KEY); in onConnect()
737 replyHeaders.setHeader(HeaderSet.NAME, handleStr); in pushMessage()
1231 replyHeaders.setHeader(HeaderSet.APPLICATION_PARAMETER, outAppParams.encodeParams()); in sendMessageListingRsp()
1417 replyHeaders.setHeader(HeaderSet.APPLICATION_PARAMETER, outAppParams.encodeParams()); in sendConvoListingRsp()
1537 replyHeaders.setHeader(HeaderSet.APPLICATION_PARAMETER, outAppParams.encodeParams()); in sendFolderListingRsp()
1741 replyHeaders.setHeader(HeaderSet.APPLICATION_PARAMETER, in sendGetMessageRsp()
/packages/apps/PermissionController/src/com/android/packageinstaller/permission/ui/television/
DManagePermissionsFragment.java113 fragment.setHeader(null, null, null, fragment.getString( in bindPermissionUi()
225 fragment.setHeader(null, null, null, in bindPermissionUi()
/packages/apps/Bluetooth/src/com/android/bluetooth/avrcpcontroller/
DAvrcpBipClient.java264 headerSet.setHeader(HeaderSet.TARGET, BLUETOOTH_UUID_AVRCP_COVER_ART); in connect()
301 headerSet.setHeader(HeaderSet.TARGET, BLUETOOTH_UUID_AVRCP_COVER_ART); in refreshObexSession()
/packages/apps/Settings/src/com/android/settings/homepage/contextualcards/slices/
DBluetoothDevicesSlice.java111 return listBuilder.setHeader(new ListBuilder.HeaderBuilder() in getSlice()
122 listBuilder.setHeader(new ListBuilder.HeaderBuilder() in getSlice()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/homepage/contextualcards/slices/
DBluetoothDevicesSlice.java114 return listBuilder.setHeader(new ListBuilder.HeaderBuilder() in getSlice()
125 listBuilder.setHeader(new ListBuilder.HeaderBuilder() in getSlice()
/packages/apps/Dialer/java/com/android/dialer/searchfragment/list/
DHeaderViewHolder.java33 public void setHeader(String header) { in setHeader() method in HeaderViewHolder
/packages/apps/Dialer/java/com/android/dialer/voicemail/listui/
DNewVoicemailAdapter.java416 headerViewHolder.setHeader(R.string.new_voicemail_header_today); in onBindHeaderViewHolder()
418 headerViewHolder.setHeader(R.string.new_voicemail_header_yesterday); in onBindHeaderViewHolder()
420 headerViewHolder.setHeader(R.string.new_voicemail_header_older); in onBindHeaderViewHolder()

123