Home
last modified time | relevance | path

Searched refs:KeyphraseRecognitionEvent (Results 1 – 7 of 7) 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.java902 public static class KeyphraseRecognitionEvent extends RecognitionEvent { class in SoundTrigger
906 public KeyphraseRecognitionEvent(int status, int soundModelHandle, boolean captureAvailable, in KeyphraseRecognitionEvent() method in SoundTrigger.KeyphraseRecognitionEvent
915 public static final Parcelable.Creator<KeyphraseRecognitionEvent> CREATOR
916 = new Parcelable.Creator<KeyphraseRecognitionEvent>() {
917 public KeyphraseRecognitionEvent createFromParcel(Parcel in) {
918 return KeyphraseRecognitionEvent.fromParcel(in);
921 public KeyphraseRecognitionEvent[] newArray(int size) {
922 return new KeyphraseRecognitionEvent[size];
926 private static KeyphraseRecognitionEvent fromParcel(Parcel in) { in fromParcel()
948 return new KeyphraseRecognitionEvent(status, soundModelHandle, captureAvailable, in fromParcel()
[all …]
DIRecognitionStatusCallback.aidl30 void onDetected(in SoundTrigger.KeyphraseRecognitionEvent recognitionEvent); in onDetected()
DSoundTrigger.aidl21 parcelable SoundTrigger.KeyphraseRecognitionEvent;
/frameworks/base/services/voiceinteraction/java/com/android/server/voiceinteraction/
DSoundTriggerHelper.java26 import android.hardware.soundtrigger.SoundTrigger.KeyphraseRecognitionEvent;
303 if (event == null || !(event instanceof KeyphraseRecognitionEvent)) { in onRecognition()
323 onRecognitionSuccessLocked((KeyphraseRecognitionEvent) event); in onRecognition()
406 private void onRecognitionSuccessLocked(KeyphraseRecognitionEvent event) { in onRecognitionSuccessLocked()
409 ((KeyphraseRecognitionEvent) event).keyphraseExtras; in onRecognitionSuccessLocked()
422 mActiveListener.onDetected((KeyphraseRecognitionEvent) event); in onRecognitionSuccessLocked()
/frameworks/base/core/java/android/service/voice/
DAlwaysOnHotwordDetector.java29 import android.hardware.soundtrigger.SoundTrigger.KeyphraseRecognitionEvent;
619 public void onDetected(KeyphraseRecognitionEvent event) { in onDetected()
/frameworks/base/
Dpreloaded-classes969 android.hardware.soundtrigger.SoundTrigger$KeyphraseRecognitionEvent
970 android.hardware.soundtrigger.SoundTrigger$KeyphraseRecognitionEvent$1