Home
last modified time | relevance | path

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

/platform_testing/tests/functional/settingstests/src/com/android/settings/functional/
DSettingsHelper.java22 private ContentResolver mResolver; field in SettingsHelper
27 mResolver = inst.getContext().getContentResolver(); in SettingsHelper()
98 Settings.System.putString(mResolver, sName, value); break; in putStringSetting()
100 Settings.Global.putString(mResolver, sName, value); break; in putStringSetting()
102 Settings.Secure.putString(mResolver, sName, value); break; in putStringSetting()
109 return Settings.System.getString(mResolver, sName); in getStringSetting()
111 return Settings.Global.getString(mResolver, sName); in getStringSetting()
113 return Settings.Secure.getString(mResolver, sName); in getStringSetting()
121 Settings.System.putInt(mResolver, sName, value); break; in putIntSetting()
123 Settings.Global.putInt(mResolver, sName, value); break; in putIntSetting()
[all …]
DDisplaySettingsTest.java42 private ContentResolver mResolver; field in DisplaySettingsTest
50 mResolver = getInstrumentation().getContext().getContentResolver(); in setUp()
57 Settings.System.putFloat(mResolver, Settings.System.FONT_SCALE, 1.00f); in tearDown()
87 String initialSetting = Settings.Secure.getString(mResolver, Settings.Secure.DOZE_ENABLED); in testAmbientDisplay()
89 Settings.Secure.putString(mResolver, Settings.Secure.DOZE_ENABLED, "1"); in testAmbientDisplay()
125 mResolver, Settings.System.ACCELEROMETER_ROTATION); in testAccelRotation()
138 Settings.Secure.putInt(mResolver, Settings.Secure.SCREENSAVER_ENABLED, 1); in testDaydream()
209 Settings.System.putFloat(mResolver, Settings.System.FONT_SCALE, 1.00f); in testFontSizeLarge()
223 Settings.System.putFloat(mResolver, Settings.System.FONT_SCALE, 1.00f); in testFontSizeLargest()
235 Settings.System.putFloat(mResolver, Settings.System.FONT_SCALE, resetValue); in verifyFontSizeSetting()
[all …]
DQuickSettingsTest.java56 private ContentResolver mResolver; field in QuickSettingsTest
63 mResolver = getInstrumentation().getContext().getContentResolver(); in setUp()
152 mResolver, in verifyWiFiOnOrOff()
155 Settings.Global.putString(mResolver, in verifyWiFiOnOrOff()
170 String changedWifiValue = Settings.Global.getString(mResolver, Settings.Global.WIFI_ON); in verifyWiFiOnOrOff()
211 mResolver, in verifyBluetoothOnOrOff()
249 int onSetting = Settings.Global.getInt(mResolver, "zen_mode"); in testQuickSettingDND()
257 int changedSetting = Settings.Global.getInt(mResolver, "zen_mode"); in testQuickSettingDND()
264 mResolver, in testQuickSettingAirplaneMode()
272 mResolver, in testQuickSettingAirplaneMode()
[all …]
DSoundSettingsTest.java28 private ContentResolver mResolver; field in SoundSettingsTest
37 mResolver = getInstrumentation().getContext().getContentResolver(); in setUp()
247 Settings.System.getString(mResolver, settingName)); in verifyRingtone()
250 Settings.System.getString(mResolver, settingName)); in verifyRingtone()
253 Settings.System.getString(mResolver, settingName)); in verifyRingtone()
/platform_testing/libraries/settings-app-helper/src/android/platform/test/helpers/
DSettingsHelperImpl.java46 private ContentResolver mResolver; field in SettingsHelperImpl
56 mResolver = instr.getContext().getContentResolver(); in SettingsHelperImpl()
198 return Settings.System.getString(mResolver, sName); in getStringSetting()
200 return Settings.Global.getString(mResolver, sName); in getStringSetting()
202 return Settings.Secure.getString(mResolver, sName); in getStringSetting()
210 return Settings.System.getInt(mResolver, sName); in getIntSetting()
212 return Settings.Global.getInt(mResolver, sName); in getIntSetting()
214 return Settings.Secure.getInt(mResolver, sName); in getIntSetting()
/platform_testing/tests/functional/notificationtests/src/com/android/notification/functional/
DNotificationDNDTests.java50 private ContentResolver mResolver; field in NotificationDNDTests
62 mResolver = mContext.getContentResolver(); in setUp()
/platform_testing/tests/androidbvt/src/com/android/androidbvt/
DSysUINotificationShadeTests.java66 private ContentResolver mResolver; field in SysUINotificationShadeTests
90 mResolver = mContext.getContentResolver(); in setUp()