| 185 | } |
| 186 | |
| 187 | bool CCECDeviceMap::IsActiveType(const cec_device_type type, bool suppressPoll /* = true */) const |
| 188 | { |
| 189 | for (auto it = m_busDevices.begin(); it != m_busDevices.end(); ++it) |
| 190 | { |
| 191 | auto dev = it->second; |
| 192 | if (!!dev && |
| 193 | (dev->GetType() == type) && |
| 194 | (dev->IsActive(suppressPoll))) { |
| 195 | return true; |
| 196 | } |
| 197 | } |
| 198 | return false; |
| 199 | } |
| 200 | |
| 201 | void CCECDeviceMap::GetPowerOffDevices(const libcec_configuration &configuration, CECDEVICEVEC &devices) const |
| 202 | { |
no test coverage detected