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()
471 private HashSet<Long> mCompleteIds = new HashSet<>(); field in DownloadManagerTestBase.DownloadCompleteReceiver475 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()
1087 private HashSet<Long> mCompleteIds = new HashSet<>(); field in MediaPlayerDrmTestBase.MediaDownloadManager.DownloadReceiver1094 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()