Home
last modified time | relevance | path

Searched refs:getElapsedRealtime (Results 1 – 15 of 15) sorted by relevance

/packages/modules/Connectivity/tests/unit/java/com/android/server/net/
DNetworkStatsServiceTest.java697 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/
DNetworkRequestStateInfo.java46 mNetworkRequestReceivedTime = mDependencies.getElapsedRealtime(); in NetworkRequestStateInfo()
63 mDependencies.getElapsedRealtime() - mNetworkRequestReceivedTime); in setNetworkRequestRemoved()
104 public long getElapsedRealtime() { in getElapsedRealtime() method in NetworkRequestStateInfo.Dependencies
DKeepaliveStatsTracker.java276 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()
DAutomaticOnOffKeepaliveTracker.java335 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/
DNetworkStatsUtils.kt29 if (compareTime && leftStats.getElapsedRealtime() != rightStats.getElapsedRealtime()) { in <lambda>()
/packages/modules/Connectivity/tests/unit/java/com/android/server/connectivity/
DNetworkRequestStateInfoTest.java62 Mockito.when(mDependencies.getElapsedRealtime()).thenReturn(nrStartTime); in testSetNetworkRequestRemoved()
67 Mockito.when(mDependencies.getElapsedRealtime()).thenReturn(nrEndTime); in testSetNetworkRequestRemoved()
DNetworkRequestStateStatsMetricsTest.java99 Mockito.when(mNRStateInfoDeps.getElapsedRealtime()).thenReturn(nrStartTime); in testNetworkRequestReceivedRemoved()
119 Mockito.when(mNRStateInfoDeps.getElapsedRealtime()).thenReturn(nrEndTime); in testNetworkRequestReceivedRemoved()
DAutomaticOnOffKeepaliveTrackerTest.java357 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()
DKeepaliveStatsTrackerTest.java254 doReturn(time).when(mDependencies).getElapsedRealtime(); in setElapsedRealtime()
/packages/modules/Connectivity/Tethering/tests/unit/src/com/android/networkstack/tethering/metrics/
DTetheringMetricsTest.java103 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/
DNetworkStatsFactory.java215 mPersistSnapshot.setElapsedRealtime(stats.getElapsedRealtime()); in readNetworkStatsDetail()
248 mTunAnd464xlatAdjustedStats.setElapsedRealtime(uidDetailStats.getElapsedRealtime()); in adjustForTunAnd464Xlat()
DNetworkStatsRecorder.java260 final long start = end - delta.getElapsedRealtime(); in recordSnapshotLocked()
DNetworkStatsService.java1882 networkLayer.getElapsedRealtime(), networkLayer.size());
/packages/modules/Connectivity/framework-t/src/android/net/
DNetworkStats.java774 public long getElapsedRealtime() { in getElapsedRealtime() method
/packages/modules/Connectivity/Tethering/apex/hiddenapi/
Dhiddenapi-max-target-o-low-priority.txt984 Landroid/net/NetworkStats;->getElapsedRealtime()J