/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/ |
D | WifiBlocklistMonitorTest.java | 279 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 …]
|
D | VelocityBasedConnectedScoreTest.java | 49 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());
|
D | SelfRecoveryTest.java | 340 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()
|
D | ScanDetailCacheTest.java | 98 when(mClock.getWallClockMillis()).thenReturn(millis); in setClockTime() 108 frequency, mClock.getUptimeSinceBootMillis(), mClock.getWallClockMillis()); in createScanDetailForNetwork()
|
D | AfcManagerTest.java | 305 when(mClock.getWallClockMillis()).thenReturn(AfcServerResponse in testQueryAfterExpiredTime() 313 when(mClock.getWallClockMillis()).thenReturn(AfcServerResponse in testQueryAfterExpiredTime() 338 when(mClock.getWallClockMillis()).thenReturn(AfcServerResponse in testQueryAfterLocationChange()
|
D | WifiConfigManagerTest.java | 2683 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 …]
|
D | NonCarrierMergedNetworksStatusTrackerTest.java | 55 when(mClock.getWallClockMillis()).thenReturn(millis); in setClockTime()
|
D | WifiHealthMonitorTest.java | 144 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/ |
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 | SelfRecovery.java | 155 mLastSelfRecoveryTimeStampMillis = mClock.getWallClockMillis(); in onSubsystemRestart() 196 mLastSelfRecoveryTimeStampMillis = mClock.getWallClockMillis(); in trigger() 309 return (mClock.getWallClockMillis() - mLastSelfRecoveryTimeStampMillis); in getTimeElapsedFromLastTrigger()
|
D | WifiPseudonymManager.java | 228 && (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()
|
D | BackupRestoreController.java | 89 mLastBackupDataRetrievedTimestamp = mClock.getWallClockMillis(); in retrieveBackupData() 139 mLastBackupDataRestoredTimestamp = mClock.getWallClockMillis(); in parserBackupDataAndDispatch()
|
D | WifiCountryCode.java | 344 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()
|
D | WifiScoreReport.java | 148 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()
|
D | Clock.java | 34 public long getWallClockMillis() { in getWallClockMillis() method in Clock
|
D | AvailableNetworkNotifier.java | 310 && mClock.getWallClockMillis() < mNotificationRepeatTime) { in handleScanResults() 433 mNotificationRepeatTime = mClock.getWallClockMillis() + mNotificationRepeatDelay; in postInitialNotification() 558 pw.println("currentTime: " + mClock.getWallClockMillis()); in dump()
|
D | ConnectedScore.java | 81 return mClock.getWallClockMillis(); in getMillis()
|
D | WifiBlocklistMonitor.java | 412 && 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()
|
D | WifiDiagnostics.java | 362 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()
|
D | WifiConfigManager.java | 609 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();
|
D | WifiHealthMonitor.java | 285 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/ |
D | stats_log_util.h | 72 int64_t getWallClockMillis();
|
/packages/modules/Uwb/service/java/com/android/server/uwb/ |
D | UwbMetrics.java | 80 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/ |
D | WifiP2pMetrics.java | 427 mCurrentConnectionEvent.startTimeMillis = mClock.getWallClockMillis(); in startConnectionEvent() 665 mCurrentGroupEvent.startTimeMillis = mClock.getWallClockMillis(); in startGroupEvent()
|