Searched refs:txBytes (Results 1 – 9 of 9) sorted by relevance
/aosp14/frameworks/base/core/tests/benchmarks/src/android/net/ |
H A D | NetworkStatsBenchmark.java | 54 recycle.txBytes = 150000; in setUp() 70 recycle.txBytes = 180000 * mSize; in setUp()
|
/aosp14/frameworks/base/core/java/android/net/netstats/ |
H A D | NetworkStatsDataMigrationUtils.java | 366 final long[] txBytes; in readPlatformHistory() local 379 txBytes = readFullLongArray(in); in readPlatformHistory() 394 txBytes = readVarLongArray(in); in readPlatformHistory() 410 rxBytes[i], rxPackets[i], txBytes[i], txPackets[i], operations[i]); in readPlatformHistory()
|
/aosp14/frameworks/base/core/tests/bandwidthtests/src/com/android/bandwidthtest/ |
H A D | BandwidthTest.java | 333 totalStats.txBytes += statsEntry.txBytes; in addStatsToResults() 338 results.putLong(label + "tx", totalStats.txBytes); in addStatsToResults()
|
/aosp14/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/net/ |
H A D | NetworkCycleDataLoaderTest.java | 135 private NetworkStats.Bucket makeMockBucket(int uid, long rxBytes, long txBytes, in makeMockBucket() argument 140 when(ret.getTxBytes()).thenReturn(txBytes); in makeMockBucket()
|
/aosp14/frameworks/base/core/tests/utillib/src/android/test/ |
H A D | BandwidthTestCase.java | 150 bundle.putLong(REPORT_KEY_BYTES_SENT, entry.txBytes); in getBandwidthStats()
|
/aosp14/frameworks/base/services/tests/servicestests/src/com/android/server/power/stats/ |
H A D | WifiPowerCalculatorTest.java | 82 int txBytes, int txPackets) { in buildNetworkStats() argument 86 txBytes, txPackets, 100)) in buildNetworkStats()
|
H A D | BatteryStatsImplTest.java | 665 private UidTraffic createUidTraffic(int appUid, long rxBytes, long txBytes) { in createUidTraffic() argument 669 parcel.writeLong(txBytes); // mTxBytes in createUidTraffic()
|
/aosp14/frameworks/base/services/tests/servicestests/src/com/android/server/net/ |
H A D | NetworkPolicyManagerServiceTest.java | 391 private void setMockedTotalBytes(int uid, long rxBytes, long txBytes) { in setMockedTotalBytes() argument 395 when(bucket.getTxBytes()).thenReturn(txBytes); in setMockedTotalBytes() 399 private void increaseMockedTotalBytes(int uid, long rxBytes, long txBytes) { in increaseMockedTotalBytes() argument 401 setMockedTotalBytes(uid, bucket.getRxBytes() + rxBytes, bucket.getTxBytes() + txBytes); in increaseMockedTotalBytes()
|
/aosp14/frameworks/base/services/core/java/com/android/server/power/stats/ |
H A D | BatteryStatsImpl.java | 12843 final long txBytes = traffic.getTxBytes() - mLastBluetoothActivityInfo.uidTxBytes.get( in updateBluetoothStateLocked() local 12848 mNetworkByteActivityCounters[NETWORK_BT_TX_DATA].addCountLocked(txBytes); in updateBluetoothStateLocked() 12853 u.noteNetworkActivityLocked(NETWORK_BT_TX_DATA, txBytes, 0); in updateBluetoothStateLocked() 12857 totalTxBytes += txBytes; in updateBluetoothStateLocked() 12867 final long txBytes = in updateBluetoothStateLocked() local 12879 if (totalTxBytes > 0 && txBytes > 0) { in updateBluetoothStateLocked() 12880 final long timeTxMs = (leftOverTxTimeMs * txBytes) / totalTxBytes; in updateBluetoothStateLocked()
|