Searched refs:getStrategyForAudioAttributes (Results 1 – 4 of 4) sorted by relevance
76 public static int getStrategyForAudioAttributes(AudioAttributes attributes) { in getStrategyForAudioAttributes() method in CoreAudioHelper109 int strategyId = getStrategyForAudioAttributes(attributes); in getStrategyForAudioAttributesOrDefault()111 ? getStrategyForAudioAttributes(DEFAULT_ATTRIBUTES) : strategyId; in getStrategyForAudioAttributesOrDefault()
414 if (CoreAudioHelper.getStrategyForAudioAttributes(attributes) != contextId) { in CarAudioContext()563 int strategyId = CoreAudioHelper.getStrategyForAudioAttributes(attributes); in getContextForAudioAttribute()
94 .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()
130 .when(() -> CoreAudioHelper.getStrategyForAudioAttributes( in setupMock()133 .when(() -> CoreAudioHelper.getStrategyForAudioAttributes( in setupMock()136 .when(() -> CoreAudioHelper.getStrategyForAudioAttributes( in setupMock()139 .when(() -> CoreAudioHelper.getStrategyForAudioAttributes( in setupMock()