Home
last modified time | relevance | path

Searched refs:WifiUsabilityStatsEntry (Results 1 – 15 of 15) sorted by relevance

/packages/modules/Wifi/framework/tests/src/android/net/wifi/
DWifiUsabilityStatsEntryTest.java25 import android.net.wifi.WifiUsabilityStatsEntry.ContentionTimeStats;
26 import android.net.wifi.WifiUsabilityStatsEntry.RadioStats;
27 import android.net.wifi.WifiUsabilityStatsEntry.RateStats;
68 WifiUsabilityStatsEntry writeResult = createResult(); in verifyStatsResultWriteAndThenRead()
69 WifiUsabilityStatsEntry readResult = parcelWriteRead(writeResult); in verifyStatsResultWriteAndThenRead()
91 SparseArray<WifiUsabilityStatsEntry.LinkStats> linkStats = new SparseArray<>(); in getTimeSliceDutyCycleInPercent()
92 linkStats.put(0, new WifiUsabilityStatsEntry.LinkStats(0, in getTimeSliceDutyCycleInPercent()
93 WifiUsabilityStatsEntry.LINK_STATE_UNKNOWN, 0, -50, 300, 200, 188, 2, 2, in getTimeSliceDutyCycleInPercent()
97 linkStats.put(1, new WifiUsabilityStatsEntry.LinkStats(1, in getTimeSliceDutyCycleInPercent()
98 WifiUsabilityStatsEntry.LINK_STATE_UNKNOWN, 0, -40, 860, 600, 388, 2, 2, in getTimeSliceDutyCycleInPercent()
[all …]
DWifiManagerTest.java121 import android.net.wifi.WifiUsabilityStatsEntry.ContentionTimeStats;
122 import android.net.wifi.WifiUsabilityStatsEntry.LinkStats;
123 import android.net.wifi.WifiUsabilityStatsEntry.RadioStats;
124 import android.net.wifi.WifiUsabilityStatsEntry.RateStats;
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()
2522 new WifiUsabilityStatsEntry(System.currentTimeMillis(), -50, 100, 10, 0, 5, 5, in addOnWifiUsabilityStatsListenerGoesToWifiServiceImpl()
2527 any(WifiUsabilityStatsEntry.class)); in addOnWifiUsabilityStatsListenerGoesToWifiServiceImpl()
/packages/modules/Wifi/service/java/com/android/server/wifi/
DWifiMetrics.java53 import android.net.wifi.WifiUsabilityStatsEntry.ProbeStatus;
130 import com.android.server.wifi.proto.nano.WifiMetricsProto.WifiUsabilityStatsEntry;
280 android.net.wifi.WifiUsabilityStatsEntry.PROBE_STATUS_NO_PROBE;
449 private final LinkedList<WifiUsabilityStatsEntry> mWifiUsabilityStatsEntriesList =
618 private @android.net.wifi.WifiUsabilityStatsEntry.LinkState int mLinkUsageState =
619 android.net.wifi.WifiUsabilityStatsEntry.LINK_STATE_UNKNOWN;
632 public @android.net.wifi.WifiUsabilityStatsEntry.LinkState int getLinkUsageState() { in getLinkUsageState()
638 @android.net.wifi.WifiUsabilityStatsEntry.LinkState int linkUsageState) { in setLinkUsageState()
4931 for (WifiUsabilityStatsEntry stats : mWifiUsabilityStatsEntriesList) { in dump()
4939 for (WifiUsabilityStatsEntry entry : stats.stats) { in dump()
[all …]
DWifiScoreReport.java34 import android.net.wifi.WifiUsabilityStatsEntry;
928 WifiUsabilityStatsEntry.getLinkStateString( in logLinkMetrics()
DWifiLinkLayerStats.java19 import android.net.wifi.WifiUsabilityStatsEntry.LinkState;
/packages/modules/Wifi/framework/java/android/net/wifi/
DIOnWifiUsabilityStatsListener.aidl19 import android.net.wifi.WifiUsabilityStatsEntry;
40 in WifiUsabilityStatsEntry stats); in onWifiUsabilityStats()
DWifiUsabilityStatsEntry.java48 public final class WifiUsabilityStatsEntry implements Parcelable { class
814 public WifiUsabilityStatsEntry(long timeStampMillis, int rssi, int linkSpeedMbps, in WifiUsabilityStatsEntry() method in WifiUsabilityStatsEntry
914 public static final @android.annotation.NonNull Creator<WifiUsabilityStatsEntry> CREATOR =
915 new Creator<WifiUsabilityStatsEntry>() {
916 public WifiUsabilityStatsEntry createFromParcel(Parcel in) {
917 return new WifiUsabilityStatsEntry(
936 public WifiUsabilityStatsEntry[] newArray(int size) {
937 return new WifiUsabilityStatsEntry[size];
DWifiManager.java9500 @NonNull WifiUsabilityStatsEntry stats); in onWifiUsabilityStats()
9547 WifiUsabilityStatsEntry stats) { in addOnWifiUsabilityStatsListener()
/packages/modules/Wifi/framework/aidl-export/android/net/wifi/
DWifiUsabilityStatsEntry.aidl19 parcelable WifiUsabilityStatsEntry;
/packages/modules/Wifi/service/java/com/android/server/wifi/hal/
DWifiStaIfaceAidlImpl.java64 import android.net.wifi.WifiUsabilityStatsEntry;
1347 private static @WifiUsabilityStatsEntry.LinkState int halToFrameworkLinkState( in halToFrameworkLinkState()
1351 return WifiUsabilityStatsEntry.LINK_STATE_NOT_IN_USE; in halToFrameworkLinkState()
1353 return WifiUsabilityStatsEntry.LINK_STATE_IN_USE; in halToFrameworkLinkState()
1355 return WifiUsabilityStatsEntry.LINK_STATE_UNKNOWN; in halToFrameworkLinkState()
DWifiStaIfaceHidlImpl.java19 import static android.net.wifi.WifiUsabilityStatsEntry.LINK_STATE_UNKNOWN;
/packages/modules/Wifi/framework/api/
Dsystem-current.txt993 … public void onWifiUsabilityStats(int, boolean, @NonNull android.net.wifi.WifiUsabilityStatsEntry);
1304 public final class WifiUsabilityStatsEntry implements android.os.Parcelable {
1310 …method @NonNull public android.net.wifi.WifiUsabilityStatsEntry.ContentionTimeStats getContentionT…
1311 …method @NonNull public android.net.wifi.WifiUsabilityStatsEntry.ContentionTimeStats getContentionT…
1319 …method @NonNull public java.util.List<android.net.wifi.WifiUsabilityStatsEntry.RateStats> getRateS…
1320 …method @NonNull public java.util.List<android.net.wifi.WifiUsabilityStatsEntry.RateStats> getRateS…
1352 …method @NonNull public java.util.List<android.net.wifi.WifiUsabilityStatsEntry.RadioStats> getWifi…
1358 …ublic static final android.os.Parcelable.Creator<android.net.wifi.WifiUsabilityStatsEntry> CREATOR;
1394 …public static final class WifiUsabilityStatsEntry.ContentionTimeStats implements android.os.Parcel…
1395 ctor public WifiUsabilityStatsEntry.ContentionTimeStats(long, long, long, long);
[all …]
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/
DWifiMetricsTest.java138 import com.android.server.wifi.proto.nano.WifiMetricsProto.WifiUsabilityStatsEntry;
4184 WifiUsabilityStatsEntry usabilityStats) { in assertUsabilityStatsAssignment()
4365 assertEquals(android.net.wifi.WifiUsabilityStatsEntry.PROBE_STATUS_SUCCESS, in testUpdateWifiUsabilityStatsEntries()
4367 assertEquals(android.net.wifi.WifiUsabilityStatsEntry.PROBE_STATUS_FAILURE, in testUpdateWifiUsabilityStatsEntries()
4369 assertEquals(android.net.wifi.WifiUsabilityStatsEntry.PROBE_STATUS_NO_PROBE, in testUpdateWifiUsabilityStatsEntries()
4697 ArgumentCaptor<android.net.wifi.WifiUsabilityStatsEntry> usabilityStats = in testClientNotification()
4698 ArgumentCaptor.forClass(android.net.wifi.WifiUsabilityStatsEntry.class); in testClientNotification()
4786 android.net.wifi.WifiUsabilityStatsEntry.ContentionTimeStats contentionTimeStatsBe = in testClientNotification()
4788 android.net.wifi.WifiUsabilityStatsEntry.WME_ACCESS_CATEGORY_BE); in testClientNotification()
4798 android.net.wifi.WifiUsabilityStatsEntry.ContentionTimeStats contentionTimeStatsBk = in testClientNotification()
[all …]
DWifiScoreReportTest.java55 import android.net.wifi.WifiUsabilityStatsEntry;
877 .thenReturn(WifiUsabilityStatsEntry.LINK_STATE_IN_USE); in testDataLoggingMlo()
880 .thenReturn(WifiUsabilityStatsEntry.LINK_STATE_NOT_IN_USE); in testDataLoggingMlo()
/packages/modules/Wifi/service/proto/src/
Dmetrics.proto2523 message WifiUsabilityStatsEntry { message
2890 repeated WifiUsabilityStatsEntry stats = 2;