| 448 | } |
| 449 | |
| 450 | int CCECCommandHandler::HandleImageViewOn(const cec_command &command) |
| 451 | { |
| 452 | CCECBusDevice *device = GetDevice(command.destination); |
| 453 | if (device && device->GetCurrentStatus() == CEC_DEVICE_STATUS_PRESENT) |
| 454 | { |
| 455 | if (device->GetCurrentPowerStatus() == CEC_POWER_STATUS_STANDBY || |
| 456 | device->GetCurrentPowerStatus() == CEC_POWER_STATUS_IN_TRANSITION_ON_TO_STANDBY) |
| 457 | device->SetPowerStatus(CEC_POWER_STATUS_IN_TRANSITION_STANDBY_TO_ON); |
| 458 | CCECBusDevice* tv = GetDevice(CECDEVICE_TV); |
| 459 | if (tv) |
| 460 | tv->OnImageViewOnSent(false); |
| 461 | } |
| 462 | return COMMAND_HANDLED; |
| 463 | } |
| 464 | |
| 465 | int CCECCommandHandler::HandleMenuRequest(const cec_command &command) |
| 466 | { |
nothing calls this directly
no test coverage detected