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.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()
276 enqueueResponse(resp); in testErrorTooManyRedirects()
287 enqueueResponse(buildResponse(HTTP_PARTIAL_CONTENT)); in testErrorUnhandledHttpCode()
300 enqueueResponse(resp); in testRelativeRedirect()
303 enqueueResponse(buildResponse(HTTP_OK, blobData)); in testRelativeRedirect()
342 enqueueResponse(buildResponse(HTTP_OK, blobData)); in testSetTitle()
374 enqueueResponse(buildResponse(HTTP_OK, blobData)); in testDownloadNoWifi()
[all …]
DDownloadManagerStressTest.java90 enqueueResponse(buildResponse(HTTP_OK, blobData)); in testMultipleDownloads()
DDownloadManagerBaseTest.java289 protected void enqueueResponse(MockResponse resp) { in enqueueResponse() method in DownloadManagerBaseTest