Home
last modified time | relevance | path

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

/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 …]