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.java63 private ArrayList<TimestampedScoredNetwork> mScoredNetworkCache;
242 ArrayList<TimestampedScoredNetwork> scoredNetworkCache) { in setScoredNetworkCache()
DAccessPoint.java192 private final Map<String, TimestampedScoredNetwork> mScoredNetworkCache = new HashMap<>();
327 ArrayList<TimestampedScoredNetwork> scoredNetworkArrayList = in AccessPoint()
329 for (TimestampedScoredNetwork timedScore : scoredNetworkArrayList) { in AccessPoint()
594 TimestampedScoredNetwork timedScore = mScoredNetworkCache.get(result.BSSID); in updateScores()
597 result.BSSID, new TimestampedScoredNetwork(score, nowMillis)); in updateScores()
607 Iterator<TimestampedScoredNetwork> iterator = mScoredNetworkCache.values().iterator(); in updateScores()
648 for (TimestampedScoredNetwork timedScore : mScoredNetworkCache.values()) { in generateAverageSpeedForSsid()
924 public Map<String, TimestampedScoredNetwork> getScoredNetworkCache() { in getScoredNetworkCache()
DWifiUtils.kt363 scoredNetworkCache: Map<String, TimestampedScoredNetwork> in <lambda>()
/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.java595 TimestampedScoredNetwork recentScore = new TimestampedScoredNetwork(
1070 ArrayList<TimestampedScoredNetwork> list = in testScoredNetworkCacheBundling()
1123 TimestampedScoredNetwork recentScore = new TimestampedScoredNetwork( in testUpdateScoresRefreshesScoredNetworkCacheTimestamps()
1151 TimestampedScoredNetwork recentScore = new TimestampedScoredNetwork( in testUpdateScoresRefreshesScoredNetworkCacheWithNewSpeed()