OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:eventMemory
(Results
1 - 5
of
5
) sorted by null
/frameworks/av/include/soundtrigger/
ISoundTriggerClient.h
32
virtual void onRecognitionEvent(const sp<IMemory>&
eventMemory
) = 0;
34
virtual void onSoundModelEvent(const sp<IMemory>&
eventMemory
) = 0;
36
virtual void onServiceStateChange(const sp<IMemory>&
eventMemory
) = 0;
SoundTrigger.h
60
virtual void onRecognitionEvent(const sp<IMemory>&
eventMemory
);
61
virtual void onSoundModelEvent(const sp<IMemory>&
eventMemory
);
62
virtual void onServiceStateChange(const sp<IMemory>&
eventMemory
);
/frameworks/av/soundtrigger/
ISoundTriggerClient.cpp
43
virtual void onRecognitionEvent(const sp<IMemory>&
eventMemory
)
47
data.writeStrongBinder(IInterface::asBinder(
eventMemory
));
53
virtual void onSoundModelEvent(const sp<IMemory>&
eventMemory
)
57
data.writeStrongBinder(IInterface::asBinder(
eventMemory
));
62
virtual void onServiceStateChange(const sp<IMemory>&
eventMemory
)
66
data.writeStrongBinder(IInterface::asBinder(
eventMemory
));
84
sp<IMemory>
eventMemory
= interface_cast<IMemory>(
86
onRecognitionEvent(
eventMemory
);
91
sp<IMemory>
eventMemory
= interface_cast<IMemory>(
93
onSoundModelEvent(
eventMemory
);
[
all
...]
SoundTrigger.cpp
204
void SoundTrigger::onRecognitionEvent(const sp<IMemory>&
eventMemory
)
207
if (
eventMemory
== 0 ||
eventMemory
->pointer() == NULL) {
213
(struct sound_trigger_recognition_event *)
eventMemory
->pointer());
217
void SoundTrigger::onSoundModelEvent(const sp<IMemory>&
eventMemory
)
220
if (
eventMemory
== 0 ||
eventMemory
->pointer() == NULL) {
226
(struct sound_trigger_model_event *)
eventMemory
->pointer());
230
void SoundTrigger::onServiceStateChange(const sp<IMemory>&
eventMemory
)
233
if (
eventMemory
== 0 || eventMemory->pointer() == NULL)
[
all
...]
/frameworks/av/services/soundtrigger/
SoundTriggerHwService.cpp
206
sp<IMemory>
eventMemory
;
232
return
eventMemory
;
236
eventMemory
= mMemoryDealer->allocate(size);
237
if (
eventMemory
== 0 ||
eventMemory
->pointer() == NULL) {
238
eventMemory
.clear();
239
return
eventMemory
;
241
memcpy(
eventMemory
->pointer(), event, size);
243
return
eventMemory
;
252
sp<IMemory>
eventMemory
= prepareRecognitionEvent(event)
[
all
...]
Completed in 1008 milliseconds