Home
last modified time | relevance | path

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

/system/chre/platform/shared/
Dchre_api_core.cc58 chreMessageFreeFunction *freeCallback, bool isReliable, in sendMessageToHost() argument
71 messagePermissions, freeCallback, isReliable, cookie); in sendMessageToHost()
74 if (!success && freeCallback != nullptr) { in sendMessageToHost()
75 freeCallback(message, messageSize); in sendMessageToHost()
97 chreEventCompleteFunction *freeCallback, in chreSendEvent() argument
112 eventType, eventData, freeCallback, nanoapp->getInstanceId(), in chreSendEvent()
120 chreMessageFreeFunction *freeCallback) { in chreSendMessageToHost() argument
123 CHRE_HOST_ENDPOINT_BROADCAST, freeCallback); in chreSendMessageToHost()
129 chreMessageFreeFunction *freeCallback) { in chreSendMessageWithPermissions() argument
132 hostEndpoint, messagePermissions, freeCallback, in chreSendMessageWithPermissions()
[all …]
/system/chre/core/include/chre/core/
Devent.h57 freeCallback(freeCallback_), in eventType()
100 return (targetInstanceId == kSystemInstanceId || freeCallback != nullptr); in hasFreeCallback()
114 freeCallback(eventType, eventData); in invokeFreeCallback()
132 chreEventCompleteFunction *const freeCallback; member
Devent_loop.h218 chreEventCompleteFunction *freeCallback,
245 chreEventCompleteFunction *freeCallback,
460 chreEventCompleteFunction *freeCallback,
Dhost_comms_manager.h204 chreMessageFreeFunction *freeCallback,
/system/chre/chre_api/legacy/v1_5/chre/
Devent.h451 chreEventCompleteFunction *freeCallback,
467 chreMessageFreeFunction *freeCallback)
483 chreMessageFreeFunction *freeCallback);
567 chreMessageFreeFunction *freeCallback);
/system/chre/chre_api/include/chre_api/chre/
Devent.h682 chreEventCompleteFunction *freeCallback,
698 chreMessageFreeFunction *freeCallback)
714 chreMessageFreeFunction *freeCallback);
800 chreMessageFreeFunction *freeCallback);
844 chreMessageFreeFunction *freeCallback,
/system/chre/chre_api/legacy/v1_1/chre/
Devent.h351 chreEventCompleteFunction *freeCallback,
367 chreMessageFreeFunction *freeCallback);
427 chreMessageFreeFunction *freeCallback);
/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_6/chre/
Devent.h599 chreEventCompleteFunction *freeCallback,
615 chreMessageFreeFunction *freeCallback)
631 chreMessageFreeFunction *freeCallback);
715 chreMessageFreeFunction *freeCallback);
/system/chre/chre_api/legacy/v1_7/chre/
Devent.h599 chreEventCompleteFunction *freeCallback,
615 chreMessageFreeFunction *freeCallback)
631 chreMessageFreeFunction *freeCallback);
715 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_9/chre/
Devent.h662 chreEventCompleteFunction *freeCallback,
678 chreMessageFreeFunction *freeCallback)
694 chreMessageFreeFunction *freeCallback);
780 chreMessageFreeFunction *freeCallback);
/system/chre/chre_api/legacy/v1_8/chre/
Devent.h635 chreEventCompleteFunction *freeCallback,
651 chreMessageFreeFunction *freeCallback)
667 chreMessageFreeFunction *freeCallback);
751 chreMessageFreeFunction *freeCallback);
/system/chre/core/
Devent_loop.cc322 chreEventCompleteFunction *freeCallback, in postEventOrDie() argument
327 !allocateAndPostEvent(eventType, eventData, freeCallback, in postEventOrDie()
332 } else if (freeCallback != nullptr) { in postEventOrDie()
333 freeCallback(eventType, eventData); in postEventOrDie()
363 chreEventCompleteFunction *freeCallback, uint16_t senderInstanceId, in postLowPriorityEventOrFree() argument
369 allocateAndPostEvent(eventType, eventData, freeCallback, in postLowPriorityEventOrFree()
379 if (!eventPosted && freeCallback != nullptr) { in postLowPriorityEventOrFree()
380 freeCallback(eventType, eventData); in postLowPriorityEventOrFree()
463 chreEventCompleteFunction *freeCallback, in allocateAndPostEvent() argument
471 mEventPool.allocate(eventType, eventData, freeCallback, isLowPriority, in allocateAndPostEvent()
Dhost_comms_manager.cc152 chreMessageFreeFunction *freeCallback, bool isReliable, in sendMessageToHostFromNanoapp() argument
172 msgToHost->toHostData.nanoappFreeFunction = freeCallback; in sendMessageToHostFromNanoapp()
Dsensor_request_manager.cc552 auto freeCallback = [](uint16_t /* type */, void *data) { in handleBiasEvent() local
559 eventType, biasData, freeCallback, kBroadcastInstanceId, in handleBiasEvent()
/system/chre/chre_api/legacy/v1_0/chre/
Devent.h212 chreEventCompleteFunction *freeCallback,
265 chreMessageFreeFunction *freeCallback);
/system/chre/apps/test/common/chre_reliable_message_test/src/
Dchre_reliable_message_test_manager.cc37 void freeCallback(void *message, size_t messageSize) { in freeCallback() function
138 /* messagePermissions= */ 0, freeCallback, cookie)) { in sendMessages()
/system/chre/platform/shared/nanoapp/
Dnanoapp_support_lib_dso.cc550 chreMessageFreeFunction *freeCallback) { in chreSendMessageWithPermissions() argument
554 messagePermissions, freeCallback); in chreSendMessageWithPermissions()
557 hostEndpoint, freeCallback); in chreSendMessageWithPermissions()
567 chreMessageFreeFunction *freeCallback, in chreSendReliableMessageAsync() argument
572 messagePermissions, freeCallback, cookie); in chreSendReliableMessageAsync()
/system/chre/apps/test/chqts/src/general_test/
Dsend_message_to_host_test.h94 chreMessageFreeFunction *freeCallback);
Dsend_message_to_host_test.cc252 chreMessageFreeFunction *freeCallback) { in sendMessageToHost() argument
258 reservedMessageType, freeCallback); in sendMessageToHost()
/system/chre/doc/
Dvendor_extensions.md135 modified until `freeCallback` is invoked.