/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/ |
D | WifiBlocklistMonitorTest.java | 196 when(mClock.getWallClockMillis()).thenReturn(0L); in verifyAddMultipleBssidsToBlocklist() 200 when(mClock.getWallClockMillis()).thenReturn(1L); in verifyAddMultipleBssidsToBlocklist() 246 when(mClock.getWallClockMillis()).thenReturn(BASE_BLOCKLIST_DURATION); in testBssidIsRemovedFromBlocklistAfterTimeout() 252 when(mClock.getWallClockMillis()).thenReturn(BASE_BLOCKLIST_DURATION + 1); in testBssidIsRemovedFromBlocklistAfterTimeout() 263 when(mClock.getWallClockMillis()).thenReturn(BASE_BLOCKLIST_DURATION + 1); in testBssidRemovalUpdatesFirmwareConfiguration() 277 when(mClock.getWallClockMillis()).thenReturn(BASE_BLOCKLIST_DURATION + 1); in testBssidRemovalNotUpdateFirmwareConfiguration() 373 when(mClock.getWallClockMillis()).thenReturn(0L); in testBssidIsRemoveFromBlocklistAfterTimoutExponentialBackoff() 379 when(mClock.getWallClockMillis()).thenReturn(duration); in testBssidIsRemoveFromBlocklistAfterTimoutExponentialBackoff() 381 when(mClock.getWallClockMillis()).thenReturn(duration + 1); in testBssidIsRemoveFromBlocklistAfterTimoutExponentialBackoff() 390 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 | ScanDetailCacheTest.java | 98 when(mClock.getWallClockMillis()).thenReturn(millis); in setClockTime() 108 frequency, mClock.getUptimeSinceBootMillis(), mClock.getWallClockMillis()); in createScanDetailForNetwork()
|
D | WifiConfigManagerTest.java | 2359 when(mClock.getWallClockMillis()).thenReturn(TEST_WALLCLOCK_CREATION_TIME_MILLIS in testEnhancedMacRandomizationEvery24Hours() 2369 when(mClock.getWallClockMillis()).thenReturn(timeAfter24Hours); in testEnhancedMacRandomizationEvery24Hours() 2394 when(mClock.getWallClockMillis()).thenReturn(TEST_WALLCLOCK_CREATION_TIME_MILLIS in testRandomizedMacUpdateAndRestore() 2428 when(mClock.getWallClockMillis()).thenReturn(0L); in testUpdateRandomizedMacExpireTime() 2460 when(mClock.getWallClockMillis()).thenReturn(0L); in testRandomizedMacExpirationTimeUpdatedAtDisconnect() 2479 when(mClock.getWallClockMillis()).thenReturn(5000L); in testRandomizedMacExpirationTimeUpdatedAtDisconnect() 2502 when(mClock.getWallClockMillis()).thenReturn(TEST_WALLCLOCK_CREATION_TIME_MILLIS in testRandomizedMacIsNotUpdatedDueToTimeConstraint() 3065 when(mClock.getWallClockMillis()).thenReturn(currentTimeMs); in testHandleUserSwitchDoesNotChangeSharedNetworksId() 5055 when(mClock.getWallClockMillis()).thenReturn(currentTimeMs); in verifyExpiryOfTimeout() 5061 when(mClock.getWallClockMillis()).thenReturn(currentTimeMs); in verifyExpiryOfTimeout() [all …]
|
D | WifiHealthMonitorTest.java | 139 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()
|
D | NonCarrierMergedNetworksStatusTrackerTest.java | 55 when(mClock.getWallClockMillis()).thenReturn(millis); in setClockTime()
|
D | WifiDiagnosticsTest.java | 940 when(mClock.getWallClockMillis()).thenReturn(10L); 944 when(mClock.getWallClockMillis()).thenReturn(BUG_REPORT_MIN_WINDOW_MS - 20L);
|
D | OpenNetworkNotifierTest.java | 452 when(mClock.getWallClockMillis()).thenReturn(DEFAULT_REPEAT_DELAY_SEC * 1000L * 2); in delaySet_delayPassed_shouldPostNotification()
|
D | ClientModeImplTest.java | 2967 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()
|
D | WifiScoreReportTest.java | 82 public long getWallClockMillis() { in getWallClockMillis() method in WifiScoreReportTest.FakeClock
|
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/util/ |
D | MissingCounterTimerLockListTest.java | 75 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/ |
D | MissingCounterTimerLockList.java | 128 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/ |
D | WifiScoreReport.java | 133 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()
|
D | WifiBlocklistMonitor.java | 323 && 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()
|
D | AvailableNetworkNotifier.java | 294 && mClock.getWallClockMillis() < mNotificationRepeatTime) { in handleScanResults() 417 mNotificationRepeatTime = mClock.getWallClockMillis() + mNotificationRepeatDelay; in postInitialNotification() 540 pw.println("currentTime: " + mClock.getWallClockMillis()); in dump()
|
D | WifiConfigManager.java | 548 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();
|
D | Clock.java | 34 public long getWallClockMillis() { in getWallClockMillis() method in Clock
|
D | ConnectedScore.java | 64 return mClock.getWallClockMillis(); in getMillis()
|
D | WifiHealthMonitor.java | 282 scanStats.setLastScanTimeMs(mClock.getWallClockMillis()); in handleScanResults() 300 long currTimeMs = mClock.getWallClockMillis(); in setFirstHealthDetectionAlarm() 339 boolean isRecentlyConnected = (mClock.getWallClockMillis() - network.lastConnected) in dump()
|
D | WifiDiagnostics.java | 364 long currentTime = mClock.getWallClockMillis(); in takeBugReport() 677 long currentTime = mClock.getWallClockMillis(); in flushDump()
|
/packages/modules/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()
|
/packages/modules/StatsD/statsd/src/ |
D | stats_log_util.h | 71 int64_t getWallClockMillis();
|
D | stats_log_util.cpp | 577 int64_t getWallClockMillis() { in getWallClockMillis() function
|
/packages/modules/Wifi/service/java/com/android/server/wifi/rtt/ |
D | RttServiceImpl.java | 833 mLastRequestTimestamp = mClock.getWallClockMillis(); in startRanging() 1071 (int) (mClock.getWallClockMillis() - mLastRequestTimestamp)); in onRangingResults()
|
/packages/modules/Wifi/service/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()
|