Home
last modified time | relevance | path

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

/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/
DWifiPowerMetricsTest.java68 WifiRadioUsage wifiRadioUsage = mWifiPowerMetrics.buildWifiRadioUsageProto(); in testBuildWifiRadioUsageProto() local
71 loggingDuration, wifiRadioUsage.loggingDurationMs); in testBuildWifiRadioUsageProto()
73 scanTime, wifiRadioUsage.scanTimeMs); in testBuildWifiRadioUsageProto()
84 WifiRadioUsage wifiRadioUsage = mWifiPowerMetrics.buildWifiRadioUsageProto(); in testBuildWifiRadioUsageProtoNull() local
87 + "null", DEFAULT_VALUE, wifiRadioUsage.loggingDurationMs); in testBuildWifiRadioUsageProtoNull()
89 DEFAULT_VALUE, wifiRadioUsage.scanTimeMs); in testBuildWifiRadioUsageProtoNull()
100 WifiRadioUsage wifiRadioUsage = mWifiPowerMetrics.buildWifiRadioUsageProto(); in testBuildWifiRadioUsageProtoRemoteException() local
103 + "RemoteException", DEFAULT_VALUE, wifiRadioUsage.loggingDurationMs); in testBuildWifiRadioUsageProtoRemoteException()
105 + "RemoteException", DEFAULT_VALUE, wifiRadioUsage.scanTimeMs); in testBuildWifiRadioUsageProtoRemoteException()
DWifiMetricsTest.java886 WifiRadioUsage wifiRadioUsage = new WifiRadioUsage(); in addWifiPowerMetrics() local
887 wifiRadioUsage.loggingDurationMs = WIFI_POWER_METRICS_LOGGING_DURATION; in addWifiPowerMetrics()
888 wifiRadioUsage.scanTimeMs = WIFI_POWER_METRICS_SCAN_TIME; in addWifiPowerMetrics()
889 when(mWifiPowerMetrics.buildWifiRadioUsageProto()).thenReturn(wifiRadioUsage); in addWifiPowerMetrics()
1198 mDecodedProto.wifiRadioUsage.loggingDurationMs); in assertDeserializedMetricsCorrect()
1200 mDecodedProto.wifiRadioUsage.scanTimeMs); in assertDeserializedMetricsCorrect()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
DWifiPowerMetrics.java129 WifiRadioUsage wifiRadioUsage = buildWifiRadioUsageProto(); in dump() local
131 pw.println("Logging duration (time on battery): " + wifiRadioUsage.loggingDurationMs); in dump()
133 + wifiRadioUsage.scanTimeMs); in dump()
DWifiMetrics.java3354 mWifiLogProto.wifiRadioUsage = mWifiPowerMetrics.buildWifiRadioUsageProto(); in consolidateProto()