Home
last modified time | relevance | path

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

/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/
DBssidBlocklistMonitorTest.java138 when(mClock.getWallClockMillis()).thenReturn(0L); in verifyAddMultipleBssidsToBlocklist()
141 when(mClock.getWallClockMillis()).thenReturn(1L); in verifyAddMultipleBssidsToBlocklist()
184 when(mClock.getWallClockMillis()).thenReturn(BASE_BLOCKLIST_DURATION); in testBssidIsRemovedFromBlocklistAfterTimeout()
190 when(mClock.getWallClockMillis()).thenReturn(BASE_BLOCKLIST_DURATION + 1); in testBssidIsRemovedFromBlocklistAfterTimeout()
204 when(mClock.getWallClockMillis()).thenReturn(BASE_LOW_RSSI_BLOCKLIST_DURATION); in testAssociationTimeoutAtLowRssi()
206 when(mClock.getWallClockMillis()).thenReturn(BASE_LOW_RSSI_BLOCKLIST_DURATION + 1); in testAssociationTimeoutAtLowRssi()
222 when(mClock.getWallClockMillis()).thenReturn(0L); in testBssidIsRemoveFromBlocklistAfterTimoutExponentialBackoff()
228 when(mClock.getWallClockMillis()).thenReturn(duration); in testBssidIsRemoveFromBlocklistAfterTimoutExponentialBackoff()
230 when(mClock.getWallClockMillis()).thenReturn(duration + 1); in testBssidIsRemoveFromBlocklistAfterTimoutExponentialBackoff()
239 when(mClock.getWallClockMillis()).thenReturn(0L); in testBssidIsRemoveFromBlocklistAfterTimoutExponentialBackoff()
[all …]
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());
DWifiConfigManagerTest.java2335 when(mClock.getWallClockMillis()).thenReturn(TEST_WALLCLOCK_CREATION_TIME_MILLIS in testRandomizedMacUpdateAndRestore()
2369 when(mClock.getWallClockMillis()).thenReturn(0L); in testUpdateRandomizedMacExpireTime()
2401 when(mClock.getWallClockMillis()).thenReturn(0L); in testRandomizedMacExpirationTimeUpdatedAtDisconnect()
2420 when(mClock.getWallClockMillis()).thenReturn(5000L); in testRandomizedMacExpirationTimeUpdatedAtDisconnect()
2443 when(mClock.getWallClockMillis()).thenReturn(TEST_WALLCLOCK_CREATION_TIME_MILLIS in testRandomizedMacIsNotUpdatedDueToTimeConstraint()
2784 when(mClock.getWallClockMillis()).thenReturn(currentTimeMs); in testHandleUserSwitchDoesNotChangeSharedNetworksId()
4631 when(mClock.getWallClockMillis()).thenReturn(currentTimeMs); in verifyExpiryOfTimeout()
4637 when(mClock.getWallClockMillis()).thenReturn(currentTimeMs); in verifyExpiryOfTimeout()
4645 when(mClock.getWallClockMillis()).thenReturn(currentTimeMs); in verifyExpiryOfTimeout()
4651 when(mClock.getWallClockMillis()).thenReturn(currentTimeMs); in verifyExpiryOfTimeout()
[all …]
DWifiHealthMonitorTest.java125 when(mClock.getWallClockMillis()).thenReturn(mMilliSecondsSinceBoot + 1_500_000_000_000L); in millisecondsPass()
437 when(mClock.getWallClockMillis()).thenReturn(currentWallClockTimeMs); in testTimerMultiDayRun()
477 when(mClock.getWallClockMillis()).thenReturn(currentWallClockTimeMs); in testTimerWith()
DWifiDiagnosticsTest.java902 when(mClock.getWallClockMillis()).thenReturn(10L);
906 when(mClock.getWallClockMillis()).thenReturn(BUG_REPORT_MIN_WINDOW_MS - 20L);
DOpenNetworkNotifierTest.java447 when(mClock.getWallClockMillis()).thenReturn(DEFAULT_REPEAT_DELAY_SEC * 1000L * 2); in delaySet_delayPassed_shouldPostNotification()
DWifiScoreReportTest.java78 public long getWallClockMillis() { in getWallClockMillis() method in WifiScoreReportTest.FakeClock
DClientModeImplTest.java2727 when(mClock.getWallClockMillis()).thenReturn(startMillis + 0); in verifyConnectedModeRssiPolling()
2731 when(mClock.getWallClockMillis()).thenReturn(startMillis + 3333); in verifyConnectedModeRssiPolling()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/util/
DMissingCounterTimerLockList.java125 mStartTimeStamp = mClock.getWallClockMillis(); in LockListEntry()
133 mStartTimeStamp = mClock.getWallClockMillis(); in onPresent()
146 mStartTimeStamp = mClock.getWallClockMillis(); in onAbsent()
150 return mCount == 0 && mStartTimeStamp + mExpiryMs < mClock.getWallClockMillis(); in isExpired()
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/util/
DMissingCounterTimerLockListTest.java74 when(mClock.getWallClockMillis()).thenReturn((long) 0); in testUpdateAndTimer()
81 when(mClock.getWallClockMillis()).thenReturn(BLOCKING_DURATION + 50); in testUpdateAndTimer()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
DBssidBlocklistMonitor.java231 && status.blocklistEndTimeMs - mClock.getWallClockMillis() > durationMs) { in blockBssidForDurationMs()
319 if (mClock.getWallClockMillis() - connectionTime in handleBssidConnectionFailure()
344 long connectionTime = mClock.getWallClockMillis(); in handleBssidConnectionSuccess()
472 long curTime = mClock.getWallClockMillis(); in updateAndGetBssidBlocklistInternal()
538 mCalendar.setTimeInMillis(mClock.getWallClockMillis()); in add()
596 blocklistStartTimeMs = mClock.getWallClockMillis(); in addToBlocklist()
DWifiScoreReport.java96 long millis = mClock.getWallClockMillis(); in notifyScoreUpdate()
309 long millis = mClock.getWallClockMillis(); in calculateAndReportScore()
434 long millis = mClock.getWallClockMillis(); in shouldCheckIpLayer()
470 long millis = mClock.getWallClockMillis(); in noteIpCheck()
626 long millis = mClock.getWallClockMillis(); in stopConnectedNetworkScorer()
DClock.java30 public long getWallClockMillis() { in getWallClockMillis() method in Clock
DConnectedScore.java61 return mClock.getWallClockMillis(); in getMillis()
DAvailableNetworkNotifier.java286 && mClock.getWallClockMillis() < mNotificationRepeatTime) { in handleScanResults()
413 mNotificationRepeatTime = mClock.getWallClockMillis() + mNotificationRepeatDelay; in postInitialNotification()
528 pw.println("currentTime: " + mClock.getWallClockMillis()); in dump()
DWifiDiagnostics.java311 long currentTime = mClock.getWallClockMillis(); in takeBugReport()
622 long currentTime = mClock.getWallClockMillis(); in flushDump()
DWifiConfigManager.java520 internalConfig.randomizedMacExpirationTimeMs = mClock.getWallClockMillis() in updateRandomizedMacExpireTime()
549 < mClock.getWallClockMillis(); in updateRandomizedMacIfNeeded()
1996 config.lastConnected = mClock.getWallClockMillis(); in updateNetworkAfterConnect()
2023 config.lastDisconnected = mClock.getWallClockMillis(); in updateNetworkAfterDisconnect()
3303 long nowInMillis = mClock.getWallClockMillis(); in findScanRssi()
DWifiHealthMonitor.java254 scanStats.setLastScanTimeMs(mClock.getWallClockMillis()); in handleScanResults()
272 long currTimeMs = mClock.getWallClockMillis(); in setFirstHealthDetectionAlarm()
DClientModeImpl.java1280 long now = mClock.getWallClockMillis(); in reportOnTime()
1304 mLastLinkLayerStatsUpdate = mClock.getWallClockMillis(); in getWifiLinkLayerStats()
2097 now = mClock.getWallClockMillis(); in getLogRecString()
3766 mLastConnectAttemptTimestamp = mClock.getWallClockMillis();
4066 mLastConnectAttemptTimestamp = mClock.getWallClockMillis();
5465 mLastDriverRoamAttempt = mClock.getWallClockMillis(); in processMessage()
5476 lastRoam = mClock.getWallClockMillis() - mLastDriverRoamAttempt; in processMessage()
5538 mLastConnectAttemptTimestamp = mClock.getWallClockMillis(); in processMessage()
DWifiMetrics.java764 mWallClockTimeMs = mClock.getWallClockMillis(); in UserActionEventWithTime()
772 mWallClockTimeMs = mClock.getWallClockMillis(); in UserActionEventWithTime()
1432 mClock.getWallClockMillis(); in startConnectionEvent()
4799 mStaEventList.add(new StaEventWithTime(staEvent, mClock.getWallClockMillis())); in addStaEvent()
5416 mWifiIsUnusableList.add(new WifiIsUnusableWithTime(event, mClock.getWallClockMillis()));
/frameworks/base/cmds/statsd/src/
Dstats_log_util.h71 int64_t getWallClockMillis();
Dstats_log_util.cpp570 int64_t getWallClockMillis() { in getWallClockMillis() function
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/p2p/
DWifiP2pMetrics.java335 mCurrentConnectionEvent.startTimeMillis = mClock.getWallClockMillis(); in startConnectionEvent()
399 mCurrentGroupEvent.startTimeMillis = mClock.getWallClockMillis(); in startGroupEvent()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/rtt/
DRttServiceImpl.java833 mLastRequestTimestamp = mClock.getWallClockMillis(); in startRanging()
1071 (int) (mClock.getWallClockMillis() - mLastRequestTimestamp)); in onRangingResults()
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/rtt/
DRttServiceImplTest.java270 doAnswer(clock).when(mockClock).getWallClockMillis(); in testRangingFlow()
337 doAnswer(clock).when(mockClock).getWallClockMillis(); in testRangingFlowUsingAwarePeerHandles()