Home
last modified time | relevance | path

Searched refs:candidate (Results 1 – 23 of 23) sorted by relevance

/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
DWifiAutoJoinController.java327 private int compareNetwork(WifiConfiguration candidate, in compareNetwork() argument
329 if (candidate == null) in compareNetwork()
339 if (candidate.configKey(true).equals(currentNetwork.configKey(true))) { in compareNetwork()
344 logDbg("compareNetwork will compare " + candidate.configKey() in compareNetwork()
347 int order = compareWifiConfigurationsTop(currentNetwork, candidate); in compareNetwork()
363 + " over " + candidate.configKey() in compareNetwork()
368 && candidate.configKey().equals(lastSelectedConfiguration)) { in compareNetwork()
375 logDbg(" ...and prefers +100 " + candidate.configKey() in compareNetwork()
1117 WifiConfiguration candidate = null; in attemptAutoJoin() local
1375 if (candidate != null) { in attemptAutoJoin()
[all …]
DWifiServiceImpl.java1374 String candidate = " "; in dump() local
1375 if (r.isAutoJoinCandidate > 0) candidate = "+"; in dump()
1381 candidate, in dump()
DWifiStateMachine.java7390 ScanResult candidate = (ScanResult)message.obj; in processMessage() local
7392 if (candidate != null && candidate.is5GHz()) { in processMessage()
7394 bssid = candidate.BSSID; in processMessage()
/frameworks/ml/bordeaux/service/src/android/bordeaux/services/
DClusterManager.java198 for (LocationCluster candidate : mLocationClusters) { in consolidateClusters()
199 if (candidate.hasSemanticId() || in consolidateClusters()
200 candidate.hasSemanticClusterId() || in consolidateClusters()
201 !candidate.passThreshold(SEMANTIC_CLUSTER_THRESHOLD)) { in consolidateClusters()
209 float distance = cluster.distanceToCluster(candidate); in consolidateClusters()
222 candidate.generateSemanticId(mSemanticClusterCount++); in consolidateClusters()
223 mSemanticClusters.add(candidate); in consolidateClusters()
225 candidate.setSemanticClusterId(bestClusterId); in consolidateClusters()
/frameworks/base/core/java/android/app/
DApplicationErrorReport.java171 String candidate = pm.getInstallerPackageName(packageName); in getErrorReportReceiver() local
172 ComponentName result = getErrorReportReceiver(pm, packageName, candidate); in getErrorReportReceiver()
180 candidate = SystemProperties.get(SYSTEM_APPS_ERROR_RECEIVER_PROPERTY); in getErrorReportReceiver()
181 result = getErrorReportReceiver(pm, packageName, candidate); in getErrorReportReceiver()
188 candidate = SystemProperties.get(DEFAULT_ERROR_RECEIVER_PROPERTY); in getErrorReportReceiver()
189 return getErrorReportReceiver(pm, packageName, candidate); in getErrorReportReceiver()
/frameworks/base/policy/src/com/android/internal/policy/impl/
DEnableAccessibilityController.java237 AccessibilityServiceInfo candidate = services.get(i); in enableAccessibility() local
238 if ((candidate.flags & AccessibilityServiceInfo in enableAccessibility()
241 service = candidate; in enableAccessibility()
/frameworks/base/core/tests/coretests/src/android/view/
DFocusFinderTest.java250 Rect candidate = new Rect(src); in testSomeCandidateBetterThanNonCandidate() local
251 candidate.offset(-(4 * src.width()), 0); in testSomeCandidateBetterThanNonCandidate()
252 assertDirectionIsCandidate(View.FOCUS_LEFT, src, candidate); in testSomeCandidateBetterThanNonCandidate()
254 assertBetterCandidate(View.FOCUS_LEFT, src, candidate, nonCandidate); in testSomeCandidateBetterThanNonCandidate()
/frameworks/base/docs/html/training/displaying-bitmaps/
Dmanage-memory.jd274 <p>Finally, this method determines whether a candidate bitmap
279 Bitmap candidate, BitmapFactory.Options targetOptions) {
283 // the new bitmap is smaller than the reusable bitmap candidate
287 int byteCount = width * height * getBytesPerPixel(candidate.getConfig());
288 return byteCount &lt;= candidate.getAllocationByteCount();
292 return candidate.getWidth() == targetOptions.outWidth
293 && candidate.getHeight() == targetOptions.outHeight
/frameworks/base/services/core/java/com/android/server/hdmi/
DHdmiCecController.java445 final Integer candidate = candidates.remove(0); in runDevicePolling() local
451 if (sendPollMessage(sourceAddress, candidate, retryCount)) { in runDevicePolling()
452 allocated.add(candidate); in runDevicePolling()
/frameworks/base/core/java/com/android/internal/inputmethod/
DInputMethodSubtypeSwitchingController.java301 final ImeSubtypeListItem candidate = mImeSubtypeList.get(candidateIndex); in getNextInputMethodLocked() local
304 if (onlyCurrentIme && !imi.equals(candidate.mImi)) { in getNextInputMethodLocked()
307 return candidate; in getNextInputMethodLocked()
/frameworks/base/core/java/android/view/accessibility/
DAccessibilityInteractionClient.java844 AccessibilityNodeInfo candidate = infos.get(j); in checkFindAccessibilityNodeInfoResultIntegrity() local
845 if (root.getParentNodeId() == candidate.getSourceNodeId()) { in checkFindAccessibilityNodeInfoResultIntegrity()
846 root = candidate; in checkFindAccessibilityNodeInfoResultIntegrity()
/frameworks/av/media/libstagefright/codecs/on2/h264dec/omxdl/arm_neon/vc/m4p2/src/
DomxVCM4P2_FindMVpred_s.s178 ; Find the median of the 3 candidate MV's
/frameworks/av/media/libstagefright/codecs/on2/h264dec/omxdl/arm11/vc/m4p2/src/
DomxVCM4P2_FindMVpred_s.s178 ; Find the median of the 3 candidate MV's
/frameworks/base/services/core/java/com/android/server/
DTextServicesManagerService.java358 SpellCheckerSubtype candidate = null; in getCurrentSpellCheckerSubtype() local
365 } else if (candidate == null) { in getCurrentSpellCheckerSubtype()
369 candidate = scs; in getCurrentSpellCheckerSubtype()
384 return candidate; in getCurrentSpellCheckerSubtype()
/frameworks/base/services/core/java/com/android/server/am/
DTaskRecord.java720 ActivityRecord candidate = mActivities.get(activityNdx); in findActivityInHistoryLocked() local
721 if (candidate.finishing) { in findActivityInHistoryLocked()
724 if (candidate.realActivity.equals(realActivity)) { in findActivityInHistoryLocked()
725 return candidate; in findActivityInHistoryLocked()
/frameworks/base/services/core/java/com/android/server/content/
DSyncManager.java2440 final SyncOperation candidate = operations.get(i); in maybeStartNextSyncLocked() local
2441 final boolean candidateIsInitialization = candidate.isInitialization(); in maybeStartNextSyncLocked()
2464 if (activeOp.isConflict(candidate)) { in maybeStartNextSyncLocked()
2477 Log.v(TAG, "candidate " + (i + 1) + " of " + N + ": " + candidate); in maybeStartNextSyncLocked()
2496 } else if (candidate.isExpedited() && !conflict.mSyncOperation.isExpedited() in maybeStartNextSyncLocked()
2509 } else if (candidate.isExpedited() && oldestNonExpeditedRegular != null in maybeStartNextSyncLocked()
2540 mSyncQueue.remove(candidate); in maybeStartNextSyncLocked()
2542 dispatchSyncOperation(candidate); in maybeStartNextSyncLocked()
/frameworks/base/core/java/android/database/sqlite/
DSQLiteDatabase.java743 public boolean accept(File candidate) { in deleteDatabase()
744 return candidate.getName().startsWith(prefix); in deleteDatabase()
/frameworks/av/services/audiopolicy/
DAudioPolicyManager.cpp6037 uint32_t candidate; in checkCompatibleSamplingRate() local
6039 candidate = mSamplingRates[i]; in checkCompatibleSamplingRate()
6040 if (candidate == samplingRate) { in checkCompatibleSamplingRate()
6042 *updatedSamplingRate = candidate; in checkCompatibleSamplingRate()
6047 if (candidate < samplingRate) { in checkCompatibleSamplingRate()
6048 if (maxBelow < 0 || candidate > mSamplingRates[maxBelow]) { in checkCompatibleSamplingRate()
6053 if (minAbove < 0 || candidate < mSamplingRates[minAbove]) { in checkCompatibleSamplingRate()
6066 candidate = mSamplingRates[minAbove]; in checkCompatibleSamplingRate()
6067 if (candidate / kMaxDownSampleRatio <= samplingRate) { in checkCompatibleSamplingRate()
6069 *updatedSamplingRate = candidate; in checkCompatibleSamplingRate()
[all …]
/frameworks/support/v7/gridlayout/src/android/support/v7/widget/
DGridLayout.java1425 int candidate = locations[u] + value; in relax() local
1426 if (candidate > locations[v]) { in relax()
1427 locations[v] = candidate; in relax()
/frameworks/base/core/java/android/widget/
DGridLayout.java1547 int candidate = locations[u] + value; in relax() local
1548 if (candidate > locations[v]) { in relax()
1549 locations[v] = candidate; in relax()
/frameworks/base/docs/html/guide/practices/
Dscreens-distribution.jd164 >. When you're making final preparations to build your release candidate, change the build target to
/frameworks/base/docs/html/guide/topics/text/
Dcreating-input-method.jd473 your UI for candidate
/frameworks/base/docs/html/guide/components/
Dservices.jd641 user is actively aware of and thus not a candidate for the system to kill when low on memory. A