| 51 | #define REQUEST_POWER_STATUS_TIMEOUT 5000 |
| 52 | |
| 53 | CCECCommandHandler::CCECCommandHandler(CCECBusDevice *busDevice, |
| 54 | int32_t iTransmitTimeout /* = CEC_DEFAULT_TRANSMIT_TIMEOUT */, |
| 55 | int32_t iTransmitWait /* = CEC_DEFAULT_TRANSMIT_WAIT */, |
| 56 | int8_t iTransmitRetries /* = CEC_DEFAULT_TRANSMIT_RETRIES */, |
| 57 | int64_t iActiveSourcePending /* = 0 */) : |
| 58 | m_busDevice(busDevice), |
| 59 | m_processor(m_busDevice->GetProcessor()), |
| 60 | m_iTransmitTimeout(iTransmitTimeout), |
| 61 | m_iTransmitWait(iTransmitWait), |
| 62 | m_iTransmitRetries(iTransmitRetries), |
| 63 | m_bHandlerInited(false), |
| 64 | m_bOPTSendDeckStatusUpdateOnActiveSource(false), |
| 65 | m_vendorId(CEC_VENDOR_UNKNOWN), |
| 66 | m_iActiveSourcePending(iActiveSourcePending), |
| 67 | m_iPowerStatusRequested(0) |
| 68 | { |
| 69 | } |
| 70 | |
| 71 | bool CCECCommandHandler::HandleCommand(const cec_command &command) |
| 72 | { |
nothing calls this directly
no test coverage detected