Home
last modified time | relevance | path

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

/packages/services/Car/tests/carservice_unit_test/src/com/android/car/audio/
DCarDuckingTest.java72 private CarDucking mCarDucking; field in CarDuckingTest
76 mCarDucking = new CarDucking(mCarAudioZones, mMockAudioControlWrapper); in setUp()
83 SparseArray<CarDuckingInfo> currentDuckingInfo = mCarDucking.getCurrentDuckingInfo(); in constructor_initializesEmptyDuckingInfoForZones()
98 mCarDucking.onFocusChange(ONE_ZONE_CHANGE, mMediaFocusHolders); in onFocusChange_forPrimaryZone_updatesUsagesHoldingFocus()
100 SparseArray<CarDuckingInfo> newDuckingInfo = mCarDucking.getCurrentDuckingInfo(); in onFocusChange_forPrimaryZone_updatesUsagesHoldingFocus()
107 mCarDucking.onFocusChange(ONE_ZONE_CHANGE, mMediaFocusHolders); in onFocusChange_forPrimaryZone_doesNotUpdateSecondaryZones()
109 SparseArray<CarDuckingInfo> newDuckingInfo = mCarDucking.getCurrentDuckingInfo(); in onFocusChange_forPrimaryZone_doesNotUpdateSecondaryZones()
116 mCarDucking.onFocusChange(ONE_ZONE_CHANGE, mMediaNavFocusHolders); in onFocusChange_withMultipleFocusHolders_updatesAddressesToDuck()
118 SparseArray<CarDuckingInfo> newDuckingInfo = mCarDucking.getCurrentDuckingInfo(); in onFocusChange_withMultipleFocusHolders_updatesAddressesToDuck()
125 mCarDucking.onFocusChange(ONE_ZONE_CHANGE, mMediaNavFocusHolders); in onFocusChange_withDuckedDevices_updatesAddressesToUnduck()
[all …]
/packages/services/Car/service/src/com/android/car/audio/
DCarAudioService.java147 private CarDucking mCarDucking; field in CarAudioService
381 if (mCarDucking != null) { in dump()
383 mCarDucking.dump(writer); in dump()
621 mCarDucking = new CarDucking(mCarAudioZones, audioControlWrapper); in setupDynamicRoutingLocked()
637 mCarDucking); in setupDynamicRoutingLocked()