Home
last modified time | relevance | path

Searched refs:msgBuf (Results 1 – 7 of 7) sorted by relevance

/aosp12/hardware/interfaces/tv/cec/1.0/default/
H A DHdmiCecMock.cpp171 unsigned char msgBuf[CEC_MESSAGE_BODY_MAX_LENGTH]; in sendMessageToFifo() local
174 memset(msgBuf, 0, sizeof(msgBuf)); in sendMessageToFifo()
192 ret = write(mOutputFile, msgBuf, length + 1); in sendMessageToFifo()
220 ALOGD("[halimp] hot plug port id %x, is connected %x", (msgBuf[0] & 0xf), (msgBuf[3] & 0xf)); in handleHotplugMessage()
223 ((hotplugEvent.connected == 0) ? 0xffff : ((msgBuf[1] << 8) | (msgBuf[2]))); in handleHotplugMessage()
260 unsigned char msgBuf[CEC_MESSAGE_BODY_MAX_LENGTH]; in threadLoop() local
276 memset(msgBuf, 0, sizeof(msgBuf)); in threadLoop()
285 printCecMsgBuf((const char*)msgBuf, r); in threadLoop()
287 if (((msgBuf[0] >> 4) & 0xf) == 0xf) { in threadLoop()
289 handleHotplugMessage(msgBuf); in threadLoop()
[all …]
H A DHdmiCecMock.h84 void handleHotplugMessage(unsigned char* msgBuf);
85 void handleCecMessage(unsigned char* msgBuf, int length);
/aosp12/hardware/interfaces/tv/cec/1.1/default/
H A DHdmiCecMock.cpp225 memset(msgBuf, 0, sizeof(msgBuf)); in sendMessageToFifo()
243 ret = write(mOutputFile, msgBuf, length + 1); in sendMessageToFifo()
271 ALOGD("[halimp] hot plug port id %x, is connected %x", (msgBuf[0] & 0xf), (msgBuf[3] & 0xf)); in handleHotplugMessage()
274 ((hotplugEvent.connected == 0) ? 0xffff : ((msgBuf[1] << 8) | (msgBuf[2]))); in handleHotplugMessage()
298 (msgBuf[0] >> 4) & 0xf); in handleCecMessage()
301 (msgBuf[0] >> 0) & 0xf); in handleCecMessage()
329 memset(msgBuf, 0, sizeof(msgBuf)); in threadLoop()
338 printCecMsgBuf((const char*)msgBuf, r); in threadLoop()
340 if (((msgBuf[0] >> 4) & 0xf) == 0xf) { in threadLoop()
342 handleHotplugMessage(msgBuf); in threadLoop()
[all …]
H A DHdmiCecMock.h89 void handleHotplugMessage(unsigned char* msgBuf);
90 void handleCecMessage(unsigned char* msgBuf, int length);
/aosp12/libnativehelper/
H A DJNIHelp.c363 char msgBuf[512]; in jniThrowExceptionFmt() local
364 vsnprintf(msgBuf, sizeof(msgBuf), fmt, args); in jniThrowExceptionFmt()
365 return jniThrowException(env, className, msgBuf); in jniThrowExceptionFmt()
/aosp12/libnativehelper/include/nativehelper/
H A DJNIHelp.h448 char msgBuf[512]; in jniThrowExceptionFmt() local
449 vsnprintf(msgBuf, sizeof(msgBuf), fmt, args); in jniThrowExceptionFmt()
451 return jniThrowException(env, className, msgBuf); in jniThrowExceptionFmt()
/aosp12/system/logging/liblog/tests/
H A Dliblog_test.cpp376 char msgBuf[1024]; in bswrite_test() local
381 &log_msg.entry, &entry, nullptr, msgBuf, sizeof(msgBuf)); in bswrite_test()
2487 char msgBuf[1024]; in create_android_logger() local
2489 android_log_processBinaryLogBuffer(&log_msg.entry, &entry, nullptr, msgBuf, sizeof(msgBuf)); in create_android_logger()
2508 snprintf(msgBuf, sizeof(msgBuf), "I/[%" PRId32 "]", event_header->tag); in create_android_logger()
2510 fprintf(stderr, "%-10s(%5u): ", msgBuf, pid); in create_android_logger()
2511 memset(msgBuf, 0, sizeof(msgBuf)); in create_android_logger()
2513 android_log_buffer_to_string(eventData, log_msg.entry.len, msgBuf, sizeof(msgBuf)); in create_android_logger()
2514 fprintf(stderr, "%s\n", msgBuf); in create_android_logger()
2518 EXPECT_STREQ(expected_string, msgBuf); in create_android_logger()