Home
last modified time | relevance | path

Searched refs:hotwordDetectionServiceFailure (Results 1 – 3 of 3) sorted by relevance

/cts/tests/tests/voiceinteraction/src/android/voiceinteraction/cts/unittests/
DHotwordDetectionServiceFailureTest.java49 final HotwordDetectionServiceFailure hotwordDetectionServiceFailure = in testHotwordDetectionServiceFailure_getErrorCode() local
52 assertThat(hotwordDetectionServiceFailure.getErrorCode()).isEqualTo(TEST_ERROR_CODE); in testHotwordDetectionServiceFailure_getErrorCode()
57 final HotwordDetectionServiceFailure hotwordDetectionServiceFailure = in testHotwordDetectionServiceFailure_getErrorMessage() local
60 assertThat(hotwordDetectionServiceFailure.getErrorMessage()).isEqualTo(TEST_ERROR_MESSAGE); in testHotwordDetectionServiceFailure_getErrorMessage()
65 final HotwordDetectionServiceFailure hotwordDetectionServiceFailure = in testHotwordDetectionServiceFailure_getSuggestedAction() local
68 assertThat(hotwordDetectionServiceFailure.getSuggestedAction()).isEqualTo( in testHotwordDetectionServiceFailure_getSuggestedAction()
74 final HotwordDetectionServiceFailure hotwordDetectionServiceFailure = in testHotwordDetectionServiceFailureParcelizeDeparcelize() local
78 hotwordDetectionServiceFailure.writeToParcel(p, 0); in testHotwordDetectionServiceFailureParcelizeDeparcelize()
85 assertThat(hotwordDetectionServiceFailure.getErrorCode()).isEqualTo( in testHotwordDetectionServiceFailureParcelizeDeparcelize()
87 assertThat(hotwordDetectionServiceFailure.getErrorMessage()).isEqualTo( in testHotwordDetectionServiceFailureParcelizeDeparcelize()
[all …]
/cts/tests/tests/voiceinteraction/src/android/voiceinteraction/cts/services/
DCtsBasicVoiceInteractionService.java393 public void onFailure(HotwordDetectionServiceFailure hotwordDetectionServiceFailure) { in createAlwaysOnHotwordDetectorCallbackWithListeners() argument
395 + hotwordDetectionServiceFailure); in createAlwaysOnHotwordDetectorCallbackWithListeners()
396 mHotwordDetectionServiceFailure = hotwordDetectionServiceFailure; in createAlwaysOnHotwordDetectorCallbackWithListeners()
581 public void onFailure(HotwordDetectionServiceFailure hotwordDetectionServiceFailure) {
583 + hotwordDetectionServiceFailure);
584 mHotwordDetectionServiceFailure = hotwordDetectionServiceFailure;
/cts/tests/tests/voiceinteraction/src/android/voiceinteraction/cts/
DHotwordDetectionServiceBasicTest.java2069 HotwordDetectionServiceFailure hotwordDetectionServiceFailure, int errorCode) in verifyHotwordDetectionServiceFailure() argument
2071 assertThat(hotwordDetectionServiceFailure).isNotNull(); in verifyHotwordDetectionServiceFailure()
2072 assertThat(hotwordDetectionServiceFailure.getErrorCode()).isEqualTo(errorCode); in verifyHotwordDetectionServiceFailure()