Searched refs:extMsg (Results 1 – 3 of 3) sorted by relevance
/device/google/contexthub/firmware/app/test0.app/ |
D | test_app0.c | 52 struct ExtMsg *extMsg; in handle_event() local 60 extMsg = eOsHeapAlloc(sizeof(*extMsg)); in handle_event() 61 extMsg->hdr.appId = APP_ID_MAKE(NANOHUB_VENDOR_GOOGLE, 0x548000); in handle_event() 62 extMsg->hdr.dataLen = 5; in handle_event() 63 extMsg->msg = 0x01; in handle_event() 64 extMsg->val = *(int *)te->data; in handle_event() 65 if (!(eOsEnqueueEvt(EVT_APP_TO_HOST, extMsg, mMyTid))) in handle_event() 66 eOsHeapFree(extMsg); in handle_event()
|
/device/google/contexthub/firmware/app/chre/chre_test0.app/ |
D | main.c | 85 struct ExtMsg *extMsg = chreHeapAlloc(sizeof(*extMsg)); in nanoappHandleEvent() local 90 extMsg->msg = 0x01; in nanoappHandleEvent() 91 extMsg->val = mCnt; in nanoappHandleEvent() 92 …chreSendMessageToHostEndpoint(extMsg, sizeof(*extMsg), 0, CHRE_HOST_ENDPOINT_BROADCAST, nanoappFre… in nanoappHandleEvent()
|
/device/google/contexthub/firmware/app/chre/chre_test1.app/ |
D | main.cpp | 98 auto extMsg = new ExtMsg; in nanoappHandleEvent() local 103 extMsg->msg = 0x01; in nanoappHandleEvent() 104 extMsg->val = mCnt; in nanoappHandleEvent() 105 …chreSendMessageToHostEndpoint(extMsg, sizeof(*extMsg), 0, CHRE_HOST_ENDPOINT_BROADCAST, nanoappFre… in nanoappHandleEvent()
|