Searched refs:sUiDevice (Results 1 – 1 of 1) sorted by relevance
119 private static final UiDevice sUiDevice = UiDevice.getInstance(sInstrumentation); field in RoleManagerTest317 UiObject2 item = sUiDevice.wait(Until.findObject(By.text(APP_PACKAGE_NAME)), in respondToRoleRequest()333 return sUiDevice.wait(Until.findObject(By.text("Don\u2019t ask again")), expected in findDontAskAgainCheck()346 UiObject2 button = sUiDevice.wait(Until.findObject(By.res(buttonId)), TIMEOUT_MILLIS); in clickButtonAndWaitForResult()357 sUiDevice.dumpWindowHierarchy(outputStream); in dumpWindowHierarchy()441 UiObject2 item = sUiDevice.wait(Until.findObject(By.text(APP_28_LABEL)), TIMEOUT_MILLIS); in allowRoleRequestForApp28()447 UiObject2 button = sUiDevice.wait(Until.findObject(By.res("android:id/button1")), in allowRoleRequestForApp28()