/packages/modules/Connectivity/tests/unit/java/com/android/server/net/ |
D | NetworkStatsServiceTest.java | 697 mockNetworkStatsSummary(new NetworkStats(getElapsedRealtime(), 1) in incrementWifiStats() 780 mockNetworkStatsSummary(new NetworkStats(getElapsedRealtime(), 1) in testStatsRebootPersist() 782 mockNetworkStatsUidDetail(new NetworkStats(getElapsedRealtime(), 2) in testStatsRebootPersist() 851 mockNetworkStatsSummary(new NetworkStats(getElapsedRealtime(), 1) in testStatsBucketResize() 892 mockNetworkStatsSummary(new NetworkStats(getElapsedRealtime(), 1) in testUidStatsAcrossNetworks() 894 mockNetworkStatsUidDetail(new NetworkStats(getElapsedRealtime(), 3) in testUidStatsAcrossNetworks() 914 mockNetworkStatsSummary(new NetworkStats(getElapsedRealtime(), 1) in testUidStatsAcrossNetworks() 916 mockNetworkStatsUidDetail(new NetworkStats(getElapsedRealtime(), 3) in testUidStatsAcrossNetworks() 929 mockNetworkStatsSummary(new NetworkStats(getElapsedRealtime(), 1) in testUidStatsAcrossNetworks() 931 mockNetworkStatsUidDetail(new NetworkStats(getElapsedRealtime(), 1) in testUidStatsAcrossNetworks() [all …]
|
/packages/modules/Connectivity/service/src/com/android/server/connectivity/ |
D | NetworkRequestStateInfo.java | 46 mNetworkRequestReceivedTime = mDependencies.getElapsedRealtime(); in NetworkRequestStateInfo() 63 mDependencies.getElapsedRealtime() - mNetworkRequestReceivedTime); in setNetworkRequestRemoved() 104 public long getElapsedRealtime() { in getElapsedRealtime() method in NetworkRequestStateInfo.Dependencies
|
D | KeepaliveStatsTracker.java | 276 public long getElapsedRealtime() { in getElapsedRealtime() method in KeepaliveStatsTracker.Dependencies 330 mLastUpdateDurationsTimestamp = mDependencies.getElapsedRealtime(); in KeepaliveStatsTracker() 482 final long timeNow = mDependencies.getElapsedRealtime(); in onStartKeepalive() 506 final long timeNow = mDependencies.getElapsedRealtime(); in onKeepaliveActive() 560 final long timeNow = mDependencies.getElapsedRealtime(); in onStopKeepalive() 619 final long timeNow = mDependencies.getElapsedRealtime(); in buildKeepaliveMetrics() 677 final long timeNow = mDependencies.getElapsedRealtime(); in buildAndResetMetrics()
|
D | AutomaticOnOffKeepaliveTracker.java | 335 final long time = mDependencies.getElapsedRealtime(); in AutomaticOnOffKeepaliveTracker() 351 final long time = mDependencies.getElapsedRealtime(); in writeMetricsAndRescheduleAlarm() 364 mDependencies.getElapsedRealtime() + getTcpPollingIntervalMs(ki); in startTcpPollingAlarm() 979 public long getElapsedRealtime() { in getElapsedRealtime() method in AutomaticOnOffKeepaliveTracker.Dependencies
|
/packages/modules/Connectivity/staticlibs/testutils/devicetests/com/android/testutils/ |
D | NetworkStatsUtils.kt | 29 if (compareTime && leftStats.getElapsedRealtime() != rightStats.getElapsedRealtime()) { in <lambda>()
|
/packages/modules/Connectivity/tests/unit/java/com/android/server/connectivity/ |
D | NetworkRequestStateInfoTest.java | 62 Mockito.when(mDependencies.getElapsedRealtime()).thenReturn(nrStartTime); in testSetNetworkRequestRemoved() 67 Mockito.when(mDependencies.getElapsedRealtime()).thenReturn(nrEndTime); in testSetNetworkRequestRemoved()
|
D | NetworkRequestStateStatsMetricsTest.java | 99 Mockito.when(mNRStateInfoDeps.getElapsedRealtime()).thenReturn(nrStartTime); in testNetworkRequestReceivedRemoved() 119 Mockito.when(mNRStateInfoDeps.getElapsedRealtime()).thenReturn(nrEndTime); in testNetworkRequestReceivedRemoved()
|
D | AutomaticOnOffKeepaliveTrackerTest.java | 357 doReturn(0L).when(mDependencies).getElapsedRealtime(); in setup() 490 doReturn(time).when(mDependencies).getElapsedRealtime(); in testAlarm() 524 doReturn(METRICS_COLLECTION_DURATION_MS).when(mDependencies).getElapsedRealtime(); in testAlarm_writeMetrics()
|
D | KeepaliveStatsTrackerTest.java | 254 doReturn(time).when(mDependencies).getElapsedRealtime(); in setElapsedRealtime()
|
/packages/modules/Connectivity/Tethering/tests/unit/src/com/android/networkstack/tethering/metrics/ |
D | TetheringMetricsTest.java | 103 private long getElapsedRealtime() { in getElapsedRealtime() method in TetheringMetricsTest 174 upstreamEvents, getElapsedRealtime()); in runDownstreamTypesTest() 201 upstreamEvents, getElapsedRealtime()); in runErrorCodesTest() 243 upstreamEvents, getElapsedRealtime()); in runUserTypesTest() 268 UserType.USER_UNKNOWN, upstreamEvents, getElapsedRealtime()); in runUpstreamTypesTest()
|
/packages/modules/Connectivity/service-t/src/com/android/server/net/ |
D | NetworkStatsFactory.java | 215 mPersistSnapshot.setElapsedRealtime(stats.getElapsedRealtime()); in readNetworkStatsDetail() 248 mTunAnd464xlatAdjustedStats.setElapsedRealtime(uidDetailStats.getElapsedRealtime()); in adjustForTunAnd464Xlat()
|
D | NetworkStatsRecorder.java | 260 final long start = end - delta.getElapsedRealtime(); in recordSnapshotLocked()
|
D | NetworkStatsService.java | 1882 networkLayer.getElapsedRealtime(), networkLayer.size());
|
/packages/modules/Connectivity/framework-t/src/android/net/ |
D | NetworkStats.java | 774 public long getElapsedRealtime() { in getElapsedRealtime() method
|
/packages/modules/Connectivity/Tethering/apex/hiddenapi/ |
D | hiddenapi-max-target-o-low-priority.txt | 984 Landroid/net/NetworkStats;->getElapsedRealtime()J
|