Home
last modified time | relevance | path

Searched refs:buildEmptyResponse (Results 1 – 2 of 2) sorted by relevance

/packages/providers/DownloadProvider/tests/src/com/android/providers/downloads/
DPublicApiFunctionalTest.java175 enqueueResponse(buildEmptyResponse(HTTP_NOT_FOUND)); in testDownloadError()
180 enqueueResponse(buildEmptyResponse(1234)); // some invalid HTTP status in testUnhandledHttpStatus()
249 enqueueResponse(buildEmptyResponse(HTTP_OK)); in testFiltering()
250 enqueueResponse(buildEmptyResponse(HTTP_NOT_FOUND)); in testFiltering()
292 enqueueResponse(buildEmptyResponse(HTTP_NOT_FOUND)); in testOrdering()
371 enqueueResponse(buildEmptyResponse(HTTP_OK)); in testRequestHeaders()
423 enqueueResponse(buildEmptyResponse(HTTP_MOVED_TEMP) in testRunawayRedirect()
438 buildEmptyResponse(HTTP_UNAVAILABLE).setHeader("Retry-after", RETRY_DELAY)); in testRunawayUnavailable()
466 enqueueResponse(buildEmptyResponse(HTTP_PRECON_FAILED)); in testEtagChanged()
488 enqueueResponse(buildEmptyResponse(HTTP_OK) in testSanitizeMediaType()
[all …]
DAbstractDownloadProviderFunctionalTest.java259 MockResponse buildEmptyResponse(int status) { in buildEmptyResponse() method in AbstractDownloadProviderFunctionalTest