/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 | GenericPdu.java | 38 GenericPdu(PduHeaders headers) { in GenericPdu() argument 39 mPduHeaders = headers; in GenericPdu()
|
D | NotifyRespInd.java | 49 NotifyRespInd(PduHeaders headers) { in NotifyRespInd() argument 50 super(headers); in NotifyRespInd()
|
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/UniversalMediaPlayer/java/com/android/pump/util/ |
D | Http.java | 55 public static @NonNull byte[] post(@NonNull String uri, @NonNull Headers headers) in post() argument 57 return post(uri, headers, EMPTY_DATA); in post() 67 public @NonNull static byte[] post(@NonNull String uri, @NonNull Headers headers, in post() argument 69 return getOrPost(uri, headers, data); in post() 78 public static @NonNull byte[] get(@NonNull String uri, @NonNull Headers headers) in get() argument 80 return getOrPost(uri, headers, null); in get() 83 private static byte[] getOrPost(String uri, Headers headers, byte[] data) throws IOException { in getOrPost() argument 89 return getOrPost(url, headers, data); in getOrPost() 120 private static byte[] getOrPost(URL url, Headers headers, byte[] data) throws IOException { in getOrPost() argument 128 headers.apply(connection); in getOrPost() [all …]
|
/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 | 57 Context context, String urlString, String requestMethod, List<Pair<String, String>> headers) in sendRequestAsByteArray() argument 72 setMethodAndHeaders(conn, requestMethod, headers); in sendRequestAsByteArray() 119 Context context, String urlString, String requestMethod, List<Pair<String, String>> headers) in sendRequestAsInputStream() argument 132 setMethodAndHeaders(httpUrlConnection, requestMethod, headers); in sendRequestAsInputStream() 164 HttpURLConnection conn, String requestMethod, List<Pair<String, String>> headers) in setMethodAndHeaders() argument 167 if (headers != null) { in setMethodAndHeaders() 168 for (Pair<String, String> pair : headers) { in setMethodAndHeaders() 210 Context context, String urlString, String requestMethod, List<Pair<String, String>> headers) in getRequestAsString() argument 212 final byte[] byteArr = sendRequestAsByteArray(context, urlString, requestMethod, headers); in getRequestAsString()
|
/packages/apps/Dialer/java/com/android/voicemail/impl/transcribe/grpc/ |
D | TranscriptionClientFactory.java | 171 public void start(Listener<RespT> responseListener, Metadata headers) { in interceptCall() 176 headers.put(ANDROID_PACKAGE_HEADER, packageName); in interceptCall() 180 headers.put(ANDROID_CERT_HEADER, cert); in interceptCall() 184 headers.put(API_KEY_HEADER, apiKey); in interceptCall() 188 headers.put(AUTHORIZATION_HEADER, "Bearer " + authToken); in interceptCall() 190 super.start(responseListener, headers); in interceptCall()
|
/packages/providers/DownloadProvider/src/com/android/providers/downloads/ |
D | OpenHelper.java | 151 final Cursor headers = context.getContentResolver() in getRefererUri() local 154 while (headers.moveToNext()) { in getRefererUri() 155 final String header = getCursorString(headers, RequestHeaders.COLUMN_HEADER); in getRefererUri() 157 return getCursorUri(headers, RequestHeaders.COLUMN_VALUE); in getRefererUri() 161 headers.close(); in getRefererUri()
|
/packages/apps/Bluetooth/src/com/android/bluetooth/map/ |
D | BluetoothMapbMessageMime.java | 552 String[] headers = hdrPart.split("\r\n"); in parseMimeHeaders() local 554 Log.d(TAG, "Header count=" + headers.length); in parseMimeHeaders() 559 for (int i = 0, c = headers.length; i < c; i++) { in parseMimeHeaders() 560 header = headers[i]; in parseMimeHeaders() 577 remaining.append(headers[i]); in parseMimeHeaders() 655 String[] headers = parts[0].split("\r\n"); in parseMimePart() local 657 Log.d(TAG, "parseMimePart: headers count=" + headers.length); in parseMimePart() 663 for (String header : headers) { in parseMimePart()
|
/packages/providers/DownloadProvider/tests/src/com/android/providers/downloads/ |
D | PublicApiFunctionalTest.java | 203 List<String> headers = takeRequest().getHeaders(); in testInterruptedDownload() local 204 assertTrue("No Range header: " + headers, in testInterruptedDownload() 205 headers.contains("Range: bytes=" + initialLength + "-")); in testInterruptedDownload() 206 assertTrue("No ETag header: " + headers, headers.contains("If-Match: " + ETAG)); in testInterruptedDownload() 379 List<String> headers = takeRequest().getHeaders(); in testRequestHeaders() local 380 assertTrue(headers.contains("Header1: value1")); in testRequestHeaders() 381 assertTrue(headers.contains("Header2: value2")); in testRequestHeaders()
|
/packages/apps/Dialer/java/com/android/dialer/app/settings/ |
D | DialerSettingsActivity.java | 55 private List<Header> headers; field in DialerSettingsActivity 67 if (headerToOpen != null && headers != null) { in onCreate() 68 for (Header header : headers) { in onCreate() 94 headers = target; in onBuildHeaders()
|
/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 | 56 private String[] headers = new String[0]; field in ContactsAdapter 71 headers = cursor.getExtras().getStringArray(Contacts.EXTRA_ADDRESS_BOOK_INDEX_TITLES); in updateCursor() 218 return headers[index]; in getHeaderString()
|