Home
last modified time | relevance | path

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

/frameworks/base/media/tests/AudioPolicyTest/src/com/android/audiopolicytest/
DAudioVolumeGroupCallbackHelper.java34 private CountDownLatch mVolumeGroupChanged = null; field in AudioVolumeGroupCallbackHelper
37 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()