Home
last modified time | relevance | path

Searched refs:getStrategyForAudioAttributes (Results 1 – 4 of 4) sorted by relevance

/packages/services/Car/service/src/com/android/car/audio/
DCoreAudioHelper.java103 public static int getStrategyForAudioAttributes(AudioAttributes attributes) { in getStrategyForAudioAttributes() method in CoreAudioHelper
136 int strategyId = getStrategyForAudioAttributes(attributes); in getStrategyForAudioAttributesOrDefault()
138 ? getStrategyForAudioAttributes(DEFAULT_ATTRIBUTES) : strategyId; in getStrategyForAudioAttributesOrDefault()
DCarAudioContext.java414 if (CoreAudioHelper.getStrategyForAudioAttributes(attributes) != contextId) { in CarAudioContext()
563 int strategyId = CoreAudioHelper.getStrategyForAudioAttributes(attributes); in getContextForAudioAttribute()
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/audio/
DCoreAudioHelperTest.java86 .that(CoreAudioHelper.getStrategyForAudioAttributes(MUSIC_ATTRIBUTES)) in getStrategyForAudioAttributes_withValidAttributes_succeeds()
89 .that(CoreAudioHelper.getStrategyForAudioAttributes(NAV_ATTRIBUTES)) in getStrategyForAudioAttributes_withValidAttributes_succeeds()
92 .that(CoreAudioHelper.getStrategyForAudioAttributes(OEM_ATTRIBUTES)) in getStrategyForAudioAttributes_withValidAttributes_succeeds()
100 .that(CoreAudioHelper.getStrategyForAudioAttributes(UNSUPPORTED_ATTRIBUTES)) in getStrategyForAudioAttributes_withInvalidAttributes_returnsInvalidStrategy()
DCarAudioContextTest.java152 .when(() -> CoreAudioHelper.getStrategyForAudioAttributes( in setupMock()
155 .when(() -> CoreAudioHelper.getStrategyForAudioAttributes( in setupMock()
158 .when(() -> CoreAudioHelper.getStrategyForAudioAttributes( in setupMock()
161 .when(() -> CoreAudioHelper.getStrategyForAudioAttributes( in setupMock()