Home
last modified time | relevance | path

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

/aosp14/frameworks/base/core/tests/coretests/src/com/android/internal/app/
H A DChooserActivityWorkProfileTest.java28 import static androidx.test.espresso.matcher.ViewMatchers.withText;
302 onView(withText(R.string.resolver_cross_profile_blocked)) in assertCantAccessWorkAppsBlockerDisplayed()
304 onView(withText(R.string.resolver_cant_access_work_apps_explanation)) in assertCantAccessWorkAppsBlockerDisplayed()
309 onView(withText(R.string.resolver_cross_profile_blocked)) in assertCantAccessPersonalAppsBlockerDisplayed()
311 onView(withText(R.string.resolver_cant_access_personal_apps_explanation)) in assertCantAccessPersonalAppsBlockerDisplayed()
316 onView(withText(R.string.resolver_cross_profile_blocked)) in assertCantShareWorkAppsBlockerDisplayed()
318 onView(withText(R.string.resolver_cant_share_with_work_apps_explanation)) in assertCantShareWorkAppsBlockerDisplayed()
323 onView(withText(R.string.resolver_cross_profile_blocked)) in assertCantSharePersonalAppsBlockerDisplayed()
331 onView(withText(R.string.resolver_cross_profile_blocked)) in assertNoBlockerDisplayed()
342 onView(withText(stringId)).perform(click()); in switchToTab()
[all …]
H A DResolverActivityTest.java27 import static androidx.test.espresso.matcher.ViewMatchers.withText;
121 onView(withText(toChoose.activityInfo.name)) in twoOptionsAndUserSelectsOne()
517 onView(withText(R.string.resolver_work_tab)) in testWorkTab_workProfileHasExpectedNumberOfTargets()
543 onView(withText(R.string.resolver_work_tab)) in testWorkTab_selectingWorkTabAppOpensAppInWorkProfile()
571 onView(withText(R.string.resolver_work_tab)) in testWorkTab_noPersonalApps_workTabHasExpectedNumberOfTargets()
614 onView(withText(R.string.resolver_work_tab)) in testWorkTab_switchTabs_headerStaysSame()
646 onView(withText(R.string.resolver_work_tab)) in testWorkTab_noPersonalApps_canStartWorkApps()
650 withText(workResolvedComponentInfos.get(0) in testWorkTab_noPersonalApps_canStartWorkApps()
685 onView(withText(R.string.resolver_cross_profile_blocked)) in testWorkTab_crossProfileIntentsDisabled_personalToWork_emptyStateShown()
713 onView(withText(R.string.resolver_turn_on_work_apps)) in testWorkTab_workProfileDisabled_emptyStateShown()
[all …]
H A DResolverActivityWorkProfileTest.java28 import static androidx.test.espresso.matcher.ViewMatchers.withText;
294 onView(withText(R.string.resolver_cross_profile_blocked)) in assertCantAccessWorkAppsBlockerDisplayed()
296 onView(withText(R.string.resolver_cant_access_work_apps_explanation)) in assertCantAccessWorkAppsBlockerDisplayed()
301 onView(withText(R.string.resolver_cross_profile_blocked)) in assertCantAccessPersonalAppsBlockerDisplayed()
303 onView(withText(R.string.resolver_cant_access_personal_apps_explanation)) in assertCantAccessPersonalAppsBlockerDisplayed()
309 onView(withText(R.string.resolver_cross_profile_blocked)) in assertNoBlockerDisplayed()
320 onView(withText(stringId)).perform(click()); in switchToTab()
324 onView(withText(stringId)).check(matches(isSelected())); in switchToTab()
H A DChooserActivityTest.java370 .check(matches(withText(previewTitle))); in visiblePreviewTitleWithoutThumbnail()
455 onView(withText(toChoose.activityInfo.name)) in twoOptionsAndUserSelectsOne()
509 onView(allOf(withText(appName), hasSibling(withText("")))).perform(click()); in fourOptionsStackedIntoOneTarget()
551 onView(withText(toChoose.activityInfo.name)) in updateChooserCountsAndModelAfterUserSelection()
1197 .check(matches(withText("app.pdf"))); in oneVisibleFilePreview()
1263 .check(matches(withText("app.pdf"))); in contentProviderThrowSecurityException()
1499 onView(withText(name)) in testDirectTargetSelectionLogging()
1577 onView(withText(name)) in testDirectTargetLoggingWithRankedAppTarget()
1845 onView(withText(name)) in testDirectTargetLoggingWithAppTargetNotRanked()
2136 onView(withText(toChoose.activityInfo.name)) in testAppTargetLogging()
[all …]
/aosp14/frameworks/base/core/tests/coretests/src/com/android/internal/accessibility/
H A DAccessibilityShortcutChooserActivityTest.java30 import static androidx.test.espresso.matcher.ViewMatchers.withText;
137 onView(withText(TEST_LABEL)).perform(scrollTo(), doubleClick()); in doubleClickTestServiceAndClickDenyButton_permissionDialogDoesNotExist()
143 onView(withText(DENY_LABEL)).perform(scrollTo(), click()); in doubleClickTestServiceAndClickDenyButton_permissionDialogDoesNotExist()
157 onView(withText(TEST_LABEL)).perform(scrollTo(), click()); in clickServiceTarget_notPermittedByAdmin_sendRestrictedDialogIntent()
171 onView(withText(ONE_HANDED_MODE)).inRoot(isDialog()).check(matches(isDisplayed())); in popEditShortcutMenuList_oneHandedModeEnabled_shouldBeInListView()
182 onView(withText(ONE_HANDED_MODE)).inRoot(isDialog()).check(doesNotExist()); in popEditShortcutMenuList_oneHandedModeDisabled_shouldNotBeInListView()
/aosp14/frameworks/base/core/tests/coretests/src/android/widget/espresso/
H A DSuggestionsPopupwindowUtils.java25 import static androidx.test.espresso.matcher.ViewMatchers.withText;
86 onSuggestionsPopupItem(withText(itemLabel)).check(matches(isDisplayed())); in assertSuggestionsPopupContainsItem()
95 onSuggestionsPopupItem(withText(itemLabel)).perform(new SuggestionItemClickAction()); in clickSuggestionsPopupItem()
H A DContextMenuUtils.java29 import static androidx.test.espresso.matcher.ViewMatchers.withText;
100 hasDescendant(withText(itemLabel)), in getVisibleMenuItemMatcher()
/aosp14/frameworks/base/services/tests/mockingservicestests/src/android/service/games/
H A DGameSessionTrampolineActivityTest.java25 import static androidx.test.espresso.matcher.ViewMatchers.withText;
179 onView(withText(TestActivity.PAGE_TITLE_TEXT)).check(matches(isDisplayed())); in assertPageIsLaunched()
184 onView(withText(TestActivity.PAGE_TITLE_TEXT)).check(doesNotExist()); in assertPageIsNotLaunched()
191 onView(allOf(withText(TestActivity.FINISH_BUTTON_TEXT), isClickable())).perform( in clickFinish()
/aosp14/frameworks/base/packages/SystemUI/scripts/
H A Dnew_merge.py130 def prepareFileForCompare(inFile, outFile, skip="", replace="", withText=""): argument
144 fout.write(line.replace(replace, withText))
/aosp14/frameworks/base/core/tests/coretests/src/android/widget/
H A DSuggestionsPopupWindowTest.java36 import static androidx.test.espresso.matcher.ViewMatchers.withText;
174 onView(withId(R.id.textview)).check(matches(withText("abc DEF ghi"))); in testSuggestionItems()
187 onView(withId(R.id.textview)).check(matches(withText("abc ghi"))); in testSuggestionItems()
240 onView(withId(R.id.textview)).check(matches(withText("abc DEF ghi"))); in testEasyCorrect()
H A DTextViewActivityMouseTest.java43 import static androidx.test.espresso.matcher.ViewMatchers.withText;
185 onView(withId(R.id.textview)).check(matches(withText("abc ghi.def"))); in testDragAndDrop()
201 onView(withId(R.id.textview)).check(matches(withText("abc ghi.def"))); in testDragAndDrop_longClick()
H A DTextViewActivityTest.java46 import static androidx.test.espresso.matcher.ViewMatchers.withText;
146 onView(withId(R.id.textview)).check(matches(withText(helloWorld))); in testTypedTextIsOnScreen()
156 onView(withId(R.id.textview)).check(matches(withText("Hello orld!"))); in testPositionCursorAtTextAtIndex()
252 onView(withId(R.id.textview)).check(matches(withText("abc ghi.def"))); in testDragAndDrop()
260 onView(withId(R.id.textview)).check(matches(withText(text))); in testDragAndDrop()
1256 onView(withId(R.id.textview)).check(matches(withText("styledtext"))); in testPastePlainText_menuAction()