Home
last modified time | relevance | path

Searched refs:WifiLoggerHal (Results 1 – 11 of 11) sorted by relevance

/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/
DWifiNativeTest.java59 WifiLoggerHal.TX_PKT_FATE_SENT,
61 WifiLoggerHal.FRAME_TYPE_ETHERNET_II,
65 WifiLoggerHal.RX_PKT_FATE_FW_DROP_INVALID,
67 WifiLoggerHal.FRAME_TYPE_ETHERNET_II,
71 new FrameTypeMapping(WifiLoggerHal.FRAME_TYPE_UNKNOWN, "unknown", "N/A"),
72 new FrameTypeMapping(WifiLoggerHal.FRAME_TYPE_ETHERNET_II, "data", "Ethernet"),
73 new FrameTypeMapping(WifiLoggerHal.FRAME_TYPE_80211_MGMT, "802.11 management",
78 new FateMapping(WifiLoggerHal.TX_PKT_FATE_ACKED, "acked"),
79 new FateMapping(WifiLoggerHal.TX_PKT_FATE_SENT, "sent"),
80 new FateMapping(WifiLoggerHal.TX_PKT_FATE_FW_QUEUED, "firmware queued"),
[all …]
DWifiDiagnosticsTest.java460 WifiLoggerHal.TX_PKT_FATE_ACKED, 2, WifiLoggerHal.FRAME_TYPE_ETHERNET_II, in getDumpString()
464 WifiLoggerHal.TX_PKT_FATE_ACKED, 0, WifiLoggerHal.FRAME_TYPE_ETHERNET_II, in getDumpString()
473 WifiLoggerHal.RX_PKT_FATE_SUCCESS, 3, WifiLoggerHal.FRAME_TYPE_ETHERNET_II, in getDumpString()
477 WifiLoggerHal.RX_PKT_FATE_SUCCESS, 1, WifiLoggerHal.FRAME_TYPE_ETHERNET_II, in getDumpString()
593 WifiLoggerHal.TX_PKT_FATE_ACKED, 0, WifiLoggerHal.FRAME_TYPE_ETHERNET_II,
602 WifiLoggerHal.RX_PKT_FATE_SUCCESS, 1, WifiLoggerHal.FRAME_TYPE_ETHERNET_II,
DWifiVendorHalTest.java1537 assertEquals(WifiLoggerHal.TX_PKT_FATE_DRV_QUEUED, retrievedFates[0].mFate); in testGetTxPktFates()
1540 assertEquals(WifiLoggerHal.FRAME_TYPE_ETHERNET_II, retrievedFates[0].mFrameType); in testGetTxPktFates()
1580 assertEquals(WifiLoggerHal.TX_PKT_FATE_FW_DROP_OTHER, retrievedFates[0].mFate); in testGetTxPktFatesExceedsInputArrayLength()
1583 assertEquals(WifiLoggerHal.FRAME_TYPE_80211_MGMT, retrievedFates[0].mFrameType); in testGetTxPktFatesExceedsInputArrayLength()
1621 assertEquals(WifiLoggerHal.RX_PKT_FATE_SUCCESS, retrievedFates[0].mFate); in testGetRxPktFates()
1624 assertEquals(WifiLoggerHal.FRAME_TYPE_ETHERNET_II, retrievedFates[0].mFrameType); in testGetRxPktFates()
1664 assertEquals(WifiLoggerHal.RX_PKT_FATE_FW_DROP_FILTER, retrievedFates[0].mFate); in testGetRxPktFatesExceedsInputArrayLength()
1667 assertEquals(WifiLoggerHal.FRAME_TYPE_80211_MGMT, retrievedFates[0].mFrameType); in testGetRxPktFatesExceedsInputArrayLength()
DWifiMetricsTest.java675 mWifiMetrics.logFirmwareAlert(WifiLoggerHal.WIFI_ALERT_REASON_MIN - 1); in setAndIncrementMetrics()
676 mWifiMetrics.logFirmwareAlert(WifiLoggerHal.WIFI_ALERT_REASON_MAX + 1); in setAndIncrementMetrics()
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/util/
DFrameParserTest.java23 import com.android.server.wifi.WifiLoggerHal;
54 WifiLoggerHal.FRAME_TYPE_ETHERNET_II;
83 WifiLoggerHal.FRAME_TYPE_ETHERNET_II;
130 private static final byte TEST_PROBE_RESPONSE_FRAME_TYPE = WifiLoggerHal.FRAME_TYPE_80211_MGMT;
165 WifiLoggerHal.FRAME_TYPE_80211_MGMT, in canParseStatusCodeOutOfNonHtOpenAuthenticationReply()
187 WifiLoggerHal.FRAME_TYPE_80211_MGMT, in canParseStatusCodeOutOfNonHtAssociationResponse()
220 WifiLoggerHal.FRAME_TYPE_80211_MGMT, in doesNotParseStatusCodeOutOfNonHtOpenAuthenticationRequest()
243 WifiLoggerHal.FRAME_TYPE_80211_MGMT, in doesNotParseStatusCodeOutOfNonHtOpenAssociationRequest()
277 WifiLoggerHal.FRAME_TYPE_80211_MGMT, in parseDeauthenticationResultCode()
302 WifiLoggerHal.FRAME_TYPE_80211_MGMT, in parseDisassociationResultCode()
[all …]
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
DWifiNative.java2915 case WifiLoggerHal.FRAME_TYPE_UNKNOWN: in frameTypeToString()
2917 case WifiLoggerHal.FRAME_TYPE_ETHERNET_II: in frameTypeToString()
2919 case WifiLoggerHal.FRAME_TYPE_80211_MGMT: in frameTypeToString()
2972 case WifiLoggerHal.TX_PKT_FATE_ACKED: in fateToString()
2974 case WifiLoggerHal.TX_PKT_FATE_SENT: in fateToString()
2976 case WifiLoggerHal.TX_PKT_FATE_FW_QUEUED: in fateToString()
2978 case WifiLoggerHal.TX_PKT_FATE_FW_DROP_INVALID: in fateToString()
2980 case WifiLoggerHal.TX_PKT_FATE_FW_DROP_NOBUFS: in fateToString()
2982 case WifiLoggerHal.TX_PKT_FATE_FW_DROP_OTHER: in fateToString()
2984 case WifiLoggerHal.TX_PKT_FATE_DRV_QUEUED: in fateToString()
[all …]
DWifiVendorHal.java1774 return WifiLoggerHal.FRAME_TYPE_UNKNOWN; in halToFrameworkPktFateFrameType()
1776 return WifiLoggerHal.FRAME_TYPE_ETHERNET_II; in halToFrameworkPktFateFrameType()
1778 return WifiLoggerHal.FRAME_TYPE_80211_MGMT; in halToFrameworkPktFateFrameType()
1787 return WifiLoggerHal.RX_PKT_FATE_SUCCESS; in halToFrameworkRxPktFate()
1789 return WifiLoggerHal.RX_PKT_FATE_FW_QUEUED; in halToFrameworkRxPktFate()
1791 return WifiLoggerHal.RX_PKT_FATE_FW_DROP_FILTER; in halToFrameworkRxPktFate()
1793 return WifiLoggerHal.RX_PKT_FATE_FW_DROP_INVALID; in halToFrameworkRxPktFate()
1795 return WifiLoggerHal.RX_PKT_FATE_FW_DROP_NOBUFS; in halToFrameworkRxPktFate()
1797 return WifiLoggerHal.RX_PKT_FATE_FW_DROP_OTHER; in halToFrameworkRxPktFate()
1799 return WifiLoggerHal.RX_PKT_FATE_DRV_QUEUED; in halToFrameworkRxPktFate()
[all …]
DWifiLoggerHal.java19 public class WifiLoggerHal { class
DWifiDiagnostics.java682 new WifiNative.TxFateReport[WifiLoggerHal.MAX_FATE_LOG_LEN]; in fetchPacketFates()
690 new WifiNative.RxFateReport[WifiLoggerHal.MAX_FATE_LOG_LEN]; in fetchPacketFates()
DWifiMetrics.java1633 if (reason > WifiLoggerHal.WIFI_ALERT_REASON_MAX in incrementAlertReasonCount()
1634 || reason < WifiLoggerHal.WIFI_ALERT_REASON_MIN) { in incrementAlertReasonCount()
1635 reason = WifiLoggerHal.WIFI_ALERT_REASON_RESERVED; in incrementAlertReasonCount()
2461 for (int i = WifiLoggerHal.WIFI_ALERT_REASON_MIN; in dump()
2462 i <= WifiLoggerHal.WIFI_ALERT_REASON_MAX; i++) { in dump()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/util/
DFrameParser.java20 import com.android.server.wifi.WifiLoggerHal;
56 if (frameType == WifiLoggerHal.FRAME_TYPE_ETHERNET_II) { in FrameParser()
58 } else if (frameType == WifiLoggerHal.FRAME_TYPE_80211_MGMT) { in FrameParser()