Home
last modified time | relevance | path

Searched refs:CallbackEvent (Results 1 – 4 of 4) sorted by relevance

/frameworks/av/services/soundtrigger/
DSoundTriggerHwService.cpp283 sp<CallbackEvent> callbackEvent = new CallbackEvent(CallbackEvent::TYPE_RECOGNITION, in sendRecognitionEvent()
328 sp<CallbackEvent> callbackEvent = new CallbackEvent(CallbackEvent::TYPE_SOUNDMODEL, in sendSoundModelEvent()
357 sp<CallbackEvent> callbackEvent = new CallbackEvent(CallbackEvent::TYPE_SERVICE_STATE, in sendServiceStateEvent()
370 sp<CallbackEvent> callbackEvent = new CallbackEvent(CallbackEvent::TYPE_SERVICE_STATE, in sendServiceStateEvent()
376 void SoundTriggerHwService::sendCallbackEvent(const sp<CallbackEvent>& event) in sendCallbackEvent()
381 void SoundTriggerHwService::onCallbackEvent(const sp<CallbackEvent>& event) in onCallbackEvent()
448 sp<CallbackEvent> event; in threadLoop()
479 const sp<SoundTriggerHwService::CallbackEvent>& event) in sendCallbackEvent()
486 SoundTriggerHwService::CallbackEvent::CallbackEvent(event_type type, sp<IMemory> memory) in CallbackEvent() function in android::SoundTriggerHwService::CallbackEvent
491 SoundTriggerHwService::CallbackEvent::~CallbackEvent() in ~CallbackEvent()
[all …]
DSoundTriggerHwService.h89 class CallbackEvent : public RefBase {
96 CallbackEvent(event_type type, sp<IMemory> memory);
98 virtual ~CallbackEvent();
143 void onCallbackEvent(const sp<CallbackEvent>& event);
186 void onCallbackEvent(const sp<CallbackEvent>& event);
214 void sendCallbackEvent(const sp<CallbackEvent>& event);
220 Vector< sp<CallbackEvent> > mEventQueue;
236 void sendCallbackEvent(const sp<CallbackEvent>& event);
237 void onCallbackEvent(const sp<CallbackEvent>& event);
/frameworks/ml/nn/runtime/
DEvent.h36 class CallbackEvent : public IEvent {
38 CallbackEvent(sp<ExecutionCallback> callback) : kExecutionCallback(std::move(callback)) { in CallbackEvent() function
DNeuralNetworks.cpp1366 std::unique_ptr<CallbackEvent> e = std::make_unique<CallbackEvent>(*callback); in ANeuralNetworksExecution_startCompute()