Home
last modified time | relevance | path

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

/development/samples/UiAutomator/src/com/android/test/uiautomator/demos/
DSetTwoMinuteAlarm.java75 setAlarm(2); in testDemo()
93 private void setAlarm(int minutesFromNow) throws UiObjectNotFoundException { in setAlarm() method in SetTwoMinuteAlarm
94 UiObject setAlarm = new UiObject(new UiSelector().textStartsWith("Alarm set")); in setAlarm() local
95 if (!setAlarm.exists()) in setAlarm()
96 setAlarm = new UiObject(new UiSelector().textStartsWith("Set alarm")); in setAlarm()
97 setAlarm.click(); in setAlarm()