Searched refs:mCompleteIds (Results 1 – 3 of 3) sorted by relevance
149 private HashSet<Long> mCompleteIds = new HashSet<>(); field in ExternalStorageTest.DownloadCompleteReceiver156 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()
490 private HashSet<Long> mCompleteIds = new HashSet<>(); field in DownloadManagerTestBase.DownloadCompleteReceiver494 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()
1092 private HashSet<Long> mCompleteIds = new HashSet<>(); field in MediaPlayerDrmTestBase.MediaDownloadManager.DownloadReceiver1099 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()