Searched refs:getStrategyForAudioAttributes (Results 1 – 4 of 4) sorted by relevance
103 public static int getStrategyForAudioAttributes(AudioAttributes attributes) { in getStrategyForAudioAttributes() method in CoreAudioHelper136 int strategyId = getStrategyForAudioAttributes(attributes); in getStrategyForAudioAttributesOrDefault()138 ? getStrategyForAudioAttributes(DEFAULT_ATTRIBUTES) : strategyId; in getStrategyForAudioAttributesOrDefault()
414 if (CoreAudioHelper.getStrategyForAudioAttributes(attributes) != contextId) { in CarAudioContext()563 int strategyId = CoreAudioHelper.getStrategyForAudioAttributes(attributes); in getContextForAudioAttribute()
86 .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()
152 .when(() -> CoreAudioHelper.getStrategyForAudioAttributes( in setupMock()155 .when(() -> CoreAudioHelper.getStrategyForAudioAttributes( in setupMock()158 .when(() -> CoreAudioHelper.getStrategyForAudioAttributes( in setupMock()161 .when(() -> CoreAudioHelper.getStrategyForAudioAttributes( in setupMock()