Searched defs:score (Results 1 - 25 of 38) sorted by last modified time

12

/frameworks/opt/telephony/src/java/com/android/internal/telephony/dataconnection/
H A DDataConnection.java1868 NetworkCapabilities nc, LinkProperties lp, int score, NetworkMisc misc) {
1869 super(l, c, TAG, ni, nc, lp, score, misc);
1867 DcNetworkAgent(Looper l, Context c, String TAG, NetworkInfo ni, NetworkCapabilities nc, LinkProperties lp, int score, NetworkMisc misc) argument
H A DTelephonyNetworkFactory.java216 public void needNetworkFor(NetworkRequest networkRequest, int score) { argument
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/mocks/
H A DConnectivityServiceMock.java322 // because they lost all their requests or because their score isn't good)
973 private void sendUpdatedScoreToFactories(NetworkRequest networkRequest, int score) { argument
974 if (VDBG) log("sending new Min Network Score(" + score + "): " + networkRequest.toString());
976 nfi.asyncChannel.sendMessage(android.net.NetworkFactory.CMD_REQUEST_NETWORK, score, 0,
1045 public synchronized void setCurrentScoreForRequest(NetworkRequest nr, int score) { argument
1046 sendUpdatedScoreToFactories(nr, score);
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
H A DPhoneSwitcher.java226 protected void needNetworkFor(NetworkRequest networkRequest, int score) { argument
227 if (VDBG) log("needNetworkFor " + networkRequest + ", " + score);
/frameworks/opt/net/voip/src/jni/rtp/
H A DAudioGroup.cpp386 int score = mBufferTail - tick - MEASURE_BASE; local
387 if (mLatencyScore > score || mLatencyScore <= 0) {
388 mLatencyScore = score;
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
H A DWifiMetrics.java909 * Increments occurence of a particular wifi score calculated
913 public void incrementWifiScoreCount(int score) { argument
914 if (score < MIN_WIFI_SCORE || score > MAX_WIFI_SCORE) {
918 int count = mWifiScoreCounts.get(score);
919 mWifiScoreCounts.put(score, count + 1);
1185 for (int score = 0; score < mWifiScoreCounts.size(); score++) {
1187 keyVal.score
[all...]
H A DWifiQualifiedNetworkSelector.java196 localLoge("No network score service: Couldn't register as a WiFi score Manager, type="
430 int score = 0;
431 //calculate the RSSI score
434 score += (rssi + mRssiScoreOffset) * mRssiScoreSlope;
435 sbuf.append(" RSSI score: " + score);
438 score += mWifiConfigManager.mBandAward5Ghz.get();
449 score += bonus > 0 ? bonus : 0;
457 score
1202 evalUntrustedCandidate(@ullable Integer score, ScanResult scanResult) argument
1212 evalSavedCandidate(@ullable Integer score, WifiConfiguration config, ScanResult scanResult) argument
1268 evalCarrierCandidate(ScanResult scanResult, int score) argument
[all...]
H A DWifiStateMachine.java2482 sb.append(" sc=").append(mWifiInfo.score);
2691 sb.append(" sc=").append(mWifiInfo.score);
3257 // Polling has completed, hence we wont have a score anymore
3266 // Object holding most recent wifi score report and bad Linkspeed count
3965 protected void needNetworkFor(NetworkRequest networkRequest, int score) { argument
3998 protected void needNetworkFor(NetworkRequest networkRequest, int score) { argument
6377 NetworkCapabilities nc, LinkProperties lp, int score, NetworkMisc misc) {
6378 super(l, c, TAG, ni, nc, lp, score, misc);
6383 if (DBG) log("WifiNetworkAgent -> Wifi unwanted score "
6384 + Integer.toString(mWifiInfo.score));
6376 WifiNetworkAgent(Looper l, Context c, String TAG, NetworkInfo ni, NetworkCapabilities nc, LinkProperties lp, int score, NetworkMisc misc) argument
[all...]
/frameworks/native/opengl/libs/ETC1/
H A Detc1.cpp236 etc1_uint32 score; // Lower is more accurate member in struct:__anon1519
241 if (a->score > b->score) {
312 etc1_uint32 score = (etc1_uint32) (6 * square(decodedG - pixelG)); local
313 if (score >= bestScore) {
317 score += (etc1_uint32) (3 * square(decodedR - pixelR));
318 if (score >= bestScore) {
322 score += (etc1_uint32) square(decodedB - pixelB);
323 if (score < bestScore) {
324 bestScore = score;
338 int score = pCompressed->score; local
[all...]
/frameworks/minikin/include/minikin/
H A DLineBreaker.h195 float score; // best score found for this break member in struct:android::LineBreaker::Candidate
/frameworks/minikin/libs/minikin/
H A DFontCollection.cpp153 // Calculates a font score.
154 // The score of the font family is based on three subscores.
162 // The returned score reflects this priority order.
182 // The highest 2 bits are for coverage score, then following 28 bits are for language score,
183 // then the last 1 bit is for variant score.
187 // Calculates a font score based on variation sequence coverage.
239 // If the font's script doesn't support the requested script, the font gets a score of 0. If the
241 // requested one, the font gets a score of 2. If the font's script supports the requested script
242 // but the primary language is different from the requested one, the font gets a score o
259 uint32_t score = 0; local
309 const uint32_t score = calcFamilyScore(ch, vs, variant, langListId, family); local
[all...]
H A DFontFamily.cpp112 int score = abs(style1.getWeight() - style2.getWeight()); local
114 score += 2;
116 return score;
H A DFontLanguage.cpp142 int score = 0; local
149 score = 1;
154 if (score == 1) {
155 return score;
159 // Gives score of 2 only if the language matches all of the font languages except for the
H A DLineBreaker.cpp34 // constants are larger than any reasonable actual width score.
368 float jScore = mCandidates[j].score;
372 // compute width score for line
394 float score = jScore + widthScore + additionalPenalty; local
395 if (score <= best) {
396 best = score;
400 mCandidates[i].score = best + mCandidates[i].penalty + mLinePenalty;
404 ALOGD("break %zd: score=%g, prev=%zd", i, mCandidates[i].score, mCandidates[i].prev);
/frameworks/data-binding/prebuilds/1.0-rc0/
H A Ddatabinding-studio-bundle.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/databinding/ android/databinding/Bindable.class Bindable. ...
/frameworks/base/wifi/java/android/net/wifi/
H A DWifiConfiguration.java468 * - GOOD/LOW/BAD thresholds are used so as to calculate link score
500 public int score; // Debug only, indicate last score used for autojoin/cell-handover field in class:WifiConfiguration.Visibility
539 if (score != 0) {
540 sbuf.append("; ").append(score);
790 * Boost given to RSSI on a home network for the purpose of calculating the score
950 * kept updating once a new scan result has a higher score than current one
955 * Used to cache the score of the current temporary candidate during the network
1012 * set the score of the temporary candidate of current network selection procedure
1013 * @param score valu
1015 setCandidateScore(int score) argument
[all...]
H A DWifiInfo.java157 public int score; field in class:WifiInfo
270 score = 0;
298 score = source.score;
564 append(", score: ").append(Integer.toString(score));
595 dest.writeInt(score);
626 info.score = in.readInt();
/frameworks/base/packages/SystemUI/src/com/android/systemui/egg/
H A DMLand.java152 private int mCurrentPipeId; // basically, equivalent to the current score
1051 private void setScore(int score) { argument
1052 mScore = score;
1054 mScoreField.setText(DEBUG_IDDQD ? "??" : String.valueOf(score));
/frameworks/base/services/core/java/com/android/server/
H A DCommonTimeManagementService.java214 public InterfaceScoreRule(String prefix, byte score) { argument
216 mScore = score;
H A DConnectivityService.java2184 Integer score = (Integer) msg.obj;
2185 if (score != null) updateNetworkScore(nai, score.intValue());
2241 // If score has changed, rebroadcast to NetworkFactories. b/17726566
2394 // because they lost all their requests or because their score isn't good)
4633 * @param oldScore score of the network before any of the changes that prompted us
4682 // If the requestable capabilities haven't changed, and the score hasn't changed, then
4688 // If the requestable capabilities have changed or the score changed, we can't have been
4704 private void sendUpdatedScoreToFactories(NetworkRequest networkRequest, int score) { argument
4705 if (VDBG) log("sending new Min Network Score(" + score
5312 updateNetworkScore(NetworkAgentInfo nai, int score) argument
[all...]
/frameworks/base/services/core/java/com/android/server/connectivity/
H A DNetworkAgentInfo.java51 * interested in using it. Default sort order is descending by score.
89 // for the default network connection, the one with the higher score should be chosen.
145 // If true, becoming unvalidated will lower the network's score. This is only meaningful if the
198 // a request is moved to a network with a better score, regardless of whether the network is or
222 // This represents the last score received from the NetworkAgent.
255 LinkProperties lp, NetworkCapabilities nc, int score, Context context, Handler handler,
263 currentScore = score;
406 // TODO: We may want to refactor this into a NetworkScore class that takes a base score from
408 // score. The NetworkScore class would provide a nice place to centralize score constant
254 NetworkAgentInfo(Messenger messenger, AsyncChannel ac, Network net, NetworkInfo info, LinkProperties lp, NetworkCapabilities nc, int score, Context context, Handler handler, NetworkMisc misc, NetworkRequest defaultRequest, ConnectivityService connService) argument
[all...]
/frameworks/base/services/tests/servicestests/src/com/android/server/
H A DConnectivityServiceTest.java485 protected void handleAddRequest(NetworkRequest request, int score) { argument
492 super.handleAddRequest(request, score);
1336 // But because its score is 55, it's still up (and the default network).
1363 // Bring up wifi with a score of 20.
1377 // Bring up wifi with a score of 70.
1512 // own NetworkRequest during startup, just bump up the score to cancel out the
1518 // the new score. There are expectedRequestCount such requests, and we must wait for all of
2029 // Give wifi a high enough score that we'll linger cell when wifi comes up.
2077 testFactory.expectAddRequests(2); // Because the default request changes score twice.
2093 testFactory.expectAddRequests(2); // Because the cell request changes score twic
[all...]
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/samples/simplecamera/
H A DImageGoodnessFilter.java16 // Takes sharpness score, rates the image good if above 10, bad otherwise
88 .addOutputPort("score", Signature.PORT_OPTIONAL, floatT)
138 float score = 0.0f;
139 score = computePictureScore(vectorAccel, sharpness, underExposure, overExposure,
141 if (scoreMean == 0) scoreMean = score;
142 else scoreMean = scoreMean * (1 - DECAY) + score * DECAY;
148 colorfulness, contrastRating, score);
156 if (score >= GREAT_SCORE) {
158 } else if (score >= GOOD_SCORE) {
160 } else if (score >
212 classifierComputeScore(float vectorAccel, float sharpness, float underExposure, float colorfulness, float contrast, float score) argument
248 subComputeScore(float sharpness, float underExposure, float overExposure, float contrastRating, float colorfulness, float brightness, float score) argument
[all...]
/frameworks/base/packages/Osu/src/com/android/hotspot2/osu/
H A DOSUInfo.java166 private ScoreEntry(T data, int score) { argument
168 mScore = score;
195 int score = languageScore(iconInfo.getLanguage(), locale);
197 // Best size score is 1024 for a exact match, i.e. 2048 if both sides match
199 score += (256 - delta) * 4; // Prefer down-scaling
201 score += 256 + delta; // Before up-scaling
205 score += (256 - delta) * 4;
207 score += 256 + delta;
209 matches.add(new ScoreEntry<>(iconInfo, score));
/frameworks/base/libs/androidfw/
H A DResourceTypes.cpp2020 const int score = ((localeScript[0] != '\0' && !localeScriptWasComputed) ? 1 : 0) + local
2026 return score - oScore;

Completed in 458 milliseconds

12