Home
last modified time | relevance | path

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

/platform_testing/libraries/health/rules/src/android/platform/test/rule/
DSystemSettingRule.kt9 private val settingName: String, constant in android.platform.test.rule.SystemSettingRule
14 Settings.System.getString(context.contentResolver, settingName) in getSettingValueAsString()
20 shell("settings delete system $settingName") in getSettingValueAsString()
22 shell("settings put system $settingName $value") in getSettingValueAsString()
DSecureSettingRule.kt8 private val settingName: String, constant in android.platform.test.rule.SecureSettingRule
13 Settings.Secure.getString(context.contentResolver, settingName) in getSettingValueAsString()
16 Settings.Secure.putString(context.contentResolver, settingName, value) in getSettingValueAsString()
DDoubleLineClockRule.kt11 settingName = Settings.Secure.LOCKSCREEN_USE_DOUBLE_LINE_CLOCK,
DAodSettingRule.kt11 settingName = Settings.Secure.DOZE_ALWAYS_ON,
DDeviceStateRotationSettingRule.kt11 settingName = Settings.Secure.DEVICE_STATE_ROTATION_LOCK,
DAutoRotationSettingRule.kt11 settingName = Settings.System.ACCELEROMETER_ROTATION,
DScreenLockAfterFoldSettingRule.kt23 SystemSettingRule<String>(settingName = Settings.System.FOLD_LOCK_BEHAVIOR) {
/platform_testing/libraries/system-helpers/accessibility-helper/src/android/system/helpers/
DAccessibilityHelper.java113 public void launchSpecificAccessibilitySetting(String settingName) throws Exception { in launchSpecificAccessibilitySetting() argument
125 if (actionBarText.equals(settingName)) { in launchSpecificAccessibilitySetting()
128 getSettingFromList(settingName).click(); in launchSpecificAccessibilitySetting()
172 private UiObject2 getSettingFromList(String settingName) in getSettingFromList() argument
179 new UiSelector().resourceId("android:id/title").text(settingName)); in getSettingFromList()
180 return mDevice.findObject(By.res("android:id/title").text(settingName)); in getSettingFromList()
/platform_testing/libraries/system-helpers/settings-helper/src/android/system/helpers/
DSettingsHelper.java219 public void clickSetting(String settingName) throws InterruptedException { in clickSetting() argument
221 while (count > 0 && mDevice.wait(Until.findObject(By.text(settingName)), TIMEOUT) == null) { in clickSetting()
225 mDevice.wait(Until.findObject(By.text(settingName)), TIMEOUT).click(); in clickSetting()
234 public boolean selectSettingFor(String settingName) in selectSettingFor() argument
238 UiObject appSettings = settingsList.getChildByText(LIST_ITEM_VALUE, settingName); in selectSettingFor()
251 public void clickSetting(Pattern settingName) throws InterruptedException { in clickSetting() argument
252 mDevice.wait(Until.findObject(By.text(settingName)), TIMEOUT).click(); in clickSetting()
347 String settingName, String internalName) throws Exception { in verifyToggleSetting() argument
349 type, settingAction, Pattern.compile(settingName), internalName, true); in verifyToggleSetting()
362 Pattern settingName, String internalName) throws Exception { in verifyToggleSetting() argument
[all …]