Home
last modified time | relevance | path

Searched refs:TimestampedScoredNetwork (Results 1 – 6 of 6) sorted by relevance

/frameworks/base/packages/SettingsLib/src/com/android/settingslib/wifi/
DTimestampedScoredNetwork.java26 class TimestampedScoredNetwork implements Parcelable { class
30 TimestampedScoredNetwork(ScoredNetwork score, long updatedTimestampMillis) { in TimestampedScoredNetwork() method in TimestampedScoredNetwork
35 protected TimestampedScoredNetwork(Parcel in) { in TimestampedScoredNetwork() method in TimestampedScoredNetwork
64 public static final Creator<TimestampedScoredNetwork> CREATOR =
65 new Creator<TimestampedScoredNetwork>() {
67 public TimestampedScoredNetwork createFromParcel(Parcel in) {
68 return new TimestampedScoredNetwork(in);
72 public TimestampedScoredNetwork[] newArray(int size) {
73 return new TimestampedScoredNetwork[size];
DTestAccessPointBuilder.java64 private ArrayList<TimestampedScoredNetwork> mScoredNetworkCache;
255 ArrayList<TimestampedScoredNetwork> scoredNetworkCache) { in setScoredNetworkCache()
DWifiUtils.java196 Map<String, TimestampedScoredNetwork> scoredNetworkCache) { in getSpecificApSpeed()
197 TimestampedScoredNetwork timedScore = scoredNetworkCache.get(result.BSSID); in getSpecificApSpeed()
DAccessPoint.java163 private final Map<String, TimestampedScoredNetwork> mScoredNetworkCache = new HashMap<>();
307 ArrayList<TimestampedScoredNetwork> scoredNetworkArrayList = in AccessPoint()
309 for (TimestampedScoredNetwork timedScore : scoredNetworkArrayList) { in AccessPoint()
564 TimestampedScoredNetwork timedScore = mScoredNetworkCache.get(result.BSSID); in updateScores()
567 result.BSSID, new TimestampedScoredNetwork(score, nowMillis)); in updateScores()
577 Iterator<TimestampedScoredNetwork> iterator = mScoredNetworkCache.values().iterator(); in updateScores()
618 for (TimestampedScoredNetwork timedScore : mScoredNetworkCache.values()) { in generateAverageSpeedForSsid()
893 public Map<String, TimestampedScoredNetwork> getScoredNetworkCache() { in getScoredNetworkCache()
/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/wifi/
DTimestampedScoredNetworkTest.java34 private TimestampedScoredNetwork impl;
43 impl = new TimestampedScoredNetwork(createTestScoredNetwork("test"), in setUp()
63 TimestampedScoredNetwork fromParcel = TimestampedScoredNetwork.CREATOR.createFromParcel(parcel); in testParcel()
/frameworks/base/packages/SettingsLib/tests/integ/src/com/android/settingslib/wifi/
DAccessPointTest.java648 TimestampedScoredNetwork recentScore = new TimestampedScoredNetwork(
1113 ArrayList<TimestampedScoredNetwork> list = in testScoredNetworkCacheBundling()
1166 TimestampedScoredNetwork recentScore = new TimestampedScoredNetwork( in testUpdateScoresRefreshesScoredNetworkCacheTimestamps()
1194 TimestampedScoredNetwork recentScore = new TimestampedScoredNetwork( in testUpdateScoresRefreshesScoredNetworkCacheWithNewSpeed()