Searched refs:psId (Results 1 – 3 of 3) sorted by relevance
/frameworks/av/services/audiopolicy/engine/common/src/ |
D | ProductStrategy.cpp | 252 std::string ProductStrategyMap::getDeviceAddressForProductStrategy(product_strategy_t psId) const in getDeviceAddressForProductStrategy() 254 if (find(psId) == end()) { in getDeviceAddressForProductStrategy() 255 ALOGE("Invalid %d strategy requested, returning device for default strategy", psId); in getDeviceAddressForProductStrategy() 262 return at(psId)->getDeviceAddress(); in getDeviceAddressForProductStrategy()
|
/frameworks/av/media/libaudioclient/ |
D | AudioSystem.cpp | 1469 product_strategy_t psId; in attributesToStreamType() local 1470 status_t ret = AudioSystem::getProductStrategyFromAudioAttributes(AudioAttributes(attr), psId); in attributesToStreamType() 1478 if (strategy.getId() == psId) { in attributesToStreamType()
|
/frameworks/av/services/audiopolicy/managerdefault/ |
D | AudioPolicyManager.cpp | 5032 auto psId = mEngine->getProductStrategyForAttributes(attr); in checkOutputForAttributes() local 5068 "%s: strategy %d, moving from output %s to output %s", __func__, psId, in checkOutputForAttributes() 5074 if (desc != 0 && desc->isStrategyActive(psId)) { in checkOutputForAttributes() 5075 setStrategyMute(psId, true, desc); in checkOutputForAttributes() 5076 setStrategyMute(psId, false, desc, maxLatency * LATENCY_MUTE_FACTOR, in checkOutputForAttributes() 5090 for (auto stream : mEngine->getStreamTypesForProductStrategy(psId)) { in checkOutputForAttributes()
|