Home
last modified time | relevance | path

Searched refs:psId (Results 1 – 3 of 3) sorted by relevance

/frameworks/av/services/audiopolicy/engine/common/src/
DProductStrategy.cpp262 std::string ProductStrategyMap::getDeviceAddressForProductStrategy(product_strategy_t psId) const in getDeviceAddressForProductStrategy()
264 if (find(psId) == end()) { in getDeviceAddressForProductStrategy()
265 ALOGE("Invalid %d strategy requested, returning device for default strategy", psId); in getDeviceAddressForProductStrategy()
272 return at(psId)->getDeviceAddress(); in getDeviceAddressForProductStrategy()
/frameworks/av/media/libaudioclient/
DAudioSystem.cpp1483 product_strategy_t psId; in attributesToStreamType() local
1484 status_t ret = AudioSystem::getProductStrategyFromAudioAttributes(AudioAttributes(attr), psId); in attributesToStreamType()
1492 if (strategy.getId() == psId) { in attributesToStreamType()
/frameworks/av/services/audiopolicy/managerdefault/
DAudioPolicyManager.cpp5110 auto psId = mEngine->getProductStrategyForAttributes(attr); in checkOutputForAttributes() local
5147 "%s: strategy %d, moving from output %s to output %s", __func__, psId, in checkOutputForAttributes()
5153 if (desc != 0 && desc->isStrategyActive(psId)) { in checkOutputForAttributes()
5154 setStrategyMute(psId, true, desc); in checkOutputForAttributes()
5155 setStrategyMute(psId, false, desc, maxLatency * LATENCY_MUTE_FACTOR, in checkOutputForAttributes()
5169 for (auto stream : mEngine->getStreamTypesForProductStrategy(psId)) { in checkOutputForAttributes()