Searched refs:strategyId (Results 1 – 2 of 2) sorted by relevance
136 int strategyId = getStrategyForAudioAttributes(attributes); in getStrategyForAudioAttributesOrDefault() local137 return strategyId == INVALID_STRATEGY in getStrategyForAudioAttributesOrDefault()138 ? getStrategyForAudioAttributes(DEFAULT_ATTRIBUTES) : strategyId; in getStrategyForAudioAttributesOrDefault()163 public static AudioProductStrategy getStrategy(int strategyId) { in getStrategy() argument166 if (strategy.getId() == strategyId) { in getStrategy()180 public static boolean isDefaultStrategy(int strategyId) { in isDefaultStrategy() argument183 if (strategy.getId() == strategyId) { in isDefaultStrategy()
563 int strategyId = CoreAudioHelper.getStrategyForAudioAttributes(attributes); in getContextForAudioAttribute() local564 if ((strategyId != CoreAudioHelper.INVALID_STRATEGY) in getContextForAudioAttribute()565 && (mContextToNames.indexOfKey(strategyId) >= 0)) { in getContextForAudioAttribute()566 return strategyId; in getContextForAudioAttribute()