Home
last modified time | relevance | path

Searched refs:message (Results 1 – 11 of 11) sorted by relevance

/device/google/contexthub/util/nanotool/
Dandroidcontexthub.cpp192 const std::vector<uint8_t>& message) { in WriteEvent() argument
195 LOGD("Writing %zu bytes", message.size()); in WriteEvent()
196 LOGD_BUF(message.data(), message.size()); in WriteEvent()
197 int ret = write(sensor_fd_, message.data(), message.size()); in WriteEvent()
199 LOGE("Couldn't write %zu bytes to device file: %s", message.size(), in WriteEvent()
202 } else if (ret != (int) message.size()) { in WriteEvent()
203 LOGW("Write returned %d, expected %zu", ret, message.size()); in WriteEvent()
214 std::vector<uint8_t>& message, int timeout_ms) { in ReadEvent() argument
246 result = ReadEventFromFd(read_fd, message); in ReadEvent()
338 int fd, std::vector<uint8_t>& message) { in ReadEventFromFd() argument
[all …]
Dandroidcontexthub.h62 std::vector<uint8_t>& message);
/device/google/contexthub/inc/
Dchre_event.h145 const void *message; member
177 typedef void (chreMessageFreeFunction)(void *message, size_t messageSize);
260 bool chreSendMessageToHost(void *message, uint32_t messageSize,
/device/google/contexthub/contexthubhal/
Dnanohubhal.cpp186 .message = data, in doSendToApp()
378 if (!msg || !msg->message) { in doSendToNanohub()
384 … dumpBuffer("APP -> HAL", msg->app_name, msg->message_type, msg->message, msg->message_len); in doSendToNanohub()
392 dumpBuffer("APP -> DEV", msg->app_name, 0, msg->message, msg->message_len); in doSendToNanohub()
394 ret = doSendToDevice(&msg->app_name, msg->message, msg->message_len); in doSendToNanohub()
Dsystem_comms.cpp285 const uint8_t *p = static_cast<const uint8_t*>(appMsg->message); in setup()
305 const hub_app_name_t &appName = *static_cast<const hub_app_name_t*>(appMsg->message); in setupMgmt()
/device/generic/goldfish/fingerprint/
Dfingerprint.c417 fingerprint_msg_t message = {0, {0}}; in fingerprint_enumerate() local
418 message.type = FINGERPRINT_TEMPLATE_ENUMERATING; in fingerprint_enumerate()
419 message.data.enumerated.finger.gid = qdev->group_id; in fingerprint_enumerate()
424 message.data.enumerated.remaining_templates = template_count; in fingerprint_enumerate()
425 message.data.enumerated.finger.fid = qdev->listener.fingerid[i]; in fingerprint_enumerate()
426 qdev->device.notify(&message); in fingerprint_enumerate()
/device/moto/shamu/camera/QCamera2/HAL3/
DQCamera3HWI.cpp442 notify_msg.message.error.error_code = CAMERA3_MSG_ERROR_DEVICE; in camEvtHandle()
443 notify_msg.message.error.error_stream = NULL; in camEvtHandle()
444 notify_msg.message.error.frame_number = 0; in camEvtHandle()
1795 notify_msg.message.error.frame_number = i->frame_number; in handleMetadataWithLock()
1796 notify_msg.message.error.error_code = CAMERA3_MSG_ERROR_BUFFER ; in handleMetadataWithLock()
1797 notify_msg.message.error.error_stream = j->stream; in handleMetadataWithLock()
1816 notify_msg.message.shutter.frame_number = i->frame_number; in handleMetadataWithLock()
1817 notify_msg.message.shutter.timestamp = capture_time - in handleMetadataWithLock()
1820 i->timestamp = notify_msg.message.shutter.timestamp; in handleMetadataWithLock()
1822 __func__, i->frame_number, notify_msg.message.shutter.timestamp); in handleMetadataWithLock()
[all …]
/device/huawei/angler/camera/QCamera2/HAL3/
DQCamera3HWI.cpp603 notify_msg.message.error.error_code = CAMERA3_MSG_ERROR_DEVICE; in camEvtHandle()
604 notify_msg.message.error.error_stream = NULL; in camEvtHandle()
605 notify_msg.message.error.frame_number = 0; in camEvtHandle()
2538 notify_msg.message.error.frame_number = i->frame_number; in handleMetadataWithLock()
2539 notify_msg.message.error.error_code = CAMERA3_MSG_ERROR_BUFFER ; in handleMetadataWithLock()
2540 notify_msg.message.error.error_stream = j->stream; in handleMetadataWithLock()
2587 notify_msg.message.error.error_code = CAMERA3_MSG_ERROR_DEVICE; in handleMetadataWithLock()
2614 notify_msg.message.shutter.frame_number = i->frame_number; in handleMetadataWithLock()
2615 notify_msg.message.shutter.timestamp = (uint64_t)capture_time; in handleMetadataWithLock()
2838 notify_msg.message.shutter.frame_number = frame_number; in handleInputBufferWithLock()
[all …]
/device/lge/bullhead/camera/QCamera2/HAL3/
DQCamera3HWI.cpp603 notify_msg.message.error.error_code = CAMERA3_MSG_ERROR_DEVICE; in camEvtHandle()
604 notify_msg.message.error.error_stream = NULL; in camEvtHandle()
605 notify_msg.message.error.frame_number = 0; in camEvtHandle()
2538 notify_msg.message.error.frame_number = i->frame_number; in handleMetadataWithLock()
2539 notify_msg.message.error.error_code = CAMERA3_MSG_ERROR_BUFFER ; in handleMetadataWithLock()
2540 notify_msg.message.error.error_stream = j->stream; in handleMetadataWithLock()
2587 notify_msg.message.error.error_code = CAMERA3_MSG_ERROR_DEVICE; in handleMetadataWithLock()
2614 notify_msg.message.shutter.frame_number = i->frame_number; in handleMetadataWithLock()
2615 notify_msg.message.shutter.timestamp = (uint64_t)capture_time; in handleMetadataWithLock()
2838 notify_msg.message.shutter.frame_number = frame_number; in handleInputBufferWithLock()
[all …]
/device/generic/goldfish/camera/
DEmulatedFakeCamera3.cpp2242 msg.message.shutter.frame_number = frameNumber; in onSensorEvent()
2243 msg.message.shutter.timestamp = timestamp; in onSensorEvent()
/device/moto/shamu/
Dinit.shamu.rc230 # Set the default message loglevel to KERN_INFO