| 114 | } |
| 115 | |
| 116 | fe_delivery_system DeviceData::convertDeliverySystem() const { |
| 117 | base::MutexLock lock(_mutex); |
| 118 | switch (_delsys) { |
| 119 | case input::InputSystem::DVBT: |
| 120 | return SYS_DVBT; |
| 121 | case input::InputSystem::DVBT2: |
| 122 | return SYS_DVBT2; |
| 123 | case input::InputSystem::DVBS: |
| 124 | return SYS_DVBS; |
| 125 | case input::InputSystem::DVBS2: |
| 126 | return SYS_DVBS2; |
| 127 | case input::InputSystem::DVBC: |
| 128 | #if FULL_DVB_API_VERSION >= 0x0505 |
| 129 | return SYS_DVBC_ANNEX_A; |
| 130 | #else |
| 131 | return SYS_DVBC_ANNEX_AC; |
| 132 | #endif |
| 133 | default: |
| 134 | return SYS_UNDEFINED; |
| 135 | } |
| 136 | } |
| 137 | |
| 138 | void DeviceData::resetDeviceDataChanged() { |
| 139 | base::MutexLock lock(_mutex); |
no outgoing calls
no test coverage detected