Home
last modified time | relevance | path

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

/cts/hostsidetests/appsecurity/test-apps/ExternalStorageApp/src/com/android/cts/externalstorageapp/
DExternalStorageTest.java149 private HashSet<Long> mCompleteIds = new HashSet<>(); field in ExternalStorageTest.DownloadCompleteReceiver
156 synchronized (mCompleteIds) { in onReceive()
157 mCompleteIds.add(intent.getLongExtra(DownloadManager.EXTRA_DOWNLOAD_ID, -1)); in onReceive()
158 mCompleteIds.notifyAll(); in onReceive()
164 if (!mCompleteIds.contains(id)) { in isCompleteLocked()
179 synchronized (mCompleteIds) { in waitForDownloadComplete()
180 mCompleteIds.wait(timeoutMillis); in waitForDownloadComplete()
186 + "; received " + mCompleteIds.toString() in waitForDownloadComplete()
/cts/tests/app/src/android/app/cts/
DDownloadManagerTestBase.java490 private HashSet<Long> mCompleteIds = new HashSet<>(); field in DownloadManagerTestBase.DownloadCompleteReceiver
494 synchronized (mCompleteIds) { in onReceive()
495 mCompleteIds.add(intent.getLongExtra(DownloadManager.EXTRA_DOWNLOAD_ID, -1)); in onReceive()
496 mCompleteIds.notifyAll(); in onReceive()
502 if (!mCompleteIds.contains(id)) { in isCompleteLocked()
517 synchronized (mCompleteIds) { in waitForDownloadComplete()
518 mCompleteIds.wait(timeoutMillis); in waitForDownloadComplete()
524 + "; received " + mCompleteIds.toString() in waitForDownloadComplete()
/cts/tests/tests/media/drmframework/src/android/media/drmframework/cts/
DMediaPlayerDrmTestBase.java1092 private HashSet<Long> mCompleteIds = new HashSet<>(); field in MediaPlayerDrmTestBase.MediaDownloadManager.DownloadReceiver
1099 synchronized (mCompleteIds) { in onReceive()
1101 mCompleteIds.add( in onReceive()
1103 mCompleteIds.notifyAll(); in onReceive()
1110 if (!mCompleteIds.contains(id)) { in isCompleteLocked()
1125 synchronized (mCompleteIds) { in waitForDownloadComplete()
1126 mCompleteIds.wait(1000); in waitForDownloadComplete()
1134 Arrays.toString(waitForIds) + "; received " + mCompleteIds.toString() in waitForDownloadComplete()