/device/google/contexthub/firmware/app/chre/common/ |
D | chre11_app_syscalls.c | 152 bool chreSendMessageToHost(void *message, uint32_t messageSize, in chreSendMessageToHost() argument 157 … return syscallDo4P(SYSCALL_CHRE_API(SEND_MSG), message, messageSize, messageType, freeCallback); in chreSendMessageToHost() 159 …, SYSCALL_CHRE_MAIN_EVENT, SYSCALL_CHRE_MAIN_EVENT_SEND_MSG), message, messageSize, messageType, C… in chreSendMessageToHost() 162 bool chreSendMessageToHostEndpoint(void *message, size_t messageSize, in chreSendMessageToHostEndpoint() argument 167 … return syscallDo4P(SYSCALL_CHRE_API(SEND_MSG), message, messageSize, messageType, freeCallback); in chreSendMessageToHostEndpoint() 169 …, SYSCALL_CHRE_MAIN_EVENT, SYSCALL_CHRE_MAIN_EVENT_SEND_MSG), message, messageSize, messageType, h… in chreSendMessageToHostEndpoint()
|
D | chre_app_syscalls.c | 152 bool chreSendMessageToHost(void *message, uint32_t messageSize, in chreSendMessageToHost() argument 157 … return syscallDo4P(SYSCALL_CHRE_API(SEND_MSG), message, messageSize, messageType, freeCallback); in chreSendMessageToHost() 159 …, SYSCALL_CHRE_MAIN_EVENT, SYSCALL_CHRE_MAIN_EVENT_SEND_MSG), message, messageSize, messageType, C… in chreSendMessageToHost() 162 bool chreSendMessageToHostEndpoint(void *message, size_t messageSize, in chreSendMessageToHostEndpoint() argument 167 … return syscallDo4P(SYSCALL_CHRE_API(SEND_MSG), message, messageSize, messageType, freeCallback); in chreSendMessageToHostEndpoint() 169 …, SYSCALL_CHRE_MAIN_EVENT, SYSCALL_CHRE_MAIN_EVENT_SEND_MSG), message, messageSize, messageType, h… in chreSendMessageToHostEndpoint()
|
D | chre10_app_syscalls.c | 149 bool chreSendMessageToHost(void *message, uint32_t messageSize, in chreSendMessageToHost() argument 154 …return syscallDo4P(SYSCALL_CHRE_API(SEND_MSG), message, messageSize, reservedMessageType, freeCall… in chreSendMessageToHost() 156 …, SYSCALL_CHRE_MAIN_EVENT, SYSCALL_CHRE_MAIN_EVENT_SEND_MSG), message, messageSize, reservedMessag… in chreSendMessageToHost()
|
D | chre_app.c | 250 u.msg.messageSize = *(uint8_t*)eventData; in chreappHandle() 262 u.msg.messageSize = hdr->size; in chreappHandle() 271 u.msg.messageSize = hdr->size; in chreappHandle()
|
D | chre10_app.c | 249 u.msg.messageSize = *(uint8_t*)eventData; in chreappHandle() 259 u.msg.messageSize = hdr->size; in chreappHandle()
|
/device/google/contexthub/firmware/os/core/ |
D | nanohub_chre.c | 205 static bool osChreSendMessageToHost(void *message, uint32_t messageSize, in osChreSendMessageToHost() argument 212 if (messageSize > CHRE_MESSAGE_TO_HOST_MAX_SIZE || (messageSize && !message)) in osChreSendMessageToHost() 215 hostMsg = heapAlloc(sizeof(*hostMsg) + messageSize); in osChreSendMessageToHost() 219 if (messageSize) in osChreSendMessageToHost() 220 memcpy(hostMsg+1, message, messageSize); in osChreSendMessageToHost() 223 hostMsg->messageSize = messageSize; in osChreSendMessageToHost() 230 osTaskInvokeMessageFreeCallback(osGetCurrentTask(), freeCallback, message, messageSize); in osChreSendMessageToHost() 237 uint32_t messageSize = va_arg(args, uint32_t); in osChreApiSendMessageToHost() local 241 …*retValP = osChreSendMessageToHost(message, messageSize, messageType, CHRE_HOST_ENDPOINT_BROADCAST… in osChreApiSendMessageToHost() 491 uint32_t messageSize = va_arg(args, size_t); in osChreEventSendMessageToHost() local [all …]
|
D | hostIntf.c | 1224 if (hostMsg->messageSize <= HOST_HUB_CHRE_PACKET_MAX_LEN) { in onEvtAppToHostChre() 1225 …ruct HostIntfDataBuffer *data = alloca(sizeof(uint32_t) + sizeof(*hostMsg) + hostMsg->messageSize); in onEvtAppToHostChre() 1228 data->length = sizeof(*hostMsg) + hostMsg->messageSize; in onEvtAppToHostChre()
|
D | seos.c | 347 …lback(struct Task *task, void (*freeCallback)(void *, size_t), void *message, uint32_t messageSize) in osTaskInvokeMessageFreeCallback() argument 351 …platInfo, (void (*)(uintptr_t,uintptr_t))freeCallback, (uintptr_t)message, (uintptr_t)messageSize); in osTaskInvokeMessageFreeCallback()
|
/device/google/contexthub/firmware/os/inc/ |
D | eventnums.h | 64 uint8_t messageSize; //not incl this header, 128 bytes max member
|
D | seos_priv.h | 120 …back(struct Task *task, void (*freeCallback)(void *, size_t), void *message, uint32_t messageSize);
|
/device/google/contexthub/firmware/app/chre/chre_test0.app/ |
D | main.c | 101 const size_t size = msg->messageSize; in nanoappHandleEvent()
|
/device/google/contexthub/firmware/app/chre/chre_test1.app/ |
D | main.cpp | 114 const size_t size = msg->messageSize; in nanoappHandleEvent()
|
/device/google/contexthub/firmware/app/chre/chre_test2.app/ |
D | main.cpp | 111 const size_t size = msg->messageSize; in nanoappHandleEvent()
|