Home
last modified time | relevance | path

Searched refs:HTTP_OK (Results 1 – 15 of 15) sorted by relevance

/frameworks/base/core/tests/coretests/src/android/app/
DDownloadManagerFunctionalTest.java158 enqueueResponse(buildResponse(HTTP_OK, blobData)); in testDownloadToExternal_fileExists()
196 enqueueResponse(buildResponse(HTTP_OK, blobData)); in testDownloadToExternal()
227 enqueueResponse(buildResponse(HTTP_OK, blobData)); in testDownloadToProhibitedDirectory()
254 enqueueResponse(buildResponse(HTTP_OK, blobData)); in testGetDownloadIdOnNotification()
303 enqueueResponse(buildResponse(HTTP_OK, blobData)); in testRelativeRedirect()
342 enqueueResponse(buildResponse(HTTP_OK, blobData)); in testSetTitle()
374 enqueueResponse(buildResponse(HTTP_OK, blobData)); in testDownloadNoWifi()
404 final MockResponse resp = buildResponse(HTTP_OK, blobData); in testServerDropConnection_body()
DDownloadManagerBaseTest.java76 protected static final int HTTP_OK = 200; field in DownloadManagerBaseTest
932 mServer.enqueue(buildResponse(HTTP_OK, body)); in enqueueDownloadRequest()
947 mServer.enqueue(buildResponse(HTTP_OK, body)); in enqueueDownloadRequest()
DDownloadManagerStressTest.java90 enqueueResponse(buildResponse(HTTP_OK, blobData)); in testMultipleDownloads()
/frameworks/libs/service_entitlement/tests/src/com/android/libraries/entitlement/http/
DHttpClientTest.java81 .setResponseCode(HttpURLConnection.HTTP_OK) in request_contentTypeXml_returnsXmlBody()
105 assertThat(httpResponse.responseCode()).isEqualTo(HttpURLConnection.HTTP_OK); in request_contentTypeXml_returnsXmlBody()
143 .setResponseCode(HttpURLConnection.HTTP_OK) in request_contentTypeXml_returnsXmlBody_useSpecificNetwork()
170 assertThat(httpResponse.responseCode()).isEqualTo(HttpURLConnection.HTTP_OK); in request_contentTypeXml_returnsXmlBody_useSpecificNetwork()
184 .setResponseCode(HttpURLConnection.HTTP_OK) in request_postJson_doNotEscapeForwardSlash()
232 .setResponseCode(HttpURLConnection.HTTP_OK) in request_getResponseBodyFailed_expectThrowsException()
253 .setResponseCode(HttpURLConnection.HTTP_OK) in history()
/frameworks/base/packages/services/Proxy/src/com/android/proxyhandler/
DProxyServer.java46 private static final String HTTP_OK = "HTTP/1.1 200 OK\n"; field in ProxyServer
136 sendLine(connection, HTTP_OK); in run()
157 sendLine(connection, HTTP_OK); in run()
/frameworks/base/tests/CoreTests/android/core/
DHttpConstants.java21 public static final int HTTP_OK = 200; field
DRequestAPITest.java345 testEventHandler.expectStatus(HttpConstants.HTTP_OK); in verifyRedirect()
DTestWebServer.java791 psPrint(ps, HTTP_VERSION_STRING + " " + HTTP_OK+" OK"); in printStatus()
/frameworks/base/packages/StatementService/src/com/android/statementservice/network/retriever/
DUrlFetcher.kt57 responseCode != HttpURLConnection.HTTP_OK -> { in fetch()
/frameworks/base/services/core/java/com/android/server/location/gnss/
DGnssPsdsDownloader.java161 if (statusCode != HttpURLConnection.HTTP_OK) { in doDownload()
/frameworks/libs/service_entitlement/java/com/android/libraries/entitlement/http/
DHttpClient.java161 if (responseCode != HttpURLConnection.HTTP_OK in getHttpResponse()
/frameworks/base/media/java/android/media/
DMediaHTTPConnection.java362 } else if (response != HttpURLConnection.HTTP_OK) { in seekTo()
/frameworks/base/core/tests/hosttests/test-apps/DownloadManagerTestApp/src/com/android/frameworks/downloadmanagertests/
DDownloadManagerBaseTest.java54 protected static final int HTTP_OK = 200; field in DownloadManagerBaseTest
/frameworks/base/tools/aapt2/integration-tests/CommandTests/
Dandroid-33.jarAndroidManifest.xml META-INF/ META-INF/MANIFEST.MF NOTICES/ NOTICES/libcore ...
/frameworks/opt/setupwizard/tools/docs/
Dandroid-22.txt42979 field public static final int HTTP_OK = 200; // 0xc8