Searched refs:CarDuckingInfo (Results 1 – 14 of 14) sorted by relevance
54 new CarDuckingInfo( in constructor_nullAddressesToDuck_throws()66 new CarDuckingInfo( in constructor_nullAddressesToUnduck_throws()77 () -> new CarDuckingInfo(ZONE_ID, ADDRESSES_TO_DUCK, ADDRESSES_TO_UNDUCK, null)); in constructor_nullPlaybackMetadataHoldingFocus_throws()82 CarDuckingInfo duckingInfo = getCarDuckingInfo(); in constructor_validInputs_succeeds()100 CarDuckingInfo carDuckingInfo = getCarDuckingInfo(); in generateDuckingInfo_includesSameAddressesToDuck()110 CarDuckingInfo carDuckingInfo = getCarDuckingInfo(); in generateDuckingInfo_includesSameAddressesToUnduck()120 CarDuckingInfo carDuckingInfo = getCarDuckingInfo(); in generateDuckingInfo_includesSameUsagesHoldingFocus()131 CarDuckingInfo carDuckingInfo = getCarDuckingInfo(); in generateDuckingInfo_includesSamePlaybackTrackMetadataHoldingFocus()140 private CarDuckingInfo getCarDuckingInfo() { in getCarDuckingInfo()141 return new CarDuckingInfo( in getCarDuckingInfo()
90 private ArgumentCaptor<List<CarDuckingInfo>> mCarDuckingInfosCaptor;130 SparseArray<CarDuckingInfo> currentDuckingInfo = mCarDucking.getCurrentDuckingInfo(); in constructor_initializesEmptyDuckingInfoForZones()136 CarDuckingInfo duckingInfo = currentDuckingInfo.get(zoneId); in constructor_initializesEmptyDuckingInfoForZones()152 SparseArray<CarDuckingInfo> newDuckingInfo = mCarDucking.getCurrentDuckingInfo(); in onFocusChange_forPrimaryZone_updatesUsagesHoldingFocus()164 SparseArray<CarDuckingInfo> newDuckingInfo = mCarDucking.getCurrentDuckingInfo(); in onFocusChange_forPrimaryZone_doesNotUpdateSecondaryZones()177 SparseArray<CarDuckingInfo> newDuckingInfo = mCarDucking.getCurrentDuckingInfo(); in onFocusChange_withMultipleFocusHolders_updatesAddressesToDuck()190 SparseArray<CarDuckingInfo> newDuckingInfo = mCarDucking.getCurrentDuckingInfo(); in onFocusChange_withDuckedDevices_updatesAddressesToUnduck()309 CarDuckingInfo info = mCarDuckingInfosCaptor.getValue().get(0); in onFocusChange_withOemDuckingAndReturnMedia_ducksMedia()329 CarDuckingInfo info = mCarDuckingInfosCaptor.getValue().get(0); in onFocusChange_withOemDuckingCalledTwice_unducksMedia()
141 CarDuckingInfo duckingInfo = in generateDuckingInfo_succeed()159 CarDuckingInfo duckingInfo1 = in generateDuckingInfo_succeed()175 CarDuckingInfo duckingInfo2 = in generateDuckingInfo_succeed()188 CarDuckingInfo duckingInfo3 = in generateDuckingInfo_succeed()231 private CarDuckingInfo getEmptyCarDuckingInfo() { in getEmptyCarDuckingInfo()232 return new CarDuckingInfo( in getEmptyCarDuckingInfo()
420 private CarDuckingInfo getCarDuckingInfo() { in getCarDuckingInfo()421 return new CarDuckingInfo( in getCarDuckingInfo()
4603 ArgumentCaptor<List<CarDuckingInfo>> carDuckingInfosCaptor = in switchZoneToConfig_withPendingFocus_updatesDuckingInfo()6762 private void verifyMediaDuckingInfoInZone(ArgumentCaptor<List<CarDuckingInfo>> in verifyMediaDuckingInfoInZone()6766 CarDuckingInfo duckingInfo = carDuckingInfosCaptor.getValue().get(0); in verifyMediaDuckingInfoInZone()
49 private final SparseArray<CarDuckingInfo> mCurrentDuckingInfo = new SparseArray<>();60 new CarDuckingInfo( in CarDucking()66 SparseArray<CarDuckingInfo> getCurrentDuckingInfo() { in getCurrentDuckingInfo()76 List<CarDuckingInfo> newDuckingInfos = new ArrayList<>(audioZoneIds.length); in onFocusChange()80 CarDuckingInfo newDuckingInfo = updateDuckingForZoneIdLocked(zoneId, focusHolders); in onFocusChange()88 private CarDuckingInfo updateDuckingForZoneIdLocked(int zoneId, in updateDuckingForZoneIdLocked()90 CarDuckingInfo oldDuckingInfo = mCurrentDuckingInfo.get(zoneId); in updateDuckingForZoneIdLocked()91 CarDuckingInfo newDuckingInfo = generateNewDuckingInfoLocked(oldDuckingInfo, in updateDuckingForZoneIdLocked()121 private CarDuckingInfo generateNewDuckingInfoLocked(CarDuckingInfo oldDuckingInfo, in generateNewDuckingInfoLocked()
32 static CarDuckingInfo generateDuckingInfo(CarDuckingInfo oldDuckingInfo, in generateDuckingInfo()41 return new CarDuckingInfo( in generateDuckingInfo()
40 public final class CarDuckingInfo { class46 public CarDuckingInfo( in CarDuckingInfo() method in CarDuckingInfo
48 public static DuckingInfo generateDuckingInfo(CarDuckingInfo carDuckingInfo) { in generateDuckingInfo()
76 import com.android.car.audio.CarDuckingInfo;363 CarDuckingInfo carDuckingInfo = in onDevicesToDuckChange_callsHalWithDuckingInfo()364 new CarDuckingInfo( in onDevicesToDuckChange_callsHalWithDuckingInfo()379 CarDuckingInfo carDuckingInfo = in onDevicesToDuckChange_convertsUsagesToXsdStrings()380 new CarDuckingInfo( in onDevicesToDuckChange_convertsUsagesToXsdStrings()401 CarDuckingInfo carDuckingInfo = in onDevicesToDuckChange_passesAlongAddressesToDuck()402 new CarDuckingInfo( in onDevicesToDuckChange_passesAlongAddressesToDuck()421 CarDuckingInfo carDuckingInfo = in onDevicesToDuckChange_passesAlongAddressesToUnduck()422 new CarDuckingInfo( in onDevicesToDuckChange_passesAlongAddressesToUnduck()439 CarDuckingInfo carDuckingInfo = in onDevicesToDuckChange_passesAlongZoneId()[all …]
27 import com.android.car.audio.CarDuckingInfo;132 void onDevicesToDuckChange(@NonNull List<CarDuckingInfo> carDuckingInfos); in onDevicesToDuckChange()
31 import com.android.car.audio.CarDuckingInfo;128 public void onDevicesToDuckChange(List<CarDuckingInfo> carDuckingInfos) { in onDevicesToDuckChange()
36 import com.android.car.audio.CarDuckingInfo;159 public void onDevicesToDuckChange(List<CarDuckingInfo> carDuckingInfos) { in onDevicesToDuckChange()
46 import com.android.car.audio.CarDuckingInfo;240 public void onDevicesToDuckChange(@NonNull List<CarDuckingInfo> carDuckingInfos) { in onDevicesToDuckChange()244 CarDuckingInfo info = Objects.requireNonNull(carDuckingInfos.get(i)); in onDevicesToDuckChange()