Home
last modified time | relevance | path

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

/system/chre/platform/shared/
Dchre_api_core.cc48 chreEventCompleteFunction *freeCallback, in chreSendEvent() argument
60 success = eventLoop.postEvent(eventType, eventData, freeCallback, in chreSendEvent()
64 if (!success && freeCallback != nullptr) { in chreSendEvent()
65 freeCallback(eventType, eventData); in chreSendEvent()
72 chreMessageFreeFunction *freeCallback) { in chreSendMessageToHost() argument
75 CHRE_HOST_ENDPOINT_BROADCAST, freeCallback); in chreSendMessageToHost()
80 uint16_t hostEndpoint, chreMessageFreeFunction *freeCallback) { in chreSendMessageToHostEndpoint() argument
93 nanoapp, message, messageSize, messageType, hostEndpoint, freeCallback); in chreSendMessageToHostEndpoint()
96 if (!success && freeCallback != nullptr) { in chreSendMessageToHostEndpoint()
97 freeCallback(message, messageSize); in chreSendMessageToHostEndpoint()
/system/chre/core/
Devent_loop.cc246 chreEventCompleteFunction *freeCallback, uint32_t senderInstanceId, in postEvent() argument
252 success = allocateAndPostEvent(eventType, eventData, freeCallback, in postEvent()
266 chreEventCompleteFunction *freeCallback, uint32_t senderInstanceId, in postEventOrFree() argument
271 success = allocateAndPostEvent(eventType, eventData, freeCallback, in postEventOrFree()
274 freeCallback(eventType, eventData); in postEventOrFree()
328 chreEventCompleteFunction *freeCallback, uint32_t senderInstanceId, in allocateAndPostEvent() argument
332 Event *event = mEventPool.allocate(eventType, eventData, freeCallback, in allocateAndPostEvent()
398 if (event->freeCallback != nullptr) { in freeEvent()
401 event->freeCallback(event->eventType, event->eventData); in freeEvent()
Devent.cc25 : eventType(eventType_), 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/core/include/chre/core/
Devent.h42 chreEventCompleteFunction *freeCallback,
62 chreEventCompleteFunction * const freeCallback; variable
Devent_loop.h159 chreEventCompleteFunction *freeCallback,
169 chreEventCompleteFunction *freeCallback,
318 chreEventCompleteFunction *freeCallback, uint32_t senderInstanceId,
Dhost_comms_manager.h113 chreMessageFreeFunction *freeCallback);
/system/chre/chre_api/legacy/v1_0/chre/
Devent.h212 chreEventCompleteFunction *freeCallback,
265 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()