/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/ |
D | WifiLastResortWatchdogTest.java | 95 List<Pair<ScanDetail, WifiConfiguration>> candidates = new ArrayList<>(); in createFilteredQnsCandidates() local 110 candidates.add(Pair.create(scanDetail, config)); in createFilteredQnsCandidates() 112 return candidates; in createFilteredQnsCandidates() 118 List<Pair<ScanDetail, WifiConfiguration>> candidates = in createFilteredQnsCandidates() local 135 candidates.add(Pair.create(scanDetail, config)); in createFilteredQnsCandidates() 137 return candidates; in createFilteredQnsCandidates() 160 List<Pair<ScanDetail, WifiConfiguration>> candidates = createFilteredQnsCandidates(mSsids, in testAvailableNetworkBuffering_ageCullingWorks() local 162 mLastResortWatchdog.updateAvailableNetworks(candidates); in testAvailableNetworkBuffering_ageCullingWorks() 166 candidates = createFilteredQnsCandidates(Arrays.copyOfRange(mSsids, 0, 2), in testAvailableNetworkBuffering_ageCullingWorks() 173 mLastResortWatchdog.updateAvailableNetworks(candidates); in testAvailableNetworkBuffering_ageCullingWorks() [all …]
|
D | CandidateScorerTest.java | 123 ArrayList<Candidate> candidates = new ArrayList<>(1); in evaluate() local 124 candidates.add(candidate); in evaluate() 125 ScoredCandidate choice = mCandidateScorer.scoreCandidates(candidates); in evaluate()
|
D | NetworkSuggestionEvaluatorTest.java | 632 private void setupAddToWifiConfigManager(WifiConfiguration...candidates) { in setupAddToWifiConfigManager() argument 633 for (int i = 0; i < candidates.length; i++) { in setupAddToWifiConfigManager() 634 WifiConfiguration candidate = candidates[i]; in setupAddToWifiConfigManager() 662 private void verifyAddToWifiConfigManager(WifiConfiguration...candidates) { in verifyAddToWifiConfigManager() argument 664 verify(mWifiConfigManager, atLeast(candidates.length)).getConfiguredNetwork(anyString()); in verifyAddToWifiConfigManager() 668 verify(mWifiConfigManager, times(candidates.length)).addOrUpdateNetwork( in verifyAddToWifiConfigManager() 670 for (int i = 0; i < candidates.length; i++) { in verifyAddToWifiConfigManager() 673 if (configuration.SSID.equals(candidates[i].SSID)) { in verifyAddToWifiConfigManager() 683 verify(mWifiConfigManager, times(candidates.length)).updateNetworkSelectionStatus( in verifyAddToWifiConfigManager() 685 verify(mWifiConfigManager, times(candidates.length)).getConfiguredNetwork(anyInt()); in verifyAddToWifiConfigManager()
|
/frameworks/base/core/tests/coretests/src/android/app/ |
D | ApplicationPackageManagerTest.java | 159 List<VolumeInfo> candidates = in testGetCandidateVolumes_systemApp() local 161 verifyReturnedVolumes(candidates, sInternalVol); in testGetCandidateVolumes_systemApp() 165 candidates = appPkgMgr.getPackageCandidateVolumes(sysAppInfo, storageManager, pm); in testGetCandidateVolumes_systemApp() 166 verifyReturnedVolumes(candidates, sInternalVol); in testGetCandidateVolumes_systemApp() 170 candidates = appPkgMgr.getPackageCandidateVolumes(sysAppInfo, storageManager, pm); in testGetCandidateVolumes_systemApp() 171 verifyReturnedVolumes(candidates, sInternalVol); in testGetCandidateVolumes_systemApp() 175 candidates = appPkgMgr.getPackageCandidateVolumes(sysAppInfo, storageManager, pm); in testGetCandidateVolumes_systemApp() 176 verifyReturnedVolumes(candidates, sInternalVol); in testGetCandidateVolumes_systemApp() 198 List<VolumeInfo> candidates = appPkgMgr.getPackageCandidateVolumes( in testGetCandidateVolumes_3rdParty_internalOnly() local 200 verifyReturnedVolumes(candidates, sInternalVol, sAdoptedVol); in testGetCandidateVolumes_3rdParty_internalOnly() [all …]
|
/frameworks/minikin/libs/minikin/ |
D | OptimalLineBreaker.cpp | 89 std::vector<Candidate> candidates; member 102 candidates.emplace_back(offset, sumOfCharWidths, sumOfCharWidths, SCORE_DESPERATE, in pushDesperate() 111 candidates.emplace_back(offset, preBreak, postBreak, penalty, spaceCount, spaceCount, type, in pushHyphenation() 119 candidates.emplace_back(offset, preBreak, postBreak, penalty, preSpaceCount, postSpaceCount, in pushWordBreak() 124 candidates.emplace_back(0, 0.0f, 0.0f, 0.0f, 0, 0, HyphenationType::DONT_BREAK, false); in OptimizeContext() 290 const std::vector<Candidate>& candidates); 297 const std::vector<Candidate>& candidates) { in finishBreaksOptimal() argument 299 const uint32_t nCand = candidates.size(); in finishBreaksOptimal() 303 const Candidate& cand = candidates[i]; in finishBreaksOptimal() 304 const Candidate& prev = candidates[prevIndex]; in finishBreaksOptimal() [all …]
|
/frameworks/base/media/mca/filterfw/java/android/filterfw/core/ |
D | RandomScheduler.java | 43 Vector<Filter> candidates = new Vector<Filter>(); in scheduleNextNode() local 46 candidates.add(filter); in scheduleNextNode() 48 if (candidates.size() > 0) { in scheduleNextNode() 49 int r = mRand.nextInt(candidates.size()); in scheduleNextNode() 50 return candidates.elementAt(r); in scheduleNextNode()
|
/frameworks/native/services/surfaceflinger/CompositionEngine/src/ |
D | DisplayColorProfile.cpp | 87 std::vector<ColorMode> candidates; in getColorModeCandidates() local 90 candidates.push_back(mode); in getColorModeCandidates() 105 candidates.push_back(hdrMode); in getColorModeCandidates() 113 candidates.push_back(sdrMode); in getColorModeCandidates() 117 return candidates; in getColorModeCandidates() 122 std::vector<RenderIntent> candidates; in getRenderIntentCandidates() local 125 candidates.push_back(intent); in getRenderIntentCandidates() 140 candidates.push_back(hdrIntent); in getRenderIntentCandidates() 147 candidates.push_back(sdrIntent); in getRenderIntentCandidates() 152 return candidates; in getRenderIntentCandidates() [all …]
|
/frameworks/base/telephony/common/com/android/internal/telephony/ |
D | CarrierAppUtils.java | 149 List<ApplicationInfo> candidates = getDefaultCarrierAppCandidatesHelper( in disableCarrierAppsUntilPrivileged() local 151 if (candidates == null || candidates.isEmpty()) { in disableCarrierAppsUntilPrivileged() 165 for (ApplicationInfo ai : candidates) { in disableCarrierAppsUntilPrivileged() 308 List<ApplicationInfo> candidates = getDefaultCarrierAppCandidates(packageManager, userId); in getDefaultCarrierApps() local 309 if (candidates == null || candidates.isEmpty()) { in getDefaultCarrierApps() 316 for (int i = candidates.size() - 1; i >= 0; i--) { in getDefaultCarrierApps() 317 ApplicationInfo ai = candidates.get(i); in getDefaultCarrierApps() 323 candidates.remove(i); in getDefaultCarrierApps() 327 return candidates; in getDefaultCarrierApps()
|
/frameworks/base/core/java/android/text/method/ |
D | LinkMovementMethod.java | 115 ClickableSpan[] candidates = buffer.getSpans(first, last, ClickableSpan.class); in action() local 160 for (int i = 0; i < candidates.length; i++) { in action() 161 int end = buffer.getSpanEnd(candidates[i]); in action() 165 bestStart = buffer.getSpanStart(candidates[i]); in action() 182 for (int i = 0; i < candidates.length; i++) { in action() 183 int start = buffer.getSpanStart(candidates[i]); in action() 188 bestEnd = buffer.getSpanEnd(candidates[i]); in action()
|
/frameworks/opt/vcard/ |
D | OWNERS | 2 # Please update this list if you find better candidates.
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/util/ |
D | LocaleUtils.java | 206 private static Locale lookupFallback(Locale target, List<Locale> candidates) { in lookupFallback() argument 209 if (candidates.contains(fallback)) { in lookupFallback()
|
/frameworks/base/services/core/java/com/android/server/hdmi/ |
D | HdmiCecController.java | 481 final List<Integer> candidates, final int retryCount, in runDevicePolling() argument 484 if (candidates.isEmpty()) { in runDevicePolling() 492 final Integer candidate = candidates.remove(0); in runDevicePolling() 504 runDevicePolling(sourceAddress, candidates, retryCount, callback, in runDevicePolling()
|
/frameworks/base/core/java/android/app/ |
D | ApplicationPackageManager.java | 2143 final List<VolumeInfo> candidates = new ArrayList<>(); in getPackageCandidateVolumes() local 2147 candidates.add(vol); in getPackageCandidateVolumes() 2150 return candidates; in getPackageCandidateVolumes() 2237 final List<VolumeInfo> candidates = new ArrayList<>(); in getPrimaryStorageCandidateVolumes() local 2241 candidates.add(currentVol); in getPrimaryStorageCandidateVolumes() 2245 candidates.add(vol); in getPrimaryStorageCandidateVolumes() 2249 return candidates; in getPrimaryStorageCandidateVolumes()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/ |
D | BaseShortcutManagerTest.java | 2187 List<ResolveInfo> candidates, int userId) { 2189 ((List) inv.getArguments()[0]).addAll(candidates);
|
/frameworks/base/services/core/java/com/android/server/pm/ |
D | ShortcutService.java | 3530 final List<ResolveInfo> candidates = queryActivities( in injectGetPinConfirmationActivity() local 3532 for (ResolveInfo ri : candidates) { in injectGetPinConfirmationActivity()
|
D | PackageManagerService.java | 7618 int matchFlags, List<ResolveInfo> candidates, CrossProfileDomainInfo xpDomainInfo, 7624 candidates.size()); 7635 final int count = candidates.size(); 7640 ResolveInfo info = candidates.get(n); 7758 result.addAll(candidates);
|
/frameworks/base/config/ |
D | hiddenapi-greylist-max-o.txt | 28496 Landroid/icu/text/DictionaryBreakEngine$PossibleWord;->candidates(Ljava/text/CharacterIterator;Land…
|