Home
last modified time | relevance | path

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

/packages/services/Car/service/src/com/android/car/audio/
DCarDuckingUtils.java58 Set<Integer> uniqueContexts = zone.getCarAudioContext() in getAddressesToDuck()
60 Set<Integer> contextsToDuck = zone.getCarAudioContext() in getAddressesToDuck()
DCarHalAudioUtils.java72 int carAudioContextId = zone.getCarAudioContext() in audioAttributeToMetadata()
DCarAudioZone.java403 public CarAudioContext getCarAudioContext() { in getCarAudioContext() method in CarAudioZone
DCarAudioZonesHelper.java1032 public CarAudioContext getCarAudioContext() {
DCarAudioFocus.java129 mCarAudioContext = Objects.requireNonNull(mCarAudioZone.getCarAudioContext(), in CarAudioFocus()
DCarAudioService.java1634 int contextForUsage = getCarAudioContext()
1855 mCarAudioContext = zonesHelper.getCarAudioContext();
3835 CarAudioContext getCarAudioContext() {
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/audio/
DCarDuckingTest.java355 when(primaryZone.getCarAudioContext()).thenReturn(TEST_CAR_AUDIO_CONTEXT); in generateZoneMocks()
361 when(passengerZone.getCarAudioContext()).thenReturn(TEST_CAR_AUDIO_CONTEXT); in generateZoneMocks()
368 when(rearZone.getCarAudioContext()).thenReturn(TEST_CAR_AUDIO_CONTEXT); in generateZoneMocks()
DCarDuckingUtilsTest.java227 when(mockZone.getCarAudioContext()).thenReturn(TEST_CAR_AUDIO_CONTEXT); in generateAudioZoneMock()
DCarAudioZoneUnitTest.java804 public void getCarAudioContext() { in getCarAudioContext() method in CarAudioZoneUnitTest
806 .that(mTestAudioZone.getCarAudioContext()).isEqualTo(TEST_CAR_AUDIO_CONTEXT); in getCarAudioContext()
DCarHalAudioUtilsTest.java434 when(zone.getCarAudioContext()).thenReturn(TEST_CAR_AUDIO_CONTEXT); in generateZoneMock()
DCarAudioFocusUnitTest.java214 when(mMockCarAudioZone.getCarAudioContext()).thenReturn(TEST_CAR_AUDIO_CONTEXT); in constructor_withNullVolumeInfoWrapper_fails()
2047 when(mMockCarAudioZone.getCarAudioContext()).thenReturn(TEST_CAR_AUDIO_CONTEXT); in getCarAudioFocus()
DCarAudioServiceUnitTest.java1703 int defaultAudioContext = service.getCarAudioContext() in getSuggestedAudioContextForZone_inPrimaryZone()
1714 int defaultAudioContext = service.getCarAudioContext() in getSuggestedAudioContextForZone_inSecondaryZone()
4137 .that(useCoreAudioCarAudioService.getCarAudioContext().getAllContextsIds().size()) in getVolumeGroupAndContextCount()
4140 .that(useCoreAudioCarAudioService.getCarAudioContext().getAllContextsIds()) in getVolumeGroupAndContextCount()
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/audio/hal/
DAudioControlWrapperAidlTest.java941 when(mockZone.getCarAudioContext()).thenReturn(TEST_CAR_AUDIO_CONTEXT); in generateAudioZoneMock()
/packages/services/Car/tests/carservice_test/src/com/android/car/audio/
DCarAudioZonesHelperTest.java657 CarAudioContext contexts = cazh.getCarAudioContext(); in getCarAudioContext_withOEMContexts()