Home
last modified time | relevance | path

Searched refs:KeyphraseRecognitionEvent (Results 1 – 14 of 14) sorted by relevance

/frameworks/base/tests/SoundTriggerTests/src/android/hardware/soundtrigger/
DSoundTriggerTest.java22 import android.hardware.soundtrigger.SoundTrigger.KeyphraseRecognitionEvent;
291 KeyphraseRecognitionEvent re = new KeyphraseRecognitionEvent( in testKeyphraseRecognitionEventParcelUnparcel_noKeyphrases()
300 KeyphraseRecognitionEvent unparceled = in testKeyphraseRecognitionEventParcelUnparcel_noKeyphrases()
301 KeyphraseRecognitionEvent.CREATOR.createFromParcel(parcel); in testKeyphraseRecognitionEventParcelUnparcel_noKeyphrases()
310 KeyphraseRecognitionEvent re = new KeyphraseRecognitionEvent( in testKeyphraseRecognitionEventParcelUnparcel_zeroData()
320 KeyphraseRecognitionEvent unparceled = in testKeyphraseRecognitionEventParcelUnparcel_zeroData()
321 KeyphraseRecognitionEvent.CREATOR.createFromParcel(parcel); in testKeyphraseRecognitionEventParcelUnparcel_zeroData()
346 KeyphraseRecognitionEvent re = new KeyphraseRecognitionEvent( in testKeyphraseRecognitionEventParcelUnparcel_largeData()
356 KeyphraseRecognitionEvent unparceled = in testKeyphraseRecognitionEventParcelUnparcel_largeData()
357 KeyphraseRecognitionEvent.CREATOR.createFromParcel(parcel); in testKeyphraseRecognitionEventParcelUnparcel_largeData()
/frameworks/base/core/java/android/hardware/soundtrigger/
DSoundTrigger.java1160 public static class KeyphraseRecognitionEvent extends RecognitionEvent implements Parcelable { class in SoundTrigger
1166 public KeyphraseRecognitionEvent(int status, int soundModelHandle, boolean captureAvailable, in KeyphraseRecognitionEvent() method in SoundTrigger.KeyphraseRecognitionEvent
1175 …blic static final @android.annotation.NonNull Parcelable.Creator<KeyphraseRecognitionEvent> CREATOR
1176 = new Parcelable.Creator<KeyphraseRecognitionEvent>() {
1177 public KeyphraseRecognitionEvent createFromParcel(Parcel in) {
1178 return KeyphraseRecognitionEvent.fromParcelForKeyphrase(in);
1181 public KeyphraseRecognitionEvent[] newArray(int size) {
1182 return new KeyphraseRecognitionEvent[size];
1186 private static KeyphraseRecognitionEvent fromParcelForKeyphrase(Parcel in) { in fromParcelForKeyphrase()
1208 return new KeyphraseRecognitionEvent(status, soundModelHandle, captureAvailable, in fromParcelForKeyphrase()
[all …]
DIRecognitionStatusCallback.aidl32 void onKeyphraseDetected(in SoundTrigger.KeyphraseRecognitionEvent recognitionEvent); in onKeyphraseDetected()
DSoundTrigger.aidl22 parcelable SoundTrigger.KeyphraseRecognitionEvent;
/frameworks/base/services/voiceinteraction/java/com/android/server/soundtrigger/
DSoundTriggerHelper.java28 import android.hardware.soundtrigger.SoundTrigger.KeyphraseRecognitionEvent;
616 if (!(event instanceof KeyphraseRecognitionEvent) && in onRecognition()
635 onKeyphraseRecognitionSuccessLocked((KeyphraseRecognitionEvent) event); in onRecognition()
645 return event instanceof KeyphraseRecognitionEvent; in isKeyphraseRecognitionEvent()
781 private int getKeyphraseIdFromEvent(KeyphraseRecognitionEvent event) { in getKeyphraseIdFromEvent()
787 ((KeyphraseRecognitionEvent) event).keyphraseExtras; in getKeyphraseIdFromEvent()
796 private void onKeyphraseRecognitionSuccessLocked(KeyphraseRecognitionEvent event) { in onKeyphraseRecognitionSuccessLocked()
815 modelData.getCallback().onKeyphraseDetected((KeyphraseRecognitionEvent) event); in onKeyphraseRecognitionSuccessLocked()
DSoundTriggerInternal.java22 import android.hardware.soundtrigger.SoundTrigger.KeyphraseRecognitionEvent;
DSoundTriggerService.java1140 public void onKeyphraseDetected(SoundTrigger.KeyphraseRecognitionEvent event) { in onKeyphraseDetected()
/frameworks/base/tests/SoundTriggerTests/src/android/hardware/soundtrigger/stubhal/
DGenericSoundModelTest.java29 import android.hardware.soundtrigger.SoundTrigger.KeyphraseRecognitionEvent;
277 public void onKeyphraseDetected(KeyphraseRecognitionEvent recognitionEvent) { in onKeyphraseDetected()
/frameworks/base/core/java/android/service/voice/
DAlwaysOnHotwordDetector.java30 import android.hardware.soundtrigger.SoundTrigger.KeyphraseRecognitionEvent;
619 public void onKeyphraseDetected(KeyphraseRecognitionEvent event) { in onKeyphraseDetected()
/frameworks/base/media/java/android/media/soundtrigger/
DSoundTriggerDetector.java329 public void onKeyphraseDetected(SoundTrigger.KeyphraseRecognitionEvent event) { in onKeyphraseDetected()
/frameworks/base/config/
Dpreloaded-classes1648 android.hardware.soundtrigger.SoundTrigger$KeyphraseRecognitionEvent$1
1649 android.hardware.soundtrigger.SoundTrigger$KeyphraseRecognitionEvent
Dboot-image-profile.txt7544 …roxy;->onKeyphraseDetected(Landroid/hardware/soundtrigger/SoundTrigger$KeyphraseRecognitionEvent;)V
7562 HSPLandroid/hardware/soundtrigger/SoundTrigger$KeyphraseRecognitionEvent$1;-><init>()V
7563 HPLandroid/hardware/soundtrigger/SoundTrigger$KeyphraseRecognitionEvent;-><init>(IIZIIIZLandroid/me…
7564 HPLandroid/hardware/soundtrigger/SoundTrigger$KeyphraseRecognitionEvent;->writeToParcel(Landroid/os…
33915 Landroid/hardware/soundtrigger/SoundTrigger$KeyphraseRecognitionEvent$1;
33916 Landroid/hardware/soundtrigger/SoundTrigger$KeyphraseRecognitionEvent;
Dhiddenapi-greylist-max-o.txt24885 …roxy;->onKeyphraseDetected(Landroid/hardware/soundtrigger/SoundTrigger$KeyphraseRecognitionEvent;)V
24898 …back;->onKeyphraseDetected(Landroid/hardware/soundtrigger/SoundTrigger$KeyphraseRecognitionEvent;)V
24932 Landroid/hardware/soundtrigger/SoundTrigger$KeyphraseRecognitionEvent;->CREATOR:Landroid/os/Parcela…
24933 …igger$KeyphraseRecognitionEvent;->fromParcelForKeyphrase(Landroid/os/Parcel;)Landroid/hardware/sou…
40607 …back;->onKeyphraseDetected(Landroid/hardware/soundtrigger/SoundTrigger$KeyphraseRecognitionEvent;)V
64417 …ener;->onKeyphraseDetected(Landroid/hardware/soundtrigger/SoundTrigger$KeyphraseRecognitionEvent;)V
/frameworks/base/services/
Dart-profile13082 …seRecognitionSuccessLocked(Landroid/hardware/soundtrigger/SoundTrigger$KeyphraseRecognitionEvent;)V