/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/hotspot2/ |
D | ANQPRequestManagerTest.java | 165 when(mClock.getElapsedSinceBootMillis()).thenReturn(startTime); in requestANQPElementsWithPendingRequest() 171 when(mClock.getElapsedSinceBootMillis()).thenReturn(startTime + 1); in requestANQPElementsWithPendingRequest() 178 when(mClock.getElapsedSinceBootMillis()) in requestANQPElementsWithPendingRequest() 194 when(mClock.getElapsedSinceBootMillis()).thenReturn(startTime); in requestANQPElementsAfterRequestSendFailure() 200 when(mClock.getElapsedSinceBootMillis()).thenReturn(startTime); in requestANQPElementsAfterRequestSendFailure() 215 when(mClock.getElapsedSinceBootMillis()).thenReturn(startTime); in requestANQPElementsAfterRequestSucceeded() 224 when(mClock.getElapsedSinceBootMillis()).thenReturn(startTime + 1); in requestANQPElementsAfterRequestSucceeded() 240 when(mClock.getElapsedSinceBootMillis()).thenReturn(startTime); in requestANQPElementsAfterRequestFailed() 249 when(mClock.getElapsedSinceBootMillis()).thenReturn(startTime + 1); in requestANQPElementsAfterRequestFailed() 255 when(mClock.getElapsedSinceBootMillis()) in requestANQPElementsAfterRequestFailed() [all …]
|
D | AnqpCacheTest.java | 55 when(mClock.getElapsedSinceBootMillis()).thenReturn(0L); in setUp() 92 when(mClock.getElapsedSinceBootMillis()) in sweepRemoveExpiredEntry() 98 when(mClock.getElapsedSinceBootMillis()).thenReturn(ANQPData.DATA_LIFETIME_MILLISECONDS); in sweepRemoveExpiredEntry()
|
D | ANQPDataTest.java | 53 when(mClock.getElapsedSinceBootMillis()).thenReturn(0L); in setUp()
|
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/ |
D | ScanRequestProxyTest.java | 484 when(mClock.getElapsedSinceBootMillis()).thenReturn(firstRequestMs); in testSuccessiveScanRequestFromSameFgAppThrottled() 486 when(mClock.getElapsedSinceBootMillis()).thenReturn(firstRequestMs + i); in testSuccessiveScanRequestFromSameFgAppThrottled() 507 when(mClock.getElapsedSinceBootMillis()).thenReturn(firstRequestMs); in testSuccessiveScanRequestFromSameFgAppNotThrottled() 509 when(mClock.getElapsedSinceBootMillis()).thenReturn(firstRequestMs + i); in testSuccessiveScanRequestFromSameFgAppNotThrottled() 514 when(mClock.getElapsedSinceBootMillis()).thenReturn(lastRequestMs); in testSuccessiveScanRequestFromSameFgAppNotThrottled() 532 when(mClock.getElapsedSinceBootMillis()).thenReturn(firstRequestMs); in testSuccessiveScanRequestFromSameAppWithNetworkSettingsPermissionNotThrottled() 534 when(mClock.getElapsedSinceBootMillis()).thenReturn(firstRequestMs + i); in testSuccessiveScanRequestFromSameAppWithNetworkSettingsPermissionNotThrottled() 552 when(mClock.getElapsedSinceBootMillis()).thenReturn(firstRequestMs); in testSuccessiveScanRequestFromSameAppWithNetworkSetupWizardPermissionNotThrottled() 554 when(mClock.getElapsedSinceBootMillis()).thenReturn(firstRequestMs + i); in testSuccessiveScanRequestFromSameAppWithNetworkSetupWizardPermissionNotThrottled() 569 when(mClock.getElapsedSinceBootMillis()).thenReturn(firstRequestMs); in testSuccessiveScanRequestFromDifferentFgAppsNotThrottled() [all …]
|
D | WifiConnectivityManagerTest.java | 98 when(mClock.getElapsedSinceBootMillis()).thenReturn(SystemClock.elapsedRealtime()); in setUp() 450 when(mClock.getElapsedSinceBootMillis()).thenReturn(currentTimeStamp); in connectionAttemptRateLimitedWhenScreenOff() 458 when(mClock.getElapsedSinceBootMillis()).thenReturn(currentTimeStamp); in connectionAttemptRateLimitedWhenScreenOff() 489 when(mClock.getElapsedSinceBootMillis()).thenReturn(currentTimeStamp); in connectionAttemptNotRateLimitedWhenScreenOff() 497 when(mClock.getElapsedSinceBootMillis()).thenReturn( in connectionAttemptNotRateLimitedWhenScreenOff() 529 when(mClock.getElapsedSinceBootMillis()).thenReturn(currentTimeStamp); in connectionAttemptNotRateLimitedWhenScreenOffAfterUserSelection() 541 when(mClock.getElapsedSinceBootMillis()).thenReturn(currentTimeStamp); in connectionAttemptNotRateLimitedWhenScreenOffAfterUserSelection() 902 when(mClock.getElapsedSinceBootMillis()).thenReturn(currentTimeStamp); in checkPeriodicScanIntervalWhenDisconnected() 910 when(mClock.getElapsedSinceBootMillis()).thenReturn(currentTimeStamp); in checkPeriodicScanIntervalWhenDisconnected() 923 when(mClock.getElapsedSinceBootMillis()).thenReturn(currentTimeStamp); in checkPeriodicScanIntervalWhenDisconnected() [all …]
|
D | SelfRecoveryTest.java | 53 when(mClock.getElapsedSinceBootMillis()) in testValidTriggerReasonsSendMessageToWifiController() 89 when(mClock.getElapsedSinceBootMillis()).thenReturn(0L); in testTimeWindowLimiting_typicalUse() 135 when(mClock.getElapsedSinceBootMillis()) in testTimeWindowLimiting_typicalUse() 141 when(mClock.getElapsedSinceBootMillis()) in testTimeWindowLimiting_typicalUse()
|
D | WakeupLockTest.java | 57 when(mClock.getElapsedSinceBootMillis()).thenReturn(0L); in setUp() 119 when(mClock.getElapsedSinceBootMillis()) in verifyInitializingLockByTimeout() 276 when(mClock.getElapsedSinceBootMillis()) in unlockingShouldRecordEventInMetrics() 287 when(mClock.getElapsedSinceBootMillis()) in setLockAndInitializeByTimeout()
|
D | WifiNetworkSelectorTest.java | 74 when(mClock.getElapsedSinceBootMillis()).thenReturn(SystemClock.elapsedRealtime()); in setUp() 281 when(mClock.getElapsedSinceBootMillis()).thenReturn(SystemClock.elapsedRealtime() in verifyMinimumTimeGapWhenConnected() 322 when(mClock.getElapsedSinceBootMillis()).thenReturn(SystemClock.elapsedRealtime() in verifyNoMinimumTimeGapWhenDisconnected() 369 when(mClock.getElapsedSinceBootMillis()).thenReturn(SystemClock.elapsedRealtime() in openNetworkIsNotSufficient() 417 when(mClock.getElapsedSinceBootMillis()).thenReturn(SystemClock.elapsedRealtime() in lowRssi5GNetworkIsNotSufficient() 464 when(mClock.getElapsedSinceBootMillis()).thenReturn(SystemClock.elapsedRealtime() in noInternetAccessNetworkIsNotSufficient() 543 when(mClock.getElapsedSinceBootMillis()).thenReturn(SystemClock.elapsedRealtime() in noSelectionWhenCurrentNetworkNotInScanResults() 648 when(mClock.getElapsedSinceBootMillis()).thenReturn(SystemClock.elapsedRealtime() in userConnectChoiceOverridesNetworkEvaluators() 971 when(mClock.getElapsedSinceBootMillis()).thenReturn(SystemClock.elapsedRealtime() in testStayOrTryToSwitchImpl()
|
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/aware/ |
D | WifiAwareMetricsTest.java | 237 mClock.getElapsedSinceBootMillis())); in testAttachSessionMetrics() 243 mClock.getElapsedSinceBootMillis())); in testAttachSessionMetrics() 249 mClock.getElapsedSinceBootMillis())); in testAttachSessionMetrics() 255 mClock.getElapsedSinceBootMillis())); in testAttachSessionMetrics() 271 mClock.getElapsedSinceBootMillis())); in testAttachSessionMetrics() 316 false, mClock.getElapsedSinceBootMillis())); in testDiscoverySessionMetrics() 322 false, mClock.getElapsedSinceBootMillis())); in testDiscoverySessionMetrics() 328 true, mClock.getElapsedSinceBootMillis())); in testDiscoverySessionMetrics() 334 false, mClock.getElapsedSinceBootMillis())); in testDiscoverySessionMetrics() 340 false, mClock.getElapsedSinceBootMillis())); in testDiscoverySessionMetrics() [all …]
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/hotspot2/ |
D | AnqpCache.java | 46 mLastSweep = mClock.getElapsedSinceBootMillis(); in AnqpCache() 75 long now = mClock.getElapsedSinceBootMillis(); in sweep() 97 out.println("Last sweep " + Utils.toHMS(mClock.getElapsedSinceBootMillis() - mLastSweep) in dump()
|
D | ANQPData.java | 48 mExpiryTime = mClock.getElapsedSinceBootMillis() + DATA_LIFETIME_MILLISECONDS; in ANQPData() 74 long now = mClock.getElapsedSinceBootMillis(); in toString()
|
D | ANQPRequestManager.java | 161 long currentTime = mClock.getElapsedSinceBootMillis(); in canSendRequestNow() 183 info.holdOffExpirationTime = mClock.getElapsedSinceBootMillis() in updateHoldOffInfo()
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/ |
D | WifiConfigStore.java | 307 mClock.getElapsedSinceBootMillis() + BUFFERED_WRITE_ALARM_INTERVAL_MS, in startBufferedWriteAlarm() 330 long writeStartTime = mClock.getElapsedSinceBootMillis(); in writeBufferedData() 335 long writeTime = mClock.getElapsedSinceBootMillis() - writeStartTime; in writeBufferedData() 352 long readStartTime = mClock.getElapsedSinceBootMillis(); in read() 358 long readTime = mClock.getElapsedSinceBootMillis() - readStartTime; in read() 383 long readStartTime = mClock.getElapsedSinceBootMillis(); in switchUserStoreAndRead() 385 long readTime = mClock.getElapsedSinceBootMillis() - readStartTime; in switchUserStoreAndRead()
|
D | SelfRecovery.java | 94 mPastRestartTimes.add(mClock.getElapsedSinceBootMillis()); in trigger() 104 long now = mClock.getElapsedSinceBootMillis(); in trimPastRestartTimes()
|
D | Clock.java | 39 public long getElapsedSinceBootMillis() { in getElapsedSinceBootMillis() method in Clock
|
D | WifiConnectivityManager.java | 734 long elapsedTimeMillis = mClock.getElapsedSinceBootMillis(); in connectToNetwork() 836 long currentTimeStamp = mClock.getElapsedSinceBootMillis(); in startPeriodicSingleScan() 1000 mClock.getElapsedSinceBootMillis() + WATCHDOG_INTERVAL_MS, in scheduleWatchdogTimer() 1008 mClock.getElapsedSinceBootMillis() + intervalMs, in schedulePeriodicScanTimer() 1029 mClock.getElapsedSinceBootMillis() + RESTART_SCAN_DELAY_MS, in scheduleDelayedSingleScan() 1039 mClock.getElapsedSinceBootMillis() + msFromNow, in scheduleDelayedConnectivityScan() 1218 status.blacklistedTimeStamp = mClock.getElapsedSinceBootMillis(); in updateBssidBlacklist() 1335 Long currentTimeStamp = mClock.getElapsedSinceBootMillis(); in refreshBssidBlacklist()
|
D | WakeupLock.java | 71 mLockTimestamp = mClock.getElapsedSinceBootMillis(); in setLock() 238 maybeSetInitializedByTimeout(mClock.getElapsedSinceBootMillis()); in update()
|
D | ScanRequestProxy.java | 276 long currentTimeMillis = mClock.getElapsedSinceBootMillis(); in shouldScanRequestBeThrottledForForegroundApp() 292 long elapsedRealtime = mClock.getElapsedSinceBootMillis(); in shouldScanRequestBeThrottledForBackgroundApp()
|
D | WifiMetrics.java | 447 mRecordStartTimeSec = mClock.getElapsedSinceBootMillis() / 1000; in WifiMetrics() 642 mCurrentConnectionEvent.mRealStartTime = mClock.getElapsedSinceBootMillis(); in startConnectionEvent() 654 mScanResultRssiTimestampMillis = mClock.getElapsedSinceBootMillis(); in startConnectionEvent() 706 mCurrentConnectionEvent.mRealEndTime = mClock.getElapsedSinceBootMillis(); in endConnectionEvent() 1134 long timeDelta = mClock.getElapsedSinceBootMillis() - mScanResultRssiTimestampMillis; in maybeIncrementRssiDeltaCount() 1353 event.timeStampMillis = mClock.getElapsedSinceBootMillis(); in addSoftApConnectedClientsEvent() 1919 + ((mClock.getElapsedSinceBootMillis() / 1000) - mRecordStartTimeSec)); in dump() 2263 mWifiLogProto.recordDurationSec = (int) ((mClock.getElapsedSinceBootMillis() / 1000) in consolidateProto() 2495 mRecordStartTimeSec = mClock.getElapsedSinceBootMillis() / 1000; in clear() 2673 staEvent.startTimeMillis = mClock.getElapsedSinceBootMillis(); in addStaEvent()
|
D | WifiNetworkSelector.java | 217 long gap = mClock.getElapsedSinceBootMillis() in isNetworkSelectionNeeded() 570 mLastNetworkSelectionTimeStamp = mClock.getElapsedSinceBootMillis(); in selectNetwork()
|
D | WifiLastResortWatchdog.java | 227 mTimeLastTrigger = mClock.getElapsedSinceBootMillis(); in noteConnectionFailureAndTriggerIfNeeded() 255 long durationMs = mClock.getElapsedSinceBootMillis() - mTimeLastTrigger; in connectedStateTransition()
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/aware/ |
D | WifiAwareMetrics.java | 149 mLastEnableUsageMs = mClock.getElapsedSinceBootMillis(); in recordEnableUsage() 166 long now = mClock.getElapsedSinceBootMillis(); in recordDisableUsage() 183 mLastEnableAwareMs = mClock.getElapsedSinceBootMillis(); in recordEnableAware() 197 long now = mClock.getElapsedSinceBootMillis(); in recordDisableAware() 246 MetricsUtils.addValueToLogHistogram(mClock.getElapsedSinceBootMillis() - creationTime, in recordAttachSessionDuration() 373 MetricsUtils.addValueToLogHistogram(mClock.getElapsedSinceBootMillis() - creationTime, in recordDiscoverySessionDuration() 472 long creationTime = mClock.getElapsedSinceBootMillis() - startTimestamp; in recordNdpStatus() 491 MetricsUtils.addValueToLogHistogram(mClock.getElapsedSinceBootMillis() - creationTime, in recordNdpSessionDuration() 501 long now = mClock.getElapsedSinceBootMillis(); in consolidateProto() 596 long now = mClock.getElapsedSinceBootMillis(); in clear()
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/scanner/ |
D | WificondScannerImpl.java | 186 mClock.getElapsedSinceBootMillis(), in startSingleScan() 215 mClock.getElapsedSinceBootMillis() + SCAN_TIMEOUT_MS, in startSingleScan() 444 mClock.getElapsedSinceBootMillis(), in setHwPnoList() 478 long nowMs = mClock.getElapsedSinceBootMillis(); in dump()
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/rtt/ |
D | RttServiceImpl.java | 827 mClock.getElapsedSinceBootMillis() + HAL_RANGING_TIMEOUT_MS); in startRanging() 889 mClock.getElapsedSinceBootMillis() - mBackgroundProcessExecGapMs; in preExecThrottleCheck() 922 info.lastRangingExecuted = mClock.getElapsedSinceBootMillis(); in preExecThrottleCheck() 933 info.lastRangingExecuted = mClock.getElapsedSinceBootMillis(); in preExecThrottleCheck()
|
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/scanner/ |
D | BaseWifiScannerImplTest.java | 90 when(mClock.getElapsedSinceBootMillis()).thenReturn(SystemClock.elapsedRealtime()); in setUpBase() 424 long approxScanStartUs = mClock.getElapsedSinceBootMillis() * 1000; in singleScanWhereSupplicantReturnsSomeOldResults()
|