OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:scoredNetworks
(Results
1 - 2
of
2
) sorted by null
/packages/services/NetworkRecommendation/src/com/android/networkrecommendation/
DefaultNetworkRecommendationProvider.java
233
List<ScoredNetwork>
scoredNetworks
= new ArrayList<>();
240
scoredNetworks
.add(scoredNetwork);
246
scoredNetworks
.add(new ScoredNetwork(key, null, false /* meteredHint */));
252
scoredNetworks
.add(new ScoredNetwork(key, null, false /* meteredHint */));
255
if (
scoredNetworks
.isEmpty()) {
259
Blog.d(TAG, "Scored networks: " +
scoredNetworks
);
260
safelyUpdateScores(
scoredNetworks
.toArray(new ScoredNetwork[
scoredNetworks
.size()]));
/frameworks/base/services/core/java/com/android/server/
NetworkScoreService.java
567
public List<ScoredNetwork> apply(List<ScoredNetwork>
scoredNetworks
) {
568
if (mCurrentNetwork == null ||
scoredNetworks
.isEmpty()) {
572
for (int i = 0; i <
scoredNetworks
.size(); i++) {
573
final ScoredNetwork scoredNetwork =
scoredNetworks
.get(i);
611
public List<ScoredNetwork> apply(List<ScoredNetwork>
scoredNetworks
) {
612
if (mScanResultKeys.isEmpty() ||
scoredNetworks
.isEmpty()) {
617
for (int i = 0; i <
scoredNetworks
.size(); i++) {
618
final ScoredNetwork scoredNetwork =
scoredNetworks
.get(i);
[
all
...]
Completed in 217 milliseconds