Home
last modified time | relevance | path

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

12

/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/
DWifiBlocklistMonitorTest.java279 when(mClock.getWallClockMillis()).thenReturn(0L); in verifyAddMultipleBssidsToBlocklist()
285 when(mClock.getWallClockMillis()).thenReturn(1L); in verifyAddMultipleBssidsToBlocklist()
332 when(mClock.getWallClockMillis()).thenReturn(BASE_BLOCKLIST_DURATION); in testBssidIsRemovedFromBlocklistAfterTimeout()
338 when(mClock.getWallClockMillis()).thenReturn(BASE_BLOCKLIST_DURATION + 1); in testBssidIsRemovedFromBlocklistAfterTimeout()
349 when(mClock.getWallClockMillis()).thenReturn(BASE_BLOCKLIST_DURATION + 1); in testBssidRemovalUpdatesFirmwareConfiguration()
363 when(mClock.getWallClockMillis()).thenReturn(BASE_BLOCKLIST_DURATION + 1); in testBssidRemovalNotUpdateFirmwareConfiguration()
459 when(mClock.getWallClockMillis()).thenReturn(0L); in testBssidIsRemoveFromBlocklistAfterTimeoutExponentialBackoff()
465 when(mClock.getWallClockMillis()).thenReturn(duration); in testBssidIsRemoveFromBlocklistAfterTimeoutExponentialBackoff()
467 when(mClock.getWallClockMillis()).thenReturn(duration + 1); in testBssidIsRemoveFromBlocklistAfterTimeoutExponentialBackoff()
476 when(mClock.getWallClockMillis()).thenReturn(0L); in testBssidIsRemoveFromBlocklistAfterTimeoutExponentialBackoff()
[all …]
DVelocityBasedConnectedScoreTest.java49 public long getWallClockMillis() { in getWallClockMillis() method in VelocityBasedConnectedScoreTest.FakeClock
123 mClock.getWallClockMillis()); in allowLowRssiIfErrorRateIsLowAndSomeDataIsMoving()
129 mVelocityBasedConnectedScore.updateUsingWifiInfo(mWifiInfo, mClock.getWallClockMillis()); in allowLowRssiIfErrorRateIsLowAndSomeDataIsMoving()
149 mClock.getWallClockMillis());
DSelfRecoveryTest.java340 when(mClock.getWallClockMillis()).thenReturn(10000L); in testSelfRecoveryTriggeredMetrics()
347 when(mClock.getWallClockMillis()).thenReturn(20000L); in testSelfRecoveryTriggeredMetrics()
355 when(mClock.getWallClockMillis()).thenReturn(40000L); in testSelfRecoveryTriggeredMetrics()
363 when(mClock.getWallClockMillis()).thenReturn(70000L); in testSelfRecoveryTriggeredMetrics()
370 when(mClock.getWallClockMillis()).thenReturn(80000L); in testSelfRecoveryTriggeredMetrics()
377 when(mClock.getWallClockMillis()).thenReturn(100000L); in testSelfRecoveryTriggeredMetrics()
387 when(mClock.getWallClockMillis()).thenReturn(160000L); in testSelfRecoveryTriggeredMetrics()
DScanDetailCacheTest.java98 when(mClock.getWallClockMillis()).thenReturn(millis); in setClockTime()
108 frequency, mClock.getUptimeSinceBootMillis(), mClock.getWallClockMillis()); in createScanDetailForNetwork()
DAfcManagerTest.java305 when(mClock.getWallClockMillis()).thenReturn(AfcServerResponse in testQueryAfterExpiredTime()
313 when(mClock.getWallClockMillis()).thenReturn(AfcServerResponse in testQueryAfterExpiredTime()
338 when(mClock.getWallClockMillis()).thenReturn(AfcServerResponse in testQueryAfterLocationChange()
DWifiConfigManagerTest.java2683 when(mClock.getWallClockMillis()).thenReturn(TEST_WALLCLOCK_CREATION_TIME_MILLIS in testNonPersistentMacRandomizationEvery24Hours()
2695 when(mClock.getWallClockMillis()).thenReturn(timeAfter24Hours); in testNonPersistentMacRandomizationEvery24Hours()
2732 when(mClock.getWallClockMillis()).thenReturn(TEST_WALLCLOCK_CREATION_TIME_MILLIS in testRandomizedMacUpdateAndRestore()
2793 when(mClock.getWallClockMillis()).thenReturn(0L); in testUpdateRandomizedMacExpireTime()
2826 when(mClock.getWallClockMillis()).thenReturn(0L); in testRandomizedMacExpirationTimeUpdatedAtDisconnect()
2845 when(mClock.getWallClockMillis()).thenReturn(5000L); in testRandomizedMacExpirationTimeUpdatedAtDisconnect()
2868 when(mClock.getWallClockMillis()).thenReturn(TEST_WALLCLOCK_CREATION_TIME_MILLIS in testRandomizedMacIsNotUpdatedDueToTimeConstraint()
3504 when(mClock.getWallClockMillis()).thenReturn(currentTimeMs); in testHandleUserSwitchDoesNotChangeSharedNetworksId()
5523 when(mClock.getWallClockMillis()).thenReturn(currentTimeMs); in verifyExpiryOfTimeout()
5529 when(mClock.getWallClockMillis()).thenReturn(currentTimeMs); in verifyExpiryOfTimeout()
[all …]
DNonCarrierMergedNetworksStatusTrackerTest.java55 when(mClock.getWallClockMillis()).thenReturn(millis); in setClockTime()
DWifiHealthMonitorTest.java144 when(mClock.getWallClockMillis()).thenReturn(mMilliSecondsSinceBoot + 1_500_000_000_000L); in millisecondsPass()
490 when(mClock.getWallClockMillis()).thenReturn(currentWallClockTimeMs); in testTimerMultiDayRun()
530 when(mClock.getWallClockMillis()).thenReturn(currentWallClockTimeMs); in testTimerWith()
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/util/
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()
/packages/modules/Wifi/service/java/com/android/server/wifi/util/
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()
/packages/modules/Wifi/service/java/com/android/server/wifi/
DSelfRecovery.java155 mLastSelfRecoveryTimeStampMillis = mClock.getWallClockMillis(); in onSubsystemRestart()
196 mLastSelfRecoveryTimeStampMillis = mClock.getWallClockMillis(); in trigger()
309 return (mClock.getWallClockMillis() - mLastSelfRecoveryTimeStampMillis); in getTimeElapsedFromLastTrigger()
DWifiPseudonymManager.java228 && (mClock.getWallClockMillis() - timeStamp >= SEVEN_DAYS_IN_MILLIS)) { in retrievePseudonymOnFailureTimeoutExpired()
398 mClock.getWallClockMillis() + delayMillis, in scheduleToRetrieveDelayed()
408 mLastFailureTimestampArray.put(carrierId, mClock.getWallClockMillis()); in scheduleToRetrieveDelayed()
521 mLastFailureTimestampArray.put(carrierId, mClock.getWallClockMillis()); in onFailure()
DBackupRestoreController.java89 mLastBackupDataRetrievedTimestamp = mClock.getWallClockMillis(); in retrieveBackupData()
139 mLastBackupDataRestoredTimestamp = mClock.getWallClockMillis(); in parserBackupDataAndDispatch()
DWifiCountryCode.java344 mAllCmmReadyTimestamp = FORMATTER.format(new Date(mClock.getWallClockMillis())); in evaluateAllCmmStateAndApplyIfAllReady()
382 mTelephonyCountryTimestamp = FORMATTER.format(new Date(mClock.getWallClockMillis())); in setTelephonyCountryCode()
449 mFrameworkCountryCodeUpdatedTimestamp = mClock.getWallClockMillis(); in updateCountryCodeFromScanResults()
747 mDriverCountryCodeUpdatedTimestamp = mClock.getWallClockMillis(); in handleCountryCodeChanged()
DWifiScoreReport.java148 long millis = mClock.getWallClockMillis(); in notifyScoreUpdate()
386 long millis = mClock.getWallClockMillis(); in reportNetworkScoreToConnectivityServiceIfNecessary()
648 long millis = mClock.getWallClockMillis(); in calculateAndReportScore()
791 long millis = mClock.getWallClockMillis(); in shouldCheckIpLayer()
838 long millis = mClock.getWallClockMillis(); in noteIpCheck()
1108 long millis = mClock.getWallClockMillis(); in stopConnectedNetworkScorer()
DClock.java34 public long getWallClockMillis() { in getWallClockMillis() method in Clock
DAvailableNetworkNotifier.java310 && mClock.getWallClockMillis() < mNotificationRepeatTime) { in handleScanResults()
433 mNotificationRepeatTime = mClock.getWallClockMillis() + mNotificationRepeatDelay; in postInitialNotification()
558 pw.println("currentTime: " + mClock.getWallClockMillis()); in dump()
DConnectedScore.java81 return mClock.getWallClockMillis(); in getMillis()
DWifiBlocklistMonitor.java412 && status.blocklistEndTimeMs - mClock.getWallClockMillis() > durationMs) { in blockBssidForDurationMs()
564 if (mClock.getWallClockMillis() - connectionTime in handleBssidConnectionFailure()
617 long connectionTime = mClock.getWallClockMillis(); in resetFailuresAfterConnection()
876 long curTime = mClock.getWallClockMillis(); in updateAndGetBssidBlocklistInternal()
1010 c.setTimeInMillis(mClock.getWallClockMillis()); in createStringBuilderWithLogTime()
1077 blocklistStartTimeMs = mClock.getWallClockMillis(); in setAsBlocked()
DWifiDiagnostics.java362 mLastBugReportTime = mClock.getWallClockMillis(); in takeBugReportThroughBugreportManager()
665 long currentTime = mClock.getWallClockMillis(); in flushDump()
1018 mLastBugReportTime = mClock.getWallClockMillis(); in takeBugreportThroughBetterBug()
1027 long currentTimeMs = mClock.getWallClockMillis(); in shouldTakeBugreport()
DWifiConfigManager.java609 internalConfig.randomizedMacExpirationTimeMs = mClock.getWallClockMillis() in updateRandomizedMacExpireTime()
615 config.randomizedMacLastModifiedTimeMs = mClock.getWallClockMillis(); in setRandomizedMacAddress()
643 < mClock.getWallClockMillis() || mClock.getWallClockMillis() in updateRandomizedMacIfNeeded()
1354 newInternalConfig.lastUpdated = mClock.getWallClockMillis(); in createNewInternalWifiConfigurationFromExternal()
1383 newInternalConfig.lastUpdated = mClock.getWallClockMillis(); in updateExistingInternalWifiConfigurationFromExternal()
2444 config.lastConnected = mClock.getWallClockMillis(); in updateNetworkAfterConnect()
2486 config.lastDisconnected = mClock.getWallClockMillis(); in updateNetworkAfterDisconnect()
3233 if (mClock.getWallClockMillis() - scanResult.seen in startRestrictingAutoJoinToSubscriptionId()
4021 long nowInMillis = mClock.getWallClockMillis(); in findScanRssi()
4148 long timeNowMs = mClock.getWallClockMillis();
DWifiHealthMonitor.java285 scanStats.setLastScanTimeMs(mClock.getWallClockMillis()); in handleScanResults()
303 long currTimeMs = mClock.getWallClockMillis(); in setFirstHealthDetectionAlarm()
342 boolean isRecentlyConnected = (mClock.getWallClockMillis() - network.lastConnected) in dump()
/packages/modules/StatsD/statsd/src/
Dstats_log_util.h72 int64_t getWallClockMillis();
/packages/modules/Uwb/service/java/com/android/server/uwb/
DUwbMetrics.java80 mInitTimeWallClockMs = mUwbInjector.getWallClockMillis(); in UwbStateChangeInfo()
137 mInitTimeWallClockMs = mUwbInjector.getWallClockMillis(); in RangingSessionStats()
298 private long mWallClockMillis = mUwbInjector.getWallClockMillis();;
/packages/modules/Wifi/service/java/com/android/server/wifi/p2p/
DWifiP2pMetrics.java427 mCurrentConnectionEvent.startTimeMillis = mClock.getWallClockMillis(); in startConnectionEvent()
665 mCurrentGroupEvent.startTimeMillis = mClock.getWallClockMillis(); in startGroupEvent()

12