Home
last modified time | relevance | path

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

/packages/services/Car/service/src/com/android/car/audio/
DCarDuckingUtils.java36 List<String> addressesToDuck = in generateDuckingInfo() local
39 getAddressesToUnduck(addressesToDuck, oldDuckingInfo.mAddressesToDuck); in generateDuckingInfo()
43 addressesToDuck, in generateDuckingInfo()
62 Set<String> addressesToDuck = getAddressesForContexts(contextsToDuck, zone); in getAddressesToDuck() local
68 addressesToDuck.removeAll(unduckedAddresses); in getAddressesToDuck()
69 return new ArrayList<>(addressesToDuck); in getAddressesToDuck()
72 private static List<String> getAddressesToUnduck(List<String> addressesToDuck, in getAddressesToUnduck() argument
75 addressesToUnduck.removeAll(addressesToDuck); in getAddressesToUnduck()
DCarDuckingInfo.java48 @NonNull List<String> addressesToDuck, in CarDuckingInfo() argument
52 mAddressesToDuck = Objects.requireNonNull(addressesToDuck); in CarDuckingInfo()
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/audio/
DCarDuckingTest.java218 List<String> addressesToDuck = mCarDuckingInfosCaptor.getValue().get(0).mAddressesToDuck; in onFocusChange_notifiesHalOfAddressesToDuck() local
220 .that(addressesToDuck).containsExactly(PRIMARY_MEDIA_ADDRESS); in onFocusChange_notifiesHalOfAddressesToDuck()