Searched refs:lastConnectionTime (Results 1 – 2 of 2) sorted by relevance
/frameworks/base/services/tests/servicestests/src/com/android/server/adb/ |
D | AdbDebuggingManagerTest.java | 255 long lastConnectionTime = mKeyStore.getLastConnectionTime(TEST_KEY_1); in testLastConnectionTimeUpdatedByScheduledJob() local 265 lastConnectionTime, mKeyStore.getLastConnectionTime(TEST_KEY_1)); in testLastConnectionTimeUpdatedByScheduledJob() 285 long lastConnectionTime = mKeyStore.getLastConnectionTime(TEST_KEY_1); in testKeystorePersisted() local 298 + "connection time message", lastConnectionTime, in testKeystorePersisted() 371 long lastConnectionTime = mKeyStore.getLastConnectionTime(TEST_KEY_1); in testLastConnectionTimeCannotBeSetBack() local 378 lastConnectionTime, mKeyStore.getLastConnectionTime(TEST_KEY_1)); in testLastConnectionTimeCannotBeSetBack() 382 Math.max(0, lastConnectionTime - (mKeyStore.getAllowedConnectionTime() + 1))); in testLastConnectionTimeCannotBeSetBack() 386 lastConnectionTime, mKeyStore.getLastConnectionTime(TEST_KEY_1)); in testLastConnectionTimeCannotBeSetBack()
|
/frameworks/base/services/core/java/com/android/server/adb/ |
D | AdbDebuggingManager.java | 1295 long lastConnectionTime = mAdbKeyStore.getLastConnectionTime(key); in logAdbConnectionChanged() local 1299 + ", lastConnectionTime = " + lastConnectionTime + ", authWindow = " in logAdbConnectionChanged() 1301 FrameworkStatsLog.write(FrameworkStatsLog.ADB_CONNECTION_CHANGED, lastConnectionTime, in logAdbConnectionChanged() 2260 long lastConnectionTime = getLastConnectionTime(key); in isKeyAuthorized() local 2261 if (lastConnectionTime == NO_PREVIOUS_CONNECTION) { in isKeyAuthorized() 2268 || (mTicker.currentTimeMillis() < (lastConnectionTime + allowedConnectionTime)); in isKeyAuthorized()
|