Home
last modified time | relevance | path

Searched refs:RecognitionEvent (Results 1 – 25 of 26) sorted by relevance

12

/frameworks/base/tests/SoundTriggerTests/src/android/hardware/soundtrigger/
DSoundTriggerTest.java24 import android.hardware.soundtrigger.SoundTrigger.RecognitionEvent;
222 RecognitionEvent re = new RecognitionEvent(SoundTrigger.RECOGNITION_STATUS_SUCCESS, 1, in testRecognitionEventParcelUnparcel_noData()
231 RecognitionEvent unparceled = RecognitionEvent.CREATOR.createFromParcel(parcel); in testRecognitionEventParcelUnparcel_noData()
239 RecognitionEvent re = new RecognitionEvent(SoundTrigger.RECOGNITION_STATUS_FAILURE, 1, in testRecognitionEventParcelUnparcel_zeroData()
248 RecognitionEvent unparceled = RecognitionEvent.CREATOR.createFromParcel(parcel); in testRecognitionEventParcelUnparcel_zeroData()
258 RecognitionEvent re = new RecognitionEvent(SoundTrigger.RECOGNITION_STATUS_ABORT, 1, in testRecognitionEventParcelUnparcel_largeData()
267 RecognitionEvent unparceled = RecognitionEvent.CREATOR.createFromParcel(parcel); in testRecognitionEventParcelUnparcel_largeData()
277 RecognitionEvent re = new RecognitionEvent(SoundTrigger.RECOGNITION_STATUS_ABORT, 1, in testRecognitionEventParcelUnparcel_largeAudioData()
292 RecognitionEvent unparceled = RecognitionEvent.CREATOR.createFromParcel(parcel); in testRecognitionEventParcelUnparcel_largeAudioData()
/frameworks/base/media/java/android/media/soundtrigger_middleware/
DPhraseRecognitionEvent.aidl19 import android.media.soundtrigger_middleware.RecognitionEvent;
28 RecognitionEvent common;
DISoundTriggerCallback.aidl18 import android.media.soundtrigger_middleware.RecognitionEvent;
32 void onRecognition(int modelHandle, in RecognitionEvent event); in onRecognition()
DRecognitionEvent.aidl26 parcelable RecognitionEvent {
/frameworks/base/services/core/java/com/android/server/soundtrigger_middleware/
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()
DSoundTriggerModule.java30 import android.media.soundtrigger_middleware.RecognitionEvent;
573 android.media.soundtrigger_middleware.RecognitionEvent event = in notifyAbort()
605 @NonNull ISoundTriggerHwCallback.RecognitionEvent recognitionEvent, in recognitionCallback()
607 RecognitionEvent aidlEvent = in recognitionCallback()
657 private static RecognitionEvent newEmptyRecognitionEvent() { in newEmptyRecognitionEvent()
658 RecognitionEvent result = new RecognitionEvent(); in newEmptyRecognitionEvent()
DConversionUtil.java36 import android.media.soundtrigger_middleware.RecognitionEvent;
293 RecognitionEvent hidl2aidlRecognitionEvent(@NonNull in hidl2aidlRecognitionEvent()
294 android.hardware.soundtrigger.V2_0.ISoundTriggerHwCallback.RecognitionEvent hidlEvent) { in hidl2aidlRecognitionEvent()
295 RecognitionEvent aidlEvent = new RecognitionEvent(); in hidl2aidlRecognitionEvent()
313 RecognitionEvent hidl2aidlRecognitionEvent( in hidl2aidlRecognitionEvent()
314 @NonNull ISoundTriggerHwCallback.RecognitionEvent hidlEvent) { in hidl2aidlRecognitionEvent()
315 RecognitionEvent aidlEvent = hidl2aidlRecognitionEvent(hidlEvent.header); in hidl2aidlRecognitionEvent()
DISoundTriggerHw2.java147 android.hardware.soundtrigger.V2_1.ISoundTriggerHwCallback.RecognitionEvent event, in recognitionCallback()
DSoundTriggerHw2Compat.java463 android.hardware.soundtrigger.V2_1.ISoundTriggerHwCallback.RecognitionEvent event, in recognitionCallback_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()
DSoundTriggerMiddlewareLogging.java28 import android.media.soundtrigger_middleware.RecognitionEvent;
140 public void onRecognition(int modelHandle, RecognitionEvent event) throws RemoteException { in onRecognition()
DSoundTriggerHw2Enforcer.java213 public void recognitionCallback(ISoundTriggerHwCallback.RecognitionEvent event, in recognitionCallback()
DSoundTriggerMiddlewareValidation.java31 import android.media.soundtrigger_middleware.RecognitionEvent;
754 public void onRecognition(int modelHandle, @NonNull RecognitionEvent event) { in onRecognition()
/frameworks/base/core/java/android/hardware/soundtrigger/
DSoundTrigger.java1100 public static class RecognitionEvent { class in SoundTrigger
1171 public RecognitionEvent(int status, int soundModelHandle, boolean captureAvailable, in RecognitionEvent() method in SoundTrigger.RecognitionEvent
1226 public static final @android.annotation.NonNull Parcelable.Creator<RecognitionEvent> CREATOR
1227 = new Parcelable.Creator<RecognitionEvent>() {
1228 public RecognitionEvent createFromParcel(Parcel in) {
1229 return RecognitionEvent.fromParcel(in);
1232 public RecognitionEvent[] newArray(int size) {
1233 return new RecognitionEvent[size];
1238 protected static RecognitionEvent fromParcel(Parcel in) { in fromParcel()
1258 return new RecognitionEvent(status, soundModelHandle, captureAvailable, captureSession, in fromParcel()
[all …]
DSoundTriggerModule.java27 import android.media.soundtrigger_middleware.RecognitionEvent;
303 (SoundTrigger.RecognitionEvent) msg.obj); in EventHandlerDelegate()
320 public synchronized void onRecognition(int handle, RecognitionEvent event) in onRecognition()
DSoundTrigger.aidl21 parcelable SoundTrigger.RecognitionEvent;
DConversionUtil.java30 import android.media.soundtrigger_middleware.RecognitionEvent;
196 public static SoundTrigger.RecognitionEvent aidl2apiRecognitionEvent( in aidl2apiRecognitionEvent()
197 int modelHandle, RecognitionEvent aidlEvent) { in aidl2apiRecognitionEvent()
208 public static SoundTrigger.RecognitionEvent aidl2apiPhraseRecognitionEvent( in aidl2apiPhraseRecognitionEvent()
/frameworks/base/services/tests/servicestests/src/com/android/server/soundtrigger_middleware/
DSoundTriggerMiddlewareImplTest.java51 import android.media.soundtrigger_middleware.RecognitionEvent;
226 …private static android.hardware.soundtrigger.V2_0.ISoundTriggerHwCallback.RecognitionEvent createR… in createRecognitionEvent_2_0()
229 android.hardware.soundtrigger.V2_0.ISoundTriggerHwCallback.RecognitionEvent halEvent = in createRecognitionEvent_2_0()
230 new android.hardware.soundtrigger.V2_0.ISoundTriggerHwCallback.RecognitionEvent(); in createRecognitionEvent_2_0()
251 …private static android.hardware.soundtrigger.V2_1.ISoundTriggerHwCallback.RecognitionEvent createR… in createRecognitionEvent_2_1()
254 android.hardware.soundtrigger.V2_1.ISoundTriggerHwCallback.RecognitionEvent halEvent = in createRecognitionEvent_2_1()
255 new android.hardware.soundtrigger.V2_1.ISoundTriggerHwCallback.RecognitionEvent(); in createRecognitionEvent_2_1()
262 private static void validateRecognitionEvent(RecognitionEvent event, int status) { in validateRecognitionEvent()
972 ArgumentCaptor<RecognitionEvent> eventCaptor = ArgumentCaptor.forClass( in testRecognition()
973 RecognitionEvent.class); in testRecognition()
[all …]
/frameworks/base/media/
DAndroid.bp41 "java/android/media/soundtrigger_middleware/RecognitionEvent.aidl",
/frameworks/base/media/java/android/media/soundtrigger/
DSoundTriggerDetectionService.java153 @NonNull SoundTrigger.RecognitionEvent event) { in onGenericRecognitionEvent()
/frameworks/base/services/voiceinteraction/java/com/android/server/soundtrigger/
DSoundTriggerHelper.java37 import android.hardware.soundtrigger.SoundTrigger.RecognitionEvent;
750 public void onRecognition(RecognitionEvent event) { in onRecognition()
784 private boolean isKeyphraseRecognitionEvent(RecognitionEvent event) { in isKeyphraseRecognitionEvent()
896 private void onRecognitionAbortLocked(RecognitionEvent event) { in onRecognitionAbortLocked()
/frameworks/base/api/
Dtest-current.txt1558 public static class SoundTrigger.RecognitionEvent {
1559 …ctor public SoundTrigger.RecognitionEvent(int, int, boolean, int, int, int, boolean, @NonNull andr…
Dsystem-current.txt3637 public static class SoundTrigger.RecognitionEvent {
4478 …able android.os.Bundle, int, @NonNull android.hardware.soundtrigger.SoundTrigger.RecognitionEvent);
/frameworks/base/services/
Dart-profile172 HPLandroid/hardware/soundtrigger/V2_0/ISoundTriggerHwCallback$RecognitionEvent;-><init>()V
173 HPLandroid/hardware/soundtrigger/V2_0/ISoundTriggerHwCallback$RecognitionEvent;->readEmbeddedFromPa…
174 HPLandroid/hardware/soundtrigger/V2_0/ISoundTriggerHwCallback$RecognitionEvent;->toString()Ljava/la…
194 HPLandroid/hardware/soundtrigger/V2_1/ISoundTriggerHwCallback$RecognitionEvent;-><init>()V
195 HPLandroid/hardware/soundtrigger/V2_1/ISoundTriggerHwCallback$RecognitionEvent;->readEmbeddedFromPa…
196 HPLandroid/hardware/soundtrigger/V2_1/ISoundTriggerHwCallback$RecognitionEvent;->readFromParcel(Lan…
197 HPLandroid/hardware/soundtrigger/V2_1/ISoundTriggerHwCallback$RecognitionEvent;->toString()Ljava/la…
30189 …elper;->isKeyphraseRecognitionEvent(Landroid/hardware/soundtrigger/SoundTrigger$RecognitionEvent;)Z
30196 …/SoundTriggerHelper;->onRecognition(Landroid/hardware/soundtrigger/SoundTrigger$RecognitionEvent;)V
30342 …undtrigger/V2_0/ISoundTriggerHwCallback$RecognitionEvent;)Landroid/media/soundtrigger_middleware/R…
[all …]
/frameworks/base/config/
Dpreloaded-classes2790 android.hardware.soundtrigger.SoundTrigger$RecognitionEvent$1
2791 android.hardware.soundtrigger.SoundTrigger$RecognitionEvent
/frameworks/base/non-updatable-api/
Dsystem-current.txt3585 public static class SoundTrigger.RecognitionEvent {
4426 …able android.os.Bundle, int, @NonNull android.hardware.soundtrigger.SoundTrigger.RecognitionEvent);

12