Home
last modified time | relevance | path

Searched refs:downloadId (Results 1 – 5 of 5) sorted by relevance

/cts/suite/audio_quality/lib/src/task/
DTaskDownload.cpp51 int downloadId; in run() local
52 if (!getTestCase()->getRemoteAudio()->downloadData(id, buffer, downloadId)) { in run()
55 LOGI("Downloaded buffer %s to DUT with id %d", id.string(), downloadId); in run()
DTaskSound.cpp108 int downloadId; in run() local
109 if (!getTestCase()->getRemoteAudio()->downloadData(id, buffer, downloadId)) { in run()
112 LOGI("Downloaded buffer %s to DUT with id %d", id.string(), downloadId); in run()
/cts/tests/tests/netsecpolicy/src/android/security/
DNetworkSecurityPolicyTestBase.java232 long downloadId = downloadManager.enqueue(new DownloadManager.Request(uri)); in downloadUsingDownloadManager() local
235 assertEquals(downloadId, in downloadUsingDownloadManager()
238 new DownloadManager.Query().setFilterById(downloadId)); in downloadUsingDownloadManager()
/cts/libs/testserver/src/android/webkit/cts/
DCtsTestServer.java443 public String getTestDownloadUrl(String downloadId, int numBytes) { in getTestDownloadUrl() argument
447 .appendQueryParameter(DOWNLOAD_ID_PARAMETER, downloadId) in getTestDownloadUrl()
814 String downloadId = uri.getQueryParameter(DOWNLOAD_ID_PARAMETER); in createTestDownloadResponse() local
820 response.setEntity(createFileEntity(downloadId, numBytes)); in createTestDownloadResponse()
824 private static FileEntity createFileEntity(String downloadId, int numBytes) throws IOException { in createFileEntity() argument
828 File file = new File(storageDir, downloadId + ".bin"); in createFileEntity()
/cts/tests/app/src/android/app/cts/
DDownloadManagerTest.java417 private void assertDownloadQueryableById(long downloadId) { in assertDownloadQueryableById() argument
420 Query query = new Query().setFilterById(downloadId); in assertDownloadQueryableById()