Home
last modified time | relevance | path

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

12

/frameworks/base/core/java/android/service/autofill/
DAutofillFieldClassificationService.java112 final float[][] scores = onCalculateScores(actualValues, Arrays.asList(userDataValues), in calculateScores() local
114 if (scores != null) { in calculateScores()
115 data.putParcelable(EXTRA_SCORES, new Scores(scores)); in calculateScores()
313 public final float[][] scores; field in AutofillFieldClassificationService.Scores
318 scores = new float[size1][size2]; in Scores()
321 scores[i][j] = parcel.readFloat(); in Scores()
326 private Scores(@NonNull float[][] scores) { in Scores() argument
327 this.scores = scores; in Scores()
332 final int size1 = scores.length; in toString()
333 final int size2 = size1 > 0 ? scores[0].length : 0; in toString()
[all …]
/frameworks/native/services/surfaceflinger/Scheduler/
DRefreshRateConfigs.cpp195 std::vector<std::pair<const RefreshRate*, float>> scores; in getBestRefreshRate() local
196 scores.reserve(mAppRequestRefreshRates.size()); in getBestRefreshRate()
199 scores.emplace_back(refreshRate, 0.0f); in getBestRefreshRate()
211 for (auto i = 0u; i < scores.size(); i++) { in getBestRefreshRate()
213 scores[i].first->inPolicy(policy->primaryRange.min, policy->primaryRange.max); in getBestRefreshRate()
223 const auto ratio = scores[i].first->fps / scores.back().first->fps; in getBestRefreshRate()
227 scores[i].first->name.c_str(), layerScore); in getBestRefreshRate()
228 scores[i].second += weight * layerScore; in getBestRefreshRate()
232 const auto displayPeriod = scores[i].first->hwcConfig->getVsyncPeriod(); in getBestRefreshRate()
250 layer.name.c_str(), weight, 1e9f / layerPeriod, scores[i].first->name.c_str(), in getBestRefreshRate()
[all …]
/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/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/
DScoredNetworkNominatorTest.java202 Integer[] scores = {120}; in testUpdate_oneScored_oneUnscored() local
205 mScoreCache, scoredScanDetails, scores, meteredHints); in testUpdate_oneScored_oneUnscored()
290 Integer[] scores = {null, 120}; in testEvaluateNetworks_newEphemeralNetworkMustBeReportedAsConnectable() local
295 scanDetails, scores, meteredHints); in testEvaluateNetworks_newEphemeralNetworkMustBeReportedAsConnectable()
325 Integer[] scores = {null, 120}; in testEvaluateNetworks_noEphemeralNetworkWhenUntrustedNetworksNotAllowed() local
331 scanDetails, scores, meteredHints); in testEvaluateNetworks_noEphemeralNetworkWhenUntrustedNetworksNotAllowed()
358 Integer[] scores = {120}; in testEvaluateNetworks_chooseSavedNetworkWithExternalScore() local
369 scanDetails, scores, meteredHints); in testEvaluateNetworks_chooseSavedNetworkWithExternalScore()
390 Integer[] scores = {null, null}; in testEvaluateNetworks_nullScoredNetworks() local
401 scanDetails, scores, meteredHints); in testEvaluateNetworks_nullScoredNetworks()
DWifiNetworkSelectorTestUtil.java440 List<ScanDetail> scanDetails, Integer[] scores, boolean[] meteredHints) { in configureScoreCache() argument
450 if (scores != null) { // fixed score in configureScoreCache()
452 Integer score = scores[i]; in configureScoreCache()
454 if (scores[i] == null) { in configureScoreCache()
457 rssiScore = scores[i].byteValue(); in configureScoreCache()
/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.java1885 final Scores scores = result.getParcelable(EXTRA_SCORES);
1886 if (scores == null) {
1901 final float score = scores.scores[i][j];
1939 wtf(e, "Error accessing FC score at [%d, %d] (%s): %s", i, j, scores, e);
/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/core/java/android/view/textclassifier/
DTextClassifierEvent.java589 public T setScores(@NonNull float... scores) { in setScores() argument
590 Objects.requireNonNull(scores); in setScores()
591 mScores = new float[scores.length]; in setScores()
592 System.arraycopy(scores, 0, mScores, 0, scores.length); in setScores()
DTextClassifier.java785 final Map<String, Float> scores = new ArrayMap<>(); in entityScores() local
786 scores.put(entityType, 1f); in entityScores()
787 return scores; in entityScores()
DTextClassification.java377 Builder setEntityConfidence(EntityConfidence scores) {
379 mTypeScoreMap.putAll(scores.toMap());
/frameworks/base/packages/SystemUI/src/com/android/systemui/egg/
DMLandActivity.java33 mLand.setScoreFieldHolder(findViewById(R.id.scores)); in onCreate()
/frameworks/base/core/java/com/android/internal/app/
DChooserListAdapter.java610 Map<String, Integer> scores = mChooserTargetScores.get(componentName); in rankTargetsWithinComponent() local
613 int score1 = scores.getOrDefault( in rankTargetsWithinComponent()
616 int score2 = scores.getOrDefault( in rankTargetsWithinComponent()
DChooserActivity.java581 adapterForUserHandle.addChooserTargetRankingScore(scoreInfo.scores); in handleMessage()
4049 public final List<AppTarget> scores;
4054 this.scores = chooserTargetScores;
/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()

12