Home
last modified time | relevance | path

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

/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/util/
DFrameParserTest.java24 import com.android.server.wifi.WifiLoggerHal;
55 WifiLoggerHal.FRAME_TYPE_ETHERNET_II;
84 WifiLoggerHal.FRAME_TYPE_ETHERNET_II;
131 private static final byte TEST_PROBE_RESPONSE_FRAME_TYPE = WifiLoggerHal.FRAME_TYPE_80211_MGMT;
166 WifiLoggerHal.FRAME_TYPE_80211_MGMT, in canParseStatusCodeOutOfNonHtOpenAuthenticationReply()
188 WifiLoggerHal.FRAME_TYPE_80211_MGMT, in canParseStatusCodeOutOfNonHtAssociationResponse()
221 WifiLoggerHal.FRAME_TYPE_80211_MGMT, in doesNotParseStatusCodeOutOfNonHtOpenAuthenticationRequest()
244 WifiLoggerHal.FRAME_TYPE_80211_MGMT, in doesNotParseStatusCodeOutOfNonHtOpenAssociationRequest()
278 WifiLoggerHal.FRAME_TYPE_80211_MGMT, in parseDeauthenticationResultCode()
303 WifiLoggerHal.FRAME_TYPE_80211_MGMT, in parseDisassociationResultCode()
[all …]
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/
DWifiNativeTest.java108 WifiLoggerHal.TX_PKT_FATE_SENT,
110 WifiLoggerHal.FRAME_TYPE_ETHERNET_II,
114 WifiLoggerHal.RX_PKT_FATE_FW_DROP_INVALID,
116 WifiLoggerHal.FRAME_TYPE_ETHERNET_II,
120 new FrameTypeMapping(WifiLoggerHal.FRAME_TYPE_UNKNOWN, "unknown", "N/A"),
121 new FrameTypeMapping(WifiLoggerHal.FRAME_TYPE_ETHERNET_II, "data", "Ethernet"),
122 new FrameTypeMapping(WifiLoggerHal.FRAME_TYPE_80211_MGMT, "802.11 management",
127 new FateMapping(WifiLoggerHal.TX_PKT_FATE_ACKED, "acked"),
128 new FateMapping(WifiLoggerHal.TX_PKT_FATE_SENT, "sent"),
129 new FateMapping(WifiLoggerHal.TX_PKT_FATE_FW_QUEUED, "firmware queued"),
[all …]
DWifiDiagnosticsTest.java520 WifiLoggerHal.TX_PKT_FATE_ACKED, 2, WifiLoggerHal.FRAME_TYPE_ETHERNET_II, in getDumpString()
524 WifiLoggerHal.TX_PKT_FATE_ACKED, 0, WifiLoggerHal.FRAME_TYPE_ETHERNET_II, in getDumpString()
529 WifiLoggerHal.RX_PKT_FATE_SUCCESS, 3, WifiLoggerHal.FRAME_TYPE_ETHERNET_II, in getDumpString()
533 WifiLoggerHal.RX_PKT_FATE_SUCCESS, 1, WifiLoggerHal.FRAME_TYPE_ETHERNET_II, in getDumpString()
647 WifiLoggerHal.TX_PKT_FATE_ACKED, 0, WifiLoggerHal.FRAME_TYPE_ETHERNET_II,
652 WifiLoggerHal.RX_PKT_FATE_SUCCESS, 1, WifiLoggerHal.FRAME_TYPE_ETHERNET_II,
DWifiVendorHalTest.java897 byte fate = WifiLoggerHal.TX_PKT_FATE_DRV_QUEUED; in testGetTxPktFates()
899 byte frameType = WifiLoggerHal.FRAME_TYPE_ETHERNET_II; in testGetTxPktFates()
929 byte fate = WifiLoggerHal.RX_PKT_FATE_SUCCESS; in testGetRxPktFates()
931 byte frameType = WifiLoggerHal.FRAME_TYPE_ETHERNET_II; in testGetRxPktFates()
DWifiMetricsTest.java891 mWifiMetrics.logFirmwareAlert(TEST_IFACE_NAME, WifiLoggerHal.WIFI_ALERT_REASON_MIN - 1); in setAndIncrementMetrics()
892 mWifiMetrics.logFirmwareAlert(TEST_IFACE_NAME, WifiLoggerHal.WIFI_ALERT_REASON_MAX + 1); in setAndIncrementMetrics()
/packages/modules/Wifi/service/java/com/android/server/wifi/hal/
DWifiStaIfaceAidlImpl.java75 import com.android.server.wifi.WifiLoggerHal;
312 if (fateReports.size() >= WifiLoggerHal.MAX_FATE_LOG_LEN) break; in getDebugRxPacketFates()
343 if (fateReports.size() >= WifiLoggerHal.MAX_FATE_LOG_LEN) break; in getDebugTxPacketFates()
1197 return WifiLoggerHal.FRAME_TYPE_UNKNOWN; in halToFrameworkPktFateFrameType()
1199 return WifiLoggerHal.FRAME_TYPE_ETHERNET_II; in halToFrameworkPktFateFrameType()
1201 return WifiLoggerHal.FRAME_TYPE_80211_MGMT; in halToFrameworkPktFateFrameType()
1210 return WifiLoggerHal.RX_PKT_FATE_SUCCESS; in halToFrameworkRxPktFate()
1212 return WifiLoggerHal.RX_PKT_FATE_FW_QUEUED; in halToFrameworkRxPktFate()
1214 return WifiLoggerHal.RX_PKT_FATE_FW_DROP_FILTER; in halToFrameworkRxPktFate()
1216 return WifiLoggerHal.RX_PKT_FATE_FW_DROP_INVALID; in halToFrameworkRxPktFate()
[all …]
DWifiStaIfaceHidlImpl.java56 import com.android.server.wifi.WifiLoggerHal;
490 if (reportBufs.size() >= WifiLoggerHal.MAX_FATE_LOG_LEN) break; in getDebugRxPacketFatesInternal()
512 if (reportBufs.size() >= WifiLoggerHal.MAX_FATE_LOG_LEN) break; in getDebugTxPacketFatesInternal()
821 return WifiLoggerHal.FRAME_TYPE_UNKNOWN; in halToFrameworkPktFateFrameType()
823 return WifiLoggerHal.FRAME_TYPE_ETHERNET_II; in halToFrameworkPktFateFrameType()
825 return WifiLoggerHal.FRAME_TYPE_80211_MGMT; in halToFrameworkPktFateFrameType()
834 return WifiLoggerHal.RX_PKT_FATE_SUCCESS; in halToFrameworkRxPktFate()
836 return WifiLoggerHal.RX_PKT_FATE_FW_QUEUED; in halToFrameworkRxPktFate()
838 return WifiLoggerHal.RX_PKT_FATE_FW_DROP_FILTER; in halToFrameworkRxPktFate()
840 return WifiLoggerHal.RX_PKT_FATE_FW_DROP_INVALID; in halToFrameworkRxPktFate()
[all …]
DIWifiStaIface.java29 import com.android.server.wifi.WifiLoggerHal;
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/hal/
DWifiStaIfaceAidlImplTest.java61 import com.android.server.wifi.WifiLoggerHal;
199 assertEquals(WifiLoggerHal.TX_PKT_FATE_DRV_QUEUED, retrievedFate.mFate); in testGetTxPktFates()
201 assertEquals(WifiLoggerHal.FRAME_TYPE_ETHERNET_II, retrievedFate.mFrameType); in testGetTxPktFates()
222 new WifiDebugTxPacketFateReport[WifiLoggerHal.MAX_FATE_LOG_LEN * 2]; in testGetTxPktFatesExceedsInputArrayLength()
230 assertEquals(WifiLoggerHal.MAX_FATE_LOG_LEN, retrievedFates.size()); in testGetTxPktFatesExceedsInputArrayLength()
233 assertEquals(WifiLoggerHal.TX_PKT_FATE_FW_DROP_OTHER, retrievedFate.mFate); in testGetTxPktFatesExceedsInputArrayLength()
235 assertEquals(WifiLoggerHal.FRAME_TYPE_80211_MGMT, retrievedFate.mFrameType); in testGetTxPktFatesExceedsInputArrayLength()
260 assertEquals(WifiLoggerHal.RX_PKT_FATE_SUCCESS, retrievedFate.mFate); in testGetRxPktFates()
262 assertEquals(WifiLoggerHal.FRAME_TYPE_ETHERNET_II, retrievedFate.mFrameType); in testGetRxPktFates()
283 new WifiDebugRxPacketFateReport[WifiLoggerHal.MAX_FATE_LOG_LEN * 2]; in testGetRxPktFatesExceedsInputArrayLength()
[all …]
DWifiStaIfaceHidlImplTest.java59 import com.android.server.wifi.WifiLoggerHal;
731 assertEquals(WifiLoggerHal.TX_PKT_FATE_DRV_QUEUED, retrievedFate.mFate); in testGetTxPktFates()
733 assertEquals(WifiLoggerHal.FRAME_TYPE_ETHERNET_II, retrievedFate.mFrameType); in testGetTxPktFates()
756 Collections.nCopies(WifiLoggerHal.MAX_FATE_LOG_LEN * 2, fateReport))); in testGetTxPktFatesExceedsInputArrayLength()
763 assertEquals(WifiLoggerHal.MAX_FATE_LOG_LEN, retrievedFates.size()); in testGetTxPktFatesExceedsInputArrayLength()
767 assertEquals(WifiLoggerHal.TX_PKT_FATE_FW_DROP_OTHER, retrievedFate.mFate); in testGetTxPktFatesExceedsInputArrayLength()
769 assertEquals(WifiLoggerHal.FRAME_TYPE_80211_MGMT, retrievedFate.mFrameType); in testGetTxPktFatesExceedsInputArrayLength()
799 assertEquals(WifiLoggerHal.RX_PKT_FATE_SUCCESS, retrievedFate.mFate); in testGetRxPktFates()
801 assertEquals(WifiLoggerHal.FRAME_TYPE_ETHERNET_II, retrievedFate.mFrameType); in testGetRxPktFates()
824 Collections.nCopies(WifiLoggerHal.MAX_FATE_LOG_LEN * 2, fateReport))); in testGetRxPktFatesExceedsInputArrayLength()
[all …]
/packages/modules/Wifi/service/java/com/android/server/wifi/
DWifiNative.java4508 case WifiLoggerHal.FRAME_TYPE_UNKNOWN:
4510 case WifiLoggerHal.FRAME_TYPE_ETHERNET_II:
4512 case WifiLoggerHal.FRAME_TYPE_80211_MGMT:
4566 case WifiLoggerHal.TX_PKT_FATE_ACKED:
4568 case WifiLoggerHal.TX_PKT_FATE_SENT:
4570 case WifiLoggerHal.TX_PKT_FATE_FW_QUEUED:
4572 case WifiLoggerHal.TX_PKT_FATE_FW_DROP_INVALID:
4574 case WifiLoggerHal.TX_PKT_FATE_FW_DROP_NOBUFS:
4576 case WifiLoggerHal.TX_PKT_FATE_FW_DROP_OTHER:
4578 case WifiLoggerHal.TX_PKT_FATE_DRV_QUEUED:
[all …]
DWifiLoggerHal.java19 public class WifiLoggerHal { class
DWifiMetrics.java3522 if (reason > WifiLoggerHal.WIFI_ALERT_REASON_MAX in incrementAlertReasonCount()
3523 || reason < WifiLoggerHal.WIFI_ALERT_REASON_MIN) { in incrementAlertReasonCount()
3524 reason = WifiLoggerHal.WIFI_ALERT_REASON_RESERVED; in incrementAlertReasonCount()
4565 for (int i = WifiLoggerHal.WIFI_ALERT_REASON_MIN; in dump()
4566 i <= WifiLoggerHal.WIFI_ALERT_REASON_MAX; i++) { in dump()
/packages/modules/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()
/packages/modules/Wifi/service/tests/wifitests/
DAndroid.bp590 "com.android.server.wifi.WifiLoggerHal",
591 "com.android.server.wifi.WifiLoggerHal$*",
592 "com.android.server.wifi.WifiLoggerHal.**",