Searched refs:settingName (Results 1 – 9 of 9) sorted by relevance
/platform_testing/libraries/health/rules/src/android/platform/test/rule/ |
D | SystemSettingRule.kt | 9 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()
|
D | SecureSettingRule.kt | 8 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()
|
D | DoubleLineClockRule.kt | 11 settingName = Settings.Secure.LOCKSCREEN_USE_DOUBLE_LINE_CLOCK,
|
D | AodSettingRule.kt | 11 settingName = Settings.Secure.DOZE_ALWAYS_ON,
|
D | DeviceStateRotationSettingRule.kt | 11 settingName = Settings.Secure.DEVICE_STATE_ROTATION_LOCK,
|
D | AutoRotationSettingRule.kt | 11 settingName = Settings.System.ACCELEROMETER_ROTATION,
|
D | ScreenLockAfterFoldSettingRule.kt | 23 SystemSettingRule<String>(settingName = Settings.System.FOLD_LOCK_BEHAVIOR) {
|
/platform_testing/libraries/system-helpers/accessibility-helper/src/android/system/helpers/ |
D | AccessibilityHelper.java | 113 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/ |
D | SettingsHelper.java | 219 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 …]
|