Home
last modified time | relevance | path

Searched refs:connectionTime (Results 1 – 3 of 3) sorted by relevance

/frameworks/base/services/tests/servicestests/src/com/android/server/adb/
DAdbDebuggingManagerTest.java114 private void setAllowedConnectionTime(long connectionTime) { in setAllowedConnectionTime() argument
116 Settings.Global.ADB_ALLOWED_CONNECTION_TIME, connectionTime); in setAllowedConnectionTime() local
519 long connectionTime = mKeyStore.getLastConnectionTime(TEST_KEY_1); in testConnectionTimeUpdatedWithConnectedKeyMessage() local
527 connectionTime, mKeyStore.getLastConnectionTime(TEST_KEY_1)); in testConnectionTimeUpdatedWithConnectedKeyMessage()
530 connectionTime = mKeyStore.getLastConnectionTime(TEST_KEY_1); in testConnectionTimeUpdatedWithConnectedKeyMessage()
536 connectionTime, mKeyStore.getLastConnectionTime(TEST_KEY_1)); in testConnectionTimeUpdatedWithConnectedKeyMessage()
539 connectionTime = mKeyStore.getLastConnectionTime(TEST_KEY_1); in testConnectionTimeUpdatedWithConnectedKeyMessage()
545 connectionTime, mKeyStore.getLastConnectionTime(TEST_KEY_1)); in testConnectionTimeUpdatedWithConnectedKeyMessage()
629 long connectionTime = adbKeyStore.getLastConnectionTime(key); in testUntrackedUserKeysAddedToKeystore() local
630 if (Math.abs(connectionTime - connectionTime) > epsilon) { in testUntrackedUserKeysAddedToKeystore()
[all …]
/frameworks/base/services/core/java/com/android/server/adb/
DAdbDebuggingManager.java1956 long connectionTime; in getKeyMap() local
1958 connectionTime = Long.valueOf( in getKeyMap()
1967 keyMap.put(key, connectionTime); in getKeyMap()
2011 long connectionTime; in getKeyMapBeforeKeystoreVersion() local
2013 connectionTime = Long.valueOf( in getKeyMapBeforeKeystoreVersion()
2022 keyMap.put(key, connectionTime); in getKeyMapBeforeKeystoreVersion()
2171 long connectionTime = keyEntry.getValue(); in filterOutOldKeys() local
2172 if (allowedTime != 0 && systemTime > (connectionTime + allowedTime)) { in filterOutOldKeys()
2200 long connectionTime = keyEntry.getValue(); in getNextExpirationTime() local
2203 long keyExpiration = Math.max(0, (connectionTime + allowedTime) - systemTime); in getNextExpirationTime()
[all …]
/frameworks/base/core/tests/ConnectivityManagerTest/src/com/android/connectivitymanagertest/stress/
DWifiStressTest.java279 long connectionTime = SystemClock.uptimeMillis() - startTime; in testWifiReconnectionAfterSleep() local
280 sum += connectionTime; in testWifiReconnectionAfterSleep()