Searched refs:KeyphraseRecognitionEvent (Results 1 – 7 of 7) sorted by relevance
22 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()
902 public static class KeyphraseRecognitionEvent extends RecognitionEvent { class in SoundTrigger906 public KeyphraseRecognitionEvent(int status, int soundModelHandle, boolean captureAvailable, in KeyphraseRecognitionEvent() method in SoundTrigger.KeyphraseRecognitionEvent915 public static final Parcelable.Creator<KeyphraseRecognitionEvent> CREATOR916 = 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 …]
30 void onDetected(in SoundTrigger.KeyphraseRecognitionEvent recognitionEvent); in onDetected()
21 parcelable SoundTrigger.KeyphraseRecognitionEvent;
26 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()
29 import android.hardware.soundtrigger.SoundTrigger.KeyphraseRecognitionEvent;619 public void onDetected(KeyphraseRecognitionEvent event) { in onDetected()
969 android.hardware.soundtrigger.SoundTrigger$KeyphraseRecognitionEvent970 android.hardware.soundtrigger.SoundTrigger$KeyphraseRecognitionEvent$1