Home
last modified time | relevance | path

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

/packages/services/Car/tests/carservice_unit_test/src/com/android/car/audio/
DCarVolumeGroupUnitTest.java599 int blockedIndex = MAX_ACTIVATION_GAIN_INDEX + 1; in handleActivationVolume_withBlock() local
600 carVolumeGroup.setBlocked(blockedIndex); in handleActivationVolume_withBlock()
606 .that(carVolumeGroup.getCurrentGainIndex()).isEqualTo(blockedIndex); in handleActivationVolume_withBlock()
614 int blockedIndex = MAX_ACTIVATION_GAIN_INDEX + 1; in resetBlocked_withActivationVolume() local
615 carVolumeGroup.setBlocked(blockedIndex); in resetBlocked_withActivationVolume()
881 int blockedIndex = 10; in getCurrentGainIndex_whileBlocked_thenUnblocked() local
882 carVolumeGroup.setBlocked(blockedIndex); in getCurrentGainIndex_whileBlocked_thenUnblocked()
889 .isEqualTo(blockedIndex); in getCurrentGainIndex_whileBlocked_thenUnblocked()
963 int blockedIndex = 1; in setCurrentGainIndex_whileBlocked_thenRemainsUnblocked() local
964 carVolumeGroup.setBlocked(blockedIndex); in setCurrentGainIndex_whileBlocked_thenRemainsUnblocked()
[all …]
/packages/services/Car/service/src/com/android/car/audio/
DCarVolumeGroup.java213 protected void setBlockedLocked(int blockedIndex) { in setBlockedLocked() argument
214 mBlockedGainIndex = blockedIndex; in setBlockedLocked()
288 void setBlocked(int blockedIndex) { in setBlocked() argument
290 setBlockedLocked(blockedIndex); in setBlocked()