Searched refs:ratType (Results 1 – 5 of 5) sorted by relevance
/frameworks/base/services/core/java/com/android/server/stats/pull/netstats/ |
D | NetworkStatsExt.java | 41 public final int ratType; field in NetworkStatsExt 54 boolean slicedByTag, boolean slicedByMetered, int ratType, in NetworkStatsExt() argument 65 this.ratType = ratType; in NetworkStatsExt() 77 && ratType == other.ratType && Objects.equals(subInfo, other.subInfo) in hasSameSlicing()
|
/frameworks/base/core/java/com/android/internal/power/ |
D | ModemPowerProfile.java | 296 final int ratType; in parseActivePowerConstantsFromXml() local 299 ratType = getTypeFromAttribute(parser, ATTR_RAT, MODEM_RAT_TYPE_NAMES); in parseActivePowerConstantsFromXml() 300 if (ratType == MODEM_RAT_TYPE_NR) { in parseActivePowerConstantsFromXml() 321 final int rxKey = MODEM_DRAIN_TYPE_RX | ratType | nrfType; in parseActivePowerConstantsFromXml() 337 final int txKey = MODEM_DRAIN_TYPE_TX | modemTxLevel | ratType | nrfType; in parseActivePowerConstantsFromXml() 519 final int ratType = key & MODEM_RAT_TYPE_MASK; in keyToString() local 520 appendFieldToString(sb, "RAT", MODEM_RAT_TYPE_NAMES, ratType); in keyToString() 522 if (ratType == MODEM_RAT_TYPE_NR) { in keyToString()
|
/frameworks/base/core/java/android/net/netstats/ |
D | NetworkStatsDataMigrationUtils.java | 428 final int ratType = in.readInt(); in readPlatformNetworkIdentitySet() local 485 if (type == TYPE_MOBILE && ratType != NetworkTemplate.NETWORK_TYPE_ALL) { in readPlatformNetworkIdentitySet() 486 builder.setRatType(ratType); in readPlatformNetworkIdentitySet()
|
/frameworks/base/services/core/java/com/android/server/stats/pull/ |
D | StatsPullAtomService.java | 1344 item.slicedByFgbg, item.slicedByTag, item.slicedByMetered, item.ratType, in pullDataBytesTransferLocked() 1405 final boolean is5GNsa = statsExt.ratType == NetworkStatsManager.NETWORK_TYPE_5G_NSA; in addBytesTransferByTagAndMeteredAtoms() 1413 is5GNsa ? TelephonyManager.NETWORK_TYPE_LTE : statsExt.ratType)); in addBytesTransferByTagAndMeteredAtoms() 1424 final boolean is5GNsa = statsExt.ratType == NetworkStatsManager.NETWORK_TYPE_5G_NSA; in addDataUsageBytesTransferAtoms() 1426 final boolean isNR = is5GNsa || statsExt.ratType == TelephonyManager.NETWORK_TYPE_NR; in addDataUsageBytesTransferAtoms() 1433 is5GNsa ? TelephonyManager.NETWORK_TYPE_LTE : statsExt.ratType, in addDataUsageBytesTransferAtoms() 1573 for (final int ratType : getAllCollapsedRatTypes()) { in getDataUsageBytesTransferSnapshotForSub() 1577 .setRatType(ratType) in getDataUsageBytesTransferSnapshotForSub() 1584 /*slicedByTag=*/false, /*slicedByMetered=*/false, ratType, subInfo, in getDataUsageBytesTransferSnapshotForSub() 1599 for (final int ratType : ratTypes) { in getAllCollapsedRatTypes() [all …]
|
/frameworks/base/services/core/java/com/android/server/power/stats/ |
D | BatteryStatsImpl.java | 6277 final int ratType; in notePhoneSignalStrengthLocked() local 6280 ratType = RADIO_ACCESS_TECHNOLOGY_NR; in notePhoneSignalStrengthLocked() 6283 ratType = RADIO_ACCESS_TECHNOLOGY_LTE; in notePhoneSignalStrengthLocked() 6286 ratType = RADIO_ACCESS_TECHNOLOGY_OTHER; in notePhoneSignalStrengthLocked() 6292 if (perRatSignalStrength.get(ratType, -1) < level) { in notePhoneSignalStrengthLocked() 6293 perRatSignalStrength.put(ratType, level); in notePhoneSignalStrengthLocked()
|