Home
last modified time | relevance | path

Searched refs:scores (Results 1 – 25 of 27) sorted by relevance

12

/frameworks/base/core/java/android/service/autofill/
DAutofillFieldClassificationService.java105 final float[][] scores = onCalculateScores(actualValues, Arrays.asList(userDataValues), in calculateScores() local
107 if (scores != null) { in calculateScores()
108 data.putParcelable(EXTRA_SCORES, new Scores(scores)); in calculateScores()
305 public final float[][] scores; field in AutofillFieldClassificationService.Scores
310 scores = new float[size1][size2]; in Scores()
313 scores[i][j] = parcel.readFloat(); in Scores()
318 private Scores(@NonNull float[][] scores) { in Scores() argument
319 this.scores = scores; in Scores()
324 final int size1 = scores.length; in toString()
325 final int size2 = size1 > 0 ? scores[0].length : 0; in toString()
[all …]
/frameworks/base/core/java/android/view/textclassifier/
DExtrasUtils.java102 final float[] scores = new float[languages.length]; in putTopLanguageScores() local
104 scores[i] = languageScores.getConfidenceScore(languages[i]); in putTopLanguageScores()
107 container.putFloatArray(SCORE, scores); in putTopLanguageScores()
127 final float[] scores = textLanguagesExtra.getFloatArray(SCORE); in getTopLanguage() local
128 if (languages == null || scores == null in getTopLanguage()
129 || languages.length == 0 || languages.length != scores.length) { in getTopLanguage()
134 if (scores[highestScoringIndex] < scores[i]) { in getTopLanguage()
DTextClassifierEvent.java576 public T setScores(@NonNull float... scores) { in setScores() argument
577 Preconditions.checkNotNull(scores); in setScores()
578 mScores = new float[scores.length]; in setScores()
579 System.arraycopy(scores, 0, mScores, 0, scores.length); in setScores()
DTextClassifier.java767 final Map<String, Float> scores = new ArrayMap<>(); in entityScores() local
768 scores.put(entityType, 1f); in entityScores()
769 return scores; in entityScores()
DTextClassifierImpl.java795 final EntityConfidence scores = detectLanguages(subject); in detectLanguages() local
800 return scores; in detectLanguages()
815 languages.addAll(scores.getEntities()); in detectLanguages()
818 final float score = (subjectTextScoreRatio * scores.getConfidenceScore(language) in detectLanguages()
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/
DScoredNetworkEvaluatorTest.java199 Integer[] scores = {120}; in testUpdate_oneScored_oneUnscored() local
202 mScoreCache, scoredScanDetails, scores, meteredHints); in testUpdate_oneScored_oneUnscored()
286 Integer[] scores = {null, 120}; in testEvaluateNetworks_newEphemeralNetworkMustBeReportedAsConnectable() local
292 scanDetails, scores, meteredHints); in testEvaluateNetworks_newEphemeralNetworkMustBeReportedAsConnectable()
331 Integer[] scores = {null, 120}; in testEvaluateNetworks_chooseEphemeralNetworkBecauseOfNoSavedNetwork() local
337 scanDetails, scores, meteredHints); in testEvaluateNetworks_chooseEphemeralNetworkBecauseOfNoSavedNetwork()
372 Integer[] scores = {100, 120}; in testEvaluateNetworks_chooseHigherScoredEphemeralNetwork() local
380 scanDetails, scores, meteredHints); in testEvaluateNetworks_chooseHigherScoredEphemeralNetwork()
416 Integer[] scores = {null, 120}; in testEvaluateNetworks_noEphemeralNetworkWhenUntrustedNetworksNotAllowed() local
422 scanDetails, scores, meteredHints); in testEvaluateNetworks_noEphemeralNetworkWhenUntrustedNetworksNotAllowed()
[all …]
DWifiNetworkSelectorTestUtil.java340 List<ScanDetail> scanDetails, Integer[] scores, boolean[] meteredHints) { in configureScoreCache() argument
350 if (scores != null) { // fixed score in configureScoreCache()
352 Integer score = scores[i]; in configureScoreCache()
354 if (scores[i] == null) { in configureScoreCache()
357 rssiScore = scores[i].byteValue(); in configureScoreCache()
/frameworks/ml/nn/runtime/test/specs/V1_3/
Dbbox_graph_quant8_signed.mod.py20 scores = Input("scores", "TENSOR_FLOAT32", "{1, 1, 1, 1}") variable
27 model = Model("zero_sized").Operation("GENERATE_PROPOSALS", scores, deltas, anchors, image, 1.0, 1.…
58 scores: ("TENSOR_QUANT8_ASYMM_SIGNED", 0.1, 0),
80 scores: [0.5],
/frameworks/ml/nn/runtime/test/specs/V1_2/
Dbbox_graph.mod.py20 scores = Input("scores", "TENSOR_FLOAT32", "{1, 1, 1, 1}") variable
27 model = Model("zero_sized").Operation("GENERATE_PROPOSALS", scores, deltas, anchors, image, 1.0, 1.…
58 scores: ("TENSOR_QUANT8_ASYMM", 0.1, 128),
80 scores: [0.5],
/frameworks/native/libs/binder/include/binder/
DProcessInfoService.h41 /*out*/ int32_t* states, /*out*/ int32_t *scores);
73 /*out*/ int32_t* states, /*out*/ int32_t *scores) { in getProcessStatesScoresFromPids() argument
75 length, /*in*/ pids, /*out*/ states, /*out*/ scores); in getProcessStatesScoresFromPids()
DIProcessInfoService.h39 /*out*/ int32_t* scores) = 0;
/frameworks/native/libs/binder/
DIProcessInfoService.cpp53 /*in*/ int32_t* pids, /*out*/ int32_t* states, /*out*/ int32_t* scores) in getProcessStatesAndOomScoresFromPids() argument
80 scores, length * sizeof(*scores))) != NO_ERROR) { in getProcessStatesAndOomScoresFromPids()
DProcessInfoService.cpp62 /*out*/ int32_t *scores) { in getProcessStatesScoresImpl() argument
73 /*in*/ pids, /*out*/ states, /*out*/ scores); in getProcessStatesScoresImpl()
/frameworks/base/tests/JankBench/scripts/
Ditr_collect.py90 scores = []
100 scores.append(score)
104 geo_run = scipy.stats.gmean(scores)
Dcollect.py125 scores = []
142 scores.append(score)
155 geo_run = numpy.mean(scores)
/frameworks/base/tests/net/java/com/android/server/connectivity/
DNetworkRankerTest.kt42 val scores = listOf(20, 50, 90, 60, 23, 68) in testGetBestNetwork() constant
43 val nais = scores.map { makeNai(true, it) } in testGetBestNetwork()
/frameworks/base/services/autofill/java/com/android/server/autofill/
DAutofillManagerServiceShellCommand.java248 final Scores scores = result.getParcelable(EXTRA_SCORES); in getFieldClassificationScore()
249 if (scores == null) { in getFieldClassificationScore()
252 pw.println(scores.scores[0][0]); in getFieldClassificationScore()
DSession.java1554 final Scores scores = result.getParcelable(EXTRA_SCORES); in logFieldClassificationScore()
1555 if (scores == null) { in logFieldClassificationScore()
1570 final float score = scores.scores[i][j]; in logFieldClassificationScore()
1608 wtf(e, "Error accessing FC score at [%d, %d] (%s): %s", i, j, scores, e); in logFieldClassificationScore()
/frameworks/base/core/java/android/os/
DIProcessInfoService.aidl34 void getProcessStatesAndOomScoresFromPids(in int[] pids, out int[] states, out int[] scores); in getProcessStatesAndOomScoresFromPids() argument
/frameworks/native/libs/vr/libdvr/include/dvr/
Ddvr_tracking_types.h66 float* scores; member
/frameworks/base/packages/SystemUI/src/com/android/systemui/egg/
DMLandActivity.java33 mLand.setScoreFieldHolder(findViewById(R.id.scores)); in onCreate()
/frameworks/ml/nn/tools/api/
Dtypes.spec3584 * The scores of the rest of boxes are lowered according to the
3627 * with scores lower than the threshold are filtered before sending
3641 * Boxes with scores lower than the threshold are dropped during the
3796 * scores are discarded to meet the limit.
3802 * * 11: A scalar, score_threshold. Boxes with scores lower than the
4025 * with the lowest scores are discarded to meet the limit. Set to
4029 * with the lowest scores are discarded to meet the limit. Set to
4289 * This operation approximates the accurate maximum keypoint scores and
/frameworks/ml/nn/common/operations/
DGenerateProposals.cpp567 const std::vector<float>& scores, in boxWithNmsLimitWriteOutput() argument
593 const float* scoresBase = scores.data(); in boxWithNmsLimitWriteOutput()
/frameworks/base/services/core/java/com/android/server/am/
DActivityManagerService.java5774 /*in*/ int[] pids, /*out*/ int[] states, /*out*/ int[] scores) { in getProcessStatesAndOomScoresFromPids() argument
5776 /*in*/ pids, /*out*/ states, /*out*/ scores); in getProcessStatesAndOomScoresFromPids()
5788 /*in*/ int[] pids, /*out*/ int[] states, /*out*/ int[] scores) { in getProcessStatesAndOomScoresForPIDs() argument
5789 if (scores != null) { in getProcessStatesAndOomScoresForPIDs()
5800 } else if (scores != null && pids.length != scores.length) { in getProcessStatesAndOomScoresForPIDs()
5808 if (scores != null) { in getProcessStatesAndOomScoresForPIDs()
5809 scores[i] = (pr == null) ? ProcessList.INVALID_ADJ : pr.curAdj; in getProcessStatesAndOomScoresForPIDs()
/frameworks/base/tests/net/java/com/android/server/
DConnectivityServiceTest.java967 public void expectAddRequestsWithScores(final int... scores) { in expectAddRequestsWithScores() argument
970 for (int score : scores) { in expectAddRequestsWithScores()

12