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 | 1211 long lastConnectionTime = mAdbKeyStore.getLastConnectionTime(key); in logAdbConnectionChanged() local 1215 + ", lastConnectionTime = " + lastConnectionTime + ", authWindow = " in logAdbConnectionChanged() 1217 FrameworkStatsLog.write(FrameworkStatsLog.ADB_CONNECTION_CHANGED, lastConnectionTime, in logAdbConnectionChanged() 2288 long lastConnectionTime = getLastConnectionTime(key); in isKeyAuthorized() local 2289 if (lastConnectionTime == NO_PREVIOUS_CONNECTION) { in isKeyAuthorized() 2295 if (allowedConnectionTime == 0 || (System.currentTimeMillis() < (lastConnectionTime in isKeyAuthorized()
|