Home
last modified time | relevance | path

Searched refs:strategyId (Results 1 – 2 of 2) sorted by relevance

/packages/services/Car/service/src/com/android/car/audio/
DCoreAudioHelper.java136 int strategyId = getStrategyForAudioAttributes(attributes); in getStrategyForAudioAttributesOrDefault() local
137 return strategyId == INVALID_STRATEGY in getStrategyForAudioAttributesOrDefault()
138 ? getStrategyForAudioAttributes(DEFAULT_ATTRIBUTES) : strategyId; in getStrategyForAudioAttributesOrDefault()
163 public static AudioProductStrategy getStrategy(int strategyId) { in getStrategy() argument
166 if (strategy.getId() == strategyId) { in getStrategy()
180 public static boolean isDefaultStrategy(int strategyId) { in isDefaultStrategy() argument
183 if (strategy.getId() == strategyId) { in isDefaultStrategy()
DCarAudioContext.java563 int strategyId = CoreAudioHelper.getStrategyForAudioAttributes(attributes); in getContextForAudioAttribute() local
564 if ((strategyId != CoreAudioHelper.INVALID_STRATEGY) in getContextForAudioAttribute()
565 && (mContextToNames.indexOfKey(strategyId) >= 0)) { in getContextForAudioAttribute()
566 return strategyId; in getContextForAudioAttribute()