Home
last modified time | relevance | path

Searched refs:PRIVATE_SPACE_AUTO_LOCK (Results 1 – 4 of 4) sorted by relevance

/packages/apps/Settings/tests/unit/src/com/android/settings/privatespace/autolock/
DAutoLockSettingsFragmentTest.java19 import static android.provider.Settings.Secure.PRIVATE_SPACE_AUTO_LOCK;
73 Settings.Secure.PRIVATE_SPACE_AUTO_LOCK, in setup()
90 mContentResolver, Settings.Secure.PRIVATE_SPACE_AUTO_LOCK, mOriginalAutoLockValue); in tearDown()
132 PRIVATE_SPACE_AUTO_LOCK, in getDefaultKey_returnsStoredAutoLockOptionsValue()
137 mContentResolver, PRIVATE_SPACE_AUTO_LOCK, PRIVATE_SPACE_AUTO_LOCK_ON_DEVICE_LOCK); in getDefaultKey_returnsStoredAutoLockOptionsValue()
142 PRIVATE_SPACE_AUTO_LOCK, in getDefaultKey_returnsStoredAutoLockOptionsValue()
157 assertThat(Settings.Secure.getInt(mContentResolver, PRIVATE_SPACE_AUTO_LOCK, -1)) in setDefaultKey_storesCorrectAutoLockOptionValue()
161 assertThat(Settings.Secure.getInt(mContentResolver, PRIVATE_SPACE_AUTO_LOCK, -1)) in setDefaultKey_storesCorrectAutoLockOptionValue()
165 assertThat(Settings.Secure.getInt(mContentResolver, PRIVATE_SPACE_AUTO_LOCK, -1)) in setDefaultKey_storesCorrectAutoLockOptionValue()
DAutoLockPreferenceControllerTest.java60 Settings.Secure.PRIVATE_SPACE_AUTO_LOCK, in setUp()
67 mContentResolver, Settings.Secure.PRIVATE_SPACE_AUTO_LOCK, mOriginalAutoLockValue); in tearDown()
108 Settings.Secure.PRIVATE_SPACE_AUTO_LOCK, in getSummary_whenOptionEveryTimeDeviceLocks_returnsEveryTimeDeviceLocks()
127 Settings.Secure.PRIVATE_SPACE_AUTO_LOCK, in getSummary_whenOptionAfter5MinutesOfInactivity_returnsAfter5MinutesOfInactivity()
146 Settings.Secure.PRIVATE_SPACE_AUTO_LOCK, in getSummary_whenOptionAfterDeviceRestart_returnsOnlyAfterDeviceRestarts()
/packages/apps/Settings/src/com/android/settings/privatespace/
DPrivateSpaceMaintainer.java21 import static android.provider.Settings.Secure.PRIVATE_SPACE_AUTO_LOCK;
261 Settings.Secure.putInt(mContext.getContentResolver(), PRIVATE_SPACE_AUTO_LOCK, value); in setPrivateSpaceAutoLockSetting() local
279 PRIVATE_SPACE_AUTO_LOCK, in getPrivateSpaceAutoLockSetting()
/packages/apps/Settings/tests/unit/src/com/android/settings/privatespace/
DPrivateSpaceMaintainerTest.java20 import static android.provider.Settings.Secure.PRIVATE_SPACE_AUTO_LOCK;
336 mContentResolver, Settings.Secure.PRIVATE_SPACE_AUTO_LOCK, autoLockOption); in createPrivateSpace_psDoesNotExist_resetsPSAutoLockSettings()
342 assertThat(Settings.Secure.getInt(mContentResolver, PRIVATE_SPACE_AUTO_LOCK, -1)) in createPrivateSpace_psDoesNotExist_resetsPSAutoLockSettings()
363 Settings.Secure.PRIVATE_SPACE_AUTO_LOCK, in createPrivateSpace_psExists_doesNotResetPSAutoLockSettings()