Home
last modified time | relevance | path

Searched refs:triggerType (Results 1 – 3 of 3) sorted by relevance

/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
DWifiMetrics.java2729 pw.println("\ntrigger_type=" + stats.triggerType); in dump()
2737 pw.println("\ntrigger_type=" + stats.triggerType); in dump()
4108 public void logWifiIsUnusableEvent(int triggerType) {
4109 logWifiIsUnusableEvent(triggerType, -1);
4117 public void logWifiIsUnusableEvent(int triggerType, int firmwareAlertCode) {
4124 switch (triggerType) {
4139 Log.e(TAG, "Unknown WifiIsUnusableEvent: " + triggerType);
4144 event.type = triggerType;
4145 if (triggerType == WifiIsUnusableEvent.TYPE_FIRMWARE_ALERT) {
4456 private WifiUsabilityStats createWifiUsabilityStatsWithLabel(int label, int triggerType,
[all …]
DClientModeImpl.java5273 int triggerType; in convertToUsabilityStatsTriggerType() local
5276 triggerType = WifiUsabilityStats.TYPE_DATA_STALL_BAD_TX; in convertToUsabilityStatsTriggerType()
5279 triggerType = WifiUsabilityStats.TYPE_DATA_STALL_TX_WITHOUT_RX; in convertToUsabilityStatsTriggerType()
5282 triggerType = WifiUsabilityStats.TYPE_DATA_STALL_BOTH; in convertToUsabilityStatsTriggerType()
5285 triggerType = WifiUsabilityStats.TYPE_FIRMWARE_ALERT; in convertToUsabilityStatsTriggerType()
5288 triggerType = WifiUsabilityStats.TYPE_IP_REACHABILITY_LOST; in convertToUsabilityStatsTriggerType()
5291 triggerType = WifiUsabilityStats.TYPE_UNKNOWN; in convertToUsabilityStatsTriggerType()
5294 return triggerType; in convertToUsabilityStatsTriggerType()
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/
DWifiMetricsTest.java3289 assertEquals(WifiIsUnusableEvent.TYPE_FIRMWARE_ALERT, statsList[1].triggerType); in verifyFirmwareAlertUpdatesWifiUsabilityMetrics()
3319 assertEquals(WifiIsUnusableEvent.TYPE_DATA_STALL_BAD_TX, statsList[1].triggerType); in verifyWifiDataStallUpdatesWifiUsabilityMetrics()
3685 assertEquals(WifiUsabilityStats.TYPE_IP_REACHABILITY_LOST, statsList[1].triggerType); in verifyIpReachabilityLostUpdatesWifiUsabilityMetrics()