Home
last modified time | relevance | path

Searched refs:setRequestMethod (Results 1 – 25 of 38) sorted by relevance

12

/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/measurement/registration/
DAsyncTriggerFetcherTest.java327 verify(mUrlConnection).setRequestMethod("POST"); in testBasicTriggerRequest()
411 verify(mUrlConnection).setRequestMethod("POST"); in testBasicTriggerRequest_withAggregateDeduplicationKey()
464 verify(mUrlConnection, times(1)).setRequestMethod("POST"); in triggerRequest_aggregateDeduplicationKey_dedupKeyNotAString_fails()
512 verify(mUrlConnection, times(1)).setRequestMethod("POST"); in triggerRequest_aggregateDeduplicationKey_dedupKeyNegative_fails()
560 verify(mUrlConnection, times(1)).setRequestMethod("POST"); in triggerRequest_aggregateDeduplicationKey_dedupKeyTooLarge_fails()
608 verify(mUrlConnection, times(1)).setRequestMethod("POST"); in triggerRequest_aggregateDeduplicationKey_dedupKeyNotAnInt_fails()
656 verify(mUrlConnection).setRequestMethod("POST"); in triggerRequest_aggregateDeduplicationKey_dedupKeyMissing_succeeds()
702 verify(mUrlConnection, times(1)).setRequestMethod("POST"); in testRedirectType_bothRedirectHeaderTypes_choosesListType()
734 verify(mUrlConnection, times(1)).setRequestMethod("POST"); in testRedirectType_locationRedirectHeaderType_choosesLocationType()
778 verify(mUrlConnection, times(1)).setRequestMethod("POST"); in testRedirectType_locationRedirectType_acceptsListType()
[all …]
DAsyncSourceFetcherTest.java337 verify(mUrlConnection).setRequestMethod("POST"); in testBasicSourceRequest()
442 verify(mUrlConnection).setRequestMethod("POST"); in fetchSource_multipleWebDestinations_success()
480 verify(mUrlConnection).setRequestMethod("POST"); in fetchSource_emptyWebDestinations_success()
528 verify(mUrlConnection).setRequestMethod("POST"); in fetchSource_duplicateWebDestinationsInList_removesDuplicates()
563 verify(mUrlConnection).setRequestMethod("POST"); in fetchSource_invalidWebDestinationInList_fails()
607 verify(mUrlConnection).setRequestMethod("POST"); in fetchSource_tooManyWebDestinationInList_fails()
636 verify(mUrlConnection).setRequestMethod("POST"); in fetchSource_noDestinations_fail()
666 verify(mUrlConnection).setRequestMethod("POST"); in fetchSource_noAppDestination_emptyWebDestination_fail()
709 verify(mUrlConnection).setRequestMethod("POST"); in testSourceRequestWithPostInstallAttributes()
753 verify(mUrlConnection).setRequestMethod("POST"); in testSourceRequestWithPostInstallAttributesReceivedAsNull()
[all …]
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/entitlement/http/
DHttpClientTest.java121 .setRequestMethod(RequestMethod.GET) in request_contentTypeXml_returnsXmlBody()
149 HttpRequest.builder().setUrl(TEST_URL).setRequestMethod(RequestMethod.GET).build(); in request_httpGetResponseBadRequest_throwsException()
185 .setRequestMethod(RequestMethod.GET) in request_contentTypeXml_returnsXmlBody_useSpecificNetwork()
209 .setRequestMethod(RequestMethod.POST) in request_postJson_doNotEscapeForwardSlash()
232 .setRequestMethod(RequestMethod.POST) in request_postGzipJsonArray()
258 .setRequestMethod(RequestMethod.POST) in request_postJsonArray()
283 .setRequestMethod(RequestMethod.POST) in request_postGzipJsonArray_response_gunzipJsonArray()
312 .setRequestMethod(RequestMethod.GET) in request_getResponseCodeFailed_expectThrowsException()
338 .setRequestMethod(RequestMethod.GET) in request_getResponseBodyFailed_expectThrowsException()
/packages/modules/Wifi/service/java/com/android/server/wifi/entitlement/http/
DHttpRequest.java80 public abstract Builder setRequestMethod(@NonNull String requestMethod); in setRequestMethod() method in HttpRequest.Builder
134 .setRequestMethod("") in builder()
DHttpClient.java129 connection.setRequestMethod(request.requestMethod()); in createConnection()
/packages/modules/Wifi/service/java/com/android/server/wifi/hotspot2/soap/
DHttpsServiceConnection.java91 public void setRequestMethod(String requestMethodType) throws IOException { in setRequestMethod() method in HttpsServiceConnection
92 mConnection.setRequestMethod(requestMethodType); in setRequestMethod()
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/util/
DJavaNetHttpHelper.kt62 c.setRequestMethod("GET") in get()
93 c.setRequestMethod("POST") in post()
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/measurement/aggregation/
DAggregateEncryptionKeyFetcherTest.java107 verify(mUrlConnection).setRequestMethod("GET"); in testBasicAggregateEncryptionKeyRequest()
256 verify(mUrlConnection).setRequestMethod("GET"); in testMissingAgeHeader()
289 verify(mUrlConnection).setRequestMethod("GET"); in testBrokenAgeHeader()
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/encryptionkey/
DEncryptionKeyFetcherTest.java206 verify(mURLConnection).setRequestMethod("GET"); in testFirstTimeFetchEncryptionKeysSucceed()
368 verify(mURLConnection).setRequestMethod("GET"); in testRefetchEncryptionKeysNoChangeMadeToKeys()
391 verify(mURLConnection).setRequestMethod("GET"); in testRefetchEncryptionKeysReturnNewKeys()
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/measurement/reporting/
DMeasurementReportSender.java98 urlConnection.setRequestMethod("POST"); in sendReportPostRequest()
/packages/modules/AdServices/adservices/tests/perf/src/android/adservices/test/scenario/adservices/fledge/
DServerAuctionE2ETestBase.java59 connection.setRequestMethod("GET"); in makeWarmUpNetworkCall()
/packages/apps/Messaging/src/android/support/v7/mms/
DMmsHttpClient.java158 connection.setRequestMethod(METHOD_POST); in execute()
182 connection.setRequestMethod(METHOD_GET); in execute()
/packages/apps/Settings/tests/componenttests/src/com/android/settings/testutils/
DCommonUtils.java88 connection.setRequestMethod("GET"); in connectToURL()
/packages/services/Mms/src/com/android/mms/service/
DMmsHttpClient.java185 connection.setRequestMethod(METHOD_POST); in execute()
207 connection.setRequestMethod(METHOD_GET); in execute()
/packages/modules/OnDevicePersonalization/federatedcompute/src/com/android/federatedcompute/services/http/
DHttpClient.java134 urlConnection.setRequestMethod(request.getHttpMethod().name()); in performRequest()
/packages/services/Telephony/src/com/android/phone/callcomposer/
DCallComposerPictureTransfer.java240 connection.setRequestMethod("POST"); in prepareInitialPost()
259 connection.setRequestMethod("GET"); in prepareImageDownloadRequest()
/packages/modules/RemoteKeyProvisioning/app/src/com/android/rkpdapp/provisioner/
DWidevineProvisioner.java184 con.setRequestMethod("POST"); in sendNetworkRequest()
/packages/modules/AdServices/adservices/tests/perf/src/android/adservices/test/scenario/adservices/fledge/utils/
DFakeAdExchangeServer.java121 con.setRequestMethod("POST"); in makeHttpPostCall()
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/google/
DGoogleSuggestClient.kt95 connection.setRequestMethod("GET") in query()
/packages/apps/TV/tuner/src/com/android/tv/tuner/hdhomerun/
DHdHomeRunChannelScan.java72 connection.setRequestMethod("GET"); in scan()
/packages/modules/AdServices/adservices/tests/cts/src/android/adservices/debuggablects/
DScenarioDispatcherTest.java228 conn.setRequestMethod("GET"); in makeSimpleGetRequest()
/packages/modules/Connectivity/tests/cts/hostside-network-policy/app2/src/com/android/cts/netpolicy/hostside/app2/
DCommon.java220 conn.setRequestMethod("GET"); in checkNetworkStatus()
/packages/services/Telecomm/testapps/src/com/android/server/telecom/testapps/
DTestCertActivity.java97 conn.setRequestMethod("GET"); in getCertificateList()
/packages/modules/Wifi/service/java/com/android/server/wifi/
DAfcClient.java148 .setRequestMethod(RequestMethod.POST) in getAfcHttpRequestObject()
/packages/modules/Wifi/service/java/com/android/server/wifi/entitlement/
DCarrierSpecificServiceEntitlement.java107 .setRequestMethod(RequestMethod.POST) in CarrierSpecificServiceEntitlement()

12