Home
last modified time | relevance | path

Searched refs:LinkStats (Results 1 – 4 of 4) sorted by relevance

/packages/modules/Wifi/framework/java/android/net/wifi/
DWifiUsabilityStatsEntry.java664 public static final class LinkStats implements Parcelable { class in WifiUsabilityStatsEntry
702 public LinkStats() { in LinkStats() method in WifiUsabilityStatsEntry.LinkStats
743 public LinkStats(int linkId, int state, int radioId, int rssi, int txLinkSpeedMpbs, in LinkStats() method in WifiUsabilityStatsEntry.LinkStats
793 public static final Creator<LinkStats> CREATOR =
795 public LinkStats createFromParcel(Parcel in) {
796 return new LinkStats(in.readInt(), in.readInt(), in.readInt(), in.readInt(),
804 public LinkStats[] newArray(int size) {
805 return new LinkStats[size];
811 private final SparseArray<LinkStats> mLinkStats;
829 boolean isSameRegisteredCell, SparseArray<LinkStats> linkStats) { in WifiUsabilityStatsEntry()
[all …]
/packages/modules/Wifi/framework/tests/src/android/net/wifi/
DWifiUsabilityStatsEntryTest.java91 SparseArray<WifiUsabilityStatsEntry.LinkStats> linkStats = new SparseArray<>(); in getTimeSliceDutyCycleInPercent()
92 linkStats.put(0, new WifiUsabilityStatsEntry.LinkStats(0, in getTimeSliceDutyCycleInPercent()
97 linkStats.put(1, new WifiUsabilityStatsEntry.LinkStats(1, in getTimeSliceDutyCycleInPercent()
146 SparseArray<WifiUsabilityStatsEntry.LinkStats> linkStats = new SparseArray<>(); in createResult()
147 linkStats.put(0, new WifiUsabilityStatsEntry.LinkStats(3, in createResult()
151 linkStats.put(1, new WifiUsabilityStatsEntry.LinkStats(8, in createResult()
497 SparseArray<WifiUsabilityStatsEntry.LinkStats> linkStats = new SparseArray<>(); in verifyInvalidLinkIdForGetApis()
498 linkStats.put(0, new WifiUsabilityStatsEntry.LinkStats(0, in verifyInvalidLinkIdForGetApis()
DWifiManagerTest.java122 import android.net.wifi.WifiUsabilityStatsEntry.LinkStats;
2511 SparseArray<LinkStats> linkStats = new SparseArray<>(); in addOnWifiUsabilityStatsListenerGoesToWifiServiceImpl()
2513 new LinkStats(0, WifiUsabilityStatsEntry.LINK_STATE_NOT_IN_USE, 0, -50, 300, in addOnWifiUsabilityStatsListenerGoesToWifiServiceImpl()
2518 new LinkStats(0, WifiUsabilityStatsEntry.LINK_STATE_IN_USE, 0, -40, 860, 600, in addOnWifiUsabilityStatsListenerGoesToWifiServiceImpl()
/packages/modules/Wifi/service/java/com/android/server/wifi/
DWifiMetrics.java7339 private SparseArray<android.net.wifi.WifiUsabilityStatsEntry.LinkStats> convertLinkStats(
7341 SparseArray<android.net.wifi.WifiUsabilityStatsEntry.LinkStats> linkStats =
7361 android.net.wifi.WifiUsabilityStatsEntry.LinkStats outStat =
7362 new android.net.wifi.WifiUsabilityStatsEntry.LinkStats(inStat.link_id,