/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/ |
D | WifiChannelUtilizationTest.java | 37 import com.android.server.wifi.WifiLinkLayerStats.ChannelStats; 86 WifiLinkLayerStats llstats = new WifiLinkLayerStats(); in verifyEmptyChanStatsMap() 93 WifiLinkLayerStats llstats = new WifiLinkLayerStats(); in verifyOneReadChanStatsWithShortRadioOnTime() 106 WifiLinkLayerStats llstats = new WifiLinkLayerStats(); in verifyOneReadChanStatsWithLargeCcaBusyTime() 119 WifiLinkLayerStats llstats = new WifiLinkLayerStats(); in verifyOneReadChanStatsWithLongRadioOnTime() 133 WifiLinkLayerStats llstats = new WifiLinkLayerStats(); in verifyOneReadChanStatsWithDiffFreq() 146 WifiLinkLayerStats llstats1 = new WifiLinkLayerStats(); in verifyTwoReadChanStatsWithLargeTimeGap() 157 WifiLinkLayerStats llstats2 = new WifiLinkLayerStats(); in verifyTwoReadChanStatsWithLargeTimeGap() 174 WifiLinkLayerStats llstats1 = new WifiLinkLayerStats(); in verifyTwoReadChanStatsWithSmallTimeGap() 185 WifiLinkLayerStats llstats2 = new WifiLinkLayerStats(); in verifyTwoReadChanStatsWithSmallTimeGap() [all …]
|
D | WifiLinkLayerStatsTest.java | 46 WifiLinkLayerStats mWifiLinkLayerStats; 55 mWifiLinkLayerStats = new WifiLinkLayerStats(); in setUp() 63 mWifiLinkLayerStats.links = new WifiLinkLayerStats.LinkSpecificStats[numLinks]; in setupLinkStats() 65 mWifiLinkLayerStats.links[i] = new WifiLinkLayerStats.LinkSpecificStats(); in setupLinkStats() 97 private void bumpCounters(WifiLinkLayerStats s, int txg, int txr, int txb, int rxg) { in bumpCounters() 128 for (WifiLinkLayerStats.LinkSpecificStats l : s.links) { in bumpCounters()
|
D | WifiMetricsTest.java | 106 import com.android.server.wifi.WifiLinkLayerStats.PeerInfo; 107 import com.android.server.wifi.WifiLinkLayerStats.RadioStat; 108 import com.android.server.wifi.WifiLinkLayerStats.RateStat; 3916 private WifiLinkLayerStats nextRandomStats(WifiLinkLayerStats current) { in nextRandomStats() 3917 WifiLinkLayerStats out = new WifiLinkLayerStats(); in nextRandomStats() 3919 out.links = new WifiLinkLayerStats.LinkSpecificStats[numLinks]; in nextRandomStats() 3921 out.links[i] = new WifiLinkLayerStats.LinkSpecificStats(); in nextRandomStats() 3964 WifiLinkLayerStats.ChannelStats cs = new WifiLinkLayerStats.ChannelStats(); in nextRandomStats() 4065 private void assertWifiLinkLayerUsageHasDiff(WifiLinkLayerStats oldStats, in assertWifiLinkLayerUsageHasDiff() 4066 WifiLinkLayerStats newStats) { in assertWifiLinkLayerUsageHasDiff() [all …]
|
D | WifiDataStallTest.java | 86 private final WifiLinkLayerStats mOldLlStats = new WifiLinkLayerStats(); 87 private final WifiLinkLayerStats mNewLlStats = new WifiLinkLayerStats();
|
D | WifiScoreCardTest.java | 113 private WifiLinkLayerStats mOldLlStats; 114 private WifiLinkLayerStats mNewLlStats; 205 mOldLlStats = new WifiLinkLayerStats(); in setUp() 206 mNewLlStats = new WifiLinkLayerStats(); in setUp() 1614 mOldLlStats.radioStats = new WifiLinkLayerStats.RadioStat[2]; in testLinkBandwidthTwoRadioStatsVariousTxTraffic() 1615 mOldLlStats.radioStats[0] = new WifiLinkLayerStats.RadioStat(); in testLinkBandwidthTwoRadioStatsVariousTxTraffic() 1616 mOldLlStats.radioStats[1] = new WifiLinkLayerStats.RadioStat(); in testLinkBandwidthTwoRadioStatsVariousTxTraffic() 1617 mNewLlStats.radioStats = new WifiLinkLayerStats.RadioStat[2]; in testLinkBandwidthTwoRadioStatsVariousTxTraffic() 1618 mNewLlStats.radioStats[0] = new WifiLinkLayerStats.RadioStat(); in testLinkBandwidthTwoRadioStatsVariousTxTraffic() 1619 mNewLlStats.radioStats[1] = new WifiLinkLayerStats.RadioStat(); in testLinkBandwidthTwoRadioStatsVariousTxTraffic()
|
D | ClientModeImplTest.java | 3967 WifiLinkLayerStats llStats = new WifiLinkLayerStats(); in verifyConnectedModeRssiPolling() 4002 WifiLinkLayerStats llStats = new WifiLinkLayerStats(); in verifyConnectedModeRssiPollingWithSameSignalLevel() 4056 WifiLinkLayerStats llStats = new WifiLinkLayerStats(); in verifyConnectedModeRssiPollingWithSameSignalLevelVerboseLoggingEnabled() 4118 WifiLinkLayerStats llStats = new WifiLinkLayerStats(); in verifyConnectedModeNetworkCapabilitiesBandwidthUpdate() 4657 WifiLinkLayerStats llStats = new WifiLinkLayerStats(); in testAbnormalDisconnectNotifiesWifiBlocklistMonitor() 4684 WifiLinkLayerStats llStats = new WifiLinkLayerStats(); in testAbnormalDisconnectIpReachabilityLostNotifiesWifiBlocklistMonitor() 5404 WifiLinkLayerStats llStats = new WifiLinkLayerStats(); in internetValidationFailure_notUserSelected_expectTemporarilyDisabled() 6032 WifiLinkLayerStats oldLLStats = new WifiLinkLayerStats(); in verifyRssiPollChecksDataStall() 6036 WifiLinkLayerStats newLLStats = new WifiLinkLayerStats(); in verifyRssiPollChecksDataStall() 6059 WifiLinkLayerStats stats = new WifiLinkLayerStats(); in verifyRssiPollUpdatesWifiUsabilityMetrics() [all …]
|
D | WifiConnectivityManagerTest.java | 5543 WifiLinkLayerStats llstats = new WifiLinkLayerStats(); in verifyWifiChannelUtilizationRefreshedAfterScanResults() 5559 WifiLinkLayerStats llstats = new WifiLinkLayerStats(); in verifyWifiChannelUtilizationInitAfterWifiToggle() 5572 WifiLinkLayerStats llstats = new WifiLinkLayerStats(); in verifyWifiChannelUtilizationSetMobilityState()
|
/packages/modules/Wifi/service/java/com/android/server/wifi/hal/ |
D | WifiStaIfaceHidlImpl.java | 55 import com.android.server.wifi.WifiLinkLayerStats; 209 public WifiLinkLayerStats getLinkLayerStats() { in getLinkLayerStats() 544 private WifiLinkLayerStats getLinkLayerStatsInternal(String methodStr) { in getLinkLayerStatsInternal() 556 private WifiLinkLayerStats getLinkLayerStatsV1_0Internal(String methodStr) { in getLinkLayerStatsV1_0Internal() 572 private WifiLinkLayerStats getLinkLayerStatsV1_3Internal(String methodStr) { in getLinkLayerStatsV1_3Internal() 591 private WifiLinkLayerStats getLinkLayerStatsV1_5Internal(String methodStr) { in getLinkLayerStatsV1_5Internal() 610 private WifiLinkLayerStats getLinkLayerStatsV1_6Internal(String methodStr) { in getLinkLayerStatsV1_6Internal() 947 WifiLinkLayerStats frameworkFromHalLinkLayerStats(StaLinkLayerStats stats) { in frameworkFromHalLinkLayerStats() 949 WifiLinkLayerStats out = new WifiLinkLayerStats(); in frameworkFromHalLinkLayerStats() 953 out.version = WifiLinkLayerStats.V1_0; in frameworkFromHalLinkLayerStats() [all …]
|
D | WifiStaIfaceAidlImpl.java | 74 import com.android.server.wifi.WifiLinkLayerStats; 413 public WifiLinkLayerStats getLinkLayerStats() { in getLinkLayerStats() 1326 WifiLinkLayerStats halToFrameworkLinkLayerStats(StaLinkLayerStats stats) { in halToFrameworkLinkLayerStats() 1328 WifiLinkLayerStats out = new WifiLinkLayerStats(); in halToFrameworkLinkLayerStats() 1332 out.version = WifiLinkLayerStats.V1_5; // only used in unit tests, keep latest HIDL in halToFrameworkLinkLayerStats() 1336 private static void setIfaceStats(WifiLinkLayerStats stats, in setIfaceStats() 1340 stats.links = new WifiLinkLayerStats.LinkSpecificStats[iface.links.length]; in setIfaceStats() 1359 private static void setIfaceStatsPerLinkFromAidl(WifiLinkLayerStats stats, in setIfaceStatsPerLinkFromAidl() 1362 stats.links[linkIndex] = new WifiLinkLayerStats.LinkSpecificStats(); in setIfaceStatsPerLinkFromAidl() 1428 stats.links[linkIndex].peerInfo = new WifiLinkLayerStats.PeerInfo[aidlStats.peers.length]; in setIfaceStatsPerLinkFromAidl() [all …]
|
D | IWifiStaIface.java | 28 import com.android.server.wifi.WifiLinkLayerStats; 145 WifiLinkLayerStats getLinkLayerStats(); in getLinkLayerStats()
|
D | WifiStaIface.java | 36 import com.android.server.wifi.WifiLinkLayerStats; 300 public WifiLinkLayerStats getLinkLayerStats() { in getLinkLayerStats()
|
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/hal/ |
D | WifiStaIfaceHidlImplTest.java | 58 import com.android.server.wifi.WifiLinkLayerStats; 285 WifiLinkLayerStats wifiLinkLayerStats) { in verifyIfaceStats() 311 WifiLinkLayerStats wifiLinkLayerStats) { in verifyIfaceStats_1_5() 377 WifiLinkLayerStats wifiLinkLayerStats) { in verifyRadioStats() 393 WifiLinkLayerStats wifiLinkLayerStats) { in verifyRadioStats_1_3() 413 WifiLinkLayerStats.ChannelStats retrievedChannelStats = in verifyRadioStats_1_3() 423 WifiLinkLayerStats wifiLinkLayerStats) { in verifyPerRadioStats() 428 WifiLinkLayerStats.RadioStat radioStat = wifiLinkLayerStats.radioStats[i]; in verifyPerRadioStats() 444 WifiLinkLayerStats.ChannelStats retrievedChannelStats = in verifyPerRadioStats() 457 WifiLinkLayerStats wifiLinkLayerStats) { in verifyRadioStats_1_5() [all …]
|
D | WifiStaIfaceAidlImplTest.java | 60 import com.android.server.wifi.WifiLinkLayerStats; 123 WifiLinkLayerStats converted = mDut.halToFrameworkLinkLayerStats(stats); in testLinkLayerStatsAssignment() 129 assertEquals(WifiLinkLayerStats.V1_5, converted.version); in testLinkLayerStatsAssignment() 151 WifiLinkLayerStats converted = mDut.halToFrameworkLinkLayerStats(stats); in testTwoRadioStatsAggregation() 172 WifiLinkLayerStats converted = mDut.halToFrameworkLinkLayerStats(stats); in testRadioStatsAggregationDisabled() 473 WifiLinkLayerStats wifiLinkLayerStats) { in verifyIfaceStats() 566 WifiLinkLayerStats wifiLinkLayerStats) { in verifyPerRadioStats() 570 WifiLinkLayerStats.RadioStat radioStat = wifiLinkLayerStats.radioStats[i]; in verifyPerRadioStats() 585 WifiLinkLayerStats.ChannelStats retrievedChannelStats = in verifyPerRadioStats() 596 WifiLinkLayerStats wifiLinkLayerStats) { in verifyRadioStats() [all …]
|
/packages/modules/Wifi/service/java/com/android/server/wifi/ |
D | WifiChannelUtilization.java | 30 import com.android.server.wifi.WifiLinkLayerStats.ChannelStats; 97 public void init(WifiLinkLayerStats wifiLinkLayerStats) { in init() 173 public void refreshChannelStatsAndChannelUtilization(WifiLinkLayerStats wifiLinkLayerStats, in refreshChannelStatsAndChannelUtilization()
|
D | ExtendedWifiInfo.java | 60 public void updatePacketRates(@NonNull WifiLinkLayerStats stats, long timeStamp) { in updatePacketRates() 68 for (WifiLinkLayerStats.LinkSpecificStats link : stats.links) { in updatePacketRates()
|
D | WifiDataStall.java | 324 @Nullable WifiLinkLayerStats oldStats, in checkDataStallAndThroughputSufficiency() 325 @Nullable WifiLinkLayerStats newStats, in checkDataStallAndThroughputSufficiency()
|
D | ClientModeDefaults.java | 170 default WifiLinkLayerStats getWifiLinkLayerStats() { in getWifiLinkLayerStats()
|
D | ClientMode.java | 190 WifiLinkLayerStats getWifiLinkLayerStats(); in getWifiLinkLayerStats()
|
D | WifiLinkLayerStats.java | 31 public class WifiLinkLayerStats { class 523 for (WifiLinkLayerStats.LinkSpecificStats link : this.links) { in toString()
|
D | WifiMetrics.java | 266 private WifiLinkLayerStats mLastLinkLayerStats; 1762 public void incrementWifiLinkLayerUsageStats(String ifaceName, WifiLinkLayerStats newStats) { in incrementWifiLinkLayerUsageStats() 1806 private void incrementPerRadioUsageStats(WifiLinkLayerStats oldStats, in incrementPerRadioUsageStats() 1807 WifiLinkLayerStats newStats) { in incrementPerRadioUsageStats() 1813 WifiLinkLayerStats.RadioStat newRadio = newStats.radioStats[i]; in incrementPerRadioUsageStats() 1814 WifiLinkLayerStats.RadioStat oldRadio = oldStats.radioStats[i]; in incrementPerRadioUsageStats() 1846 private boolean newLinkLayerStatsIsValid(WifiLinkLayerStats oldStats, in newLinkLayerStatsIsValid() 1847 WifiLinkLayerStats newStats) { in newLinkLayerStatsIsValid() 7006 WifiLinkLayerStats stats) { 7015 stats = new WifiLinkLayerStats(); [all …]
|
D | WifiScoreCard.java | 1284 void updateLinkBandwidth(WifiLinkLayerStats oldStats, WifiLinkLayerStats newStats, in updateLinkBandwidth() 1321 private void updateLinkBandwidthTxRxSample(WifiLinkLayerStats oldStats, in updateLinkBandwidthTxRxSample() 1322 WifiLinkLayerStats newStats, ExtendedWifiInfo wifiInfo, in updateLinkBandwidthTxRxSample() 1373 private int getTotalRadioOnTimeMs(@NonNull WifiLinkLayerStats stats) { in getTotalRadioOnTimeMs() 1376 for (WifiLinkLayerStats.RadioStat stat : stats.radioStats) { in getTotalRadioOnTimeMs()
|
D | ClientModeImpl.java | 1566 private WifiLinkLayerStats mLastLinkLayerStats; 1610 public WifiLinkLayerStats getWifiLinkLayerStats() { in getWifiLinkLayerStats() 1616 WifiLinkLayerStats stats = null; in getWifiLinkLayerStats() 2763 private WifiLinkLayerStats updateLinkLayerStatsRssiSpeedFrequencyCapabilities(long txBytes, in updateLinkLayerStatsRssiSpeedFrequencyCapabilities() 2765 WifiLinkLayerStats stats = getWifiLinkLayerStats(); in updateLinkLayerStatsRssiSpeedFrequencyCapabilities() 2859 private void updateLinkBandwidthAndCapabilities(WifiLinkLayerStats stats, in updateLinkBandwidthAndCapabilities() 6883 private WifiLinkLayerStats updateLinkLayerStatsRssiDataStallScoreReport() { in updateLinkLayerStatsRssiDataStallScoreReport() 6894 WifiLinkLayerStats stats = updateLinkLayerStatsRssiSpeedFrequencyCapabilities(txBytes, in updateLinkLayerStatsRssiDataStallScoreReport()
|
D | WifiScoreReport.java | 201 WifiLinkLayerStats stats = mWifiNative.getWifiLinkLayerStats(mInterfaceName); in triggerUpdateOfWifiUsabilityStats()
|
/packages/modules/Wifi/service/proto/src/ |
D | metrics.proto | 2410 // between the last two WifiLinkLayerStats. 2414 // between the last two WifiLinkLayerStats. 2418 // between the last two WifiLinkLayerStats. 2422 // between the last two WifiLinkLayerStats. 2425 // Time in millisecond between the last two WifiLinkLayerStats. 2428 // The timestamp at which the last WifiLinkLayerStats was updated.
|
/packages/modules/Wifi/service/tests/wifitests/ |
D | Android.bp | 578 "com.android.server.wifi.WifiLinkLayerStats", 579 "com.android.server.wifi.WifiLinkLayerStats$*", 580 "com.android.server.wifi.WifiLinkLayerStats.**",
|