Home
last modified time | relevance | path

Searched defs:headers (Results 1 – 25 of 82) sorted by relevance

1234

/packages/apps/UniversalMediaPlayer/java/com/android/pump/util/
DHttp.java55 public static @NonNull byte[] post(@NonNull String uri, @NonNull Headers headers) in post()
67 public @NonNull static byte[] post(@NonNull String uri, @NonNull Headers headers, in post()
78 public static @NonNull byte[] get(@NonNull String uri, @NonNull Headers headers) in get()
83 private static byte[] getOrPost(String uri, Headers headers, byte[] data) throws IOException { in getOrPost()
120 private static byte[] getOrPost(URL url, Headers headers, byte[] data) throws IOException { in getOrPost()
236 public Builder(@NonNull Headers headers) { in Builder()
266 Map<String, List<String>> headers = new TreeMap<>(FIELD_NAME_COMPARATOR); in build() local
294 private HttpError(int code, String message, Headers headers) { in HttpError()
298 private HttpError(int code, String message, Headers headers, byte[] body) { in HttpError()
/packages/modules/OnDevicePersonalization/tests/federatedcomputetests/src/com/android/federatedcompute/services/encryption/
DFederatedComputeKeyFetchManagerTest.java116 Map<String, List<String>> headers = new HashMap<>(); in testGetTTL_fullInfo() local
127 Map<String, List<String>> headers = new HashMap<>(); in testGetTTL_noCache() local
137 Map<String, List<String>> headers = new HashMap<>(); in testGetTTL_noAge() local
147 Map<String, List<String>> headers = Collections.EMPTY_MAP; in testGetTTL_empty() local
156 Map<String, List<String>> headers = new HashMap<>(); in testGetTTL_failedParse() local
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/measurement/registration/
DAsyncRedirects.java64 Map<String, List<String>> headers, Flags flags, AsyncRegistration parentRegistration) { in configure()
92 Map<String, List<String>> headers, Flags flags, AsyncRegistration parentRegistration) { in shouldRedirect302ToWellKnown()
106 private static boolean isRedirect302ToWellKnownPath(Map<String, List<String>> headers) { in isRedirect302ToWellKnownPath()
DFetcherUtil.java61 @NonNull Map<String, List<String>> headers) { in parseRedirects()
405 private static List<Uri> parseListRedirects(Map<String, List<String>> headers) { in parseListRedirects()
417 private static List<Uri> parseLocationRedirects(Map<String, List<String>> headers) { in parseLocationRedirects()
430 public static long calculateHeadersCharactersLength(Map<String, List<String>> headers) { in calculateHeadersCharactersLength()
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/adselection/
DDataVersionFetcher.java66 JSONObject headers; in getBuyerDataVersion() local
92 public static int getSellerDataVersion(@NonNull Map<String, List<String>> headers) in getSellerDataVersion()
DTrustedBiddingResponse.java41 public abstract Builder setHeaders(@NonNull JSONObject headers); in setHeaders()
/packages/apps/Dialer/java/com/android/incallui/calllocation/impl/
DHttpFetcher.java57 Context context, String urlString, String requestMethod, List<Pair<String, String>> headers) in sendRequestAsByteArray() argument
119 Context context, String urlString, String requestMethod, List<Pair<String, String>> headers) in sendRequestAsInputStream() argument
164 HttpURLConnection conn, String requestMethod, List<Pair<String, String>> headers) in setMethodAndHeaders() argument
210 Context context, String urlString, String requestMethod, List<Pair<String, String>> headers) in getRequestAsString() argument
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/measurement/aggregation/
DAggregateEncryptionKeyFetcher.java68 private static long getMaxAgeInSeconds(@NonNull Map<String, List<String>> headers) { in getMaxAgeInSeconds()
122 @NonNull Map<String, List<String>> headers, in parseResponse()
186 Map<String, List<String>> headers = urlConnection.getHeaderFields(); in fetch() local
/packages/modules/OnDevicePersonalization/tests/federatedcomputetests/src/com/android/federatedcompute/services/security/
DAuthorizationContextTest.java132 Map<String, String> headers = authContext.generateAuthHeaders(); in generateAuthHeader_emptyToken() local
148 Map<String, String> headers = authContext.generateAuthHeaders(); in generateAuthHeader_token() local
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/model/
DDisclaimersParam.java64 String[] headers = bundle.getStringArray(HEADER_KEY); in createBuilderFromPersistableBundle() local
90 String[] headers = new String[mDisclaimers.length]; in toPersistableBundle() local
/packages/apps/Messaging/src/com/android/messaging/mmslib/pdu/
DRetrieveConf.java44 RetrieveConf(PduHeaders headers) { in RetrieveConf()
54 RetrieveConf(PduHeaders headers, PduBody body) { in RetrieveConf()
DSendReq.java78 SendReq(PduHeaders headers) { in SendReq()
88 SendReq(PduHeaders headers, PduBody body) { in SendReq()
DAcknowledgeInd.java48 AcknowledgeInd(PduHeaders headers) { in AcknowledgeInd()
DSendConf.java41 SendConf(PduHeaders headers) { in SendConf()
/packages/apps/Messaging/src/android/support/v7/mms/pdu/
DRetrieveConf.java42 RetrieveConf(PduHeaders headers) { in RetrieveConf()
52 RetrieveConf(PduHeaders headers, PduBody body) { in RetrieveConf()
DSendReq.java75 SendReq(PduHeaders headers) { in SendReq()
85 SendReq(PduHeaders headers, PduBody body) { in SendReq()
DAcknowledgeInd.java46 AcknowledgeInd(PduHeaders headers) { in AcknowledgeInd()
DSendConf.java39 SendConf(PduHeaders headers) { in SendConf()
/packages/modules/AdServices/adservices/tests/cts/src/android/adservices/utils/
DScenario.java98 abstract Builder setHeaders(Map<String, String> headers); in setHeaders() argument
243 abstract Builder setHeaders(Map<String, String> headers); in setHeaders() argument
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/adselection/encryption/
DAuctionEncryptionKeyParser.java87 ImmutableMap<String, List<String>> headers = response.getResponseHeaders(); in getDbEncryptionKeys() local
154 private static long getMaxAgeInSeconds(@NonNull Map<String, List<String>> headers) { in getMaxAgeInSeconds()
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/measurement/ondevicepersonalization/
DIOdpDelegationWrapper.java29 Map<String, List<String>> headers, in registerOdpTrigger()
DNoOdpDelegationWrapper.java46 Map<String, List<String>> headers, in registerOdpTrigger()
/packages/services/Telephony/tests/src/com/android/services/telephony/rcs/
DSipMessageParsingUtilsTest.java62 private String addFeatures(String headers, Set<String> features) { in addFeatures()
/packages/modules/OnDevicePersonalization/tests/federatedcomputetests/src/com/android/federatedcompute/services/http/
DFederatedComputeHttpResponseTest.java44 final Map<String, List<String>> headers = in testBuildWithAllValues() local
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/measurement/
DE2EInteropMockTest.java250 Map<String, List<String>> headers) throws JSONException { in insertSourceOrAssertUnparsable()
296 Map<String, List<String>> headers) throws JSONException { in insertTriggerOrAssertUnparsable()

1234