Home
last modified time | relevance | path

Searched refs:DEFAULT_ADB_ALLOWED_CONNECTION_TIME (Results 1 – 5 of 5) sorted by relevance

/aosp12/packages/apps/Settings/tests/robotests/src/com/android/settings/development/
H A DAdbAuthorizationTimeoutPreferenceControllerTest.java68 Settings.Global.DEFAULT_ADB_ALLOWED_CONNECTION_TIME); in setUp()
101 assertEquals(Settings.Global.DEFAULT_ADB_ALLOWED_CONNECTION_TIME, authTimeout); in onPreferenceChange_enableAndDisableSetting_timeoutSetToDefault()
116 Settings.Global.DEFAULT_ADB_ALLOWED_CONNECTION_TIME); in updateState_timeoutSetToDefault_preferenceDisplayedDisabled()
130 assertEquals(Settings.Global.DEFAULT_ADB_ALLOWED_CONNECTION_TIME, authTimeout); in onDeveloperOptionsSwitchDisabled_preferenceAndTimeoutDisabled()
/aosp12/packages/apps/Settings/src/com/android/settings/development/
H A DAdbAuthorizationTimeoutPreferenceController.java51 Settings.Global.DEFAULT_ADB_ALLOWED_CONNECTION_TIME); in updateState()
73 authTimeout = Settings.Global.DEFAULT_ADB_ALLOWED_CONNECTION_TIME; in writeSetting()
/aosp12/frameworks/base/services/tests/servicestests/src/com/android/server/adb/
H A DAdbDebuggingManagerTest.java389 setAllowedConnectionTime(Settings.Global.DEFAULT_ADB_ALLOWED_CONNECTION_TIME); in testAdbKeyRemovedByScheduledJob()
450 setAllowedConnectionTime(Settings.Global.DEFAULT_ADB_ALLOWED_CONNECTION_TIME); in testKeystoreExpirationTimes()
461 if (Math.abs(expirationTime - Settings.Global.DEFAULT_ADB_ALLOWED_CONNECTION_TIME) in testKeystoreExpirationTimes()
465 + Settings.Global.DEFAULT_ADB_ALLOWED_CONNECTION_TIME); in testKeystoreExpirationTimes()
471 Settings.Global.DEFAULT_ADB_ALLOWED_CONNECTION_TIME); in testKeystoreExpirationTimes()
482 System.currentTimeMillis() - Settings.Global.DEFAULT_ADB_ALLOWED_CONNECTION_TIME in testKeystoreExpirationTimes()
563 setAllowedConnectionTime(Settings.Global.DEFAULT_ADB_ALLOWED_CONNECTION_TIME); in testClearAuthorizations()
628 setAllowedConnectionTime(Settings.Global.DEFAULT_ADB_ALLOWED_CONNECTION_TIME); in testUntrackedUserKeysAddedToKeystore()
/aosp12/frameworks/base/services/core/java/com/android/server/adb/
H A DAdbDebuggingManager.java2283 Settings.Global.DEFAULT_ADB_ALLOWED_CONNECTION_TIME); in getAllowedConnectionTime()
/aosp12/frameworks/base/core/java/android/provider/
H A DSettings.java13647 public static final long DEFAULT_ADB_ALLOWED_CONNECTION_TIME = 604800000; field in Settings.Global