/frameworks/base/core/java/android/service/autofill/ |
D | AutofillFieldClassificationService.java | 110 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/ |
D | RefreshRateConfigs.cpp | 371 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/ |
D | ClipboardOverlayUtilsTest.java | 124 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/ |
D | ProcessInfoService.h | 40 /*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()
|
D | IProcessInfoService.h | 38 /*out*/ int32_t* scores) = 0;
|
/frameworks/native/libs/binder/ |
D | IProcessInfoService.cpp | 53 /*in*/ int32_t* pids, /*out*/ int32_t* states, /*out*/ int32_t* scores) in getProcessStatesAndOomScoresFromPids() argument 80 scores, length * sizeof(*scores))) != NO_ERROR) { in getProcessStatesAndOomScoresFromPids()
|
D | ProcessInfoService.cpp | 62 /*out*/ int32_t *scores) { in getProcessStatesScoresImpl() argument 73 /*in*/ pids, /*out*/ states, /*out*/ scores); in getProcessStatesScoresImpl()
|
/frameworks/base/tests/JankBench/scripts/ |
D | itr_collect.py | 90 scores = [] 100 scores.append(score) 104 geo_run = scipy.stats.gmean(scores)
|
D | collect.py | 125 scores = [] 142 scores.append(score) 155 geo_run = numpy.mean(scores)
|
/frameworks/base/core/java/android/os/ |
D | IProcessInfoService.aidl | 34 void getProcessStatesAndOomScoresFromPids(in int[] pids, out int[] states, out int[] scores); in getProcessStatesAndOomScoresFromPids() argument
|
/frameworks/base/services/autofill/java/com/android/server/autofill/ |
D | AutofillManagerServiceShellCommand.java | 254 final Scores scores = result.getParcelable(EXTRA_SCORES); in getFieldClassificationScore() 255 if (scores == null) { in getFieldClassificationScore() 258 pw.println(scores.scores[0][0]); in getFieldClassificationScore()
|
D | Session.java | 2234 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/ |
D | dvr_tracking_types.h | 66 float* scores; member
|
/frameworks/base/core/java/android/view/textclassifier/ |
D | TextClassifierEvent.java | 597 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()
|
D | TextClassifier.java | 787 final Map<String, Float> scores = new ArrayMap<>(); in entityScores() local 788 scores.put(entityType, 1f); in entityScores() 789 return scores; in entityScores()
|
D | TextSelection.java | 200 Builder setEntityConfidence(EntityConfidence scores) { in setEntityConfidence() argument 202 mEntityConfidence.putAll(scores.toMap()); in setEntityConfidence()
|
D | TextClassification.java | 378 Builder setEntityConfidence(EntityConfidence scores) { 380 mTypeScoreMap.putAll(scores.toMap());
|
/frameworks/base/services/core/java/com/android/server/am/ |
D | CacheOomRanker.java | 425 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()
|
D | ActivityManagerService.java | 5734 /*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/ |
D | ChooserActivity.java | 3986 public final List<AppTarget> scores; 3991 this.scores = chooserTargetScores;
|
/frameworks/base/proto/src/metrics_constants/ |
D | metrics_constants.proto | 5316 // Tag used to report autofill field classification scores
|
/frameworks/base/boot/hiddenapi/ |
D | hiddenapi-max-target-o.txt | 48709 Landroid/service/autofill/AutofillFieldClassificationService$Scores;->scores:[[F
|