Searched refs:candidate (Results 1 - 25 of 40) sorted by relevance

12

/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/
H A DWifiQualifiedNetworkSelectorTest.java302 * @param candidate the chosen configuration
304 private void verifySelectedResult(ScanResult chosenScanResult, WifiConfiguration candidate) { argument
305 ScanResult candidateScan = candidate.getNetworkSelectionStatus().getCandidate();
306 assertEquals("choose the wrong SSID", chosenScanResult.SSID, candidate.SSID);
344 WifiConfiguration candidate = mWifiQualifiedNetworkSelector.selectQualifiedNetwork(false,
347 verifySelectedResult(chosenScanResult, candidate);
381 WifiConfiguration candidate = mWifiQualifiedNetworkSelector.selectQualifiedNetwork(false,
384 verifySelectedResult(chosenScanResult, candidate);
417 WifiConfiguration candidate = mWifiQualifiedNetworkSelector.selectQualifiedNetwork(false,
420 verifySelectedResult(chosenScanResult, candidate);
[all...]
H A DWifiConnectivityManagerTest.java191 WifiConfiguration candidate = generateWifiConfig(
193 candidate.BSSID = CANDIDATE_BSSID;
197 candidate.getNetworkSelectionStatus().setCandidate(candidateScanResult);
200 anyBoolean(), anyBoolean(), anyBoolean(), anyBoolean())).thenReturn(candidate);
248 * expected candidate network ID and BSSID.
268 * expected candidate network ID and BSSID.
288 * expected candidate network ID and BSSID.
308 * expected candidate network ID and BSSID.
327 * with the expected candidate network ID and BSSID for only the expected number of times within
366 * with the expected candidate networ
[all...]
/frameworks/base/packages/DocumentsUI/tests/src/com/android/documentsui/bots/
H A DBaseBot.java49 UiObject2 candidate = mDevice.findObject(By.res(resourceName));
51 candidate.findObject(By.focused(true)));
/frameworks/base/tools/aapt2/util/
H A DImmutableMap.h61 auto cmp = [](const std::pair<TKey, TValue>& candidate, const TKey2& target) -> bool {
62 return candidate.first < target;
/frameworks/ml/bordeaux/service/src/android/bordeaux/services/
H A DClusterManager.java196 // assign each candidate to a semantic cluster and check if new semantic
198 for (LocationCluster candidate : mLocationClusters) {
199 if (candidate.hasSemanticId() ||
200 candidate.hasSemanticClusterId() ||
201 !candidate.passThreshold(SEMANTIC_CLUSTER_THRESHOLD)) {
209 float distance = cluster.distanceToCluster(candidate);
219 // if candidate doesn't belong to any semantic cluster, create a new
222 candidate.generateSemanticId(mSemanticClusterCount++);
223 mSemanticClusters.add(candidate);
225 candidate
[all...]
/frameworks/av/services/audiopolicy/common/managerdefinitions/src/
H A DAudioProfile.cpp80 uint32_t candidate = mSamplingRates[orderOfDesiredRate]; local
81 if (candidate / AUDIO_RESAMPLER_DOWN_RATIO_MAX <= samplingRate) {
82 updatedSamplingRate = candidate;
88 uint32_t candidate = mSamplingRates[orderOfDesiredRate - 1]; local
89 if (candidate * AUDIO_RESAMPLER_UP_RATIO_MAX >= samplingRate) {
90 updatedSamplingRate = candidate;
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
H A DWifiConnectivityManager.java215 * @return true - if a candidate is selected by QNS
216 * false - if no candidate is selected by QNS
220 WifiConfiguration candidate =
228 if (candidate != null) {
229 localLog(listenerName + ": QNS candidate-" + candidate.SSID);
230 connectToNetwork(candidate);
392 // QNS selects a candidate from the PNO scan results.
551 * Attempt to connect to a network candidate.
554 * connect or roam to the network candidate recommende
556 connectToNetwork(WifiConfiguration candidate) argument
[all...]
/frameworks/base/core/java/android/app/
H A DApplicationErrorReport.java171 String candidate = null;
175 candidate = pm.getInstallerPackageName(packageName);
180 if (candidate != null) {
181 result = getErrorReportReceiver(pm, packageName, candidate);
190 candidate = SystemProperties.get(SYSTEM_APPS_ERROR_RECEIVER_PROPERTY);
191 result = getErrorReportReceiver(pm, packageName, candidate);
198 candidate = SystemProperties.get(DEFAULT_ERROR_RECEIVER_PROPERTY);
199 return getErrorReportReceiver(pm, packageName, candidate);
207 * @param receiverPackage candidate package to receive the error
/frameworks/compile/mclinker/lib/LD/
H A DIdenticalCodeFolding.cpp166 CandidateMap::iterator candidate, candidateEnd = candidate_map.end(); local
167 for (candidate = candidate_map.begin(); candidate != candidateEnd;
168 ++candidate) {
170 (funcptr_access_set.count(candidate->first) == 0)) {
172 m_KeptSections[candidate->first] = ObjectAndId(*obj, index);
174 FoldingCandidate(candidate->first, candidate->second, *obj));
176 } // for each possible candidate
/frameworks/base/services/core/java/com/android/server/wm/
H A DAppWindowToken.java282 WindowState candidate = null;
293 candidate = win;
299 return candidate;
633 WindowState candidate = allAppWindows.get(i);
634 if (candidate.mWillReplaceWindow && candidate.mReplacingWindow == null &&
635 candidate.getWindowTag().toString().equals(w.getWindowTag().toString())) {
636 candidate.mReplacingWindow = w;
637 w.mSkipEnterAnimationForSeamlessReplacement = !candidate.mAnimateReplacingWindow;
648 WindowState candidate
[all...]
/frameworks/rs/java/tests/HealingBrush/src/rs/example/android/com/healingbrush/
H A Dfind_region.rs147 float3 candidate = rsGetElementAt_float3(border_values, i).xyz;
148 sum += distance(orig, candidate);
H A Dhealing.rs153 float3 candidate = rsGetElementAt_float3(border, i).xyz;
154 sum += distance(orig, candidate);
/frameworks/support/v4/java/android/support/v4/widget/
H A DFocusStrategy.java142 // Initialize the best candidate to something impossible so that
186 * Is candidate a better candidate than currentBest for a focus search
192 * @param candidate the candidate rectangle
194 * @return {@code true} if the candidate rectangle is a better than the
199 @NonNull Rect candidate, @NonNull Rect currentBest) {
200 // To be a better candidate, need to at least be a candidate in the
202 if (!isCandidate(source, candidate, directio
197 isBetterCandidate( @ocusRealDirection int direction, @NonNull Rect source, @NonNull Rect candidate, @NonNull Rect currentBest) argument
[all...]
/frameworks/base/packages/MtpDocumentsProvider/src/com/android/mtp/
H A DMtpManager.java78 for (final UsbDevice candidate : mManager.getDeviceList().values()) {
79 if (candidate.getDeviceId() == deviceId) {
80 rawDevice = candidate;
/frameworks/base/core/tests/coretests/src/android/view/
H A DFocusFinderTest.java238 * A non-candidate (even a much closer one) is always a worse choice
239 * than a real candidate.
250 Rect candidate = new Rect(src);
251 candidate.offset(-(4 * src.width()), 0);
252 assertDirectionIsCandidate(View.FOCUS_LEFT, src, candidate);
254 assertBetterCandidate(View.FOCUS_LEFT, src, candidate, nonCandidate);
320 * down (and not those next to but still a candidate because
457 new Rect(0, 0, 20, 1)); // candidate
462 new Rect(0, -1, 20, 0)); // candidate
467 new Rect(-1, 0, 0, 20)); // candidate
[all...]
/frameworks/native/cmds/dumpsys/
H A Ddumpsys.cpp55 for (const auto& candidate : skipped) {
56 if (candidate == service) {
/frameworks/support/v7/preference/src/android/support/v7/preference/
H A DPreferenceGroupAdapter.java309 final Preference candidate = mPreferenceList.get(i);
310 if (TextUtils.equals(key, candidate.getKey())) {
/frameworks/base/services/core/java/com/android/server/hdmi/
H A DHdmiCecController.java447 final Integer candidate = candidates.remove(0);
453 if (sendPollMessage(sourceAddress, candidate, retryCount)) {
454 allocated.add(candidate);
/frameworks/av/media/libstagefright/codecs/on2/h264dec/omxdl/arm11/vc/m4p2/src/
H A DomxVCM4P2_FindMVpred_s.s168 ;// out the candidate MV if neccesary
182 ;// Store the candidate MV's into the pDstMVPredME,
192 ; Find the median of the 3 candidate MV's
/frameworks/av/media/libstagefright/codecs/on2/h264dec/omxdl/arm_neon/vc/m4p2/src/
H A DomxVCM4P2_FindMVpred_s.s168 ;// out the candidate MV if neccesary
182 ;// Store the candidate MV's into the pDstMVPredME,
192 ; Find the median of the 3 candidate MV's
/frameworks/support/v7/recyclerview/src/android/support/v7/widget/
H A DGridLayoutManager.java1012 View candidate = getChildAt(i);
1013 if (candidate == prevFocusedChild) {
1016 if (!candidate.isFocusable()) {
1019 final LayoutParams candidateLp = (LayoutParams) candidate.getLayoutParams();
1023 return candidate; // perfect match
1041 weakCandidate = candidate;
/frameworks/base/core/java/android/view/accessibility/
H A DAccessibilityInteractionClient.java787 AccessibilityNodeInfo candidate = infos.get(j);
788 if (root.getParentNodeId() == candidate.getSourceNodeId()) {
789 root = candidate;
/frameworks/base/core/java/com/android/internal/inputmethod/
H A DInputMethodSubtypeSwitchingController.java319 final ImeSubtypeListItem candidate = mImeSubtypeList.get(candidateIndex);
320 // Skip if searching inside the current IME only, but the candidate is not
322 if (onlyCurrentIme && !imi.equals(candidate.mImi)) {
325 return candidate;
/frameworks/data-binding/compiler/src/main/java/android/databinding/tool/expr/
H A DExprModel.java197 String candidate = cnt == 0 ? baseName : baseName + cnt;
198 if (!mImports.containsKey(candidate)) {
199 return addImport(candidate, type, null);
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
H A DRemoteInputView.java338 Intent candidate = a.actionIntent.getIntent();
339 if (!current.filterEquals(candidate)) {

Completed in 752 milliseconds

12