Home
last modified time | relevance | path

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

/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/
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.java2164 mClock.getWallClockMillis() - WifiConfigManager.MAX_PNO_SCAN_FREQUENCY_AGE_MS + 1; in testRetrievePnoListFrequencies()
2166 mClock.getWallClockMillis() - WifiConfigManager.MAX_PNO_SCAN_FREQUENCY_AGE_MS; in testRetrievePnoListFrequencies()
2236 when(mClock.getWallClockMillis()).thenReturn(firstConnectionTimeMillis); in testRetrievePnoListPrefersLastConnectedNetwork()
2240 when(mClock.getWallClockMillis()).thenReturn(secondConnectionTimeMillis); in testRetrievePnoListPrefersLastConnectedNetwork()
2283 when(mClock.getWallClockMillis()).thenReturn(firstConnectionTimeMillis); in testRetrievePnoListPrefersLastConnectedNetworkThenMostConnectedNetworks()
2285 when(mClock.getWallClockMillis()).thenReturn(secondConnectionTimeMillis); in testRetrievePnoListPrefersLastConnectedNetworkThenMostConnectedNetworks()
2287 when(mClock.getWallClockMillis()).thenReturn(thirdConnectionTimeMillis); in testRetrievePnoListPrefersLastConnectedNetworkThenMostConnectedNetworks()
2291 when(mClock.getWallClockMillis()).thenReturn(fourthConnectionTimeMillis); in testRetrievePnoListPrefersLastConnectedNetworkThenMostConnectedNetworks()
2293 when(mClock.getWallClockMillis()).thenReturn(fifthConnectionTimeMillis); in testRetrievePnoListPrefersLastConnectedNetworkThenMostConnectedNetworks()
2297 when(mClock.getWallClockMillis()).thenReturn(sixthConnectionTimeMillis); in testRetrievePnoListPrefersLastConnectedNetworkThenMostConnectedNetworks()
[all …]
DDeletedEphemeralSsidsStoreDataTest.java180 when(mClock.getWallClockMillis()).thenReturn(currentTimeMs); in deserializeSsidToTimeMapFromSet()
DWifiScoreReportTest.java72 public long getWallClockMillis() { in getWallClockMillis() method in WifiScoreReportTest.FakeClock
DWifiScoreCardTest.java78 when(mClock.getWallClockMillis()).thenReturn(mMilliSecondsSinceBoot + 1_500_000_000_000L); in millisecondsPass()
DWifiNetworkSelectorTest.java707 selectedWifiConfig.configKey(), mClock.getWallClockMillis()); in setUserConnectChoice()
710 mClock.getWallClockMillis()); in setUserConnectChoice()
DCarrierNetworkNotifierTest.java447 when(mClock.getWallClockMillis()).thenReturn(DEFAULT_REPEAT_DELAY_SEC * 1000L * 2); in delaySet_delayPassed_shouldPostNotification()
DOpenNetworkNotifierTest.java444 when(mClock.getWallClockMillis()).thenReturn(DEFAULT_REPEAT_DELAY_SEC * 1000L * 2); in delaySet_delayPassed_shouldPostNotification()
DClientModeImplTest.java2600 when(mClock.getWallClockMillis()).thenReturn(startMillis + 0); in verifyConnectedModeRssiPolling()
2604 when(mClock.getWallClockMillis()).thenReturn(startMillis + 3333); in verifyConnectedModeRssiPolling()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
DWifiScoreReport.java103 long millis = mClock.getWallClockMillis(); in calculateAndReportScore()
200 long millis = mClock.getWallClockMillis(); in shouldCheckIpLayer()
233 long millis = mClock.getWallClockMillis(); in noteIpCheck()
DClock.java30 public long getWallClockMillis() { in getWallClockMillis() method in Clock
DConnectedScore.java61 return mClock.getWallClockMillis(); in getMillis()
DAvailableNetworkNotifier.java288 && mClock.getWallClockMillis() < mNotificationRepeatTime) { in handleScanResults()
415 mNotificationRepeatTime = mClock.getWallClockMillis() + mNotificationRepeatDelay; in postInitialNotification()
534 pw.println("currentTime: " + mClock.getWallClockMillis()); in dump()
DDeletedEphemeralSsidsStoreData.java81 mSsidToTimeMap.put(ssid, mClock.getWallClockMillis()); in deserializeData()
DWifiConfigManager.java1132 createDebugTimeStampString(mClock.getWallClockMillis()); in createNewInternalWifiConfigurationFromExternal()
1161 newInternalConfig.updateTime = createDebugTimeStampString(mClock.getWallClockMillis()); in updateExistingInternalWifiConfigurationFromExternal()
1650 + createDebugTimeStampString(mClock.getWallClockMillis())); in setNetworkSelectionStatus()
1915 config.lastConnected = mClock.getWallClockMillis(); in updateNetworkAfterConnect()
1942 config.lastDisconnected = mClock.getWallClockMillis(); in updateNetworkAfterDisconnect()
2634 long nowInMillis = mClock.getWallClockMillis(); in fetchChannelSetForNetworkForPartialScan()
2690 long nowInMillis = mClock.getWallClockMillis(); in fetchChannelSetForNetworkForPnoScan()
2801 long nowInMs = mClock.getWallClockMillis(); in wasEphemeralNetworkDeleted()
2835 mDeletedEphemeralSsidsToTimeMap.put(ssid, mClock.getWallClockMillis()); in disableEphemeralNetwork()
DClientModeImpl.java1252 long now = mClock.getWallClockMillis(); in reportOnTime()
1276 mLastLinkLayerStatsUpdate = mClock.getWallClockMillis(); in getWifiLinkLayerStats()
2324 now = mClock.getWallClockMillis(); in getLogRecString()
4252 mLastConnectAttemptTimestamp = mClock.getWallClockMillis(); in processMessage()
4318 mLastConnectAttemptTimestamp = mClock.getWallClockMillis(); in processMessage()
5794 mLastDriverRoamAttempt = mClock.getWallClockMillis(); in processMessage()
5805 lastRoam = mClock.getWallClockMillis() - mLastDriverRoamAttempt; in processMessage()
5854 mLastConnectAttemptTimestamp = mClock.getWallClockMillis(); in processMessage()
DWifiNetworkSelector.java563 long currentTime = mClock.getWallClockMillis(); in setLegacyUserConnectChoice()
DWifiDiagnostics.java604 long currentTime = mClock.getWallClockMillis(); in flushDump()
DWifiMetrics.java1084 mClock.getWallClockMillis(); in startConnectionEvent()
3831 mStaEventList.add(new StaEventWithTime(staEvent, mClock.getWallClockMillis())); in addStaEvent()
4305 mWifiIsUnusableList.add(new WifiIsUnusableWithTime(event, mClock.getWallClockMillis()));
/frameworks/base/cmds/statsd/src/
Dstats_log_util.h63 int64_t getWallClockMillis();
Dstats_log_util.cpp540 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()