Home
last modified time | relevance | path

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

/frameworks/base/services/tests/servicestests/src/com/android/server/am/
DCoreSettingsObserverTest.java61 private static final String TEST_SETTING_SECURE_INT = "secureInt"; field in CoreSettingsObserverTest
81 CoreSettingsObserver.sSecureSettingToTypeMap.put(TEST_SETTING_SECURE_INT, int.class); in setupOnce()
117 Settings.Secure.putInt(mContentResolver, TEST_SETTING_SECURE_INT, TEST_INT); in testPopulateSettings()
123 assertEquals("Unexpected value of " + TEST_SETTING_SECURE_INT, in testPopulateSettings()
124 TEST_INT, settingsBundle.getInt(TEST_SETTING_SECURE_INT)); in testPopulateSettings()
135 assertWithMessage("Bundle should not contain " + TEST_SETTING_SECURE_INT) in testPopulateSettings_settingNotSet()
136 .that(settingsBundle.keySet()).doesNotContain(TEST_SETTING_SECURE_INT); in testPopulateSettings_settingNotSet()
145 Settings.Secure.putInt(mContentResolver, TEST_SETTING_SECURE_INT, TEST_INT); in testPopulateSettings_settingDeleted()
151 assertEquals("Unexpected value of " + TEST_SETTING_SECURE_INT, in testPopulateSettings_settingDeleted()
152 TEST_INT, settingsBundle.getInt(TEST_SETTING_SECURE_INT)); in testPopulateSettings_settingDeleted()
[all …]