Home
last modified time | relevance | path

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

/platform_testing/tests/functional/settingstests/src/com/android/settings/functional/
DSettingsHelper.java43 public void clickSetting(String settingName) { in clickSetting() argument
44 mDevice.wait(Until.findObject(By.text(settingName)), TIMEOUT).click(); in clickSetting()
47 public void clickSetting(Pattern settingName) { in clickSetting() argument
48 mDevice.wait(Until.findObject(By.text(settingName)), TIMEOUT).click(); in clickSetting()
58 String settingName, String internalName) throws Exception { in verifyToggleSetting() argument
60 type, settingAction, Pattern.compile(settingName), internalName, true); in verifyToggleSetting()
64 Pattern settingName, String internalName) throws Exception { in verifyToggleSetting() argument
65 return verifyToggleSetting(type, settingAction, settingName, internalName, true); in verifyToggleSetting()
69 String settingName, String internalName, boolean doLaunch) throws Exception { in verifyToggleSetting() argument
71 type, settingAction, Pattern.compile(settingName), internalName, doLaunch); in verifyToggleSetting()
[all …]
DSoundSettingsTest.java233 private void verifyRingtone(RingtoneSetting r, String settingName) { in verifyRingtone() argument
234 verifyRingtone(r, settingName, ScrollDir.NOSCROLL); in verifyRingtone()
237 private void verifyRingtone(RingtoneSetting r, String settingName, ScrollDir dir) { in verifyRingtone() argument
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.java136 public void clickSetting(String settingName) throws InterruptedException { in clickSetting() argument
137 mDevice.wait(Until.findObject(By.text(settingName)), TIMEOUT).click(); in clickSetting()
141 public void clickSetting(Pattern settingName) throws InterruptedException { in clickSetting() argument
142 mDevice.wait(Until.findObject(By.text(settingName)), TIMEOUT).click(); in clickSetting()
147 String settingName, String internalName) throws Exception { in verifyToggleSetting() argument
149 type, settingAction, Pattern.compile(settingName), internalName, true); in verifyToggleSetting()
153 Pattern settingName, String internalName) throws Exception { in verifyToggleSetting() argument
154 return verifyToggleSetting(type, settingAction, settingName, internalName, true); in verifyToggleSetting()
158 String settingName, String internalName, boolean doLaunch) throws Exception { in verifyToggleSetting() argument
160 type, settingAction, Pattern.compile(settingName), internalName, doLaunch); in verifyToggleSetting()
[all …]