Home
last modified time | relevance | path

Searched refs:ConfidenceLevel (Results 1 – 17 of 17) sorted by relevance

/frameworks/base/services/tests/voiceinteractiontests/src/com/android/server/soundtrigger/
DConversionUtilTest.java26 import static android.hardware.soundtrigger.SoundTrigger.ConfidenceLevel;
68 new ConfidenceLevel[] {new ConfidenceLevel(9999, 50), in testRecognitionConfigRoundTrip()
69 new ConfidenceLevel(5000, 80)}); in testRecognitionConfigRoundTrip()
71 RECOGNITION_MODE_GENERIC, 8, new ConfidenceLevel[] { in testRecognitionConfigRoundTrip()
72 new ConfidenceLevel(7777, 30), in testRecognitionConfigRoundTrip()
73 new ConfidenceLevel(2222, 60)}); in testRecognitionConfigRoundTrip()
DSoundTriggerTest.java20 import android.hardware.soundtrigger.SoundTrigger.ConfidenceLevel;
406 ConfidenceLevel cl1 = new ConfidenceLevel(1, 90); in testKeyphraseRecognitionEventParcelUnparcel_largeData()
407 ConfidenceLevel cl2 = new ConfidenceLevel(2, 30); in testKeyphraseRecognitionEventParcelUnparcel_largeData()
410 new ConfidenceLevel[] {cl1, cl2}); in testKeyphraseRecognitionEventParcelUnparcel_largeData()
413 new ConfidenceLevel[] {cl2}); in testKeyphraseRecognitionEventParcelUnparcel_largeData()
418 new ConfidenceLevel[0]); in testKeyphraseRecognitionEventParcelUnparcel_largeData()
/frameworks/base/core/java/android/speech/
DRecognitionPart.java103 @ConfidenceLevel
105 @ConfidenceLevel
162 public @interface ConfidenceLevel {} annotation in RecognitionPart
166 public static String confidenceLevelToString(@ConfidenceLevel int value) { in confidenceLevelToString()
189 @ConfidenceLevel int confidenceLevel) { in RecognitionPart()
255 public @ConfidenceLevel int getConfidenceLevel() { in getConfidenceLevel()
389 private @ConfidenceLevel int mConfidenceLevel;
439 public @NonNull Builder setConfidenceLevel(@ConfidenceLevel int value) { in setConfidenceLevel()
/frameworks/base/core/java/android/hardware/soundtrigger/
DConversionUtil.java24 import android.media.soundtrigger.ConfidenceLevel;
192 aidlExtra.levels = new ConfidenceLevel[apiExtra.confidenceLevels.length]; in api2aidlPhraseRecognitionExtra()
201 SoundTrigger.ConfidenceLevel[] apiLevels = in aidl2apiPhraseRecognitionExtra()
202 new SoundTrigger.ConfidenceLevel[aidlExtra.levels.length]; in aidl2apiPhraseRecognitionExtra()
211 public static ConfidenceLevel api2aidlConfidenceLevel( in api2aidlConfidenceLevel()
212 SoundTrigger.ConfidenceLevel apiLevel) { in api2aidlConfidenceLevel()
213 ConfidenceLevel aidlLevel = new ConfidenceLevel(); in api2aidlConfidenceLevel()
219 public static SoundTrigger.ConfidenceLevel aidl2apiConfidenceLevel( in aidl2apiConfidenceLevel()
220 ConfidenceLevel apiLevel) { in aidl2apiConfidenceLevel()
221 return new SoundTrigger.ConfidenceLevel(apiLevel.userId, apiLevel.levelPercent); in aidl2apiConfidenceLevel()
DSoundTrigger.java1645 public static class ConfidenceLevel implements Parcelable { class in SoundTrigger
1652 public ConfidenceLevel(int userId, int confidenceLevel) { in ConfidenceLevel() method in SoundTrigger.ConfidenceLevel
1657 public static final @android.annotation.NonNull Parcelable.Creator<ConfidenceLevel> CREATOR
1658 = new Parcelable.Creator<ConfidenceLevel>() {
1659 public ConfidenceLevel createFromParcel(Parcel in) {
1660 return ConfidenceLevel.fromParcel(in);
1663 public ConfidenceLevel[] newArray(int size) {
1664 return new ConfidenceLevel[size];
1668 private static ConfidenceLevel fromParcel(Parcel in) { in fromParcel()
1671 return new ConfidenceLevel(userId, confidenceLevel); in fromParcel()
[all …]
DSoundTrigger.aidl19 parcelable SoundTrigger.ConfidenceLevel;
/frameworks/base/services/voiceinteraction/java/com/android/server/soundtrigger_middleware/
DConversionUtil.java29 import android.media.soundtrigger.ConfidenceLevel;
244 for (ConfidenceLevel aidlLevel : aidlExtra.levels) { in aidl2hidlPhraseRecognitionExtra()
257 aidlExtra.levels = new ConfidenceLevel[hidlExtra.levels.size()]; in hidl2aidlPhraseRecognitionExtra()
265 android.hardware.soundtrigger.V2_0.ConfidenceLevel aidl2hidlConfidenceLevel( in aidl2hidlConfidenceLevel()
266 @NonNull ConfidenceLevel aidlLevel) { in aidl2hidlConfidenceLevel()
267 android.hardware.soundtrigger.V2_0.ConfidenceLevel hidlLevel = in aidl2hidlConfidenceLevel()
268 new android.hardware.soundtrigger.V2_0.ConfidenceLevel(); in aidl2hidlConfidenceLevel()
275 ConfidenceLevel hidl2aidlConfidenceLevel( in hidl2aidlConfidenceLevel()
276 @NonNull android.hardware.soundtrigger.V2_0.ConfidenceLevel hidlLevel) { in hidl2aidlConfidenceLevel()
277 ConfidenceLevel aidlLevel = new ConfidenceLevel(); in hidl2aidlConfidenceLevel()
DValidationUtil.java20 import android.media.soundtrigger.ConfidenceLevel;
98 for (ConfidenceLevel level : extra.levels) { in validateRecognitionConfig()
/frameworks/base/services/tests/voiceinteractiontests/src/com/android/server/soundtrigger_middleware/
DTestUtil.java34 import android.media.soundtrigger.ConfidenceLevel;
262 config.phraseRecognitionExtras[0].levels = new ConfidenceLevel[]{new ConfidenceLevel()}; in createRecognitionConfig()
284 android.hardware.soundtrigger.V2_0.ConfidenceLevel halLevel = halPhraseExtra.levels.get(0); in validateRecognitionConfig_2_0()
303 android.hardware.soundtrigger.V2_0.ConfidenceLevel halLevel = halPhraseExtra.levels.get(0); in validateRecognitionConfig_2_1()
405 ConfidenceLevel level = new ConfidenceLevel(); in createPhraseRecognitionEvent()
408 extra.levels = new ConfidenceLevel[]{level}; in createPhraseRecognitionEvent()
425 android.hardware.soundtrigger.V2_0.ConfidenceLevel halLevel = in createPhraseRecognitionEvent_2_0()
426 new android.hardware.soundtrigger.V2_0.ConfidenceLevel(); in createPhraseRecognitionEvent_2_0()
446 android.hardware.soundtrigger.V2_0.ConfidenceLevel halLevel = in createPhraseRecognitionEvent_2_1()
447 new android.hardware.soundtrigger.V2_0.ConfidenceLevel(); in createPhraseRecognitionEvent_2_1()
/frameworks/base/core/java/android/service/voice/
DHotwordRejectedResult.java106 public @interface ConfidenceLevel {} annotation in HotwordRejectedResult
110 public static String confidenceLevelToString(@ConfidenceLevel int value) { in confidenceLevelToString()
DHotwordDetectedResult.java555 public @interface ConfidenceLevel {} annotation in HotwordDetectedResult
559 public static String confidenceLevelToString(@ConfidenceLevel int value) { in confidenceLevelToString()
DAlwaysOnHotwordDetector.java43 import android.hardware.soundtrigger.SoundTrigger.ConfidenceLevel;
1519 mKeyphraseMetadata.getRecognitionModeFlags(), 0, new ConfidenceLevel[0]); in startRecognitionLocked()
/frameworks/base/boot/
Dpreloaded-classes3336 android.hardware.soundtrigger.SoundTrigger$ConfidenceLevel$1
3337 android.hardware.soundtrigger.SoundTrigger$ConfidenceLevel
Dboot-image-profile.txt25723 Landroid/hardware/soundtrigger/SoundTrigger$ConfidenceLevel$1;
25724 Landroid/hardware/soundtrigger/SoundTrigger$ConfidenceLevel;
/frameworks/base/config/
Dpreloaded-classes3340 android.hardware.soundtrigger.SoundTrigger$ConfidenceLevel$1
3341 android.hardware.soundtrigger.SoundTrigger$ConfidenceLevel
Dboot-image-profile.txt35857 Landroid/hardware/soundtrigger/SoundTrigger$ConfidenceLevel$1;
35858 Landroid/hardware/soundtrigger/SoundTrigger$ConfidenceLevel;
/frameworks/base/boot/hiddenapi/
Dhiddenapi-max-target-o.txt22037 Landroid/hardware/soundtrigger/SoundTrigger$ConfidenceLevel;->CREATOR:Landroid/os/Parcelable$Creato…
22038 …dtrigger/SoundTrigger$ConfidenceLevel;->fromParcel(Landroid/os/Parcel;)Landroid/hardware/soundtrig…