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.java471 private HashSet<Long> mCompleteIds = new HashSet<>(); field in DownloadManagerTestBase.DownloadCompleteReceiver
475 synchronized (mCompleteIds) { in onReceive()
476 mCompleteIds.add(intent.getLongExtra(DownloadManager.EXTRA_DOWNLOAD_ID, -1)); in onReceive()
477 mCompleteIds.notifyAll(); in onReceive()
483 if (!mCompleteIds.contains(id)) { in isCompleteLocked()
498 synchronized (mCompleteIds) { in waitForDownloadComplete()
499 mCompleteIds.wait(timeoutMillis); in waitForDownloadComplete()
505 + "; received " + mCompleteIds.toString() in waitForDownloadComplete()
/cts/tests/tests/media/src/android/media/cts/
DMediaPlayerDrmTestBase.java1087 private HashSet<Long> mCompleteIds = new HashSet<>(); field in MediaPlayerDrmTestBase.MediaDownloadManager.DownloadReceiver
1094 synchronized (mCompleteIds) { in onReceive()
1096 mCompleteIds.add( in onReceive()
1098 mCompleteIds.notifyAll(); in onReceive()
1105 if (!mCompleteIds.contains(id)) { in isCompleteLocked()
1120 synchronized (mCompleteIds) { in waitForDownloadComplete()
1121 mCompleteIds.wait(1000); in waitForDownloadComplete()
1129 Arrays.toString(waitForIds) + "; received " + mCompleteIds.toString() in waitForDownloadComplete()