Home
last modified time | relevance | path

Searched refs:connectionTime (Results 1 – 4 of 4) 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.java920 long connectionTime; in getKeyMap() local
922 connectionTime = Long.valueOf( in getKeyMap()
931 keyMap.put(key, connectionTime); in getKeyMap()
1016 long connectionTime = keyEntry.getValue(); in filterOutOldKeys() local
1017 if (allowedTime != 0 && systemTime > (connectionTime + allowedTime)) { in filterOutOldKeys()
1045 long connectionTime = keyEntry.getValue(); in getNextExpirationTime() local
1048 long keyExpiration = Math.max(0, (connectionTime + allowedTime) - systemTime); in getNextExpirationTime()
1079 public void setLastConnectionTime(String key, long connectionTime) { in setLastConnectionTime() argument
1080 setLastConnectionTime(key, connectionTime, false); in setLastConnectionTime()
1088 public void setLastConnectionTime(String key, long connectionTime, boolean force) { in setLastConnectionTime() argument
[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()
/frameworks/base/tools/aapt2/integration-tests/CommandTests/
Dandroid-28.jarMETA-INF/ META-INF/MANIFEST.MF javax/ javax/net/ javax/ ...