Searched refs:mVolumeGroupChanged (Results 1 – 1 of 1) sorted by relevance
34 private CountDownLatch mVolumeGroupChanged = null; field in AudioVolumeGroupCallbackHelper37 mVolumeGroupChanged = new CountDownLatch(1); in setExpectedVolumeGroup()46 if (mVolumeGroupChanged == null) { in onAudioVolumeGroupChanged()50 if (mVolumeGroupChanged.getCount() <= 0) { in onAudioVolumeGroupChanged()54 mVolumeGroupChanged.countDown(); in onAudioVolumeGroupChanged()58 assertNotNull("Call first setExpectedVolumeGroup before waiting...", mVolumeGroupChanged); in waitForExpectedVolumeGroupChanged()60 if (mVolumeGroupChanged.getCount() == 0) { in waitForExpectedVolumeGroupChanged()65 timeoutReached = !mVolumeGroupChanged.await(ASYNC_TIMEOUT_MS, TimeUnit.MILLISECONDS); in waitForExpectedVolumeGroupChanged()