Home
last modified time | relevance | path

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

/frameworks/av/services/audiopolicy/engine/common/src/
DEngineBase.cpp405 std::map<std::pair<T, device_role_t>, AudioDeviceTypeAddrVector>& tDevicesRoleMap, in setDevicesRoleForT() argument
415 tDevicesRoleMap[std::make_pair(t, role)] = devices; in setDevicesRoleForT()
419 auto it = tDevicesRoleMap.find(std::make_pair(t, roleToRemove)); in setDevicesRoleForT()
420 if (it != tDevicesRoleMap.end()) { in setDevicesRoleForT()
423 tDevicesRoleMap.erase(it); in setDevicesRoleForT()
428 auto it = tDevicesRoleMap.find(std::make_pair(t, role)); in setDevicesRoleForT()
429 if (it != tDevicesRoleMap.end()) { in setDevicesRoleForT()
432 tDevicesRoleMap[std::make_pair(t, role)] = devices; in setDevicesRoleForT()
438 it = tDevicesRoleMap.find(std::make_pair(t, roleToRemove)); in setDevicesRoleForT()
439 if (it != tDevicesRoleMap.end()) { in setDevicesRoleForT()
[all …]