/packages/apps/Messaging/src/android/support/v7/mms/pdu/ |
D | PduParser.java | 238 PduHeaders headers = new PduHeaders(); in parseHeaders() local 280 headers.setOctet(messageType, headerField); in parseHeaders() 327 headers.setOctet(value, headerField); in parseHeaders() 350 headers.setLongInteger(value, headerField); in parseHeaders() 369 headers.setLongInteger(value, headerField); in parseHeaders() 405 headers.setTextString(value, headerField); in parseHeaders() 434 headers.setEncodedStringValue(value, headerField); in parseHeaders() 473 headers.appendEncodedStringValue(value, headerField); in parseHeaders() 515 headers.setLongInteger(timeValue, headerField); in parseHeaders() 569 headers.setEncodedStringValue(from, PduHeaders.FROM); in parseHeaders() [all …]
|
D | RetrieveConf.java | 42 RetrieveConf(PduHeaders headers) { in RetrieveConf() argument 43 super(headers); in RetrieveConf() 52 RetrieveConf(PduHeaders headers, PduBody body) { in RetrieveConf() argument 53 super(headers, body); in RetrieveConf()
|
D | SendReq.java | 75 SendReq(PduHeaders headers) { in SendReq() argument 76 super(headers); in SendReq() 85 SendReq(PduHeaders headers, PduBody body) { in SendReq() argument 86 super(headers, body); in SendReq()
|
D | AcknowledgeInd.java | 46 AcknowledgeInd(PduHeaders headers) { in AcknowledgeInd() argument 47 super(headers); in AcknowledgeInd()
|
D | SendConf.java | 39 SendConf(PduHeaders headers) { in SendConf() argument 40 super(headers); in SendConf()
|
D | NotifyRespInd.java | 49 NotifyRespInd(PduHeaders headers) { in NotifyRespInd() argument 50 super(headers); in NotifyRespInd()
|
D | GenericPdu.java | 38 GenericPdu(PduHeaders headers) { in GenericPdu() argument 39 mPduHeaders = headers; in GenericPdu()
|
D | DeliveryInd.java | 42 DeliveryInd(PduHeaders headers) { in DeliveryInd() argument 43 super(headers); in DeliveryInd()
|
/packages/apps/Messaging/src/com/android/messaging/mmslib/pdu/ |
D | PduParser.java | 263 PduHeaders headers = new PduHeaders(); in parseHeaders() local 305 headers.setOctet(messageType, headerField); in parseHeaders() 352 headers.setOctet(value, headerField); in parseHeaders() 375 headers.setLongInteger(value, headerField); in parseHeaders() 394 headers.setLongInteger(value, headerField); in parseHeaders() 431 headers.setTextString(value, headerField); in parseHeaders() 461 headers.setEncodedStringValue(value, headerField); in parseHeaders() 499 headers.appendEncodedStringValue(value, headerField); in parseHeaders() 541 headers.setLongInteger(timeValue, headerField); in parseHeaders() 596 headers.setEncodedStringValue(from, PduHeaders.FROM); in parseHeaders() [all …]
|
D | PduPersister.java | 320 final PduHeaders headers, final int mapColumn) { in setEncodedStringValueToHeaders() argument 327 headers.setEncodedStringValue(value, mapColumn); in setEncodedStringValueToHeaders() 333 final PduHeaders headers, final int mapColumn) { in setTextStringToHeaders() argument 336 headers.setTextString(getBytes(s), mapColumn); in setTextStringToHeaders() 342 final PduHeaders headers, final int mapColumn) throws InvalidHeaderValueException { in setOctetToHeaders() argument 345 headers.setOctet(b, mapColumn); in setOctetToHeaders() 351 final PduHeaders headers, final int mapColumn) { in setLongToHeaders() argument 354 headers.setLongInteger(l, mapColumn); in setLongToHeaders() 499 private void loadAddress(final long msgId, final PduHeaders headers) { in loadAddress() argument 513 headers.setEncodedStringValue( in loadAddress() [all …]
|
D | RetrieveConf.java | 44 RetrieveConf(PduHeaders headers) { in RetrieveConf() argument 45 super(headers); in RetrieveConf() 54 RetrieveConf(PduHeaders headers, PduBody body) { in RetrieveConf() argument 55 super(headers, body); in RetrieveConf()
|
D | SendReq.java | 78 SendReq(PduHeaders headers) { in SendReq() argument 79 super(headers); in SendReq() 88 SendReq(PduHeaders headers, PduBody body) { in SendReq() argument 89 super(headers, body); in SendReq()
|
D | AcknowledgeInd.java | 48 AcknowledgeInd(PduHeaders headers) { in AcknowledgeInd() argument 49 super(headers); in AcknowledgeInd()
|
D | SendConf.java | 41 SendConf(PduHeaders headers) { in SendConf() argument 42 super(headers); in SendConf()
|
D | GenericPdu.java | 40 GenericPdu(PduHeaders headers) { in GenericPdu() argument 41 mPduHeaders = headers; in GenericPdu()
|
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/model/ |
D | DisclaimersParam.java | 64 String[] headers = bundle.getStringArray(HEADER_KEY); in createBuilderFromPersistableBundle() local 67 if (headers != null) { in createBuilderFromPersistableBundle() 69 Disclaimer[] disclaimers = new Disclaimer[headers.length]; in createBuilderFromPersistableBundle() 70 for (int i = 0; i < headers.length; i++) { in createBuilderFromPersistableBundle() 71 disclaimers[i] = new Disclaimer(headers[i], contentPaths[i]); in createBuilderFromPersistableBundle() 90 String[] headers = new String[mDisclaimers.length]; in toPersistableBundle() local 93 headers[i] = mDisclaimers[i].mHeader; in toPersistableBundle() 96 bundle.putStringArray(HEADER_KEY, headers); in toPersistableBundle()
|
/packages/apps/Dialer/java/com/android/incallui/calllocation/impl/ |
D | HttpFetcher.java | 58 Context context, String urlString, String requestMethod, List<Pair<String, String>> headers) in sendRequestAsByteArray() argument 73 setMethodAndHeaders(conn, requestMethod, headers); in sendRequestAsByteArray() 120 Context context, String urlString, String requestMethod, List<Pair<String, String>> headers) in sendRequestAsInputStream() argument 133 setMethodAndHeaders(httpUrlConnection, requestMethod, headers); in sendRequestAsInputStream() 165 HttpURLConnection conn, String requestMethod, List<Pair<String, String>> headers) in setMethodAndHeaders() argument 168 if (headers != null) { in setMethodAndHeaders() 169 for (Pair<String, String> pair : headers) { in setMethodAndHeaders() 211 Context context, String urlString, String requestMethod, List<Pair<String, String>> headers) in getRequestAsString() argument 213 final byte[] byteArr = sendRequestAsByteArray(context, urlString, requestMethod, headers); in getRequestAsString()
|
/packages/apps/Dialer/java/com/android/voicemail/impl/transcribe/grpc/ |
D | TranscriptionClientFactory.java | 169 public void start(Listener<RespT> responseListener, Metadata headers) { in interceptCall() 174 headers.put(ANDROID_PACKAGE_HEADER, packageName); in interceptCall() 178 headers.put(ANDROID_CERT_HEADER, cert); in interceptCall() 182 headers.put(API_KEY_HEADER, apiKey); in interceptCall() 186 headers.put(AUTHORIZATION_HEADER, "Bearer " + authToken); in interceptCall() 188 super.start(responseListener, headers); in interceptCall()
|
/packages/providers/DownloadProvider/src/com/android/providers/downloads/ |
D | OpenHelper.java | 109 final Cursor headers = context.getContentResolver() in getRefererUri() local 112 while (headers.moveToNext()) { in getRefererUri() 113 final String header = getCursorString(headers, RequestHeaders.COLUMN_HEADER); in getRefererUri() 115 return getCursorUri(headers, RequestHeaders.COLUMN_VALUE); in getRefererUri() 119 headers.close(); in getRefererUri()
|
/packages/apps/Bluetooth/src/com/android/bluetooth/map/ |
D | BluetoothMapbMessageMime.java | 491 String[] headers = hdrPart.split("\r\n"); in parseMimeHeaders() local 492 if(D) Log.d(TAG,"Header count=" + headers.length); in parseMimeHeaders() 496 for(int i = 0, c = headers.length; i < c; i++) { in parseMimeHeaders() 497 header = headers[i]; in parseMimeHeaders() 511 remaining.append(headers[i]); in parseMimeHeaders() 584 String[] headers = parts[0].split("\r\n"); in parseMimePart() local 585 if(D) Log.d(TAG, "parseMimePart: headers count=" + headers.length); in parseMimePart() 590 for(String header : headers) { in parseMimePart()
|
/packages/providers/DownloadProvider/tests/src/com/android/providers/downloads/ |
D | PublicApiFunctionalTest.java | 200 List<String> headers = takeRequest().getHeaders(); in testInterruptedDownload() local 201 assertTrue("No Range header: " + headers, in testInterruptedDownload() 202 headers.contains("Range: bytes=" + initialLength + "-")); in testInterruptedDownload() 203 assertTrue("No ETag header: " + headers, headers.contains("If-Match: " + ETAG)); in testInterruptedDownload() 376 List<String> headers = takeRequest().getHeaders(); in testRequestHeaders() local 377 assertTrue(headers.contains("Header1: value1")); in testRequestHeaders() 378 assertTrue(headers.contains("Header2: value2")); in testRequestHeaders()
|
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/util/ |
D | JavaNetHttpHelper.java | 127 private HttpURLConnection createConnection(String url, Map<String, String> headers) in createConnection() argument 132 if (headers != null) { in createConnection() 133 for (Map.Entry<String,String> e : headers.entrySet()) { in createConnection()
|
/packages/apps/Dialer/java/com/android/dialer/contactsfragment/ |
D | ContactsAdapter.java | 52 private final String[] headers; field in ContactsAdapter 60 headers = cursor.getExtras().getStringArray(Contacts.EXTRA_ADDRESS_BOOK_INDEX_TITLES); in ContactsAdapter() 173 return headers[index]; in getHeaderString()
|
/packages/apps/UnifiedEmail/src/com/android/emailcommon/internet/ |
D | MimeMessage.java | 487 public void setExtendedHeaders(String headers) throws MessagingException { in setExtendedHeaders() argument 488 if (TextUtils.isEmpty(headers)) { in setExtendedHeaders() 492 for (final String header : END_OF_LINE.split(headers)) { in setExtendedHeaders() 495 throw new MessagingException("Illegal extended headers: " + headers); in setExtendedHeaders()
|
/packages/apps/Dialer/java/com/android/voicemail/impl/mail/internet/ |
D | MimeMessage.java | 497 public void setExtendedHeaders(String headers) throws MessagingException { in setExtendedHeaders() argument 498 if (TextUtils.isEmpty(headers)) { in setExtendedHeaders() 502 for (final String header : END_OF_LINE.split(headers)) { in setExtendedHeaders() 505 throw new MessagingException("Illegal extended headers: " + headers); in setExtendedHeaders()
|