SoundTriggerTest.java | 21 import android.hardware.soundtrigger.SoundTrigger.Keyphrase; 41 Keyphrase keyphrase = new Keyphrase(1, 0, "en-US", "hello", null); local 45 keyphrase.writeToParcel(parcel, 0); 49 Keyphrase unparceled = Keyphrase.CREATOR.createFromParcel(parcel); 52 assertEquals(keyphrase.id, unparceled.id); 54 assertEquals(keyphrase.locale, unparceled.locale); 55 assertEquals(keyphrase.text, unparceled.text) 60 Keyphrase keyphrase = new Keyphrase(1, 0, "en-US", "hello", new int[0]); local 79 Keyphrase keyphrase = new Keyphrase(1, 0, "en-US", "hello", new int[] {1, 2, 3, 4, 5}); local [all...] |