Home
last modified time | relevance | path

Searched refs:hotplugEvent (Results 1 – 5 of 5) sorted by relevance

/hardware/interfaces/tv/cec/1.0/default/
DHdmiCecMock.cpp212 HotplugEvent hotplugEvent{.connected = ((msgBuf[3]) & 0xf) > 0, in handleHotplugMessage() local
215 if (hotplugEvent.portId >= mPortInfo.size()) { in handleHotplugMessage()
216 ALOGD("[halimp] ignore hot plug message, id %x does not exist", hotplugEvent.portId); in handleHotplugMessage()
221 if (mPortInfo[hotplugEvent.portId].type == HdmiPortType::OUTPUT) { in handleHotplugMessage()
223 ((hotplugEvent.connected == 0) ? 0xffff : ((msgBuf[1] << 8) | (msgBuf[2]))); in handleHotplugMessage()
224 mPortInfo[hotplugEvent.portId].physicalAddress = mPhysicalAddress; in handleHotplugMessage()
231 mCallback->onHotplugEvent(hotplugEvent); in handleHotplugMessage()
DHdmiCec.h81 HotplugEvent hotplugEvent { in eventCallback()
85 mCallback->onHotplugEvent(hotplugEvent); in eventCallback()
DHdmiCecDefault.cpp392 HotplugEvent hotplugEvent{ in event_thread() local
395 mCallback->onHotplugEvent(hotplugEvent); in event_thread()
/hardware/interfaces/tv/cec/1.1/default/
DHdmiCecMock.cpp263 HotplugEvent hotplugEvent{.connected = ((msgBuf[3]) & 0xf) > 0, in handleHotplugMessage() local
266 if (hotplugEvent.portId >= mPortInfo.size()) { in handleHotplugMessage()
267 ALOGD("[halimp] ignore hot plug message, id %x does not exist", hotplugEvent.portId); in handleHotplugMessage()
272 if (mPortInfo[hotplugEvent.portId].type == HdmiPortType::OUTPUT) { in handleHotplugMessage()
274 ((hotplugEvent.connected == 0) ? 0xffff : ((msgBuf[1] << 8) | (msgBuf[2]))); in handleHotplugMessage()
275 mPortInfo[hotplugEvent.portId].physicalAddress = mPhysicalAddress; in handleHotplugMessage()
282 mCallback->onHotplugEvent(hotplugEvent); in handleHotplugMessage()
/hardware/google/graphics/common/hwc3/impl/
DHalImpl.cpp127 void hotplugEvent(hwc2_callback_data_t callbackData, hwc2_display_t hwcDisplay, in hotplugEvent() function
128 common::DisplayHotplugEvent hotplugEvent) { in hotplugEvent() argument
133 hal->getEventCallback()->onHotplugEvent(display, hotplugEvent); in hotplugEvent()