Home
last modified time | relevance | path

Searched refs:ISoundTriggerHwCallback (Results 1 – 25 of 27) sorted by relevance

12

/aosp12/hardware/interfaces/soundtrigger/2.0/default/
H A DSoundTriggerHalImpl.h36 using ::android::hardware::soundtrigger::V2_0::ISoundTriggerHwCallback;
60 ISoundTriggerHwCallback::CallbackCookie mCookie;
64 ISoundTriggerHwCallback::PhraseRecognitionEvent* event,
67 ISoundTriggerHwCallback::RecognitionEvent* event,
76 const sp<ISoundTriggerHwCallback>& callback,
77 ISoundTriggerHwCallback::CallbackCookie cookie,
105 const sp<ISoundTriggerHwCallback>& callback, in loadSoundModel()
121 const sp<ISoundTriggerHwCallback>& /*callback*/, in startRecognition()
122 ISoundTriggerHwCallback::CallbackCookie /*cookie*/) override { in startRecognition()
137 sp<ISoundTriggerHwCallback> callback) in SoundModelClient_2_0()
[all …]
H A DSoundTriggerHalImpl.cpp130 const sp<ISoundTriggerHwCallback>& callback, in loadSoundModel()
131 ISoundTriggerHwCallback::CallbackCookie cookie, in loadSoundModel()
140 const sp<ISoundTriggerHwCallback>& callback, ISoundTriggerHwCallback::CallbackCookie cookie, in loadPhraseSoundModel()
434 ISoundTriggerHwCallback::ModelEvent* event, const struct sound_trigger_model_event* halEvent) { in convertSoundModelEventFromHal()
435 event->status = (ISoundTriggerHwCallback::SoundModelStatus)halEvent->status; in convertSoundModelEventFromHal()
444 ISoundTriggerHwCallback::PhraseRecognitionEvent* event, in convertPhaseRecognitionEventFromHal()
455 ISoundTriggerHwCallback::RecognitionEvent* event, in convertRecognitionEventFromHal()
457 event->status = static_cast<ISoundTriggerHwCallback::RecognitionStatus>(halEvent->status); in convertRecognitionEventFromHal()
491 ISoundTriggerHwCallback::PhraseRecognitionEvent event; in recognitionCallback()
497 ISoundTriggerHwCallback::RecognitionEvent event; in recognitionCallback()
[all …]
/aosp12/hardware/interfaces/soundtrigger/2.2/default/
H A DSoundTriggerHw.h45 using ::android::hardware::soundtrigger::V2_0::ISoundTriggerHwCallback;
61 const sp<V2_0::ISoundTriggerHwCallback>& callback,
66 const sp<V2_0::ISoundTriggerHwCallback>& callback,
73 const sp<V2_1::ISoundTriggerHwCallback>& callback,
106 V2_0::ISoundTriggerHwCallback::CallbackCookie mCookie;
111 V2_0::ISoundTriggerHwCallback::PhraseRecognitionEvent* event,
114 V2_0::ISoundTriggerHwCallback::RecognitionEvent* event,
132 sp<V2_0::ISoundTriggerHwCallback> callback) in SoundModelClient_2_0()
139 sp<V2_0::ISoundTriggerHwCallback> mCallback;
174 sp<V2_1::ISoundTriggerHwCallback> callback) in SoundModelClient_2_1()
[all …]
H A DSoundTriggerHw.cpp159 const sp<V2_0::ISoundTriggerHwCallback>& callback, in loadPhraseSoundModel()
160 V2_0::ISoundTriggerHwCallback::CallbackCookie cookie, in loadPhraseSoundModel()
457 V2_0::ISoundTriggerHwCallback::ModelEvent* event, in convertSoundModelEventFromHal()
468 V2_0::ISoundTriggerHwCallback::PhraseRecognitionEvent* event, in convertPhaseRecognitionEventFromHal()
479 V2_0::ISoundTriggerHwCallback::RecognitionEvent* event, in convertRecognitionEventFromHal()
516 V2_0::ISoundTriggerHwCallback::PhraseRecognitionEvent event; in recognitionCallback()
522 V2_0::ISoundTriggerHwCallback::RecognitionEvent event; in recognitionCallback()
531 V2_0::ISoundTriggerHwCallback::ModelEvent event; in soundModelCallback()
660 V2_1::ISoundTriggerHwCallback::PhraseRecognitionEvent event; in recognitionCallback()
670 V2_1::ISoundTriggerHwCallback::RecognitionEvent event; in recognitionCallback()
[all …]
/aosp12/hardware/interfaces/soundtrigger/2.3/default/
H A DSoundTriggerHw.h61 const sp<V2_0::ISoundTriggerHwCallback>& callback,
66 const sp<V2_0::ISoundTriggerHwCallback>& callback,
73 const sp<V2_1::ISoundTriggerHwCallback>& callback,
81 const sp<V2_1::ISoundTriggerHwCallback>& callback,
123 V2_0::ISoundTriggerHwCallback::CallbackCookie mCookie;
128 V2_0::ISoundTriggerHwCallback::PhraseRecognitionEvent* event,
131 V2_0::ISoundTriggerHwCallback::RecognitionEvent* event,
148 sp<V2_0::ISoundTriggerHwCallback> callback) in SoundModelClient_2_0()
155 sp<V2_0::ISoundTriggerHwCallback> mCallback;
195 sp<V2_1::ISoundTriggerHwCallback> callback) in SoundModelClient_2_1()
[all …]
H A DSoundTriggerHw.cpp160 const sp<V2_0::ISoundTriggerHwCallback>& callback, in loadPhraseSoundModel()
161 V2_0::ISoundTriggerHwCallback::CallbackCookie cookie, in loadPhraseSoundModel()
513 V2_0::ISoundTriggerHwCallback::ModelEvent* event, in convertSoundModelEventFromHal()
524 V2_0::ISoundTriggerHwCallback::PhraseRecognitionEvent* event, in convertPhaseRecognitionEventFromHal()
535 V2_0::ISoundTriggerHwCallback::RecognitionEvent* event, in convertRecognitionEventFromHal()
572 V2_0::ISoundTriggerHwCallback::PhraseRecognitionEvent event; in recognitionCallback()
578 V2_0::ISoundTriggerHwCallback::RecognitionEvent event; in recognitionCallback()
587 V2_0::ISoundTriggerHwCallback::ModelEvent event; in soundModelCallback()
716 V2_1::ISoundTriggerHwCallback::PhraseRecognitionEvent event; in recognitionCallback()
726 V2_1::ISoundTriggerHwCallback::RecognitionEvent event; in recognitionCallback()
[all …]
/aosp12/hardware/interfaces/soundtrigger/2.1/default/
H A DSoundTriggerHw.h44 const sp<V2_1::ISoundTriggerHwCallback>& callback,
49 const sp<V2_1::ISoundTriggerHwCallback>& callback, int32_t cookie,
63 const sp<V2_0::ISoundTriggerHwCallback>& callback, in loadSoundModel()
68 const sp<V2_0::ISoundTriggerHwCallback>& callback, in loadPhraseSoundModel()
78 const sp<V2_0::ISoundTriggerHwCallback>& /*callback*/, in startRecognition()
89 const sp<V2_1::ISoundTriggerHwCallback>& callback, in loadSoundModel_2_1()
95 const sp<V2_1::ISoundTriggerHwCallback>& callback, int32_t cookie, in loadPhraseSoundModel_2_1()
101 const sp<V2_1::ISoundTriggerHwCallback>& /*callback*/, in startRecognition_2_1()
112 SoundModelClient_2_1(uint32_t id, V2_1::ISoundTriggerHwCallback::CallbackCookie cookie, in SoundModelClient_2_1()
113 sp<V2_1::ISoundTriggerHwCallback> callback) in SoundModelClient_2_1()
[all …]
H A DSoundTriggerHw.cpp102 const sp<V2_1::ISoundTriggerHwCallback>& callback, int32_t cookie, in loadSoundModel_2_1()
119 const sp<V2_1::ISoundTriggerHwCallback>& callback, int32_t cookie, in loadPhraseSoundModel_2_1()
151 V2_0::ISoundTriggerHwCallback::PhraseRecognitionEvent event_2_0; in recognitionCallback()
155 V2_1::ISoundTriggerHwCallback::PhraseRecognitionEvent event; in recognitionCallback()
165 V2_1::ISoundTriggerHwCallback::RecognitionEvent event; in recognitionCallback()
177 V2_1::ISoundTriggerHwCallback::ModelEvent event; in soundModelCallback()
/aosp12/frameworks/base/services/core/java/com/android/server/soundtrigger_middleware/
H A DHw2CompatUtil.java38 …static android.hardware.soundtrigger.V2_1.ISoundTriggerHwCallback.RecognitionEvent convertRecognit… in convertRecognitionEvent_2_0_to_2_1()
39 android.hardware.soundtrigger.V2_0.ISoundTriggerHwCallback.RecognitionEvent event) { in convertRecognitionEvent_2_0_to_2_1()
40 android.hardware.soundtrigger.V2_1.ISoundTriggerHwCallback.RecognitionEvent event_2_1 = in convertRecognitionEvent_2_0_to_2_1()
41 new android.hardware.soundtrigger.V2_1.ISoundTriggerHwCallback.RecognitionEvent(); in convertRecognitionEvent_2_0_to_2_1()
50 …static android.hardware.soundtrigger.V2_1.ISoundTriggerHwCallback.PhraseRecognitionEvent convertPh… in convertPhraseRecognitionEvent_2_0_to_2_1()
51 … android.hardware.soundtrigger.V2_0.ISoundTriggerHwCallback.PhraseRecognitionEvent event) { in convertPhraseRecognitionEvent_2_0_to_2_1()
52 android.hardware.soundtrigger.V2_1.ISoundTriggerHwCallback.PhraseRecognitionEvent in convertPhraseRecognitionEvent_2_0_to_2_1()
54 … new android.hardware.soundtrigger.V2_1.ISoundTriggerHwCallback.PhraseRecognitionEvent(); in convertPhraseRecognitionEvent_2_0_to_2_1()
H A DSoundTriggerHw2Compat.java452 android.hardware.soundtrigger.V2_1.ISoundTriggerHwCallback.Stub {
463 android.hardware.soundtrigger.V2_1.ISoundTriggerHwCallback.RecognitionEvent event, in recognitionCallback_2_1()
470 … android.hardware.soundtrigger.V2_1.ISoundTriggerHwCallback.PhraseRecognitionEvent event, in phraseRecognitionCallback_2_1()
477 android.hardware.soundtrigger.V2_1.ISoundTriggerHwCallback.ModelEvent event, in soundModelCallback_2_1()
484 android.hardware.soundtrigger.V2_0.ISoundTriggerHwCallback.RecognitionEvent event, in recognitionCallback()
486 android.hardware.soundtrigger.V2_1.ISoundTriggerHwCallback.RecognitionEvent event_2_1 = in recognitionCallback()
493 … android.hardware.soundtrigger.V2_0.ISoundTriggerHwCallback.PhraseRecognitionEvent event, in phraseRecognitionCallback()
495 android.hardware.soundtrigger.V2_1.ISoundTriggerHwCallback.PhraseRecognitionEvent in phraseRecognitionCallback()
502 android.hardware.soundtrigger.V2_0.ISoundTriggerHwCallback.ModelEvent event, in soundModelCallback()
H A DConversionUtil.java22 import android.hardware.soundtrigger.V2_1.ISoundTriggerHwCallback;
282 case ISoundTriggerHwCallback.RecognitionStatus.SUCCESS: in hidl2aidlRecognitionStatus()
284 case ISoundTriggerHwCallback.RecognitionStatus.ABORT: in hidl2aidlRecognitionStatus()
286 case ISoundTriggerHwCallback.RecognitionStatus.FAILURE: in hidl2aidlRecognitionStatus()
297 android.hardware.soundtrigger.V2_0.ISoundTriggerHwCallback.RecognitionEvent hidlEvent) { in hidl2aidlRecognitionEvent()
317 @NonNull ISoundTriggerHwCallback.RecognitionEvent hidlEvent) { in hidl2aidlRecognitionEvent()
326 … android.hardware.soundtrigger.V2_0.ISoundTriggerHwCallback.PhraseRecognitionEvent hidlEvent) { in hidl2aidlPhraseRecognitionEvent()
339 @NonNull ISoundTriggerHwCallback.PhraseRecognitionEvent hidlEvent) { in hidl2aidlPhraseRecognitionEvent()
H A DISoundTriggerHw2.java147 android.hardware.soundtrigger.V2_1.ISoundTriggerHwCallback.RecognitionEvent event, in recognitionCallback()
155 … android.hardware.soundtrigger.V2_1.ISoundTriggerHwCallback.PhraseRecognitionEvent event, in phraseRecognitionCallback()
H A DSoundTriggerHw2Enforcer.java20 import android.hardware.soundtrigger.V2_1.ISoundTriggerHwCallback;
222 public void recognitionCallback(ISoundTriggerHwCallback.RecognitionEvent event, in recognitionCallback()
240 public void phraseRecognitionCallback(ISoundTriggerHwCallback.PhraseRecognitionEvent event, in phraseRecognitionCallback()
H A DSoundTriggerModule.java21 import android.hardware.soundtrigger.V2_1.ISoundTriggerHwCallback;
615 @NonNull ISoundTriggerHwCallback.RecognitionEvent recognitionEvent, in recognitionCallback()
636 @NonNull ISoundTriggerHwCallback.PhraseRecognitionEvent phraseRecognitionEvent, in phraseRecognitionCallback()
/aosp12/frameworks/base/services/tests/servicestests/src/com/android/server/soundtrigger_middleware/
H A DSoundTriggerMiddlewareImplTest.java230 android.hardware.soundtrigger.V2_0.ISoundTriggerHwCallback.RecognitionEvent halEvent = in createRecognitionEvent_2_0()
255 android.hardware.soundtrigger.V2_1.ISoundTriggerHwCallback.RecognitionEvent halEvent = in createRecognitionEvent_2_1()
370 android.hardware.soundtrigger.V2_0.ISoundTriggerHwCallback.class); in loadGenericModel_2_0()
374 android.hardware.soundtrigger.V2_0.ISoundTriggerHwCallback callback = in loadGenericModel_2_0()
423 android.hardware.soundtrigger.V2_1.ISoundTriggerHwCallback.class); in loadGenericModel_2_1()
427 android.hardware.soundtrigger.V2_1.ISoundTriggerHwCallback callback = in loadGenericModel_2_1()
484 android.hardware.soundtrigger.V2_0.ISoundTriggerHwCallback.class); in loadPhraseModel_2_0()
488 android.hardware.soundtrigger.V2_0.ISoundTriggerHwCallback callback = in loadPhraseModel_2_0()
556 android.hardware.soundtrigger.V2_1.ISoundTriggerHwCallback.class); in loadPhraseModel_2_1()
560 android.hardware.soundtrigger.V2_1.ISoundTriggerHwCallback callback = in loadPhraseModel_2_1()
[all …]
/aosp12/hardware/interfaces/soundtrigger/2.0/vts/functional/
H A DVtsHalSoundtriggerV2_0TargetTest.cpp43 using ::android::hardware::soundtrigger::V2_0::ISoundTriggerHwCallback;
103 class SoundTriggerHwCallback : public ISoundTriggerHwCallback {
111 const ISoundTriggerHwCallback::RecognitionEvent& event __unused, in recognitionCallback()
118 const ISoundTriggerHwCallback::PhraseRecognitionEvent& event __unused, in phraseRecognitionCallback()
125 const ISoundTriggerHwCallback::ModelEvent& event, in soundModelCallback()
138 ISoundTriggerHwCallback::ModelEvent lastModelEvent;
/aosp12/hardware/interfaces/soundtrigger/2.1/vts/functional/
H A DVtsHalSoundtriggerV2_1TargetTest.cpp53 ::android::hardware::soundtrigger::V2_0::ISoundTriggerHwCallback;
55 using ::android::hardware::soundtrigger::V2_1::ISoundTriggerHwCallback;
109 class SoundTriggerHwCallback : public ISoundTriggerHwCallback {
138 Return<void> recognitionCallback_2_1(const ISoundTriggerHwCallback::RecognitionEvent& event in recognitionCallback_2_1()
146 const ISoundTriggerHwCallback::PhraseRecognitionEvent& event __unused, in phraseRecognitionCallback_2_1()
152 Return<void> soundModelCallback_2_1(const ISoundTriggerHwCallback::ModelEvent& event, in soundModelCallback_2_1()
167 ISoundTriggerHwCallback::ModelEvent lastModelEvent;
/aosp12/hardware/interfaces/soundtrigger/2.1/
H A DISoundTriggerHwCallback.hal19 import @2.0::ISoundTriggerHwCallback;
25 interface ISoundTriggerHwCallback extends @2.0::ISoundTriggerHwCallback {
33 @2.0::ISoundTriggerHwCallback.RecognitionEvent header;
54 @2.0::ISoundTriggerHwCallback.ModelEvent header;
H A DISoundTriggerHw.hal20 import @2.0::ISoundTriggerHwCallback.CallbackCookie;
23 import ISoundTriggerHwCallback;
97 ISoundTriggerHwCallback callback,
131 ISoundTriggerHwCallback callback,
161 ISoundTriggerHwCallback callback,
H A DAndroid.bp17 "ISoundTriggerHwCallback.hal",
/aosp12/hardware/interfaces/soundtrigger/2.0/
H A DISoundTriggerHw.hal21 import ISoundTriggerHwCallback;
161 ISoundTriggerHwCallback callback,
189 ISoundTriggerHwCallback callback,
224 ISoundTriggerHwCallback callback,
H A DAndroid.bp21 "ISoundTriggerHwCallback.hal",
H A DISoundTriggerHwCallback.hal21 interface ISoundTriggerHwCallback {
/aosp12/hardware/interfaces/soundtrigger/2.2/vts/functional/
H A DVtsHalSoundtriggerV2_2TargetTest.cpp37 using ::android::hardware::soundtrigger::V2_0::ISoundTriggerHwCallback;
/aosp12/hardware/interfaces/soundtrigger/2.3/
H A DISoundTriggerHw.hal20 import @2.0::ISoundTriggerHwCallback.CallbackCookie;
22 import @2.1::ISoundTriggerHwCallback;

12