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.java162 private final Map<String, TimestampedScoredNetwork> mScoredNetworkCache = new HashMap<>();
304 ArrayList<TimestampedScoredNetwork> scoredNetworkArrayList = in AccessPoint()
306 for (TimestampedScoredNetwork timedScore : scoredNetworkArrayList) { in AccessPoint()
554 TimestampedScoredNetwork timedScore = mScoredNetworkCache.get(result.BSSID); in updateScores()
557 result.BSSID, new TimestampedScoredNetwork(score, nowMillis)); in updateScores()
567 Iterator<TimestampedScoredNetwork> iterator = mScoredNetworkCache.values().iterator(); in updateScores()
608 for (TimestampedScoredNetwork timedScore : mScoredNetworkCache.values()) { in generateAverageSpeedForSsid()
782 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.java647 TimestampedScoredNetwork recentScore = new TimestampedScoredNetwork(
1112 ArrayList<TimestampedScoredNetwork> list = in testScoredNetworkCacheBundling()
1165 TimestampedScoredNetwork recentScore = new TimestampedScoredNetwork( in testUpdateScoresRefreshesScoredNetworkCacheTimestamps()
1193 TimestampedScoredNetwork recentScore = new TimestampedScoredNetwork( in testUpdateScoresRefreshesScoredNetworkCacheWithNewSpeed()