/frameworks/base/services/tests/voiceinteractiontests/src/com/android/server/soundtrigger/ |
D | ConversionUtilTest.java | 26 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()
|
D | SoundTriggerTest.java | 20 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/ |
D | RecognitionPart.java | 103 @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/ |
D | ConversionUtil.java | 24 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()
|
D | SoundTrigger.java | 1645 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 …]
|
D | SoundTrigger.aidl | 19 parcelable SoundTrigger.ConfidenceLevel;
|
/frameworks/base/services/voiceinteraction/java/com/android/server/soundtrigger_middleware/ |
D | ConversionUtil.java | 29 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()
|
D | ValidationUtil.java | 20 import android.media.soundtrigger.ConfidenceLevel; 98 for (ConfidenceLevel level : extra.levels) { in validateRecognitionConfig()
|
/frameworks/base/services/tests/voiceinteractiontests/src/com/android/server/soundtrigger_middleware/ |
D | TestUtil.java | 34 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/ |
D | HotwordRejectedResult.java | 106 public @interface ConfidenceLevel {} annotation in HotwordRejectedResult 110 public static String confidenceLevelToString(@ConfidenceLevel int value) { in confidenceLevelToString()
|
D | HotwordDetectedResult.java | 555 public @interface ConfidenceLevel {} annotation in HotwordDetectedResult 559 public static String confidenceLevelToString(@ConfidenceLevel int value) { in confidenceLevelToString()
|
D | AlwaysOnHotwordDetector.java | 43 import android.hardware.soundtrigger.SoundTrigger.ConfidenceLevel; 1519 mKeyphraseMetadata.getRecognitionModeFlags(), 0, new ConfidenceLevel[0]); in startRecognitionLocked()
|
/frameworks/base/boot/ |
D | preloaded-classes | 3336 android.hardware.soundtrigger.SoundTrigger$ConfidenceLevel$1 3337 android.hardware.soundtrigger.SoundTrigger$ConfidenceLevel
|
D | boot-image-profile.txt | 25723 Landroid/hardware/soundtrigger/SoundTrigger$ConfidenceLevel$1; 25724 Landroid/hardware/soundtrigger/SoundTrigger$ConfidenceLevel;
|
/frameworks/base/config/ |
D | preloaded-classes | 3340 android.hardware.soundtrigger.SoundTrigger$ConfidenceLevel$1 3341 android.hardware.soundtrigger.SoundTrigger$ConfidenceLevel
|
D | boot-image-profile.txt | 35857 Landroid/hardware/soundtrigger/SoundTrigger$ConfidenceLevel$1; 35858 Landroid/hardware/soundtrigger/SoundTrigger$ConfidenceLevel;
|
/frameworks/base/boot/hiddenapi/ |
D | hiddenapi-max-target-o.txt | 22037 Landroid/hardware/soundtrigger/SoundTrigger$ConfidenceLevel;->CREATOR:Landroid/os/Parcelable$Creato… 22038 …dtrigger/SoundTrigger$ConfidenceLevel;->fromParcel(Landroid/os/Parcel;)Landroid/hardware/soundtrig…
|