MCPcopy Create free account
hub / github.com/Pulse-Eight/libcec / HandleGiveOSDName

Method HandleGiveOSDName

src/libcec/implementations/CECCommandHandler.cpp:387–400  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

385}
386
387int 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
402int CCECCommandHandler::HandleGivePhysicalAddress(const cec_command &command)
403{

Callers

nothing calls this directly

Calls 3

CECInitialisedMethod · 0.80
IsHandledByLibCECMethod · 0.45
TransmitOSDNameMethod · 0.45

Tested by

no test coverage detected