Home
last modified time | relevance | path

Searched refs:confidenceLevel (Results 1 – 7 of 7) sorted by relevance

/frameworks/base/services/core/java/com/android/server/soundtrigger_middleware/
DValidationUtil.java95 if (extra.confidenceLevel < 0 || extra.confidenceLevel > 100) { in validateRecognitionConfig()
DConversionUtil.java236 hidlExtra.confidenceLevel = aidlExtra.confidenceLevel; in aidl2hidlPhraseRecognitionExtra()
250 aidlExtra.confidenceLevel = hidlExtra.confidenceLevel; in hidl2aidlPhraseRecognitionExtra()
/frameworks/base/media/java/android/media/soundtrigger_middleware/
DPhraseRecognitionExtra.aidl32 int confidenceLevel;
/frameworks/base/core/java/android/hardware/soundtrigger/
DSoundTrigger.java1476 public final int confidenceLevel; field in SoundTrigger.ConfidenceLevel
1479 public ConfidenceLevel(int userId, int confidenceLevel) { in ConfidenceLevel() argument
1481 this.confidenceLevel = confidenceLevel; in ConfidenceLevel()
1497 int confidenceLevel = in.readInt(); in fromParcel() local
1498 return new ConfidenceLevel(userId, confidenceLevel); in fromParcel()
1504 dest.writeInt(confidenceLevel); in writeToParcel()
1516 result = prime * result + confidenceLevel; in hashCode()
1530 if (confidenceLevel != other.confidenceLevel) in equals()
1540 + ", confidenceLevel=" + confidenceLevel + "]"; in toString()
DConversionUtil.java163 aidlExtra.confidenceLevel = apiExtra.coarseConfidenceLevel; in api2aidlPhraseRecognitionExtra()
180 aidlExtra.confidenceLevel, apiLevels); in aidl2apiPhraseRecognitionExtra()
186 aidlLevel.levelPercent = apiLevel.confidenceLevel; in api2aidlConfidenceLevel()
/frameworks/base/services/tests/servicestests/src/com/android/server/soundtrigger_middleware/
DSoundTriggerMiddlewareImplTest.java284 halExtra.confidenceLevel = 52; in createPhraseRecognitionEvent_2_0()
305 halExtra.confidenceLevel = 52; in createPhraseRecognitionEvent_2_1()
322 assertEquals(52, event.phraseExtras[0].confidenceLevel); in validatePhraseRecognitionEvent()
656 assertEquals(4, halPhraseExtra.confidenceLevel); in startRecognition_2_0()
691 assertEquals(4, halPhraseExtra.confidenceLevel); in startRecognition_2_1()
729 assertEquals(4, halPhraseExtra.confidenceLevel); in startRecognition_2_3()
757 config.phraseRecognitionExtras[0].confidenceLevel = 4; in createRecognitionConfig()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DRIL.java6601 Byte.toUnsignedInt(halData.confidenceLevel), in convertHalLceData()