Lines Matching refs:msgBuf
130 void HdmiConnectionMock::handleHotplugMessage(unsigned char* msgBuf) { in handleHotplugMessage() argument
131 bool connected = ((msgBuf[3]) & 0xf) > 0; in handleHotplugMessage()
132 int32_t portId = static_cast<uint32_t>(msgBuf[0] & 0xf); in handleHotplugMessage()
139 ALOGD("[halimp_aidl] hot plug port id %x, is connected %x", (msgBuf[0] & 0xf), in handleHotplugMessage()
140 (msgBuf[3] & 0xf)); in handleHotplugMessage()
143 mPhysicalAddress = (connected ? 0xffff : ((msgBuf[1] << 8) | (msgBuf[2]))); in handleHotplugMessage()
155 unsigned char msgBuf[MESSAGE_BODY_MAX_LENGTH]; in threadLoop() local
166 memset(msgBuf, 0, sizeof(msgBuf)); in threadLoop()
169 r = readMessageFromFifo(msgBuf, MESSAGE_BODY_MAX_LENGTH); in threadLoop()
175 printEventBuf((const char*)msgBuf, r); in threadLoop()
177 if (((msgBuf[0] >> 4) & 0xf) == 0xf) { in threadLoop()
178 handleHotplugMessage(msgBuf); in threadLoop()