Home
last modified time | relevance | path

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

/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DRatRatcheter.java89 int newRat = ServiceState.networkTypeToRilRadioTechnology(newNetworkType); in ratchetRat() local
96 final SparseIntArray newFamily = mRatFamilyMap.get(newRat); in ratchetRat()
103 final int newRatRank = newFamily.get(newRat, -1); in ratchetRat()
105 oldRatRank > newRatRank ? oldRat : newRat); in ratchetRat()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/metrics/
DImsStats.java291 @NetworkType int newRat = convertRegistrationTechToNetworkType(radioTech); in onImsCapabilitiesChanged() local
293 (newRat == TelephonyManager.NETWORK_TYPE_IWLAN) in onImsCapabilitiesChanged()
296 if (mLastRegistrationStats.rat != newRat) { in onImsCapabilitiesChanged()
297 mLastRegistrationStats.rat = newRat; in onImsCapabilitiesChanged()
395 @NetworkType int newRat = state.getDataNetworkType(); in onServiceStateChanged() local
396 MmTelCapabilities lastCapableFeatures = getLastCapableFeaturesForNetworkType(newRat); in onServiceStateChanged()
399 mLastRegistrationStats.rat = newRat; in onServiceStateChanged()
/frameworks/base/services/core/java/com/android/server/power/stats/
DBatteryStatsImpl.java6397 final int newRat = mapNetworkTypeToRadioAccessTechnology(bin, nrState); in notePhoneDataConnectionStateLocked() local
6398 if (newRat == RADIO_ACCESS_TECHNOLOGY_NR) { in notePhoneDataConnectionStateLocked()
6400 getRatBatteryStatsLocked(newRat).noteFrequencyRange(nrFrequency, elapsedRealtimeMs); in notePhoneDataConnectionStateLocked()
6402 if (mActiveRat != newRat) { in notePhoneDataConnectionStateLocked()
6404 mActiveRat = newRat; in notePhoneDataConnectionStateLocked()
6407 getRatBatteryStatsLocked(newRat).noteActive(modemActive, elapsedRealtimeMs); in notePhoneDataConnectionStateLocked()