/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/ |
D | BssidBlocklistMonitorTest.java | 138 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 …]
|
D | VelocityBasedConnectedScoreTest.java | 49 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());
|
D | WifiConfigManagerTest.java | 2335 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 …]
|
D | WifiHealthMonitorTest.java | 125 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()
|
D | WifiDiagnosticsTest.java | 902 when(mClock.getWallClockMillis()).thenReturn(10L); 906 when(mClock.getWallClockMillis()).thenReturn(BUG_REPORT_MIN_WINDOW_MS - 20L);
|
D | OpenNetworkNotifierTest.java | 447 when(mClock.getWallClockMillis()).thenReturn(DEFAULT_REPEAT_DELAY_SEC * 1000L * 2); in delaySet_delayPassed_shouldPostNotification()
|
D | WifiScoreReportTest.java | 78 public long getWallClockMillis() { in getWallClockMillis() method in WifiScoreReportTest.FakeClock
|
D | ClientModeImplTest.java | 2727 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/ |
D | MissingCounterTimerLockList.java | 125 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/ |
D | MissingCounterTimerLockListTest.java | 74 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/ |
D | BssidBlocklistMonitor.java | 231 && 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()
|
D | WifiScoreReport.java | 96 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()
|
D | Clock.java | 30 public long getWallClockMillis() { in getWallClockMillis() method in Clock
|
D | ConnectedScore.java | 61 return mClock.getWallClockMillis(); in getMillis()
|
D | AvailableNetworkNotifier.java | 286 && mClock.getWallClockMillis() < mNotificationRepeatTime) { in handleScanResults() 413 mNotificationRepeatTime = mClock.getWallClockMillis() + mNotificationRepeatDelay; in postInitialNotification() 528 pw.println("currentTime: " + mClock.getWallClockMillis()); in dump()
|
D | WifiDiagnostics.java | 311 long currentTime = mClock.getWallClockMillis(); in takeBugReport() 622 long currentTime = mClock.getWallClockMillis(); in flushDump()
|
D | WifiConfigManager.java | 520 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()
|
D | WifiHealthMonitor.java | 254 scanStats.setLastScanTimeMs(mClock.getWallClockMillis()); in handleScanResults() 272 long currTimeMs = mClock.getWallClockMillis(); in setFirstHealthDetectionAlarm()
|
D | ClientModeImpl.java | 1280 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()
|
D | WifiMetrics.java | 764 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/ |
D | stats_log_util.h | 71 int64_t getWallClockMillis();
|
D | stats_log_util.cpp | 570 int64_t getWallClockMillis() { in getWallClockMillis() function
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/p2p/ |
D | WifiP2pMetrics.java | 335 mCurrentConnectionEvent.startTimeMillis = mClock.getWallClockMillis(); in startConnectionEvent() 399 mCurrentGroupEvent.startTimeMillis = mClock.getWallClockMillis(); in startGroupEvent()
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/rtt/ |
D | RttServiceImpl.java | 833 mLastRequestTimestamp = mClock.getWallClockMillis(); in startRanging() 1071 (int) (mClock.getWallClockMillis() - mLastRequestTimestamp)); in onRangingResults()
|
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/rtt/ |
D | RttServiceImplTest.java | 270 doAnswer(clock).when(mockClock).getWallClockMillis(); in testRangingFlow() 337 doAnswer(clock).when(mockClock).getWallClockMillis(); in testRangingFlowUsingAwarePeerHandles()
|