Searched refs:lastConnectionTime (Results 1 – 2 of 2) sorted by relevance
/frameworks/base/services/tests/servicestests/src/com/android/server/adb/ |
D | AdbDebuggingManagerTest.java | 155 long lastConnectionTime = mKeyStore.getLastConnectionTime(TEST_KEY_1); in testDisconnectAlwaysAllowKey() local 166 lastConnectionTime, in testDisconnectAlwaysAllowKey() 237 long lastConnectionTime = mKeyStore.getLastConnectionTime(TEST_KEY_1); in testLastConnectionTimeUpdatedByScheduledJob() local 247 lastConnectionTime, mKeyStore.getLastConnectionTime(TEST_KEY_1)); in testLastConnectionTimeUpdatedByScheduledJob() 267 long lastConnectionTime = mKeyStore.getLastConnectionTime(TEST_KEY_1); in testKeystorePersisted() local 280 + "connection time message", lastConnectionTime, in testKeystorePersisted() 353 long lastConnectionTime = mKeyStore.getLastConnectionTime(TEST_KEY_1); in testLastConnectionTimeCannotBeSetBack() local 360 lastConnectionTime, mKeyStore.getLastConnectionTime(TEST_KEY_1)); in testLastConnectionTimeCannotBeSetBack() 364 Math.max(0, lastConnectionTime - (mKeyStore.getAllowedConnectionTime() + 1))); in testLastConnectionTimeCannotBeSetBack() 368 lastConnectionTime, mKeyStore.getLastConnectionTime(TEST_KEY_1)); in testLastConnectionTimeCannotBeSetBack()
|
/frameworks/base/services/core/java/com/android/server/adb/ |
D | AdbDebuggingManager.java | 1202 long lastConnectionTime = mAdbKeyStore.getLastConnectionTime(key); in logAdbConnectionChanged() local 1206 + ", lastConnectionTime = " + lastConnectionTime + ", authWindow = " in logAdbConnectionChanged() 1208 StatsLog.write(StatsLog.ADB_CONNECTION_CHANGED, lastConnectionTime, authWindow, state, in logAdbConnectionChanged() 2284 long lastConnectionTime = getLastConnectionTime(key); in isKeyAuthorized() local 2285 if (lastConnectionTime == NO_PREVIOUS_CONNECTION) { in isKeyAuthorized() 2291 if (allowedConnectionTime == 0 || (System.currentTimeMillis() < (lastConnectionTime in isKeyAuthorized()
|