Home
last modified time | relevance | path

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

/system/chre/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()
/system/chre/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);
/system/chre/chre_api/include/chre_api/chre/
Devent.h445 chreEventCompleteFunction *freeCallback,
461 chreMessageFreeFunction *freeCallback)
477 chreMessageFreeFunction *freeCallback);
561 chreMessageFreeFunction *freeCallback);
/system/chre/chre_api/legacy/v1_1/chre/
Devent.h351 chreEventCompleteFunction *freeCallback,
367 chreMessageFreeFunction *freeCallback);
427 chreMessageFreeFunction *freeCallback);
/system/chre/core/
Devent_loop.cc259 chreEventCompleteFunction *freeCallback, in postEventOrDie() argument
263 if (!allocateAndPostEvent(eventType, eventData, freeCallback, in postEventOrDie()
268 } else if (freeCallback != nullptr) { in postEventOrDie()
269 freeCallback(eventType, eventData); in postEventOrDie()
290 chreEventCompleteFunction *freeCallback, uint32_t senderInstanceId, in postLowPriorityEventOrFree() argument
296 eventPosted = allocateAndPostEvent(eventType, eventData, freeCallback, in postLowPriorityEventOrFree()
306 if (!eventPosted && freeCallback != nullptr) { in postLowPriorityEventOrFree()
307 freeCallback(eventType, eventData); in postLowPriorityEventOrFree()
373 chreEventCompleteFunction *freeCallback, in allocateAndPostEvent() argument
380 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.cc542 auto freeCallback = [](uint16_t /* type */, void *data) { in handleBiasEvent() local
549 eventType, biasData, freeCallback, kBroadcastInstanceId, in handleBiasEvent()
/system/chre/chre_api/legacy/v1_3/chre/
Devent.h376 chreEventCompleteFunction *freeCallback,
392 chreMessageFreeFunction *freeCallback);
452 chreMessageFreeFunction *freeCallback);
/system/chre/chre_api/legacy/v1_2/chre/
Devent.h379 chreEventCompleteFunction *freeCallback,
395 chreMessageFreeFunction *freeCallback);
455 chreMessageFreeFunction *freeCallback);
/system/chre/chre_api/legacy/v1_4/chre/
Devent.h391 chreEventCompleteFunction *freeCallback,
407 chreMessageFreeFunction *freeCallback)
468 chreMessageFreeFunction *freeCallback);
/system/chre/chre_api/legacy/v1_0/chre/
Devent.h212 chreEventCompleteFunction *freeCallback,
265 chreMessageFreeFunction *freeCallback);
/system/chre/platform/shared/nanoapp/
Dnanoapp_support_lib_dso.cc313 chreMessageFreeFunction *freeCallback) { in chreSendMessageWithPermissions() argument
317 messagePermissions, freeCallback); in chreSendMessageWithPermissions()
320 hostEndpoint, freeCallback); in chreSendMessageWithPermissions()
/system/chre/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()
/system/chre/doc/
Dvendor_extensions.md135 modified until `freeCallback` is invoked.