Home
last modified time | relevance | path

Searched refs:RADIO_ACCESS_TECHNOLOGY_NR (Results 1 – 8 of 8) sorted by relevance

/frameworks/base/services/tests/powerstatstests/src/com/android/server/power/stats/
DBatteryStatsNoteTest.java22 import static android.os.BatteryStats.RADIO_ACCESS_TECHNOLOGY_NR;
1364 currentRat == RADIO_ACCESS_TECHNOLOGY_NR ? state.currentFrequencyRange : 0; in testGetPerStateActiveRadioDurationMs_noModemActivity()
1386 state.setRatType(TelephonyManager.NETWORK_TYPE_NR, BatteryStats.RADIO_ACCESS_TECHNOLOGY_NR); in testGetPerStateActiveRadioDurationMs_noModemActivity()
1391 state.setSignalStrength(BatteryStats.RADIO_ACCESS_TECHNOLOGY_NR, in testGetPerStateActiveRadioDurationMs_noModemActivity()
1466 state.setRatType(TelephonyManager.NETWORK_TYPE_NR, BatteryStats.RADIO_ACCESS_TECHNOLOGY_NR); in testGetPerStateActiveRadioDurationMs_noModemActivity()
1501 if (rat == RADIO_ACCESS_TECHNOLOGY_NR in testGetPerStateActiveRadioDurationMs_initialModemActivity()
1509 if (rat == RADIO_ACCESS_TECHNOLOGY_NR in testGetPerStateActiveRadioDurationMs_initialModemActivity()
1569 currRat == RADIO_ACCESS_TECHNOLOGY_NR ? state.currentFrequencyRange : 0; in testGetPerStateActiveRadioDurationMs_initialModemActivity()
1612 state.setRatType(TelephonyManager.NETWORK_TYPE_NR, BatteryStats.RADIO_ACCESS_TECHNOLOGY_NR, in testGetPerStateActiveRadioDurationMs_initialModemActivity()
1662 currRat == RADIO_ACCESS_TECHNOLOGY_NR ? state.currentFrequencyRange : 0; in testGetPerStateActiveRadioDurationMs_withModemActivity()
[all …]
DMobileRadioPowerStatsCollectorTest.java254 BatteryStats.RADIO_ACCESS_TECHNOLOGY_NR, in collectStats()
/frameworks/base/services/core/java/com/android/server/power/stats/
DMobileRadioPowerStatsCollector.java161 final int freqCount = rat == BatteryStats.RADIO_ACCESS_TECHNOLOGY_NR in ensureInitialized()
364 if (rat == BatteryStats.RADIO_ACCESS_TECHNOLOGY_NR) { in makeStateKey()
381 return BatteryStats.RADIO_ACCESS_TECHNOLOGY_NR; in mapRadioAccessNetworkTypeToRadioAccessTechnology()
DMobileRadioPowerStatsProcessor.java100 final int freqCount = rat == BatteryStats.RADIO_ACCESS_TECHNOLOGY_NR in MobileRadioPowerStatsProcessor()
DMobileRadioPowerCalculator.java334 final int freqCount = rat == BatteryStats.RADIO_ACCESS_TECHNOLOGY_NR in calculateActiveModemPowerMah()
DBatteryStatsImpl.java1435 final int freqCount = rat == RADIO_ACCESS_TECHNOLOGY_NR ? NR_FREQUENCY_COUNT : 1; in getRatBatteryStatsLocked()
6280 ratType = RADIO_ACCESS_TECHNOLOGY_NR; in notePhoneSignalStrengthLocked()
6398 if (newRat == RADIO_ACCESS_TECHNOLOGY_NR) { in notePhoneDataConnectionStateLocked()
6425 return RADIO_ACCESS_TECHNOLOGY_NR; in mapNetworkTypeToRadioAccessTechnology()
6430 return RADIO_ACCESS_TECHNOLOGY_NR; in mapNetworkTypeToRadioAccessTechnology()
/frameworks/base/core/java/com/android/internal/power/
DModemPowerProfile.java410 case BatteryStats.RADIO_ACCESS_TECHNOLOGY_NR: in getAverageBatteryDrainKey()
/frameworks/base/core/java/android/os/
DBatteryStats.java2808 public static final int RADIO_ACCESS_TECHNOLOGY_NR = 2; field in BatteryStats
2816 RADIO_ACCESS_TECHNOLOGY_NR})
4344 rat == RADIO_ACCESS_TECHNOLOGY_NR ? nrFrequencyRangeDescription.length : 1; in printCellularPerRatBreakdown()
4348 if (rat == RADIO_ACCESS_TECHNOLOGY_NR) { in printCellularPerRatBreakdown()