/packages/apps/Settings/tests/app/src/com/android/settings/password/ |
D | SetupChooseLockPasswordAppTest.java | 26 import static android.support.test.espresso.matcher.ViewMatchers.withId; 61 onView(withId(R.id.cancel_button)) in testSkipDialogIsShown() 65 onView(withId(android.R.id.button1)).check(matches(isDisplayed())).perform(click()); in testSkipDialogIsShown() 73 onView(withId(R.id.clear_button)).check(matches( in clearNotVisible_when_activityLaunchedInitially() 80 onView(withId(R.id.password_entry)).perform(ViewActions.typeText("1234")) in clearNotEnabled_when_nothingEntered() 82 onView(withId(R.id.clear_button)).check(matches(isDisplayed())) in clearNotEnabled_when_nothingEntered() 89 onView(withId(R.id.password_entry)).perform(ViewActions.typeText("1234")) in clearEnabled_when_somethingEnteredToConfirm() 93 onView(withId(R.id.clear_button)).check(matches(isDisplayed())); in clearEnabled_when_somethingEnteredToConfirm()
|
D | ChooseLockPasswordTest.java | 25 import static android.support.test.espresso.matcher.ViewMatchers.withId; 59 onView(withId(R.id.clear_button)).check(matches( in clearNotVisible_when_activityLaunchedInitially() 66 onView(withId(R.id.password_entry)).perform(ViewActions.typeText("1234")) in clearNotEnabled_when_nothingEntered() 68 onView(withId(R.id.clear_button)).check(matches(isDisplayed())) in clearNotEnabled_when_nothingEntered() 75 onView(withId(R.id.password_entry)).perform(ViewActions.typeText("1234")) in clearEnabled_when_somethingEnteredToConfirm() 79 onView(withId(R.id.clear_button)).check(matches(isDisplayed())); in clearEnabled_when_somethingEnteredToConfirm()
|
D | ConfirmLockPasswordTest.java | 23 import static android.support.test.espresso.matcher.ViewMatchers.withId; 55 onView(withId(R.id.password_entry)).perform(typeText("1234")) in enterWrongPin_shouldShowErrorMessage() 57 onView(withId(R.id.errorText)).check(matches(withText(R.string.lockpassword_invalid_pin))); in enterWrongPin_shouldShowErrorMessage() 65 onView(withId(R.id.password_entry)).perform(typeText("1234")) in enterWrongPin_darkTheme_shouldShowErrorMessage() 67 onView(withId(R.id.errorText)).check(matches(withText(R.string.lockpassword_invalid_pin))); in enterWrongPin_darkTheme_shouldShowErrorMessage()
|
/packages/apps/ManagedProvisioning/tests/instrumentation/src/com/android/managedprovisioning/provisioning/ |
D | ProvisioningActivityTest.java | 31 import static android.support.test.espresso.matcher.ViewMatchers.withId; 312 onView(withId(android.R.id.button1)) in testErrorNoFactoryReset() 333 onView(withId(android.R.id.button1)) in testErrorFactoryReset() 353 onView(withId(android.R.id.button2)) in testCancelProfileOwner() 367 onView(withId(android.R.id.button1)) in testCancelProfileOwner() 434 onView(withId(android.R.id.button2)) in testCancelDeviceOwner() 448 onView(withId(android.R.id.button1)) in testCancelDeviceOwner() 498 onView(withId(R.id.setup_wizard_layout)); in launchActivityAndWait()
|
/packages/apps/DocumentsUI/tests/common/com/android/documentsui/bots/ |
D | UiBot.java | 25 import static android.support.test.espresso.matcher.ViewMatchers.withId; 70 withId(R.id.toolbar)); 172 onView(withId(id)).perform(click()); in clickToolbarItem() 223 onView(withId(android.R.id.button1)).check(matches(hasFocus())); in assertDialogOkButtonFocused() 230 onView(withId(android.R.id.button1)).perform(click()); in clickDialogOkButton() 237 onView(withId(android.R.id.button2)).perform(click()); in clickDialogCancelButton()
|
D | SortHeaderBot.java | 24 import static android.support.test.espresso.matcher.ViewMatchers.withId; 97 private static final Matcher<View> MATCHER = withId(R.id.dropdown_sort_widget); 99 withId(R.id.sort_dimen_dropdown), 102 withId(R.id.sort_arrow), 142 private static final Matcher<View> MATCHER = withId(R.id.table_header);
|
D | SearchBot.java | 24 import static android.support.test.espresso.matcher.ViewMatchers.withId; 53 withId(R.id.option_menu_search), 61 withId(R.id.option_menu_search),
|
D | SidebarBot.java | 22 import static android.support.test.espresso.matcher.ViewMatchers.withId; 99 onView(withId(R.id.drawer_layout)).perform(swipeRight()); in closeDrawer() 101 onView(withId(R.id.drawer_layout)).perform(swipeLeft()); in closeDrawer()
|
D | BreadBot.java | 23 import static android.support.test.espresso.matcher.ViewMatchers.withId; 61 private static final Matcher<View> DROPDOWN_BREADCRUMB = withId( 64 private static final Matcher<View> HORIZONTAL_BREADCRUMB = withId(
|
/packages/apps/ManagedProvisioning/tests/instrumentation/src/com/android/managedprovisioning/preprovisioning/ |
D | EncryptDeviceActivityTest.java | 25 import static android.support.test.espresso.matcher.ViewMatchers.withId; 128 onView(withId(R.id.encrypt_main_text)) in testProfileOwner() 135 onView(withId(R.id.encrypt_button)).perform(click()); in testProfileOwner() 151 onView(withId(R.id.encrypt_main_text)) in testDeviceOwner() 158 onView(withId(R.id.encrypt_button)).perform(click()); in testDeviceOwner()
|
/packages/apps/Settings/tests/app/src/com/android/settings/fingerprint/ |
D | FingerprintEnrollFinishTest.java | 24 import static android.support.test.espresso.matcher.ViewMatchers.withId; 59 onView(withId(R.id.add_another_button)).perform(click()); in clickAddAnother_shouldLaunchEnrolling() 74 onView(withId(R.id.add_another_button)).perform(click()); in clickAddAnother_shouldPropagateResults() 82 onView(withId(R.id.next_button)).perform(click()); in clickNext_shouldFinish()
|
/packages/apps/Settings/tests/app/src/com/android/settings/notification/ |
D | SoundSettingsIntegrationTest.java | 22 import static android.support.test.espresso.matcher.ViewMatchers.withId; 55 onView(withId(R.id.dashboard_container)) in soundPreferenceShowsCorrectSummaryOnSilentMode() 66 onView(withId(R.id.dashboard_container)).perform(RecyclerViewActions in soundPreferenceShowsCorrectSummaryOnVibrateMode() 78 onView(withId(R.id.dashboard_container)) in soundPreferenceShowsCorrectSummaryOnMaxVolume()
|
D | AppNotificationSettingsTest.java | 35 import static android.support.test.espresso.matcher.ViewMatchers.withId; 58 onView(allOf(withId(android.R.id.button1), in launchNotificationSetting_shouldNotHaveAppInfoLink()
|
/packages/services/Telephony/tests/src/com/android/phone/ |
D | RoamingDialogFragmentTest.java | 39 import static android.support.test.espresso.matcher.ViewMatchers.withId; 94 onView(withId(android.R.id.button1)).perform(click()); in dataRoamingEnabledWhenPositiveButtonClicked() 108 onView(withId(android.R.id.button2)).perform(click()); in dialogDismissedOnNegativeButtonClicked() 121 onView(withId(android.R.id.button2)).perform(click()); in dataRoamingStaysDisabledWhenDialogCanceled()
|
/packages/apps/DocumentsUI/src/com/android/documentsui/sorting/ |
D | SortModel.java | 455 .withId(SORT_DIMENSION_ID_TITLE) in createModel() 467 .withId(SORT_DIMENSION_ID_SUMMARY) in createModel() 477 .withId(SORT_DIMENSION_ID_SIZE) in createModel() 488 .withId(SORT_DIMENSION_ID_FILE_TYPE) in createModel() 498 .withId(SORT_DIMENSION_ID_DATE) in createModel()
|
/packages/apps/Settings/tests/unit/src/com/android/settings/dashboard/ |
D | PreferenceThemeTest.java | 38 import static android.support.test.espresso.matcher.ViewMatchers.withId; 68 onView(allOf(withId(R.id.icon_frame), withEffectiveVisibility(Visibility.VISIBLE))) in startSetupWizardLockScreen_preferenceIconSpaceNotReserved() 70 onView(withId(R.id.icon_container)).check(doesNotExist()); in startSetupWizardLockScreen_preferenceIconSpaceNotReserved()
|
/packages/apps/Settings/tests/app/src/com/android/settings/ |
D | EncryptionInterstitialTest.java | 21 import static android.support.test.espresso.matcher.ViewMatchers.withId; 68 onView(withId(R.id.encrypt_require_password)).perform(click()); in clickYes_shouldRequirePassword() 82 onView(withId(R.id.encrypt_dont_require_password)).perform(click()); in clickNo_shouldNotRequirePassword()
|
/packages/apps/Settings/tests/unit/src/com/android/settings/ |
D | RegulatoryInfoDisplayActivityTest.java | 42 import static android.support.test.espresso.matcher.ViewMatchers.withId; 96 onView(withId(R.id.regulatoryInfo)) in launchRegulatoryInfo_shouldNotCrash() 119 onView(withId(R.id.regulatoryInfo)) in launchRegulatoryInfo_withInfoImage_shouldDisplay()
|
/packages/apps/EmergencyInfo/tests/unit/src/com/android/emergency/preferences/ |
D | EmergencyContactsPreferenceTest.java | 21 import static android.support.test.espresso.matcher.ViewMatchers.withId; 99 onView(withId(R.id.delete_contact)).perform(new RelaxedClick()); in testWidgetClick_positiveButton() 111 onView(withId(R.id.delete_contact)).perform(new RelaxedClick()); in testWidgetClick_negativeButton()
|
/packages/apps/ManagedProvisioning/tests/instrumentation/src/com/android/managedprovisioning/preprovisioning/terms/ |
D | TermsActivityTest.java | 23 import static android.support.test.espresso.matcher.ViewMatchers.withId; 106 onView(withId(R.id.disclaimer_content)).check(isNotDisplayed()); in expanderTest() 128 onView(withId(R.id.disclaimer_content)).check(matches(withText("item1\nitem2\n"))); in expanderTest()
|
/packages/apps/DocumentsUI/tests/unit/com/android/documentsui/sorting/ |
D | SortModelTest.java | 44 .withId(1) 53 .withId(2) 60 .withId(3)
|
/packages/apps/Settings/tests/app/src/com/android/settings/search/ |
D | SearchFragmentEspressoTest.java | 31 import static android.support.test.espresso.matcher.ViewMatchers.withId; 48 onView(allOf(hasFocus(), withId(R.id.search_view))) in test_OpenKeyboardOnSearchLaunch()
|
/packages/apps/ManagedProvisioning/tests/instrumentation/src/com/android/managedprovisioning/e2eui/ |
D | ManagedProfileTest.java | 38 import static android.support.test.espresso.matcher.ViewMatchers.withId; 92 return onView(withId(R.id.next_button)); in testManagedProfile()
|
/packages/apps/Settings/tests/unit/src/com/android/settings/wifi/ |
D | WifiSettingsUiTest.java | 25 import static android.support.test.espresso.matcher.ViewMatchers.withId; 359 onView(withId(resourceId(ID, PASSWORD_LAYOUT))).check(matches(isDisplayed())); in wrongPasswordSavedNetwork() 360 onView(withId(resourceId(ID, PASSWORD))).check(matches(isDisplayed())); in wrongPasswordSavedNetwork()
|
/packages/apps/Email/tests/src/com/android/email/mail/store/ |
D | ImapStoreUnitTests.java | 635 private void expectLogin(MockTransport mockTransport, boolean startTls, boolean withId, in expectLogin() argument 640 expectCapability(mockTransport, withId, withUidPlus); in expectLogin() 648 expectCapability(mockTransport, withId, withUidPlus); in expectLogin() 652 if (withId) { in expectLogin() 667 private void expectCapability(MockTransport mockTransport, boolean withId, in expectCapability() argument 670 capabilityList += withId ? " iD" : ""; in expectCapability()
|