Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/service/autofill/
DAutofillFieldClassificationService.java110 final float[][] scores = onCalculateScores(actualValues, Arrays.asList(userDataValues), in calculateScores() local
112 if (scores != null) { in calculateScores()
113 data.putParcelable(EXTRA_SCORES, new Scores(scores)); in calculateScores()
310 public final float[][] scores; field in AutofillFieldClassificationService.Scores
315 scores = new float[size1][size2]; in Scores()
318 scores[i][j] = parcel.readFloat(); in Scores()
323 private Scores(@NonNull float[][] scores) { in Scores() argument
324 this.scores = scores; in Scores()
329 final int size1 = scores.length; in toString()
330 final int size2 = size1 > 0 ? scores[0].length : 0; in toString()
[all …]
/frameworks/native/services/surfaceflinger/Scheduler/
DRefreshRateConfigs.cpp371 std::vector<RefreshRateScore> scores; in getBestRefreshRateLocked() local
372 scores.reserve(mAppRequestRefreshRates.size()); in getBestRefreshRateLocked()
375 scores.emplace_back(RefreshRateScore{modeIt, 0.0f}); in getBestRefreshRateLocked()
388 for (auto& [modeIt, overallScore, fixedRateBelowThresholdLayersScore] : scores) { in getBestRefreshRateLocked()
485 if (mConfig.frameRateMultipleThreshold == 0 || scores.empty()) { in getBestRefreshRateLocked()
490 std::max_element(scores.begin(), scores.end(), in getBestRefreshRateLocked()
504 for (auto& [modeIt, overallScore, fixedRateBelowThresholdLayersScore] : scores) { in getBestRefreshRateLocked()
517 ? getMaxScoreRefreshRate(scores.rbegin(), scores.rend()) in getBestRefreshRateLocked()
518 : getMaxScoreRefreshRate(scores.begin(), scores.end()); in getBestRefreshRateLocked()
523 if (std::all_of(scores.begin(), scores.end(), in getBestRefreshRateLocked()
[all …]
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/clipboardoverlay/
DClipboardOverlayUtilsTest.java124 final Map<String, Float> scores = new ArrayMap<>(); in test_getAction_skipsShortEntity() local
125 scores.put(TextClassifier.TYPE_EMAIL, 1f); in test_getAction_skipsShortEntity()
126 textLinks.addLink(20, 22, scores); in test_getAction_skipsShortEntity()
127 textLinks.addLink(0, 22, scores); in test_getAction_skipsShortEntity()
196 final Map<String, Float> scores = new ArrayMap<>(); in test_getAction_skipsShortEntity_legacy() local
197 scores.put(TextClassifier.TYPE_EMAIL, 1f); in test_getAction_skipsShortEntity_legacy()
198 textLinks.addLink(20, 22, scores); in test_getAction_skipsShortEntity_legacy()
199 textLinks.addLink(0, 22, scores); in test_getAction_skipsShortEntity_legacy()
285 final Map<String, Float> scores = new ArrayMap<>(); in getFakeTextLinksBuilder() local
286 scores.put(TextClassifier.TYPE_EMAIL, 1f); in getFakeTextLinksBuilder()
[all …]
/frameworks/native/libs/binder/include_processinfo/processinfo/
DProcessInfoService.h40 /*out*/ int32_t* states, /*out*/ int32_t *scores);
72 /*out*/ int32_t* states, /*out*/ int32_t *scores) { in getProcessStatesScoresFromPids() argument
74 length, /*in*/ pids, /*out*/ states, /*out*/ scores); in getProcessStatesScoresFromPids()
DIProcessInfoService.h38 /*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/core/java/android/os/
DIProcessInfoService.aidl34 void getProcessStatesAndOomScoresFromPids(in int[] pids, out int[] states, out int[] scores); in getProcessStatesAndOomScoresFromPids() argument
/frameworks/base/services/autofill/java/com/android/server/autofill/
DAutofillManagerServiceShellCommand.java254 final Scores scores = result.getParcelable(EXTRA_SCORES); in getFieldClassificationScore()
255 if (scores == null) { in getFieldClassificationScore()
258 pw.println(scores.scores[0][0]); in getFieldClassificationScore()
DSession.java2234 final Scores scores = result.getParcelable(EXTRA_SCORES);
2235 if (scores == null) {
2250 final float score = scores.scores[i][j];
2288 wtf(e, "Error accessing FC score at [%d, %d] (%s): %s", i, j, scores, e);
/frameworks/native/libs/vr/libdvr/include/dvr/
Ddvr_tracking_types.h66 float* scores; member
/frameworks/base/core/java/android/view/textclassifier/
DTextClassifierEvent.java597 public T setScores(@NonNull float... scores) { in setScores() argument
598 Objects.requireNonNull(scores); in setScores()
599 mScores = new float[scores.length]; in setScores()
600 System.arraycopy(scores, 0, mScores, 0, scores.length); in setScores()
DTextClassifier.java787 final Map<String, Float> scores = new ArrayMap<>(); in entityScores() local
788 scores.put(entityType, 1f); in entityScores()
789 return scores; in entityScores()
DTextSelection.java200 Builder setEntityConfidence(EntityConfidence scores) { in setEntityConfidence() argument
202 mEntityConfidence.putAll(scores.toMap()); in setEntityConfidence()
DTextClassification.java378 Builder setEntityConfidence(EntityConfidence scores) {
380 mTypeScoreMap.putAll(scores.toMap());
/frameworks/base/services/core/java/com/android/server/am/
DCacheOomRanker.java425 private static void addToScore(RankedProcessRecord[] scores, float weight) { in addToScore() argument
426 for (int i = 1; i < scores.length; ++i) { in addToScore()
427 scores[i].score += i * weight; in addToScore()
DActivityManagerService.java5734 /*in*/ int[] pids, /*out*/ int[] states, /*out*/ int[] scores) { in getProcessStatesAndOomScoresFromPids() argument
5736 /*in*/ pids, /*out*/ states, /*out*/ scores); in getProcessStatesAndOomScoresFromPids()
5748 /*in*/ int[] pids, /*out*/ int[] states, /*out*/ int[] scores) { in getProcessStatesAndOomScoresForPIDs() argument
5749 if (scores != null) { in getProcessStatesAndOomScoresForPIDs()
5760 } else if (scores != null && pids.length != scores.length) { in getProcessStatesAndOomScoresForPIDs()
5776 if (scores != null) { in getProcessStatesAndOomScoresForPIDs()
5778 scores[i] = ProcessList.FOREGROUND_APP_ADJ - 1; in getProcessStatesAndOomScoresForPIDs()
5786 if (scores != null) { in getProcessStatesAndOomScoresForPIDs()
5787 scores[i] = pr.mState.getCurAdj(); in getProcessStatesAndOomScoresForPIDs()
5792 if (scores != null) { in getProcessStatesAndOomScoresForPIDs()
[all …]
/frameworks/base/core/java/com/android/internal/app/
DChooserActivity.java3986 public final List<AppTarget> scores;
3991 this.scores = chooserTargetScores;
/frameworks/base/proto/src/metrics_constants/
Dmetrics_constants.proto5316 // Tag used to report autofill field classification scores
/frameworks/base/boot/hiddenapi/
Dhiddenapi-max-target-o.txt48709 Landroid/service/autofill/AutofillFieldClassificationService$Scores;->scores:[[F