Home
last modified time | relevance | path

Searched refs:freeCallback (Results 1 – 17 of 17) sorted by relevance

/chre-3.4.0/platform/shared/
Dchre_api_core.cc49 chreEventCompleteFunction *freeCallback, in chreSendEvent() argument
62 eventType, eventData, freeCallback, nanoapp->getInstanceId(), in chreSendEvent()
70 chreMessageFreeFunction *freeCallback) { in chreSendMessageToHost() argument
73 CHRE_HOST_ENDPOINT_BROADCAST, freeCallback); in chreSendMessageToHost()
79 chreMessageFreeFunction *freeCallback) { in chreSendMessageWithPermissions() argument
93 messagePermissions, freeCallback); in chreSendMessageWithPermissions()
96 if (!success && freeCallback != nullptr) { in chreSendMessageWithPermissions()
97 freeCallback(message, messageSize); in chreSendMessageWithPermissions()
105 uint16_t hostEndpoint, chreMessageFreeFunction *freeCallback) { in chreSendMessageToHostEndpoint() argument
109 freeCallback); in chreSendMessageToHostEndpoint()
/chre-3.4.0/core/include/chre/core/
Devent.h57 freeCallback(freeCallback_), in eventType()
98 return (targetInstanceId == kSystemInstanceId || freeCallback != nullptr); in hasFreeCallback()
112 freeCallback(eventType, eventData); in invokeFreeCallback()
130 chreEventCompleteFunction *const freeCallback; member
Devent_loop.h174 chreEventCompleteFunction *freeCallback,
201 chreEventCompleteFunction *freeCallback,
386 chreEventCompleteFunction *freeCallback,
Dhost_comms_manager.h125 chreMessageFreeFunction *freeCallback);
/chre-3.4.0/chre_api/include/chre_api/chre/
Devent.h445 chreEventCompleteFunction *freeCallback,
461 chreMessageFreeFunction *freeCallback)
477 chreMessageFreeFunction *freeCallback);
561 chreMessageFreeFunction *freeCallback);
/chre-3.4.0/chre_api/legacy/v1_1/chre/
Devent.h351 chreEventCompleteFunction *freeCallback,
367 chreMessageFreeFunction *freeCallback);
427 chreMessageFreeFunction *freeCallback);
/chre-3.4.0/chre_api/legacy/v1_2/chre/
Devent.h379 chreEventCompleteFunction *freeCallback,
395 chreMessageFreeFunction *freeCallback);
455 chreMessageFreeFunction *freeCallback);
/chre-3.4.0/chre_api/legacy/v1_3/chre/
Devent.h376 chreEventCompleteFunction *freeCallback,
392 chreMessageFreeFunction *freeCallback);
452 chreMessageFreeFunction *freeCallback);
/chre-3.4.0/chre_api/legacy/v1_4/chre/
Devent.h391 chreEventCompleteFunction *freeCallback,
407 chreMessageFreeFunction *freeCallback)
468 chreMessageFreeFunction *freeCallback);
/chre-3.4.0/chre_api/legacy/v1_0/chre/
Devent.h212 chreEventCompleteFunction *freeCallback,
265 chreMessageFreeFunction *freeCallback);
/chre-3.4.0/core/
Devent_loop.cc263 chreEventCompleteFunction *freeCallback, in postEventOrDie() argument
267 if (!allocateAndPostEvent(eventType, eventData, freeCallback, in postEventOrDie()
272 } else if (freeCallback != nullptr) { in postEventOrDie()
273 freeCallback(eventType, eventData); in postEventOrDie()
294 chreEventCompleteFunction *freeCallback, uint32_t senderInstanceId, in postLowPriorityEventOrFree() argument
300 eventPosted = allocateAndPostEvent(eventType, eventData, freeCallback, in postLowPriorityEventOrFree()
310 if (!eventPosted && freeCallback != nullptr) { in postLowPriorityEventOrFree()
311 freeCallback(eventType, eventData); in postLowPriorityEventOrFree()
377 chreEventCompleteFunction *freeCallback, in allocateAndPostEvent() argument
384 mEventPool.allocate(eventType, eventData, freeCallback, senderInstanceId, in allocateAndPostEvent()
Dhost_comms_manager.cc31 chreMessageFreeFunction *freeCallback) { in sendMessageToHostFromNanoapp() argument
56 msgToHost->toHostData.nanoappFreeFunction = freeCallback; in sendMessageToHostFromNanoapp()
Dsensor_request_manager.cc548 auto freeCallback = [](uint16_t /* type */, void *data) { in handleBiasEvent() local
555 eventType, biasData, freeCallback, kBroadcastInstanceId, in handleBiasEvent()
/chre-3.4.0/apps/test/chqts/src/general_test/
Dsend_message_to_host_test.h96 chreMessageFreeFunction *freeCallback);
Dsend_message_to_host_test.cc245 chreMessageFreeFunction *freeCallback) { in sendMessageToHost() argument
251 reservedMessageType, freeCallback); in sendMessageToHost()
/chre-3.4.0/platform/shared/nanoapp/
Dnanoapp_support_lib_dso.cc313 chreMessageFreeFunction *freeCallback) { in chreSendMessageWithPermissions() argument
317 messagePermissions, freeCallback); in chreSendMessageWithPermissions()
320 hostEndpoint, freeCallback); in chreSendMessageWithPermissions()
/chre-3.4.0/doc/
Dvendor_extensions.md135 modified until `freeCallback` is invoked.