Home
last modified time | relevance | path

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

12

/packages/apps/Bluetooth/src/com/android/bluetooth/opp/
DConstants.java317 Log.v(TAG, "COUNT : " + hs.getHeader(HeaderSet.COUNT)); in logHeader()
318 Log.v(TAG, "NAME : " + hs.getHeader(HeaderSet.NAME)); in logHeader()
319 Log.v(TAG, "TYPE : " + hs.getHeader(HeaderSet.TYPE)); in logHeader()
320 Log.v(TAG, "LENGTH : " + hs.getHeader(HeaderSet.LENGTH)); in logHeader()
321 Log.v(TAG, "TIME_ISO_8601 : " + hs.getHeader(HeaderSet.TIME_ISO_8601)); in logHeader()
322 Log.v(TAG, "TIME_4_BYTE : " + hs.getHeader(HeaderSet.TIME_4_BYTE)); in logHeader()
323 Log.v(TAG, "DESCRIPTION : " + hs.getHeader(HeaderSet.DESCRIPTION)); in logHeader()
324 Log.v(TAG, "TARGET : " + hs.getHeader(HeaderSet.TARGET)); in logHeader()
325 Log.v(TAG, "HTTP : " + hs.getHeader(HeaderSet.HTTP)); in logHeader()
326 Log.v(TAG, "WHO : " + hs.getHeader(HeaderSet.WHO)); in logHeader()
[all …]
DBluetoothOppObexServerSession.java197 name = (String)request.getHeader(HeaderSet.NAME); in onPut()
198 length = (Long)request.getHeader(HeaderSet.LENGTH); in onPut()
199 mimeType = (String)request.getHeader(HeaderSet.TYPE); in onPut()
549 byte[] uuid = (byte[])request.getHeader(HeaderSet.TARGET); in onConnect()
555 objectCount = (Long) request.getHeader(HeaderSet.COUNT); in onConnect()
DTestActivity.java505 + op.getReceivedHeader().getHeader(HeaderSet.NAME) + " type " + op.getType()); in onPut()
507 File f = new File((String)op.getReceivedHeader().getHeader(HeaderSet.NAME)); in onPut()
/packages/apps/Email/tests/src/com/android/email/mail/store/
DImapStoreUnitTests.java794 assertEquals("android.test01@android.com", message.getHeader("to")[0]); in testFetchFlagEnvelope()
795 assertEquals("Xxxxxx Yyyyy <userxx@android.com>", message.getHeader("from")[0]); in testFetchFlagEnvelope()
797 message.getHeader("Content-Type")[0]); in testFetchFlagEnvelope()
825 message.getHeader("Content-Type") in testFetchBodyStructureSimple()
827 assertNull(message.getHeader("Content-Transfer-Encoding")); in testFetchBodyStructureSimple()
828 assertNull(message.getHeader("Content-ID")); in testFetchBodyStructureSimple()
831 message.getHeader("Content-Disposition") in testFetchBodyStructureSimple()
836 message.getHeader("X-Android-Attachment-StoreData") in testFetchBodyStructureSimple()
893 part1.getHeader("X-Android-Attachment-StoreData") in testFetchBodyStructureMultipart()
897 part2.getHeader("X-Android-Attachment-StoreData") in testFetchBodyStructureMultipart()
[all …]
/packages/apps/Bluetooth/src/com/android/bluetooth/pbap/
DBluetoothPbapObexServer.java186 byte[] uuid = (byte[])request.getHeader(HeaderSet.TARGET); in onConnect()
209 byte[] remote = (byte[])request.getHeader(HeaderSet.WHO); in onConnect()
274 tmp_path = (String)request.getHeader(HeaderSet.NAME); in onSetPath()
331 type = (String)request.getHeader(HeaderSet.TYPE); in onGet()
332 name = (String)request.getHeader(HeaderSet.NAME); in onGet()
333 appParam = (byte[])request.getHeader(HeaderSet.APPLICATION_PARAMETER); in onGet()
1113 Log.v(TAG, "COUNT : " + hs.getHeader(HeaderSet.COUNT)); in logHeader()
1114 Log.v(TAG, "NAME : " + hs.getHeader(HeaderSet.NAME)); in logHeader()
1115 Log.v(TAG, "TYPE : " + hs.getHeader(HeaderSet.TYPE)); in logHeader()
1116 Log.v(TAG, "LENGTH : " + hs.getHeader(HeaderSet.LENGTH)); in logHeader()
[all …]
/packages/apps/Bluetooth/src/com/android/bluetooth/map/
DBluetoothMapObexServer.java313 byte[] uuid = (byte[])request.getHeader(HeaderSet.TARGET); in onConnect()
314 threadedMailKey = (Long)request.getHeader(THREADED_MAIL_HEADER_ID); in onConnect()
337 byte[] remote = (byte[])request.getHeader(HeaderSet.WHO); in onConnect()
413 type = (String)request.getHeader(HeaderSet.TYPE); in onPut()
414 name = (String)request.getHeader(HeaderSet.NAME); in onPut()
415 appParamRaw = (byte[])request.getHeader(HeaderSet.APPLICATION_PARAMETER); in onPut()
774 folderName = (String)request.getHeader(HeaderSet.NAME); in onSetPath()
839 type = (String)request.getHeader(HeaderSet.TYPE); in onGet()
841 appParamRaw = (byte[])request.getHeader(HeaderSet.APPLICATION_PARAMETER); in onGet()
862 name = (String)request.getHeader(HeaderSet.NAME); in onGet()
[all …]
/packages/apps/UnifiedEmail/src/org/apache/james/mime4j/message/
DEntity.java65 public Header getHeader() { in getHeader() method in Entity
106 (ContentTypeField) getHeader().getField(Field.CONTENT_TYPE); in getMimeType()
108 ? (ContentTypeField) getParent().getHeader(). in getMimeType()
122 (ContentTypeField) getHeader().getField(Field.CONTENT_TYPE)); in getCharset()
132 getHeader().getField(Field.CONTENT_TRANSFER_ENCODING); in getContentTransferEncoding()
158 (ContentTypeField) getHeader().getField(Field.CONTENT_TYPE); in isMultipart()
DMultipart.java193 ContentTypeField cField = (ContentTypeField) e.getHeader().getField( in getBoundary()
200 … String charString = ((ContentTypeField) e.getHeader().getField(Field.CONTENT_TYPE)).getCharset(); in getCharset()
DMessage.java78 return (UnstructuredField) getHeader().getField(Field.SUBJECT); in getSubject()
87 getHeader().writeTo(out); in writeTo()
DBodyPart.java39 getHeader().writeTo(out); in writeTo()
/packages/apps/Email/tests/src/com/android/emailcommon/internet/
DRfc822OutputTests.java172 Header header = mimeMessage.getHeader(); in testWriteToAlternativePart()
182 header = part.getHeader(); in testWriteToAlternativePart()
216 Header header = mimeMessage.getHeader(); in testWriteToMixedPart()
226 header = part.getHeader(); in testWriteToMixedPart()
295 Header header = mimeMessage.getHeader(); in checkMimeVersion()
DMimeMessageTest.java95 String[] headers = message.getHeader("Date"); in doTestSetSentDate()
244 String[] from = message.getHeader("From"); in testEncodingAddressField()
245 String[] to = message.getHeader("To"); in testEncodingAddressField()
246 String[] cc = message.getHeader("Cc"); in testEncodingAddressField()
247 String[] replyTo = message.getHeader("Reply-to"); in testEncodingAddressField()
/packages/apps/Bluetooth/tests/src/com/android/bluetooth/tests/
DObexTestServer.java41 index = ((Long)request.getHeader(TestSequencer.STEP_INDEX_HEADER)).intValue(); in onConnect()
59 index = ((Long)request.getHeader(TestSequencer.STEP_INDEX_HEADER)).intValue(); in onDisconnect()
90 int index = ((Long)reqHeaders.getHeader(TestSequencer.STEP_INDEX_HEADER)).intValue(); in onPut()
122 int index = ((Long)reqHeaders.getHeader(TestSequencer.STEP_INDEX_HEADER)).intValue(); in onGet()
DMapObexTestServer.java85 index = ((Long)request.getHeader(TestSequencer.STEP_INDEX_HEADER)).intValue(); in onConnect()
108 index = ((Long)request.getHeader(TestSequencer.STEP_INDEX_HEADER)).intValue(); in onDisconnect()
137 int index = ((Long)reqHeaders.getHeader(TestSequencer.STEP_INDEX_HEADER)).intValue(); in onPut()
164 int index = ((Long)reqHeaders.getHeader(TestSequencer.STEP_INDEX_HEADER)).intValue(); in onGet()
DSdpManagerTestServer.java63 index = ((Long)request.getHeader(TestSequencer.STEP_INDEX_HEADER)).intValue(); in onConnect()
79 index = ((Long)request.getHeader(TestSequencer.STEP_INDEX_HEADER)).intValue(); in onDisconnect()
121 int index = ((Long)reqHeaders.getHeader(TestSequencer.STEP_INDEX_HEADER)).intValue(); in onGet()
124 int count = ((Long)reqHeaders.getHeader(HeaderSet.COUNT)).intValue(); in onGet()
125 String name = (String)reqHeaders.getHeader(HeaderSet.NAME); in onGet()
DMapObexLevelTest.java260 byte[] who = (byte[])response.getHeader(HeaderSet.WHO); in validate()
263 Assert.assertNotNull(response.getHeader(HeaderSet.CONNECTION_ID)); in validate()
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/utils/
DBinaryDictionaryUtils.java49 public static DictionaryHeader getHeader(final File dictFile) in getHeader() method in BinaryDictionaryUtils
61 final DictionaryHeader header = binaryDictionary.getHeader(); in getHeaderWithOffsetAndLength()
/packages/services/Telephony/src/com/android/phone/common/mail/internet/
DMimeHeader.java57 String[] header = getHeader(name); in getFirstHeader()
76 public String[] getHeader(String name) throws MessagingException { in getHeader() method in MimeHeader
DMimeBodyPart.java73 public String[] getHeader(String name) throws MessagingException { in getHeader() method in MimeBodyPart
74 return mHeader.getHeader(name); in getHeader()
DMimeMessage.java430 public String[] getHeader(String name) throws MessagingException { in getHeader() method in MimeMessage
431 return getMimeHeaders().getHeader(name); in getHeader()
/packages/apps/UnifiedEmail/src/com/android/emailcommon/internet/
DMimeHeader.java58 String[] header = getHeader(name); in getFirstHeader()
77 public String[] getHeader(String name) throws MessagingException { in getHeader() method in MimeHeader
DMimeBodyPart.java74 public String[] getHeader(String name) throws MessagingException { in getHeader() method in MimeBodyPart
75 return mHeader.getHeader(name); in getHeader()
DMimeMessage.java431 public String[] getHeader(String name) throws MessagingException { in getHeader() method in MimeMessage
432 return getMimeHeaders().getHeader(name); in getHeader()
/packages/apps/Contacts/src/com/android/contacts/quickcontact/
DExpandingEntryCardView.java157 String getHeader() { in getHeader() method in ExpandingEntryCardView.Entry
703 if (!TextUtils.isEmpty(entry.getHeader())) { in createEntryView()
704 header.setText(entry.getHeader()); in createEntryView()
/packages/services/Telephony/src/com/android/phone/common/mail/store/
DImapFolder.java319 fetchPart.getHeader(MimeHeader.HEADER_ANDROID_ATTACHMENT_STORE_DATA); in fetchInternal()
402 String encodings[] = fetchPart.getHeader( in fetchInternal()

12