Home
last modified time | relevance | path

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

/frameworks/base/services/tests/servicestests/src/com/android/server/am/
DCoreSettingsObserverTest.java62 private static final String TEST_SETTING_GLOBAL_FLOAT = "globalFloat"; field in CoreSettingsObserverTest
82 CoreSettingsObserver.sGlobalSettingToTypeMap.put(TEST_SETTING_GLOBAL_FLOAT, float.class); in setupOnce()
118 Settings.Global.putFloat(mContentResolver, TEST_SETTING_GLOBAL_FLOAT, TEST_FLOAT); in testPopulateSettings()
125 assertEquals("Unexpected value of " + TEST_SETTING_GLOBAL_FLOAT, in testPopulateSettings()
126 TEST_FLOAT, settingsBundle.getFloat(TEST_SETTING_GLOBAL_FLOAT), 0); in testPopulateSettings()
137 assertWithMessage("Bundle should not contain " + TEST_SETTING_GLOBAL_FLOAT) in testPopulateSettings_settingNotSet()
138 .that(settingsBundle.keySet()).doesNotContain(TEST_SETTING_GLOBAL_FLOAT); in testPopulateSettings_settingNotSet()
146 Settings.Global.putFloat(mContentResolver, TEST_SETTING_GLOBAL_FLOAT, TEST_FLOAT); in testPopulateSettings_settingDeleted()
153 assertEquals("Unexpected value of " + TEST_SETTING_GLOBAL_FLOAT, in testPopulateSettings_settingDeleted()
154 TEST_FLOAT, settingsBundle.getFloat(TEST_SETTING_GLOBAL_FLOAT), 0); in testPopulateSettings_settingDeleted()
[all …]