Home
last modified time | relevance | path

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

/system/chre/platform/shared/
Dchre_api_core.cc48 chreEventCompleteFunction *freeCallback, in chreSendEvent() argument
61 eventType, eventData, freeCallback, nanoapp->getInstanceId(), in chreSendEvent()
69 chreMessageFreeFunction *freeCallback) { in chreSendMessageToHost() argument
72 CHRE_HOST_ENDPOINT_BROADCAST, freeCallback); in chreSendMessageToHost()
77 uint16_t hostEndpoint, chreMessageFreeFunction *freeCallback) { in chreSendMessageToHostEndpoint() argument
90 nanoapp, message, messageSize, messageType, hostEndpoint, freeCallback); in chreSendMessageToHostEndpoint()
93 if (!success && freeCallback != nullptr) { in chreSendMessageToHostEndpoint()
94 freeCallback(message, messageSize); in chreSendMessageToHostEndpoint()
/system/chre/core/
Devent_loop.cc248 chreEventCompleteFunction *freeCallback, in postEventOrDie() argument
253 success = allocateAndPostEvent(eventType, eventData, freeCallback, in postEventOrDie()
268 chreEventCompleteFunction *freeCallback, uint32_t senderInstanceId, in postLowPriorityEventOrFree() argument
274 success = allocateAndPostEvent(eventType, eventData, freeCallback, in postLowPriorityEventOrFree()
278 if (freeCallback != nullptr) { in postLowPriorityEventOrFree()
279 freeCallback(eventType, eventData); in postLowPriorityEventOrFree()
339 chreEventCompleteFunction *freeCallback, uint32_t senderInstanceId, in allocateAndPostEvent() argument
349 freeCallback, senderInstanceId, in allocateAndPostEvent()
416 if (event->freeCallback != nullptr) { in freeEvent()
419 event->freeCallback(event->eventType, event->eventData); in freeEvent()
Devent.cc26 eventData(eventData_), freeCallback(freeCallback_), in Event()
Dhost_comms_manager.cc36 chreMessageFreeFunction *freeCallback) { in sendMessageToHostFromNanoapp() argument
55 msgToHost->toHostData.nanoappFreeFunction = freeCallback; in sendMessageToHostFromNanoapp()
/system/chre/chre_api/legacy/v1_1/chre/
Devent.h351 chreEventCompleteFunction *freeCallback,
367 chreMessageFreeFunction *freeCallback);
427 chreMessageFreeFunction *freeCallback);
/system/chre/chre_api/include/chre_api/chre/
Devent.h379 chreEventCompleteFunction *freeCallback,
395 chreMessageFreeFunction *freeCallback);
455 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_0/chre/
Devent.h212 chreEventCompleteFunction *freeCallback,
265 chreMessageFreeFunction *freeCallback);
/system/chre/core/include/chre/core/
Devent_loop.h150 chreEventCompleteFunction *freeCallback,
173 chreEventCompleteFunction *freeCallback,
327 chreEventCompleteFunction *freeCallback, uint32_t senderInstanceId,
Devent.h65 chreEventCompleteFunction * const freeCallback; variable
Dhost_comms_manager.h113 chreMessageFreeFunction *freeCallback);
/system/chre/apps/chqts/src/general_test/
Dsend_message_to_host_test.h98 chreMessageFreeFunction *freeCallback);
Dsend_message_to_host_test.cc247 chreMessageFreeFunction *freeCallback) { in sendMessageToHost() argument
250 reservedMessageType, freeCallback); in sendMessageToHost()