Home
last modified time | relevance | path

Searched refs:withId (Results 1 – 25 of 26) sorted by relevance

12

/packages/apps/ManagedProvisioning/tests/instrumentation/src/com/android/managedprovisioning/provisioning/
DProvisioningActivityTest.java32 import static androidx.test.espresso.matcher.ViewMatchers.withId;
370 onView(withId(android.R.id.button1)) in testErrorNoFactoryReset()
396 onView(withId(android.R.id.button1)) in testErrorFactoryReset()
437 onView(withId(android.R.id.button2)) in testCancelProfileOwner()
451 onView(withId(android.R.id.button1)) in testCancelProfileOwner()
525 onView(withId(android.R.id.button2)) in testCancelDeviceOwner()
539 onView(withId(android.R.id.button1)) in testCancelDeviceOwner()
604 onView(withId(R.id.provisioning_progress)) in testInitializeUi_profileOwner()
608 onView(withId(R.id.animation)).check(matches(isDisplayed())); in testInitializeUi_profileOwner()
617 onView(withId(R.id.provisioning_progress)).check( in testInitializeUi_deviceOwner()
[all …]
DLandingActivityTest.java24 import static androidx.test.espresso.matcher.ViewMatchers.withId;
85 onView(withId(R.id.setup_wizard_layout)); in launchProvisioningActivityWithParams()
/packages/apps/Settings/tests/unit/src/com/android/settings/password/
DConfirmLockPasswordTest.java23 import static androidx.test.espresso.matcher.ViewMatchers.withId;
56 onView(withId(R.id.password_entry)).perform(typeText("1234")) in enterWrongPin_shouldShowErrorMessage()
58 onView(withId(R.id.errorText)).check(matches(withText(R.string.lockpassword_invalid_pin))); in enterWrongPin_shouldShowErrorMessage()
66 onView(withId(R.id.password_entry)).perform(typeText("1234")) in enterWrongPin_darkTheme_shouldShowErrorMessage()
68 onView(withId(R.id.errorText)).check(matches(withText(R.string.lockpassword_invalid_pin))); in enterWrongPin_darkTheme_shouldShowErrorMessage()
DSetupChooseLockPasswordAppTest.java26 import static androidx.test.espresso.matcher.ViewMatchers.withId;
98 onView(withId(R.id.password_entry)).perform(ViewActions.typeText("1234")) in clearIsNotShown_when_nothingEntered()
109 onView(withId(R.id.password_entry)).perform(ViewActions.typeText("1234")) in clearIsShown_when_somethingEnteredToConfirm()
112 onView(withId(R.id.password_entry)).perform(ViewActions.typeText("1234")) in clearIsShown_when_somethingEnteredToConfirm()
DChooseLockPasswordTest.java25 import static androidx.test.espresso.matcher.ViewMatchers.withId;
79 onView(withId(R.id.password_entry)).perform(ViewActions.typeText("1234")) in clearIsNotShown_when_nothingEntered()
91 onView(withId(R.id.password_entry)).perform(ViewActions.typeText("1234")) in clearIsShown_when_somethingEnteredToConfirm()
/packages/apps/ManagedProvisioning/tests/instrumentation/src/com/android/managedprovisioning/preprovisioning/
DEncryptDeviceActivityTest.java26 import static androidx.test.espresso.matcher.ViewMatchers.withId;
131 onView(withId(R.id.encrypt_main_text)) in testProfileOwner()
138 onView(withId(R.id.encrypt_button)).perform(click()); in testProfileOwner()
154 onView(withId(R.id.encrypt_main_text)) in testDeviceOwner()
161 onView(withId(R.id.encrypt_button)).perform(click()); in testDeviceOwner()
/packages/apps/DocumentsUI/tests/common/com/android/documentsui/bots/
DUiBot.java25 import static androidx.test.espresso.matcher.ViewMatchers.withId;
75 withId(R.id.toolbar));
185 onView(withId(id)).perform(click()); in clickToolbarItem()
253 onView(withId(android.R.id.button1)).check(matches(hasFocus())); in assertDialogOkButtonFocused()
260 onView(withId(android.R.id.button1)).perform(click()); in clickDialogOkButton()
267 onView(withId(android.R.id.button2)).perform(click()); in clickDialogCancelButton()
DSidebarBot.java22 import static androidx.test.espresso.matcher.ViewMatchers.withId;
101 onView(withId(R.id.drawer_layout)).perform(swipeRight()); in closeDrawer()
103 onView(withId(R.id.drawer_layout)).perform(swipeLeft()); in closeDrawer()
DSearchBot.java24 import static androidx.test.espresso.matcher.ViewMatchers.withId;
54 withId(R.id.option_menu_search),
62 withId(R.id.search_src_text),
DBreadBot.java23 import static androidx.test.espresso.matcher.ViewMatchers.withId;
61 private static final Matcher<View> DROPDOWN_BREADCRUMB = withId(
64 private static final Matcher<View> HORIZONTAL_BREADCRUMB = withId(
DSortBot.java24 import static androidx.test.espresso.matcher.ViewMatchers.withId;
132 private static final Matcher<View> MATCHER = withId(R.id.table_header);
/packages/services/Telephony/tests/src/com/android/phone/
DRoamingDialogFragmentTest.java26 import static androidx.test.espresso.matcher.ViewMatchers.withId;
97 onView(withId(android.R.id.button1)).perform(click()); in dataRoamingEnabledWhenPositiveButtonClicked()
111 onView(withId(android.R.id.button2)).perform(click()); in dialogDismissedOnNegativeButtonClicked()
124 onView(withId(android.R.id.button2)).perform(click()); in dataRoamingStaysDisabledWhenDialogCanceled()
/packages/apps/Settings/tests/unit/src/com/android/settings/dashboard/
DPreferenceThemeTest.java22 import static androidx.test.espresso.matcher.ViewMatchers.withId;
60 onView(allOf(withId(R.id.icon_frame), withEffectiveVisibility(Visibility.VISIBLE))) in startSetupWizardLockScreen_preferenceIconSpaceNotReserved()
62 onView(withId(R.id.icon_container)).check(doesNotExist()); in startSetupWizardLockScreen_preferenceIconSpaceNotReserved()
/packages/apps/DocumentsUI/src/com/android/documentsui/sorting/
DSortModel.java459 .withId(SORT_DIMENSION_ID_TITLE) in createModel()
471 .withId(SORT_DIMENSION_ID_SUMMARY) in createModel()
481 .withId(SORT_DIMENSION_ID_SIZE) in createModel()
492 .withId(SORT_DIMENSION_ID_FILE_TYPE) in createModel()
502 .withId(SORT_DIMENSION_ID_DATE) in createModel()
DSortDimension.java217 Builder withId(int id) { in withId() method in SortDimension.Builder
/packages/apps/EmergencyInfo/tests/unit/src/com/android/emergency/preferences/
DEmergencyContactsPreferenceTest.java21 import static androidx.test.espresso.matcher.ViewMatchers.withId;
101 onView(withId(R.id.delete_contact)).perform(new RelaxedClick()); in testWidgetClick_positiveButton()
113 onView(withId(R.id.delete_contact)).perform(new RelaxedClick()); in testWidgetClick_negativeButton()
/packages/apps/ManagedProvisioning/tests/instrumentation/src/com/android/managedprovisioning/preprovisioning/terms/
DTermsActivityTest.java24 import static androidx.test.espresso.matcher.ViewMatchers.withId;
121 onView(withId(R.id.disclaimer_content)).check(isNotDisplayed()); in expanderTest()
143 onView(withId(R.id.disclaimer_content)).check(matches(withText("item1\nitem2\n"))); in expanderTest()
/packages/apps/DocumentsUI/tests/unit/com/android/documentsui/sorting/
DSortModelTest.java45 .withId(1)
54 .withId(2)
61 .withId(3)
DSortDimensionTest.java55 .withId(ID) in setUp()
/packages/apps/Settings/tests/unit/src/com/android/settings/biometrics/fingerprint/
DFingerprintEnrollFinishTest.java24 import static androidx.test.espresso.matcher.ViewMatchers.withId;
90 onView(withId(R.id.next_button)).perform(click()); in clickNext_shouldFinish()
/packages/apps/Settings/tests/unit/src/com/android/settings/wifi/
DWifiSettingsUiTest.java25 import static androidx.test.espresso.matcher.ViewMatchers.withId;
331 onView(withId(resourceId(ID, PASSWORD_LAYOUT))).check(matches(isDisplayed())); in wrongPasswordSavedNetwork()
332 onView(withId(resourceId(ID, PASSWORD))).check(matches(isDisplayed())); in wrongPasswordSavedNetwork()
/packages/apps/Settings/tests/unit/src/com/android/settings/notification/
DAppNotificationSettingsTest.java29 import static androidx.test.espresso.matcher.ViewMatchers.withId;
103 onView(allOf(withId(android.R.id.button1), in launchNotificationSetting_shouldNotHaveAppInfoLink()
/packages/apps/Email/tests/src/com/android/email/mail/store/
DImapStoreUnitTests.java635 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()
/packages/apps/ManagedProvisioning/tests/instrumentation/src/com/android/managedprovisioning/e2eui/
DManagedProfileTest.java21 import static androidx.test.espresso.matcher.ViewMatchers.withId;
/packages/apps/TV/tests/common/src/com/android/tv/testing/dvr/
DDvrDataManagerInMemoryImpl.java207 recordedProgram = recordedProgram.withId(mNextId.incrementAndGet()); in addRecordedProgramInternal()

12