Home
last modified time | relevance | path

Searched refs:getWallClockMillis (Results 1 – 25 of 27) sorted by relevance

12

/aosp12/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/
H A DWifiBlocklistMonitorTest.java196 when(mClock.getWallClockMillis()).thenReturn(0L); in verifyAddMultipleBssidsToBlocklist()
200 when(mClock.getWallClockMillis()).thenReturn(1L); in verifyAddMultipleBssidsToBlocklist()
373 when(mClock.getWallClockMillis()).thenReturn(0L); in testBssidIsRemoveFromBlocklistAfterTimoutExponentialBackoff()
390 when(mClock.getWallClockMillis()).thenReturn(0L); in testBssidIsRemoveFromBlocklistAfterTimoutExponentialBackoff()
392 when(mClock.getWallClockMillis()).thenReturn(duration); in testBssidIsRemoveFromBlocklistAfterTimoutExponentialBackoff()
608 when(mClock.getWallClockMillis()).thenReturn(0L); in testIncrementingBlocklistStreakCount()
827 when(mClock.getWallClockMillis()).thenReturn(0L); in testBlockBssidForDurationMs()
853 when(mClock.getWallClockMillis()).thenReturn(0L); in testBlockBssidForDurationMsInvalidInputs()
887 when(mClock.getWallClockMillis()).thenReturn(0L); in testUnblockBssidAfterRssiImproves()
909 when(mClock.getWallClockMillis()).thenReturn(0L); in testBssidNotUnblockedIfRssiAlreadyGood()
[all …]
H A DVelocityBasedConnectedScoreTest.java49 public long getWallClockMillis() { in getWallClockMillis() method in VelocityBasedConnectedScoreTest.FakeClock
122 mClock.getWallClockMillis()); in allowLowRssiIfErrorRateIsLowAndSomeDataIsMoving()
128 mVelocityBasedConnectedScore.updateUsingWifiInfo(mWifiInfo, mClock.getWallClockMillis()); in allowLowRssiIfErrorRateIsLowAndSomeDataIsMoving()
148 mClock.getWallClockMillis());
H A DScanDetailCacheTest.java98 when(mClock.getWallClockMillis()).thenReturn(millis); in setClockTime()
108 frequency, mClock.getUptimeSinceBootMillis(), mClock.getWallClockMillis()); in createScanDetailForNetwork()
H A DWifiConfigManagerTest.java2428 when(mClock.getWallClockMillis()).thenReturn(0L); in testUpdateRandomizedMacExpireTime()
2460 when(mClock.getWallClockMillis()).thenReturn(0L); in testRandomizedMacExpirationTimeUpdatedAtDisconnect()
2479 when(mClock.getWallClockMillis()).thenReturn(5000L); in testRandomizedMacExpirationTimeUpdatedAtDisconnect()
3065 when(mClock.getWallClockMillis()).thenReturn(currentTimeMs); in testHandleUserSwitchDoesNotChangeSharedNetworksId()
5055 when(mClock.getWallClockMillis()).thenReturn(currentTimeMs); in verifyExpiryOfTimeout()
5061 when(mClock.getWallClockMillis()).thenReturn(currentTimeMs); in verifyExpiryOfTimeout()
5093 when(mClock.getWallClockMillis()).thenReturn(0L); in testMaxDisableDurationEnableDisabledNetwork()
5127 when(mClock.getWallClockMillis()).thenReturn(0L); in testStartTemporarilyDisablingAllNonCarrierMergedWifi()
5144 when(mClock.getWallClockMillis()).thenReturn( in testStartTemporarilyDisablingAllNonCarrierMergedWifi()
5166 when(mClock.getWallClockMillis()).thenReturn(0L); in testNoCellularDataEnabledNonCarrierMergedWifi()
[all …]
H A DNonCarrierMergedNetworksStatusTrackerTest.java55 when(mClock.getWallClockMillis()).thenReturn(millis); in setClockTime()
H A DWifiHealthMonitorTest.java139 when(mClock.getWallClockMillis()).thenReturn(mMilliSecondsSinceBoot + 1_500_000_000_000L); in millisecondsPass()
479 when(mClock.getWallClockMillis()).thenReturn(currentWallClockTimeMs); in testTimerMultiDayRun()
519 when(mClock.getWallClockMillis()).thenReturn(currentWallClockTimeMs); in testTimerWith()
H A DWifiDiagnosticsTest.java940 when(mClock.getWallClockMillis()).thenReturn(10L);
944 when(mClock.getWallClockMillis()).thenReturn(BUG_REPORT_MIN_WINDOW_MS - 20L);
H A DOpenNetworkNotifierTest.java452 when(mClock.getWallClockMillis()).thenReturn(DEFAULT_REPEAT_DELAY_SEC * 1000L * 2); in delaySet_delayPassed_shouldPostNotification()
H A DClientModeImplTest.java2967 when(mClock.getWallClockMillis()).thenReturn(startMillis + 0); in verifyConnectedModeRssiPolling()
2971 when(mClock.getWallClockMillis()).thenReturn(startMillis + 3333); in verifyConnectedModeRssiPolling()
3018 when(mClock.getWallClockMillis()).thenReturn(startMillis + 0); in verifyConnectedModeNetworkCapabilitiesBandwidthUpdate()
3023 when(mClock.getWallClockMillis()).thenReturn(startMillis + 3333); in verifyConnectedModeNetworkCapabilitiesBandwidthUpdate()
3036 when(mClock.getWallClockMillis()).thenReturn(startMillis + 3333); in verifyConnectedModeNetworkCapabilitiesBandwidthUpdate()
H A DWifiScoreReportTest.java82 public long getWallClockMillis() { in getWallClockMillis() method in WifiScoreReportTest.FakeClock
/aosp12/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/util/
H A DMissingCounterTimerLockListTest.java75 when(mClock.getWallClockMillis()).thenReturn((long) 0); in testUpdateAndTimer()
82 when(mClock.getWallClockMillis()).thenReturn(BLOCKING_DURATION + 50); in testUpdateAndTimer()
91 when(mClock.getWallClockMillis()).thenReturn((long) 0); in testMaxDisableDurationTimer()
97 when(mClock.getWallClockMillis()).thenReturn(MAX_DISABLE_DURATION); in testMaxDisableDurationTimer()
102 when(mClock.getWallClockMillis()).thenReturn(MAX_DISABLE_DURATION + 1); in testMaxDisableDurationTimer()
/aosp12/packages/modules/Wifi/service/java/com/android/server/wifi/util/
H A DMissingCounterTimerLockList.java128 mStartTimeStamp = mClock.getWallClockMillis(); in LockListEntry()
138 mStartTimeStamp = mClock.getWallClockMillis(); in onPresent()
151 mStartTimeStamp = mClock.getWallClockMillis(); in onAbsent()
155 long curTimeMs = mClock.getWallClockMillis(); in isExpired()
/aosp12/packages/modules/Wifi/service/java/com/android/server/wifi/
H A DWifiScoreReport.java133 long millis = mClock.getWallClockMillis(); in notifyScoreUpdate()
338 long millis = mClock.getWallClockMillis(); in reportNetworkScoreToConnectivityServiceIfNecessary()
551 long millis = mClock.getWallClockMillis(); in calculateAndReportScore()
680 long millis = mClock.getWallClockMillis(); in shouldCheckIpLayer()
727 long millis = mClock.getWallClockMillis(); in noteIpCheck()
928 long millis = mClock.getWallClockMillis(); in stopConnectedNetworkScorer()
H A DClock.java34 public long getWallClockMillis() { in getWallClockMillis() method in Clock
H A DConnectedScore.java64 return mClock.getWallClockMillis(); in getMillis()
H A DWifiBlocklistMonitor.java323 && status.blocklistEndTimeMs - mClock.getWallClockMillis() > durationMs) { in blockBssidForDurationMs()
434 if (mClock.getWallClockMillis() - connectionTime in handleBssidConnectionFailure()
472 long connectionTime = mClock.getWallClockMillis(); in handleBssidConnectionSuccess()
680 long curTime = mClock.getWallClockMillis(); in updateAndGetBssidBlocklistInternal()
797 calendar.setTimeInMillis(mClock.getWallClockMillis()); in createStringBuilderWithLogTime()
861 blocklistStartTimeMs = mClock.getWallClockMillis(); in setAsBlocked()
H A DAvailableNetworkNotifier.java294 && mClock.getWallClockMillis() < mNotificationRepeatTime) { in handleScanResults()
417 mNotificationRepeatTime = mClock.getWallClockMillis() + mNotificationRepeatDelay; in postInitialNotification()
540 pw.println("currentTime: " + mClock.getWallClockMillis()); in dump()
H A DWifiConfigManager.java548 internalConfig.randomizedMacExpirationTimeMs = mClock.getWallClockMillis() in updateRandomizedMacExpireTime()
554 config.randomizedMacLastModifiedTimeMs = mClock.getWallClockMillis(); in setRandomizedMacAddress()
582 < mClock.getWallClockMillis() || mClock.getWallClockMillis() in updateRandomizedMacIfNeeded()
1194 newInternalConfig.lastUpdated = mClock.getWallClockMillis(); in createNewInternalWifiConfigurationFromExternal()
1221 newInternalConfig.lastUpdated = mClock.getWallClockMillis(); in updateExistingInternalWifiConfigurationFromExternal()
2055 config.lastConnected = mClock.getWallClockMillis(); in updateNetworkAfterConnect()
2094 config.lastDisconnected = mClock.getWallClockMillis(); in updateNetworkAfterDisconnect()
2791 if (mClock.getWallClockMillis() - scanResult.seen in startRestrictingAutoJoinToSubscriptionId()
3532 long nowInMillis = mClock.getWallClockMillis(); in findScanRssi()
3657 long timeNowMs = mClock.getWallClockMillis();
H A DWifiHealthMonitor.java282 scanStats.setLastScanTimeMs(mClock.getWallClockMillis()); in handleScanResults()
300 long currTimeMs = mClock.getWallClockMillis(); in setFirstHealthDetectionAlarm()
339 boolean isRecentlyConnected = (mClock.getWallClockMillis() - network.lastConnected) in dump()
H A DWifiDiagnostics.java364 long currentTime = mClock.getWallClockMillis(); in takeBugReport()
677 long currentTime = mClock.getWallClockMillis(); in flushDump()
/aosp12/packages/modules/Wifi/service/java/com/android/server/wifi/p2p/
H A DWifiP2pMetrics.java335 mCurrentConnectionEvent.startTimeMillis = mClock.getWallClockMillis(); in startConnectionEvent()
399 mCurrentGroupEvent.startTimeMillis = mClock.getWallClockMillis(); in startGroupEvent()
/aosp12/packages/modules/StatsD/statsd/src/
H A Dstats_log_util.h71 int64_t getWallClockMillis();
H A Dstats_log_util.cpp577 int64_t getWallClockMillis() { in getWallClockMillis() function
/aosp12/packages/modules/Wifi/service/java/com/android/server/wifi/rtt/
H A DRttServiceImpl.java834 mLastRequestTimestamp = mClock.getWallClockMillis(); in startRanging()
1072 (int) (mClock.getWallClockMillis() - mLastRequestTimestamp)); in onRangingResults()
/aosp12/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/rtt/
H A DRttServiceImplTest.java270 doAnswer(clock).when(mockClock).getWallClockMillis(); in testRangingFlow()
337 doAnswer(clock).when(mockClock).getWallClockMillis(); in testRangingFlowUsingAwarePeerHandles()

12