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.java76 public static int getStrategyForAudioAttributes(AudioAttributes attributes) { in getStrategyForAudioAttributes() method in CoreAudioHelper
109 int strategyId = getStrategyForAudioAttributes(attributes); in getStrategyForAudioAttributesOrDefault()
111 ? 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.java94 .that(CoreAudioHelper.getStrategyForAudioAttributes(MUSIC_ATTRIBUTES)) in getStrategyForAudioAttributes_withValidAttributes_succeeds()
97 .that(CoreAudioHelper.getStrategyForAudioAttributes(NAV_ATTRIBUTES)) in getStrategyForAudioAttributes_withValidAttributes_succeeds()
100 .that(CoreAudioHelper.getStrategyForAudioAttributes(OEM_ATTRIBUTES)) in getStrategyForAudioAttributes_withValidAttributes_succeeds()
108 .that(CoreAudioHelper.getStrategyForAudioAttributes(UNSUPPORTED_ATTRIBUTES)) in getStrategyForAudioAttributes_withInvalidAttributes_returnsInvalidStrategy()
DCarAudioContextTest.java130 .when(() -> CoreAudioHelper.getStrategyForAudioAttributes( in setupMock()
133 .when(() -> CoreAudioHelper.getStrategyForAudioAttributes( in setupMock()
136 .when(() -> CoreAudioHelper.getStrategyForAudioAttributes( in setupMock()
139 .when(() -> CoreAudioHelper.getStrategyForAudioAttributes( in setupMock()