| 385 | } |
| 386 | |
| 387 | int CCECCommandHandler::HandleGiveOSDName(const cec_command &command) |
| 388 | { |
| 389 | if (m_processor->CECInitialised() && m_processor->IsHandledByLibCEC(command.destination)) |
| 390 | { |
| 391 | CCECBusDevice *device = GetDevice(command.destination); |
| 392 | if (device) |
| 393 | { |
| 394 | device->TransmitOSDName(command.initiator, true); |
| 395 | return COMMAND_HANDLED; |
| 396 | } |
| 397 | } |
| 398 | |
| 399 | return CEC_ABORT_REASON_INVALID_OPERAND; |
| 400 | } |
| 401 | |
| 402 | int CCECCommandHandler::HandleGivePhysicalAddress(const cec_command &command) |
| 403 | { |
nothing calls this directly
no test coverage detected