Package org.robolectric.shadows
Class WifiUsabilityStatsEntryBuilder
- java.lang.Object
-
- org.robolectric.shadows.WifiUsabilityStatsEntryBuilder
-
public class WifiUsabilityStatsEntryBuilder extends Object
Builder forWifiUsabilityStatsEntry
.
-
-
Constructor Summary
Constructors Constructor Description WifiUsabilityStatsEntryBuilder()
-
Method Summary
-
-
-
Method Detail
-
build
public WifiUsabilityStatsEntry build()
-
setTimeStampMillis
public WifiUsabilityStatsEntryBuilder setTimeStampMillis(long timeStampMillis)
-
setRssi
public WifiUsabilityStatsEntryBuilder setRssi(int rssi)
-
setLinkSpeedMbps
public WifiUsabilityStatsEntryBuilder setLinkSpeedMbps(int linkSpeedMbps)
-
setTotalTxSuccess
public WifiUsabilityStatsEntryBuilder setTotalTxSuccess(long totalTxSuccess)
-
setTotalTxRetries
public WifiUsabilityStatsEntryBuilder setTotalTxRetries(long totalTxRetries)
-
setTotalTxBad
public WifiUsabilityStatsEntryBuilder setTotalTxBad(long totalTxBad)
-
setTotalRxSuccess
public WifiUsabilityStatsEntryBuilder setTotalRxSuccess(long totalRxSuccess)
-
setTotalRadioOnTimeMillis
public WifiUsabilityStatsEntryBuilder setTotalRadioOnTimeMillis(long totalRadioOnTimeMillis)
-
setTotalRadioTxTimeMillis
public WifiUsabilityStatsEntryBuilder setTotalRadioTxTimeMillis(long totalRadioTxTimeMillis)
-
setTotalRadioRxTimeMillis
public WifiUsabilityStatsEntryBuilder setTotalRadioRxTimeMillis(long totalRadioRxTimeMillis)
-
setTotalScanTimeMillis
public WifiUsabilityStatsEntryBuilder setTotalScanTimeMillis(long totalScanTimeMillis)
-
setTotalNanScanTimeMillis
public WifiUsabilityStatsEntryBuilder setTotalNanScanTimeMillis(long totalNanScanTimeMillis)
-
setTotalBackgroundScanTimeMillis
public WifiUsabilityStatsEntryBuilder setTotalBackgroundScanTimeMillis(long totalBackgroundScanTimeMillis)
-
setTotalRoamScanTimeMillis
public WifiUsabilityStatsEntryBuilder setTotalRoamScanTimeMillis(long totalRoamScanTimeMillis)
-
setTotalPnoScanTimeMillis
public WifiUsabilityStatsEntryBuilder setTotalPnoScanTimeMillis(long totalPnoScanTimeMillis)
-
setTotalHotspot2ScanTimeMillis
public WifiUsabilityStatsEntryBuilder setTotalHotspot2ScanTimeMillis(long totalHotspot2ScanTimeMillis)
-
setTotalCcaBusyFreqTimeMillis
public WifiUsabilityStatsEntryBuilder setTotalCcaBusyFreqTimeMillis(long totalCcaBusyFreqTimeMillis)
-
setTotalRadioOnFreqTimeMillis
public WifiUsabilityStatsEntryBuilder setTotalRadioOnFreqTimeMillis(long totalRadioOnFreqTimeMillis)
-
setTotalBeaconRx
public WifiUsabilityStatsEntryBuilder setTotalBeaconRx(long totalBeaconRx)
-
setProbeStatusSinceLastUpdate
public WifiUsabilityStatsEntryBuilder setProbeStatusSinceLastUpdate(int probeStatusSinceLastUpdate)
-
setProbeElapsedTimeSinceLastUpdateMillis
public WifiUsabilityStatsEntryBuilder setProbeElapsedTimeSinceLastUpdateMillis(int probeElapsedTimeSinceLastUpdateMillis)
-
setProbeMcsRateSinceLastUpdate
public WifiUsabilityStatsEntryBuilder setProbeMcsRateSinceLastUpdate(int probeMcsRateSinceLastUpdate)
-
setRxLinkSpeedMbps
public WifiUsabilityStatsEntryBuilder setRxLinkSpeedMbps(int rxLinkSpeedMbps)
-
setCellularDataNetworkType
public WifiUsabilityStatsEntryBuilder setCellularDataNetworkType(int cellularDataNetworkType)
-
setCellularSignalStrengthDbm
public WifiUsabilityStatsEntryBuilder setCellularSignalStrengthDbm(int cellularSignalStrengthDbm)
-
setCellularSignalStrengthDb
public WifiUsabilityStatsEntryBuilder setCellularSignalStrengthDb(int cellularSignalStrengthDb)
-
setSameRegisteredCell
public WifiUsabilityStatsEntryBuilder setSameRegisteredCell(boolean sameRegisteredCell)
-
setTimeSliceDutyCycleInPercent
public WifiUsabilityStatsEntryBuilder setTimeSliceDutyCycleInPercent(int percent)
-
setIsCellularDataAvailable
public WifiUsabilityStatsEntryBuilder setIsCellularDataAvailable(boolean avail)
-
setIsThroughputSufficient
public WifiUsabilityStatsEntryBuilder setIsThroughputSufficient(boolean sufficient)
-
setIsWifiScoringEnabled
public WifiUsabilityStatsEntryBuilder setIsWifiScoringEnabled(boolean enabled)
-
-