/platform_testing/libraries/base-app-helpers/src/android/platform/test/helpers/ |
D | AbstractYouTubeHelper.java | 32 private final String text; field in AbstractYouTubeHelper.VideoQuality 34 VideoQuality(String text) { in VideoQuality() argument 35 this.text = text; in VideoQuality() 39 return text; in getText()
|
D | AbstractGoogleKeyboardHelper.java | 40 public abstract void typeText(String text, long delayBetweenKeyPresses); in typeText() argument
|
/platform_testing/tests/functional/notificationtests/src/com/android/notification/functional/ |
D | NotificationInteractionTests.java | 67 String text = "USB debugging connected"; in testNonDismissNotification() local 70 UiObject2 obj = findByText(text); in testNonDismissNotification() 71 assertNotNull(String.format("Couldn't find %s notification", text), obj); in testNonDismissNotification() 74 obj = mDevice.wait(Until.findObject(By.text(text)), in testNonDismissNotification() 82 String text = "CLEAR ALL"; in testDismissAll() local 100 UiObject2 clearAll = findByText(text); in testDismissAll() 109 private UiObject2 findByText(String text) throws Exception { in findByText() argument 113 item = mDevice.wait(Until.findObject(By.text(text)), LONG_TIMEOUT); in findByText()
|
D | HeadsUpNotificationTests.java | 73 mDevice.wait(Until.findObject(By.text("REPLY")), LONG_TIMEOUT).click(); in testHeadsUpNotificationInlineReply() 92 UiObject2 obj = mDevice.wait(Until.findObject(By.text(NOTIFICATION_CONTENT_TEXT)), in testHeadsUpNotificationManualDismiss() 105 UiObject2 obj = mDevice.wait(Until.findObject(By.text(NOTIFICATION_CONTENT_TEXT)), in testHeadsUpNotificationAutoDismiss() 115 mDevice.wait(Until.findObject(By.text("REPLY")), LONG_TIMEOUT).click(); in testHeadsUpNotificationInlineReplyMulti() 126 UiObject2 obj = mDevice.wait(Until.findObject(By.text(NOTIFICATION_CONTENT_TEXT)), in testHeadsUpNotificationInlineReplyMulti() 138 UiObject2 obj = mDevice.wait(Until.findObject(By.text("test")), 60000); in testAlarm() 143 mDevice.wait(Until.findObject(By.text("DISMISS")), LONG_TIMEOUT).click(); in testAlarm()
|
D | NotificationHelper.java | 46 import android.text.SpannableStringBuilder; 47 import android.text.style.StyleSpan; 103 if (new UiObject(new UiSelector().text("Confirm your PIN")).exists()) { in setScreenLockPin() 109 new UiObject(new UiSelector().text("PIN")).click(); in setScreenLockPin() 125 if (new UiObject(new UiSelector().text("Confirm your PIN")).exists()) { in removeScreenLock() 159 new UiObject(new UiSelector().text("Screen lock")).click(); in navigateToScreenLock() 162 private void clickText(String text) throws UiObjectNotFoundException { in clickText() argument 163 mDevice.wait(Until.findObject(By.text(text)), LONG_TIMEOUT).click(); in clickText() 362 final String text = intent.getStringExtra("text"); in onHandleIntent() local 366 Toast.makeText(ToastService.this, text, Toast.LENGTH_LONG).show(); in onHandleIntent() [all …]
|
/platform_testing/tests/functional/settingstests/src/com/android/settings/functional/ |
D | WirelessNetworkSettingsTests.java | 148 UiObject2 configureWiFiHeading = mDevice.wait(Until.findObject(By.text("Configure Wi‑Fi")), in testWifiMenuLoadConfigure() 188 By.text(ADD_NETWORK_MENU_SAVE_BUTTON_TEXT)), TIMEOUT).isEnabled()); in testAddNetworkMenu_Default() 190 By.text(ADD_NETWORK_MENU_CANCEL_BUTTON_TEXT)), TIMEOUT).isEnabled()); in testAddNetworkMenu_Default() 231 mDevice.wait(Until.findObject(By.text("Manual")), TIMEOUT).click(); in testAddNetworkMenu_Proxy() 242 mDevice.wait(Until.findObject(By.text("Proxy Auto-Config")), TIMEOUT).click(); in testAddNetworkMenu_Proxy() 265 mDevice.wait(Until.findObject(By.text("Static")), TIMEOUT).click(); in testAddNetworkMenu_IpSettings() 292 assertNotNull(mDevice.wait(Until.findObject(By.text(PHASE2_MENU_NONE_TEXT)), TIMEOUT)); in testPhase2Settings() 293 assertNotNull(mDevice.wait(Until.findObject(By.text(PHASE2_MENU_MSCHAPV2_TEXT)), TIMEOUT)); in testPhase2Settings() 294 assertNotNull(mDevice.wait(Until.findObject(By.text(PHASE2_MENU_GTC_TEXT)), TIMEOUT)); in testPhase2Settings() 312 By.text(CACERT_MENU_PLEASE_SELECT_TEXT)), TIMEOUT)); in testCaCertSettings() [all …]
|
D | DataUsageSettingsTests.java | 60 mDevice.wait(Until.findObject(By.text("Usage")), in testElementsOnDataUsageScreen() 66 mDevice.wait(Until.findObject(By.text("Data saver")), in testElementsOnDataUsageScreen() 69 mDevice.wait(Until.findObject(By.text("Wi-Fi data usage")), in testElementsOnDataUsageScreen() 72 mDevice.wait(Until.findObject(By.text("Network restrictions")), in testElementsOnDataUsageScreen() 80 .findObject(By.text("Data usage")), TIMEOUT) in launchDataUsageSettings()
|
D | LocationSettingsTests.java | 70 locationTitle = mDevice.wait(Until.findObject(By.text("Location")), TIMEOUT); in testLoadingLocationSettings() 80 mDevice.wait(Until.findObject(By.text("Location services")), TIMEOUT)); in testLoadingLocationSettings() 127 mDevice.wait(Until.findObject(By.text(element)), TIMEOUT)); in testLocationSettingsElements() 139 mDevice.wait(Until.findObject(By.text("Scanning")), TIMEOUT)); in testLocationSettingsOverflowMenuElements() 142 mDevice.wait(Until.findObject(By.text("Help & feedback")), TIMEOUT)); in testLocationSettingsOverflowMenuElements() 160 mDevice.wait(Until.findObject(By.text("Mode")), TIMEOUT).click(); in verifyLocationSettingsMode() 163 (By.text("Location mode")), TIMEOUT)); in verifyLocationSettingsMode() 165 mDevice.wait(Until.findObject(By.text(textMode)), TIMEOUT).click(); in verifyLocationSettingsMode() 172 (By.text("Improve location accuracy?")), TIMEOUT); in verifyLocationSettingsMode() 175 (By.text("AGREE")), TIMEOUT).click(); in verifyLocationSettingsMode() [all …]
|
D | MoreWirelessSettingsTests.java | 79 UiObject2 nfcSetting = mDevice.wait(Until.findObject(By.text("NFC")), TIMEOUT); in testNFCToggle() 101 .findObject(By.text("Tethering & portable hotspot")), TIMEOUT) in testTetheringMenuLoad() 105 .findObject(By.text("USB tethering")), TIMEOUT); in testTetheringMenuLoad() 114 .findObject(By.text("VPN")), TIMEOUT) in testVPNMenuLoad() 134 .findObject(By.text("Airplane mode")), TIMEOUT) in verifyAirplaneModeOnOrOff()
|
/platform_testing/tests/functional/externalstorage/src/com/android/functional/externalstoragetests/ |
D | PortableStorageTests.java | 73 mDevice.wait(Until.findObject(By.res("android:id/title").text("Test_0")), in testCopyFromPortable() 77 assertNotNull(mDevice.wait(Until.findObject(By.res("android:id/title").text("Copy to…")), in testCopyFromPortable() 79 mDevice.wait(Until.findObject(By.res("android:id/title").text("Copy to…")), in testCopyFromPortable() 93 mDevice.wait(Until.findObject(By.res("android:id/title").text("Test_0")), in testDeleteFromPortable() 97 assertNull(mDevice.wait(Until.findObject(By.res("android:id/title").text("Test_0")), in testDeleteFromPortable() 118 .text(String.format("Test_%d", i))), storageHelper.TIMEOUT)); in testExplorePortable() 131 mDevice.wait(Until.findObject(By.res("android:id/title").text("Test_0")), in testShareableFromPortable() 150 mDevice.wait(Until.findObject(By.res("android:id/title").text("Test_0")), in testPortableOverflowSettings() 156 assertTrue(mDevice.wait(Until.hasObject(By.text("1 selected")), storageHelper.TIMEOUT)); in testPortableOverflowSettings() 169 mDevice.wait(Until.findObject(By.text(pattern)), storageHelper.TIMEOUT) in testPortableSettings() [all …]
|
D | AdoptableStorageTests.java | 59 mDevice.wait(Until.findObject(By.text(pattern)), storageHelper.TIMEOUT).click(); in testAdoptAsAdoptableMoveDataLaterUIFlow() 61 mDevice.wait(Until.findObject(By.text(pattern)), storageHelper.TIMEOUT).clickAndWait( in testAdoptAsAdoptableMoveDataLaterUIFlow() 64 mDevice.wait(Until.findObject(By.text(pattern)), storageHelper.TIMEOUT).clickAndWait( in testAdoptAsAdoptableMoveDataLaterUIFlow() 73 assertTrue(mDevice.wait(Until.hasObject(By.res("android:id/title").text("Apps")), in testAdoptAsAdoptableMoveDataLaterUIFlow() 91 assertTrue(mDevice.wait(Until.hasObject(By.text(pattern)), storageHelper.TIMEOUT)); in testAdoptableOverflowSettings() 93 assertTrue(mDevice.wait(Until.hasObject(By.text(pattern)), storageHelper.TIMEOUT)); in testAdoptableOverflowSettings() 95 assertTrue(mDevice.wait(Until.hasObject(By.text(pattern)), storageHelper.TIMEOUT)); in testAdoptableOverflowSettings() 108 mDevice.wait(Until.findObject(By.text(pattern)), storageHelper.TIMEOUT).click(); in testRenameAdoptable() 112 mDevice.wait(Until.findObject(By.text(pattern)), storageHelper.TIMEOUT).clickAndWait( in testRenameAdoptable() 114 assertTrue(mDevice.wait(Until.hasObject(By.text("My SD card")), storageHelper.TIMEOUT)); in testRenameAdoptable() [all …]
|
/platform_testing/libraries/maps-app-helper/src/android/platform/test/helpers/ |
D | MapsHelperImpl.java | 94 String text = "ACCEPT & CONTINUE"; in dismissInitialDialogs() local 95 Pattern pattern = Pattern.compile(text, Pattern.CASE_INSENSITIVE); in dismissInitialDialogs() 97 UiObject2 terms = mDevice.wait(Until.findObject(By.text(pattern)), 10000); in dismissInitialDialogs() 110 terms = mDevice.wait(Until.findObject(By.text(pattern)), UI_RESPONSE_WAIT); in dismissInitialDialogs() 124 text = "YES, I'M IN"; in dismissInitialDialogs() 125 pattern = Pattern.compile(text, Pattern.CASE_INSENSITIVE); in dismissInitialDialogs() 126 UiObject2 location = mDevice.wait(Until.findObject(By.text(pattern)), in dismissInitialDialogs() 160 text = "GOT IT"; in dismissInitialDialogs() 161 pattern = Pattern.compile(text, Pattern.CASE_INSENSITIVE); in dismissInitialDialogs() 162 BySelector gotIt = By.text(Pattern.compile("GOT IT", Pattern.CASE_INSENSITIVE)); in dismissInitialDialogs() [all …]
|
/platform_testing/tests/jank/jankmicrobenchmark/src/com/android/jankmicrobenchmark/janktests/ |
D | ApiDemoJankTests.java | 93 By.res(RES_PACKAGE_NAME, "text1").text("Animation")), LONG_TIMEOUT); in selectAnimation() 97 By.res(RES_PACKAGE_NAME, "text1").text(optionName)), LONG_TIMEOUT); in selectAnimation() 103 .text(optionName)), LONG_TIMEOUT); in selectAnimation() 196 By.res(PACKAGE_NAME, "startButton").text("RUN")), LONG_TIMEOUT); in testLoadingJank() 241 PACKAGE_NAME, "addNewButton").text("SHOW BUTTONS")), LONG_TIMEOUT); in testHideShowAnimationJank() 247 By.clazz(Button.class).text("0")), LONG_TIMEOUT); in testHideShowAnimationJank() 253 By.clazz(Button.class).text("1")), LONG_TIMEOUT); in testHideShowAnimationJank() 259 By.clazz(Button.class).text("2")), LONG_TIMEOUT); in testHideShowAnimationJank() 265 By.clazz(Button.class).text("3")), LONG_TIMEOUT); in testHideShowAnimationJank() 278 .text("Views")), LONG_TIMEOUT); in selectViews() [all …]
|
/platform_testing/tests/functional/applinktests/src/com/android/functional/applinktests/ |
D | AppLinkTests.java | 72 mDevice.wait(Until.findObject(By.text("AppLinkTestApp")), TIMEOUT).click(); in testUserSetToJustOnceAndAlways() 78 mDevice.wait(Until.hasObject(By.text("Open with AppLinkTestApp")), TIMEOUT)); in testUserSetToJustOnceAndAlways() 143 mDevice.wait(Until.findObject(By.text("Opening links")), TIMEOUT) in testSettingsChangeUI() 145 mDevice.wait(Until.findObject(By.text("AppLinkTestApp")), TIMEOUT) in testSettingsChangeUI() 147 mDevice.wait(Until.findObject(By.text("Open supported links")), TIMEOUT) in testSettingsChangeUI() 149 mDevice.wait(Until.findObject(By.text("Open in this app")), TIMEOUT) in testSettingsChangeUI() 155 mDevice.wait(Until.findObject(By.text("Open supported links")), TIMEOUT) in testSettingsChangeUI() 157 mDevice.wait(Until.findObject(By.text("Don’t open in this app")), TIMEOUT) in testSettingsChangeUI() 163 mDevice.wait(Until.findObject(By.text("Open supported links")), TIMEOUT) in testSettingsChangeUI() 165 mDevice.wait(Until.findObject(By.text("Ask every time")), TIMEOUT) in testSettingsChangeUI()
|
/platform_testing/tests/jank/uibench_wear/src/com/android/wearable/uibench/janktests/ |
D | UiBenchJankTestsHelper.java | 78 UiObject2 initScreen = mDevice.wait(Until.findObject(By.text(UIBENCH_OBJECT_NAME)), 2000); in launchUiBench() 82 initScreen = mDevice.wait(Until.findObject(By.text(UIBENCH_OBJECT_NAME)), 2000); in launchUiBench() 106 By.res(RES_PACKAGE_NAME, TEXT_OBJECT_NAME).text(itemName)), TIMEOUT); in openTextInList() 110 By.res(RES_PACKAGE_NAME, TEXT_OBJECT_NAME).text(itemName)), TIMEOUT); in openTextInList() 116 By.res(RES_PACKAGE_NAME, TEXT_OBJECT_NAME).text(itemName)), TIMEOUT); in openTextInList()
|
/platform_testing/tests/functional/launchertests/src/com/android/launcher/functional/ |
D | HomeScreenTests.java | 102 UiObject2 calculatorIcon = mDevice.wait(Until.findObject(By.text("Calculator")), TIMEOUT); in testCreateAndDeleteShortcutOnHome() 172 UiObject2 analogClock = mDevice.wait(Until.findObject(By.text("Analog clock")), TIMEOUT); in testAddRemoveWidgetOnHome() 196 (Until.findObject(By.text("Calculator")), TIMEOUT); in testCreateRenameRemoveFolderOnHome() 198 (Until.findObject(By.text("Clock")), TIMEOUT); in testCreateRenameRemoveFolderOnHome() 206 (Until.findObject(By.text("Unnamed Folder")), TIMEOUT); in testCreateRenameRemoveFolderOnHome() 222 (Until.findObject(By.text("Snowflake")), TIMEOUT); in testCreateRenameRemoveFolderOnHome() 238 (Until.findObject(By.text("YouTube")), TIMEOUT); in testOpenAppFromFolderOnHome() 273 checkForObject = mDevice.findObject(By.text(searchContent)); in removeObjectFromHomeScreen() 302 (By.res(getLauncherPackage(), "icon").text(appName)), TIMEOUT); in createShortcutOnHome()
|
/platform_testing/tests/androidbvt/src/com/android/androidbvt/ |
D | SysUILockScreenTests.java | 138 mDevice.wait(Until.findObject(By.text(mode)), mABvtHelper.LONG_TIMEOUT).click(); in setScreenLock() 140 mDevice.wait(Until.findObject(By.text("No thanks")), mABvtHelper.LONG_TIMEOUT).click(); in setScreenLock() 148 mDevice.wait(Until.findObject(By.text("DONE")), mABvtHelper.LONG_TIMEOUT).click(); in setScreenLock() 156 mDevice.wait(Until.findObject(By.text("EMERGENCY")), mABvtHelper.LONG_TIMEOUT).click(); in checkEmergencyCall() 171 mDevice.wait(Until.findObject(By.text("Swipe")), mABvtHelper.LONG_TIMEOUT).click(); in removeScreenLock() 172 mDevice.wait(Until.findObject(By.text("YES, REMOVE")), mABvtHelper.LONG_TIMEOUT).click(); in removeScreenLock() 188 mDevice.wait(Until.findObject(By.text("Screen lock")), mABvtHelper.LONG_TIMEOUT).click(); in navigateToScreenLock()
|
D | SysUILauncherTests.java | 77 .text("WIDGETS")), LONG_TIMEOUT).click(); in testAddAndRemoveWidget() 108 .text("WALLPAPERS")), LONG_TIMEOUT).click(); in testChangeWallPaper() 112 mDevice.wait(Until.findObject(By.text("Set wallpaper")), LONG_TIMEOUT).click(); in testChangeWallPaper() 114 .wait(Until.findObject(By.text("Home screen and lock screen")), LONG_TIMEOUT); in testChangeWallPaper() 140 UiObject2 app = mDevice.wait(Until.findObject(By.text(APP_NAME)), LONG_TIMEOUT); in testAddAndRemoveShortCut() 143 app = mDevice.wait(Until.findObject(By.text(APP_NAME)), LONG_TIMEOUT); in testAddAndRemoveShortCut()
|
D | SysUINotificationShadeTests.java | 141 UiObject2 settingHeading = mDevice.wait(Until.findObject(By.text("Settings")), in testQuickSettings() 174 mDevice.wait(Until.findObject(By.text("REPLY")), LONG_TIMEOUT).click(); in verifyInlineAndDimissNotification() 183 UiObject2 obj = mDevice.wait(Until.findObject(By.text(INLINE_REPLY_TITLE)), in verifyInlineAndDimissNotification() 300 final String text = intent.getStringExtra("text"); in onHandleIntent() local 304 Toast.makeText(ToastService.this, text, Toast.LENGTH_LONG).show(); in onHandleIntent() 305 Log.v(TAG, "toast " + text); in onHandleIntent() 311 public static PendingIntent getPendingIntent(Context context, String text) { in getPendingIntent() argument 314 toastIntent.setAction(ACTION_TOAST + ":" + text); // one per toast message in getPendingIntent() 315 toastIntent.putExtra("text", text); in getPendingIntent()
|
/platform_testing/libraries/play-movies-app-helper/src/android/platform/test/helpers/ |
D | PlayMoviesHelperImpl.java | 115 UiObject2 startedButton = mDevice.wait(Until.findObject(By.text(words)), 5000); in dismissInitialDialogs() 133 UiObject2 libraryButton = mDevice.findObject(By.text(myLibraryPattern).clickable(true)); in openMoviesTab() 199 mDevice.wait(Until.hasObject(By.text("Settings").clickable(true)), 2500); in waitForNavigationDrawerOpen() 203 mDevice.wait(Until.gone(By.text("Settings").clickable(true)), 2500); in waitForNavigationDrawerClose() 208 UiObject2 tab = mDevice.findObject(By.text(moviesText)); in getMoviesTab() 211 tab = mDevice.findObject(By.text(moviesText)); in getMoviesTab()
|
/platform_testing/libraries/gmail-app-helper/src/android/platform/test/helpers/ |
D | GmailHelperImpl.java | 63 By.res(UI_PACKAGE_NAME, "name").text("Primary"); 65 By.res(UI_PACKAGE_NAME, "name").text("Inbox"); 116 UiObject2 splash = mDevice.wait(Until.findObject(By.text(gotItWord)), DIALOG_TIMEOUT); in dismissInitialDialogs() 122 if (!mDevice.wait(Until.gone(By.text("Getting your messages")), WIFI_TIMEOUT)) { in dismissInitialDialogs() 152 By.res(UI_PACKAGE_NAME, "image_view").text("Primary")); in goToInbox() 161 By.res(UI_PACKAGE_NAME, "image_view").text("Inbox")); in goToInbox() 172 By.res(UI_PACKAGE_NAME, "name").text("Primary")); in goToInbox() 181 By.res(UI_PACKAGE_NAME, "name").text("Inbox")); in goToInbox() 288 UiObject2 replyButton = mDevice.findObject(By.text("Reply")); in sendReplyEmail() 461 return (mDevice.hasObject(By.res(UI_PACKAGE_NAME, "actionbar_title").text("Primary")) || in isInPrimaryOrInbox() [all …]
|
/platform_testing/libraries/tunein-app-helper/src/android/platform/test/helpers/ |
D | TuneInHelperImpl.java | 70 return mDevice.hasObject(By.text("Browse")); in isOnBrowsePage() 99 UiObject2 localRadio = mDevice.findObject(By.text(UI_LOCAL_RADIO_TEXT)); in goToLocalRadio() 183 return mDevice.hasObject(By.text("Do you love TuneIn Radio?")); in isOnFeedbackScreen() 187 UiObject2 button = mDevice.findObject(By.text("MAYBE LATER")); in dismissFeedbackScreen()
|
/platform_testing/libraries/play-books-app-helper/src/android/platform/test/helpers/ |
D | PlayBooksHelperImpl.java | 108 By.text(UI_TAB_ALL_BOOKS_TEXT).clickable(true)), in goToAllBooksTab() 236 return mDevice.hasObject(By.text(UI_OPTION_MENU_READ_ALOUD_TEXT)); in isOptionMenuExpanded() 244 return mDevice.findObject(By.text(UI_SKIP_TEXT)); in getSkipButton() 248 return mDevice.findObject(By.text(UI_TURN_SYNC_ON_TEXT)); in getTurnSyncOnButton() 268 return mDevice.findObject(By.text(UI_NAVIGATION_DRAWER_MYLIBRARY_TEXT).clickable(true)); in getMyLibraryButton() 277 By.text(UI_NAVIGATION_DRAWER_SETTING_TEXT).clickable(true)), in waitForNavigationDrawerOpen()
|
/platform_testing/libraries/photos-app-helper/src/android/platform/test/helpers/ |
D | PhotosHelperImpl.java | 141 boolean hasAccount = !mDevice.hasObject(By.text(signInWords)); in dismissInitialDialogs() 145 UiObject2 noThanksButton = mDevice.findObject(By.text(noThanksWords)); in dismissInitialDialogs() 326 By.text(UI_DEVICE_FOLDER_TEXT)), UI_NAVIGATION_WAIT); in goToDeviceFolderScreen() 331 UiObject2 photosButton = mDevice.wait(Until.findObject(By.text("Photos")), in goToDeviceFolderScreen() 355 foundFolder = mDevice.wait(Until.hasObject(By.text(folderName)), 2000); in searchForDeviceFolder() 365 foundFolder = mDevice.wait(Until.hasObject(By.text(folderName)), 2000); in searchForDeviceFolder() 414 UiObject2 deviceFolder = mDevice.wait(Until.findObject(By.text(folderName)), in openDeviceFolder() 457 if (mDevice.hasObject(By.pkg(UI_PACKAGE_NAME).text(UI_DEVICE_FOLDER_TEXT))) { in isOnDeviceFolderScreen() 467 return mDevice.hasObject(By.pkg(UI_PACKAGE_NAME).text(UI_DEVICE_FOLDER_TEXT)); in isOnDeviceFolderScreen()
|
/platform_testing/libraries/google-app-camera-helper/src/android/platform/test/helpers/ |
D | GoogleCameraHelperImpl.java | 34 import java.text.SimpleDateFormat; 35 import java.text.DateFormat; 151 Until.findObject(By.text(okText)), APP_INIT_WAIT); in dismissInitialDialogs() 159 Until.findObject(By.text(okText)), APP_INIT_WAIT); in dismissInitialDialogs() 170 UiObject2 thanks = mDevice.wait(Until.findObject(By.text("GOT IT")), in dismissInitialDialogs() 178 By.copy(confirm).text("NEXT")), APP_INIT_WAIT); in dismissInitialDialogs() 184 By.copy(confirm).text("OK, GOT IT")), DIALOG_TRANSITION_WAIT); in dismissInitialDialogs() 737 mDevice.wait(Until.hasObject(By.text("Photo Sphere")), MENU_WAIT_TIME); in openMenu() 743 UiObject2 menuItem = mDevice.findObject(By.text(mode)); in selectMenuItem() 751 mDevice.wait(Until.gone(By.text("Photo Sphere")), MENU_WAIT_TIME); in selectMenuItem() [all …]
|