Home
last modified time | relevance | path

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

/aosp14/frameworks/base/core/java/android/service/autofill/
H A DAutofillFieldClassificationService.java112 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()
346 int size1 = scores.length; in writeToParcel()
347 int size2 = scores[0].length; in writeToParcel()
[all …]
/aosp14/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/clipboardoverlay/
H A 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()
210 final Map<String, Float> scores = new ArrayMap<>(); in getFakeTextLinksBuilder() local
211 scores.put(TextClassifier.TYPE_EMAIL, 1f); in getFakeTextLinksBuilder()
212 textLinks.addLink(0, 22, scores); in getFakeTextLinksBuilder()
213 textLinks.addLink(0, 22, scores); in getFakeTextLinksBuilder()
/aosp14/frameworks/base/tests/JankBench/scripts/
H A Ditr_collect.py90 scores = []
100 scores.append(score)
104 geo_run = scipy.stats.gmean(scores)
H A Dcollect.py125 scores = []
142 scores.append(score)
155 geo_run = numpy.mean(scores)
/aosp14/frameworks/base/core/java/android/os/
H A DIProcessInfoService.aidl34 void getProcessStatesAndOomScoresFromPids(in int[] pids, out int[] states, out int[] scores); in getProcessStatesAndOomScoresFromPids() argument
/aosp14/frameworks/base/services/autofill/java/com/android/server/autofill/
H A DAutofillManagerServiceShellCommand.java263 …final Scores scores = result.getParcelable(EXTRA_SCORES, android.service.autofill.AutofillFieldCla… in getFieldClassificationScore()
264 if (scores == null) { in getFieldClassificationScore()
267 pw.println(scores.scores[0][0]); in getFieldClassificationScore()
H A DSession.java3224 final Scores scores = result.getParcelable(EXTRA_SCORES, in handleLogFieldClassificationScore() local
3226 if (scores == null) { in handleLogFieldClassificationScore()
3241 final float score = scores.scores[i][j]; in handleLogFieldClassificationScore()
3279 wtf(e, "Error accessing FC score at [%d, %d] (%s): %s", i, j, scores, e); in handleLogFieldClassificationScore()
/aosp14/frameworks/base/core/java/android/view/textclassifier/
H A 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()
H A DTextClassifier.java787 final Map<String, Float> scores = new ArrayMap<>(); in entityScores() local
788 scores.put(entityType, 1f); in entityScores()
789 return scores; in entityScores()
H A DTextSelection.java200 Builder setEntityConfidence(EntityConfidence scores) { in setEntityConfidence() argument
202 mEntityConfidence.putAll(scores.toMap()); in setEntityConfidence()
H A DTextClassification.java380 Builder setEntityConfidence(EntityConfidence scores) {
382 mTypeScoreMap.putAll(scores.toMap());
/aosp14/frameworks/base/services/core/java/com/android/server/am/
H A 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()
H A DActivityManagerService.java5833 /*in*/ pids, /*out*/ states, /*out*/ scores); in getProcessStatesAndOomScoresFromPids()
5845 /*in*/ int[] pids, /*out*/ int[] states, /*out*/ int[] scores) { in getProcessStatesAndOomScoresForPIDs() argument
5846 if (scores != null) { in getProcessStatesAndOomScoresForPIDs()
5857 } else if (scores != null && pids.length != scores.length) { in getProcessStatesAndOomScoresForPIDs()
5873 if (scores != null) { in getProcessStatesAndOomScoresForPIDs()
5875 scores[i] = ProcessList.FOREGROUND_APP_ADJ - 1; in getProcessStatesAndOomScoresForPIDs()
5883 if (scores != null) { in getProcessStatesAndOomScoresForPIDs()
5884 scores[i] = pr.mState.getCurAdj(); in getProcessStatesAndOomScoresForPIDs()
5889 if (scores != null) { in getProcessStatesAndOomScoresForPIDs()
5890 scores[i] = ProcessList.INVALID_ADJ; in getProcessStatesAndOomScoresForPIDs()
[all …]
/aosp14/frameworks/base/core/java/com/android/internal/app/
H A DChooserActivity.java4022 public final List<AppTarget> scores;
4027 this.scores = chooserTargetScores;
/aosp14/frameworks/base/proto/src/metrics_constants/
H A Dmetrics_constants.proto5317 // Tag used to report autofill field classification scores
/aosp14/frameworks/base/tools/aapt2/integration-tests/CommandTests/
H A Dandroid-33.jarAndroidManifest.xml META-INF/ META-INF/MANIFEST.MF NOTICES/ NOTICES/libcore ...
/aosp14/frameworks/base/boot/hiddenapi/
H A Dhiddenapi-max-target-o.txt48709 Landroid/service/autofill/AutofillFieldClassificationService$Scores;->scores:[[F