Home
last modified time | relevance | path

Searched refs:enqueueResponse (Results 1 – 3 of 3) sorted by relevance

/frameworks/base/core/tests/coretests/src/android/app/
DDownloadManagerFunctionalTest.java157 enqueueResponse(buildResponse(HTTP_OK, blobData)); in testDownloadToExternal_fileExists()
195 enqueueResponse(buildResponse(HTTP_OK, blobData)); in testDownloadToExternal()
226 enqueueResponse(buildResponse(HTTP_OK, blobData)); in testDownloadToProhibitedDirectory()
253 enqueueResponse(buildResponse(HTTP_OK, blobData)); in testGetDownloadIdOnNotification()
275 enqueueResponse(resp); in testErrorTooManyRedirects()
286 enqueueResponse(buildResponse(HTTP_PARTIAL_CONTENT)); in testErrorUnhandledHttpCode()
299 enqueueResponse(resp); in testRelativeRedirect()
302 enqueueResponse(buildResponse(HTTP_OK, blobData)); in testRelativeRedirect()
341 enqueueResponse(buildResponse(HTTP_OK, blobData)); in testSetTitle()
373 enqueueResponse(buildResponse(HTTP_OK, blobData)); in testDownloadNoWifi()
[all …]
DDownloadManagerStressTest.java89 enqueueResponse(buildResponse(HTTP_OK, blobData)); in testMultipleDownloads()
DDownloadManagerBaseTest.java286 protected void enqueueResponse(MockResponse resp) { in enqueueResponse() method in DownloadManagerBaseTest