/cts/tests/tests/voiceinteraction/src/android/voiceinteraction/cts/unittests/ |
D | AlwaysOnHotwordDetectorEventPayloadTest.java | 47 final AlwaysOnHotwordDetector.EventPayload eventPayload = in testEventPayload_verifyDefaultValues() local 49 assertThat(eventPayload.getCaptureAudioFormat()).isNull(); in testEventPayload_verifyDefaultValues() 50 assertThat(eventPayload.getTriggerAudio()).isNull(); in testEventPayload_verifyDefaultValues() 51 assertThat(eventPayload.getDataFormat()).isEqualTo( in testEventPayload_verifyDefaultValues() 53 assertThat(eventPayload.getData()).isNull(); in testEventPayload_verifyDefaultValues() 54 assertThat(eventPayload.getHotwordDetectedResult()).isNull(); in testEventPayload_verifyDefaultValues() 55 assertThat(eventPayload.getAudioStream()).isNull(); in testEventPayload_verifyDefaultValues() 56 assertThat(eventPayload.getKeyphraseRecognitionExtras()).isEmpty(); in testEventPayload_verifyDefaultValues() 66 final AlwaysOnHotwordDetector.EventPayload eventPayload = in testEventPayload_getCaptureAudioFormat() local 70 assertThat(eventPayload.getCaptureAudioFormat()).isEqualTo(audioFormat); in testEventPayload_getCaptureAudioFormat() [all …]
|
/cts/hostsidetests/voiceinteraction/app/src/com/android/cts/voiceinteraction/ |
D | EventPayloadParcelable.java | 51 public EventPayloadParcelable(AlwaysOnHotwordDetector.EventPayload eventPayload) { in EventPayloadParcelable() argument 52 if (eventPayload == null) { in EventPayloadParcelable() 57 this.mHotwordDetectedResult = eventPayload.getHotwordDetectedResult(); in EventPayloadParcelable() 58 this.mAudioStream = eventPayload.getAudioStream(); in EventPayloadParcelable()
|
D | ControllableHotwordDetectionService.java | 61 public void onDetect(AlwaysOnHotwordDetector.EventPayload eventPayload, long timeoutMillis, in onDetect() argument 63 Log.d(TAG, "onDetect: eventPayload=" + eventPayload in onDetect()
|
D | VoiceInteractionCompatTests.java | 175 public void onDetected(EventPayloadParcelable eventPayload) { in createBasicDetectorWithTrustedServiceAndTriggerKeyphrase() 176 Log.i(TAG, "onDetected: eventPayload=" + eventPayload); in createBasicDetectorWithTrustedServiceAndTriggerKeyphrase() 177 onDetectedEventPayload.set(eventPayload); in createBasicDetectorWithTrustedServiceAndTriggerKeyphrase()
|
D | ProxyVoiceInteractionService.java | 502 public void onDetected(EventPayloadParcelable eventPayload) { in onDetected() argument 504 mDelegate.onDetected(eventPayload); in onDetected() 539 AlwaysOnHotwordDetector.EventPayload eventPayload) { in createDetectorCallback() argument 540 Log.i(TAG, "onDetected: eventPayload=" + eventPayload); in createDetectorCallback() 541 callback.onDetected(new EventPayloadParcelable(eventPayload)); in createDetectorCallback()
|
/cts/tests/tests/voiceinteraction/service/src/android/voiceinteraction/service/ |
D | EventPayloadParcelable.java | 38 public EventPayloadParcelable(AlwaysOnHotwordDetector.EventPayload eventPayload) { in EventPayloadParcelable() argument 39 if (eventPayload == null) { in EventPayloadParcelable() 44 this.mHotwordDetectedResult = eventPayload.getHotwordDetectedResult(); in EventPayloadParcelable() 45 this.mAudioStream = eventPayload.getAudioStream(); in EventPayloadParcelable()
|
D | MainHotwordDetectionService.java | 133 public void onDetect(@NonNull AlwaysOnHotwordDetector.EventPayload eventPayload, in onDetect() argument 148 byte[] data = eventPayload.getData(); in onDetect() 165 .setHotwordPhraseId(eventPayload.getKeyphraseRecognitionExtras().get( in onDetect()
|
D | ProxyVoiceInteractionService.java | 257 AlwaysOnHotwordDetector.EventPayload eventPayload) { in createDetectorCallback()
|
/cts/tests/tests/voiceinteraction/src/android/voiceinteraction/cts/services/ |
D | NoOpHotwordDetectionService.java | 38 @NonNull AlwaysOnHotwordDetector.EventPayload eventPayload, in onDetect() 41 super.onDetect(eventPayload, timeoutMillis, callback); in onDetect()
|
D | CtsBasicVoiceInteractionService.java | 208 public void onDetected(AlwaysOnHotwordDetector.EventPayload eventPayload) { in createAlwaysOnHotwordDetector() 210 mDetectedResult = eventPayload; in createAlwaysOnHotwordDetector() 366 public void onDetected(AlwaysOnHotwordDetector.EventPayload eventPayload) { in createAlwaysOnHotwordDetectorCallbackWithListeners() argument 368 mDetectedResult = eventPayload; in createAlwaysOnHotwordDetectorCallbackWithListeners() 489 public void onDetected(AlwaysOnHotwordDetector.EventPayload eventPayload) { 491 mDetectedResult = eventPayload; 566 public void onDetected(AlwaysOnHotwordDetector.EventPayload eventPayload) { 568 mDetectedResult = eventPayload;
|
D | TestPermissionHotwordDetectionService.java | 42 public void onDetect(@NonNull AlwaysOnHotwordDetector.EventPayload eventPayload, in onDetect() argument
|
D | BaseVoiceInteractionService.java | 95 public void onDetected(AlwaysOnHotwordDetector.EventPayload eventPayload) { 139 public void onDetected(AlwaysOnHotwordDetector.EventPayload eventPayload) {
|
/cts/hostsidetests/voiceinteraction/app/aidl/com/android/cts/voiceinteraction/ |
D | IProxyDetectorCallback.aidl | 23 void onDetected(in EventPayloadParcelable eventPayload); in onDetected() argument
|
/cts/tests/tests/soundtrigger/src/android/soundtrigger/cts/ |
D | SoundTriggerManagerTest.java | 171 public void onDetected(EventPayload eventPayload) { in setUpDetector()
|