Home
last modified time | relevance | path

Searched refs:check (Results 1 – 25 of 248) sorted by relevance

12345678910

/packages/modules/HealthFitness/apk/tests/src/com/android/healthconnect/controller/tests/permissiontypes/
DHealthPermissionTypesFragmentTest.kt85 onView(withText("Active calories burned")).check(doesNotExist()) in permissionTypesFragment_isDisplayed()
86 onView(withText("Distance")).check(matches(isDisplayed())) in permissionTypesFragment_isDisplayed()
87 onView(withText("Elevation gained")).check(doesNotExist()) in permissionTypesFragment_isDisplayed()
88 onView(withText("Exercise")).check(matches(isDisplayed())) in permissionTypesFragment_isDisplayed()
89 onView(withText("Floors climbed")).check(doesNotExist()) in permissionTypesFragment_isDisplayed()
90 onView(withText("Power")).check(doesNotExist()) in permissionTypesFragment_isDisplayed()
91 onView(withText("Steps")).check(matches(isDisplayed())) in permissionTypesFragment_isDisplayed()
92 onView(withText("Total calories burned")).check(doesNotExist()) in permissionTypesFragment_isDisplayed()
93 onView(withText("VO2 max")).check(doesNotExist()) in permissionTypesFragment_isDisplayed()
94 onView(withText("Wheelchair pushes")).check(doesNotExist()) in permissionTypesFragment_isDisplayed()
[all …]
/packages/providers/MediaProvider/tests/src/com/android/providers/media/photopicker/espresso/
DSpecialFormatMultiSelectTest.java48 onView(withId(PICKER_TAB_RECYCLERVIEW_ID)).check(matches(isDisplayed())); in testPreview_multiSelect_longPress_gif()
56 onView(withId(PREVIEW_GIF_ID)).check(matches(isDisplayed())); in testPreview_multiSelect_longPress_gif()
57 onView(withId(R.id.preview_imageView)).check(matches(isDisplayed())); in testPreview_multiSelect_longPress_gif()
58 onView(withId(PREVIEW_MOTION_PHOTO_ID)).check(doesNotExist()); in testPreview_multiSelect_longPress_gif()
64 onView(withId(PICKER_TAB_RECYCLERVIEW_ID)).check(matches(isDisplayed())); in testPreview_multiSelect_longPress_animatedWebp()
72 onView(withId(R.id.preview_imageView)).check(matches(isDisplayed())); in testPreview_multiSelect_longPress_animatedWebp()
75 onView(withId(PREVIEW_GIF_ID)).check(matches(isDisplayed())); in testPreview_multiSelect_longPress_animatedWebp()
78 onView(withId(PREVIEW_MOTION_PHOTO_ID)).check(doesNotExist()); in testPreview_multiSelect_longPress_animatedWebp()
87 onView(withId(PICKER_TAB_RECYCLERVIEW_ID)).check(matches(isDisplayed())); in testPreview_multiSelect_longPress_nonAnimatedWebp()
95 onView(withId(R.id.preview_imageView)).check(matches(isDisplayed())); in testPreview_multiSelect_longPress_nonAnimatedWebp()
[all …]
DMultiSelectTest.java87 onView(withId(DRAG_BAR_ID)).check(matches(isDisplayed())); in testMultiselect_showDragBar()
92 onView(withId(PRIVACY_TEXT_ID)).check(matches(isDisplayed())); in testMultiselect_showPrivacyText()
97 onView(withId(PICKER_TAB_RECYCLERVIEW_ID)).check(matches(isDisplayed())); in testMultiselect_selectIcon()
127 onView(withId(PICKER_TAB_RECYCLERVIEW_ID)).check(matches(isDisplayed())); in testMultiSelect_bottomBar()
134 onView(withId(bottomBarId)).check(matches(not(isDisplayed()))); in testMultiSelect_bottomBar()
139 onView(withId(bottomBarId)).check(matches(isDisplayed())); in testMultiSelect_bottomBar()
140 onView(withId(viewSelectedId)).check(matches(isDisplayed())); in testMultiSelect_bottomBar()
141 onView(withId(viewSelectedId)).check(matches(withText(R.string.picker_view_selected))); in testMultiSelect_bottomBar()
142 onView(withId(addButtonId)).check(matches(isDisplayed())); in testMultiSelect_bottomBar()
146 onView(withId(bottomBarId)).check(matches(not(isDisplayed()))); in testMultiSelect_bottomBar()
[all …]
DPreviewMultiSelectTest.java77 onView(withId(PICKER_TAB_RECYCLERVIEW_ID)).check(matches(isDisplayed())); in testPreview_multiSelect_common()
78 onView(withId(DRAG_BAR_ID)).check(matches(isDisplayed())); in testPreview_multiSelect_common()
79 onView(withId(PRIVACY_TEXT_ID)).check(matches(isDisplayed())); in testPreview_multiSelect_common()
89 onView(withId(DRAG_BAR_ID)).check(matches(not(isDisplayed()))); in testPreview_multiSelect_common()
92 onView(withId(PRIVACY_TEXT_ID)).check(matches(not(isDisplayed()))); in testPreview_multiSelect_common()
101 onView(withId(PREVIEW_ADD_OR_SELECT_BUTTON_ID)).check(matches(not(isDisplayed()))); in testPreview_multiSelect_common()
104 onView(withId(PREVIEW_IMAGE_VIEW_ID)).check(matches(isCompletelyDisplayed())); in testPreview_multiSelect_common()
109 onView(withId(PICKER_TAB_RECYCLERVIEW_ID)).check(matches(isDisplayed())); in testPreview_multiSelect_common()
111 onView(withId(DRAG_BAR_ID)).check(matches(isDisplayed())); in testPreview_multiSelect_common()
112 onView(withId(PRIVACY_TEXT_ID)).check(matches(isDisplayed())); in testPreview_multiSelect_common()
[all …]
DPreviewSingleSelectTest.java67 onView(withId(PICKER_TAB_RECYCLERVIEW_ID)).check(matches(isDisplayed())); in testPreview_singleSelect_image()
93 onView(withId(DRAG_BAR_ID)).check(matches(not(isDisplayed()))); in testPreview_singleSelect_image()
95 onView(withId(PRIVACY_TEXT_ID)).check(matches(not(isDisplayed()))); in testPreview_singleSelect_image()
102 onView(withId(R.id.preview_imageView)).check(matches(isDisplayed())); in testPreview_singleSelect_image()
104 onView(withId(PREVIEW_MOTION_PHOTO_ID)).check(doesNotExist()); in testPreview_singleSelect_image()
105 onView(withId(PREVIEW_GIF_ID)).check(doesNotExist()); in testPreview_singleSelect_image()
112 onView(withId(PICKER_TAB_RECYCLERVIEW_ID)).check(matches(isDisplayed())); in testPreview_singleSelect_image()
113 onView(withId(DRAG_BAR_ID)).check(matches(isDisplayed())); in testPreview_singleSelect_image()
114 onView(withId(PRIVACY_TEXT_ID)).check(matches(isDisplayed())); in testPreview_singleSelect_image()
131 onView(withId(PICKER_TAB_RECYCLERVIEW_ID)).check(matches(isDisplayed())); in testPreview_singleSelect_video()
[all …]
DPreviewMultiSelectLongPressTest.java61 onView(withId(PICKER_TAB_RECYCLERVIEW_ID)).check(matches(isDisplayed())); in testPreview_multiSelect_longPress_image()
69 onView(withId(DRAG_BAR_ID)).check(matches(not(isDisplayed()))); in testPreview_multiSelect_longPress_image()
72 onView(withId(PRIVACY_TEXT_ID)).check(matches(not(isDisplayed()))); in testPreview_multiSelect_longPress_image()
76 onView(withId(R.id.preview_imageView)).check(matches(isDisplayed())); in testPreview_multiSelect_longPress_image()
78 onView(withId(PREVIEW_MOTION_PHOTO_ID)).check(doesNotExist()); in testPreview_multiSelect_longPress_image()
79 onView(withId(PREVIEW_GIF_ID)).check(doesNotExist()); in testPreview_multiSelect_longPress_image()
85 onView(withId(PICKER_TAB_RECYCLERVIEW_ID)).check(matches(isDisplayed())); in testPreview_multiSelect_longPress_image()
87 onView(withId(DRAG_BAR_ID)).check(matches(isDisplayed())); in testPreview_multiSelect_longPress_image()
88 onView(withId(PRIVACY_TEXT_ID)).check(matches(isDisplayed())); in testPreview_multiSelect_longPress_image()
93 onView(withId(PICKER_TAB_RECYCLERVIEW_ID)).check(matches(isDisplayed())); in testPreview_multiSelect_longPress_video()
[all …]
DPhotoPickerActivityTest.java87 onView(withId(R.id.toolbar)).check(matches(isDisplayed())); in testActivityLayout_Simple()
88 onView(withId(R.id.fragment_container)).check(matches(isDisplayed())); in testActivityLayout_Simple()
89 onView(withId(DRAG_BAR_ID)).check(matches(isDisplayed())); in testActivityLayout_Simple()
90 onView(withId(PRIVACY_TEXT_ID)).check(matches(isDisplayed())); in testActivityLayout_Simple()
92 onView(withId(R.id.profile_button)).check(matches(not(isDisplayed()))); in testActivityLayout_Simple()
93 onView(withId(android.R.id.empty)).check(matches(not(isDisplayed()))); in testActivityLayout_Simple()
114 onView(withId(R.id.profile_button)).check(matches(not(isDisplayed()))); in testDoesNotShowProfileButton_fullScreen()
135 onView(withId(DRAG_BAR_ID)).check(matches(isDisplayed())); in testBottomSheetState()
136 onView(withId(PRIVACY_TEXT_ID)).check(matches(isDisplayed())); in testBottomSheetState()
199 onView(withId(R.id.toolbar)).check(matches(isDisplayed())); in testToolbarLayout()
[all …]
DSpecialFormatSingleSelectTest.java49 onView(withId(PICKER_TAB_RECYCLERVIEW_ID)).check(matches(isDisplayed())); in testPhotoGridLayout_motionPhoto()
65 onView(withId(PICKER_TAB_RECYCLERVIEW_ID)).check(matches(isDisplayed())); in testPhotoGridLayout_gif()
80 onView(withId(PICKER_TAB_RECYCLERVIEW_ID)).check(matches(isDisplayed())); in testPhotoGridLayout_animatedWebp()
97 onView(withId(PICKER_TAB_RECYCLERVIEW_ID)).check(matches(isDisplayed())); in testPhotoGridLayout_nonAnimatedWebp()
115 onView(withId(PICKER_TAB_RECYCLERVIEW_ID)).check(matches(isDisplayed())); in testPreview_singleSelect_gif()
124 onView(withId(PREVIEW_GIF_ID)).check(matches(isDisplayed())); in testPreview_singleSelect_gif()
125 onView(withId(PREVIEW_MOTION_PHOTO_ID)).check(doesNotExist()); in testPreview_singleSelect_gif()
131 onView(withId(PICKER_TAB_RECYCLERVIEW_ID)).check(matches(isDisplayed())); in testPreview_singleSelect_animatedWebp()
140 onView(withId(PREVIEW_GIF_ID)).check(matches(isDisplayed())); in testPreview_singleSelect_animatedWebp()
141 onView(withId(PREVIEW_MOTION_PHOTO_ID)).check(doesNotExist()); in testPreview_singleSelect_animatedWebp()
[all …]
DActiveProfileButtonTest.java65 onView(withId(PROFILE_BUTTON)).check(matches(isDisplayed())); in testProfileButton_hideInAlbumPhotos()
71 onView(withId(PROFILE_BUTTON)).check(matches(isDisplayed())); in testProfileButton_hideInAlbumPhotos()
77 onView(withId(PROFILE_BUTTON)).check(matches(not(isDisplayed()))); in testProfileButton_hideInAlbumPhotos()
84 .check(matches(isSelected())); in testProfileButton_hideInAlbumPhotos()
86 onView(withId(PROFILE_BUTTON)).check(matches(isDisplayed())); in testProfileButton_hideInAlbumPhotos()
92 onView(withId(PROFILE_BUTTON)).check(matches(isDisplayed())); in testProfileButton_hideInAlbumPhotos()
98 onView(withId(PROFILE_BUTTON)).check(matches(isDisplayed())); in testProfileButton_hideOnItemSelection()
104 onView(withId(PROFILE_BUTTON)).check(matches(not(isDisplayed()))); in testProfileButton_hideOnItemSelection()
110 onView(withId(PROFILE_BUTTON)).check(matches(isDisplayed())); in testProfileButton_hideOnItemSelection()
115 onView(withId(PROFILE_BUTTON)).check(matches(not(isDisplayed()))); in testProfileButton_hideOnItemSelection()
[all …]
DPhotosTabTest.java62 onView(withId(PICKER_TAB_RECYCLERVIEW_ID)).check(matches(isDisplayed())); in testPhotoGridLayout_photoGrid()
65 onView(withId(PICKER_TAB_RECYCLERVIEW_ID)).check(new RecyclerViewItemCountAssertion(4)); in testPhotoGridLayout_photoGrid()
70 .check(matches(withText(R.string.recent))); in testPhotoGridLayout_photoGrid()
73 onView(withId(R.id.picker_bottom_bar)).check(matches(not(isDisplayed()))); in testPhotoGridLayout_photoGrid()
78 onView(withId(PICKER_TAB_RECYCLERVIEW_ID)).check(matches(isDisplayed())); in testPhotoGridLayout_image()
93 onView(withId(PICKER_TAB_RECYCLERVIEW_ID)).check(matches(isDisplayed())); in testPhotoGridLayout_video()
105 .check(matches(withText(containsString("0")))); in testPhotoGridLayout_video()
126 .check(matches(isDisplayed())); in testPhotoGrid_albumPhotos()
129 onView(withId(TAB_LAYOUT_ID)).check(matches(not(isDisplayed()))); in testPhotoGrid_albumPhotos()
135 onView(withId(PRIVACY_TEXT_ID)).check(matches(not(isDisplayed()))); in testPhotoGrid_albumPhotos()
[all …]
/packages/modules/HealthFitness/apk/tests/src/com/android/healthconnect/controller/tests/dataaccess/
DHealthDataAccessFragmentTest.kt67 onView(withText("Can read distance")).check(doesNotExist()) in dataAccessFragment_noSections_noneDisplayed()
68 onView(withText("Can write distance")).check(doesNotExist()) in dataAccessFragment_noSections_noneDisplayed()
69 onView(withText("Inactive apps")).check(doesNotExist()) in dataAccessFragment_noSections_noneDisplayed()
73 .check(doesNotExist()) in dataAccessFragment_noSections_noneDisplayed()
74 onView(withText("Manage data")).check(matches(isDisplayed())) in dataAccessFragment_noSections_noneDisplayed()
75 onView(withText("See all entries")).perform(scrollTo()).check(matches(isDisplayed())) in dataAccessFragment_noSections_noneDisplayed()
76 onView(withText("Delete this data")).perform(scrollTo()).check(matches(isDisplayed())) in dataAccessFragment_noSections_noneDisplayed()
91 onView(withText("Can read distance")).check(matches(isDisplayed())) in dataAccessFragment_readSection_isDisplayed()
92 onView(withText("Can write distance")).check(doesNotExist()) in dataAccessFragment_readSection_isDisplayed()
93 onView(withText("Inactive apps")).check(doesNotExist()) in dataAccessFragment_readSection_isDisplayed()
[all …]
/packages/modules/HealthFitness/apk/tests/src/com/android/healthconnect/controller/tests/permissions/connectedapps/
DHelpAndFeedbackFragmentTest.kt52 .check(matches(ViewMatchers.isDisplayed())) in helpAndFeedbackFragment_FeedbackAvailable_sendFeedbackIsAvailable()
53 onView(withText("Things to try")).check(matches(isDisplayed())) in helpAndFeedbackFragment_FeedbackAvailable_sendFeedbackIsAvailable()
54 onView(withText("Send feedback")).check(matches(isDisplayed())) in helpAndFeedbackFragment_FeedbackAvailable_sendFeedbackIsAvailable()
58 .check(matches(isDisplayed())) in helpAndFeedbackFragment_FeedbackAvailable_sendFeedbackIsAvailable()
70 .check(matches(isDisplayed())) in helpAndFeedbackFragment_playStoreAvailable_playStoreLinksAreDisplayed()
71 onView(withText("Things to try")).check(matches(isDisplayed())) in helpAndFeedbackFragment_playStoreAvailable_playStoreLinksAreDisplayed()
72 onView(withText("Check for updates")).check(matches(isDisplayed())) in helpAndFeedbackFragment_playStoreAvailable_playStoreLinksAreDisplayed()
73 onView(withText("Make sure installed apps are up-to-date")).check(matches(isDisplayed())) in helpAndFeedbackFragment_playStoreAvailable_playStoreLinksAreDisplayed()
74 onView(withText("See all compatible apps")).check(matches(isDisplayed())) in helpAndFeedbackFragment_playStoreAvailable_playStoreLinksAreDisplayed()
75 onView(withText("Find apps on Google\u00A0Play")).check(matches(isDisplayed())) in helpAndFeedbackFragment_playStoreAvailable_playStoreLinksAreDisplayed()
[all …]
DConnectedAppsFragmentTest.kt86 onView(withText(TEST_APP_NAME)).check(matches(isDisplayed())) in test_allowedApps()
87 onView(withText("No apps allowed")).check(doesNotExist()) in test_allowedApps()
97 onView(withText(TEST_APP_NAME)).check(matches(isDisplayed())) in test_deniedApps()
98 onView(withText("No apps denied")).check(doesNotExist()) in test_deniedApps()
108 onView(withText(R.string.disconnect_all_apps)).check(matches(isEnabled())) in allowedApps_removeAccessEnabled()
118 onView(withText(R.string.disconnect_all_apps)).check(matches(isDisplayed())) in noAllowedApps_removeAccessDisabled()
129 onView(withText(R.string.loading)).check(matches(isDisplayed())) in showsLoading()
140 onView(withText(R.string.loading)).check(doesNotExist()) in dismissLoading()
150 onView(withText(TEST_APP_NAME)).check(matches(isDisplayed())) in test_inactiveApp_showsInactiveApps()
151 onView(withText(R.string.inactive_apps)).check(matches(isDisplayed())) in test_inactiveApp_showsInactiveApps()
[all …]
/packages/modules/Virtualization/pvmfw/src/
Dbootargs.rs118 fn check(raw: &CStr, expected: Result<&[(&str, Option<&str>)], ()>) { in check() function
144 check(cstr!(""), Ok(&[])); in empty()
145 check(cstr!(" "), Ok(&[])); in empty()
146 check(cstr!(" \n "), Ok(&[])); in empty()
151 check(cstr!("foo"), Ok(&[("foo", None)])); in single()
152 check(cstr!(" foo"), Ok(&[("foo", None)])); in single()
153 check(cstr!("foo "), Ok(&[("foo", None)])); in single()
154 check(cstr!(" foo "), Ok(&[("foo", None)])); in single()
159 check(cstr!("foo=bar"), Ok(&[("foo", Some("=bar"))])); in single_with_value()
160 check(cstr!(" foo=bar"), Ok(&[("foo", Some("=bar"))])); in single_with_value()
[all …]
/packages/modules/HealthFitness/apk/tests/src/com/android/healthconnect/controller/tests/deletion/
DDeletionFragmentTest.kt79 onView(withText("Choose data to delete")).inRoot(isDialog()).check(matches(isDisplayed())) in deleteAllData_timeRangeDialog_showsCorrectText()
85 .check(matches(isDisplayed())) in deleteAllData_timeRangeDialog_showsCorrectText()
86 onView(withText("Delete last 24 hours")).inRoot(isDialog()).check(matches(isDisplayed())) in deleteAllData_timeRangeDialog_showsCorrectText()
87 onView(withText("Delete last 7 days")).inRoot(isDialog()).check(matches(isDisplayed())) in deleteAllData_timeRangeDialog_showsCorrectText()
88 onView(withText("Delete last 30 days")).inRoot(isDialog()).check(matches(isDisplayed())) in deleteAllData_timeRangeDialog_showsCorrectText()
89 onView(withText("Delete all data")).inRoot(isDialog()).check(matches(isDisplayed())) in deleteAllData_timeRangeDialog_showsCorrectText()
90 onView(withText("Cancel")).inRoot(isDialog()).check(matches(isDisplayed())) in deleteAllData_timeRangeDialog_showsCorrectText()
91 onView(withText("Next")).inRoot(isDialog()).check(matches(isDisplayed())) in deleteAllData_timeRangeDialog_showsCorrectText()
110 onView(withText("Choose data to delete")).inRoot(isDialog()).check(matches(isDisplayed())) in deleteCategoryData_timeRangeDialog_showsCorrectText()
116 .check(matches(isDisplayed())) in deleteCategoryData_timeRangeDialog_showsCorrectText()
[all …]
/packages/apps/Car/Launcher/tests/src/com/android/car/carlauncher/
DAppGridPageSnapperTest.java95 onView(withId(R.id.list)).check(matches(isDisplayed())); in testScrollToNextPage()
108 onView(withText(getItemText(0, 0))).check(matches(isCompletelyDisplayed())); in testScrollToNextPage()
122 onView(withText(getItemText(0, 0))).check(matches(isCompletelyDisplayed())); in testScrollToNextPage()
124 onView(withText(getItemText(mItemPerPage - 1, 0))).check(matches(isCompletelyDisplayed())); in testScrollToNextPage()
132 onView(withText(getItemText(0, 1))).check(matches(isDisplayed())); in testScrollToNextPage()
133 onView(withText(getItemText(1, 1))).check(matches(isCompletelyDisplayed())); in testScrollToNextPage()
134 onView(withText(getItemText(2, 1))).check(matches(isCompletelyDisplayed())); in testScrollToNextPage()
136 onView(withText(getItemText(mItemPerPage - 1, 1))).check(matches(isDisplayed())); in testScrollToNextPage()
143 onView(withId(R.id.list)).check(matches(isDisplayed())); in testSwipeRightAndStayOnCurrentPage()
158 onView(withText(getItemText(0, 0))).check(matches(isCompletelyDisplayed())); in testSwipeRightAndStayOnCurrentPage()
[all …]
/packages/modules/HealthFitness/apk/tests/src/com/android/healthconnect/controller/tests/autodelete/
DAutoDeleteFragmentTest.kt67 .check(matches(isDisplayed())) in autoDeleteFragment_isDisplayed()
70 .check(matches(isDisplayed())) in autoDeleteFragment_isDisplayed()
71 onView(withText("Auto-delete data")).check(matches(isDisplayed())) in autoDeleteFragment_isDisplayed()
72 onView(withText("After 3 months")).check(matches(isDisplayed())) in autoDeleteFragment_isDisplayed()
73 onView(withText("After 18 months")).check(matches(isDisplayed())) in autoDeleteFragment_isDisplayed()
74 onView(withText("Never")).check(matches(isDisplayed())) in autoDeleteFragment_isDisplayed()
78 .check(matches(isDisplayed())) in autoDeleteFragment_isDisplayed()
96 onView(withId(R.id.radio_button_never)).check(matches(isChecked())) in autoDelete_checkDefaultRange_defaultRange()
118 .check(matches(isDisplayed())) in autoDelete_setRangeTo3Months_saveChanges()
123 .check(matches(isDisplayed())) in autoDelete_setRangeTo3Months_saveChanges()
[all …]
/packages/modules/HealthFitness/apk/tests/src/com/android/healthconnect/controller/tests/home/
DHomeFragmentTest.kt111 .check(matches(isDisplayed())) in test_HomeFragment_withRecentAccessApps()
112 onView(withText("App permissions")).check(matches(isDisplayed())) in test_HomeFragment_withRecentAccessApps()
113 onView(withText("None")).check(matches(isDisplayed())) in test_HomeFragment_withRecentAccessApps()
114 onView(withText("Data and access")).check(matches(isDisplayed())) in test_HomeFragment_withRecentAccessApps()
116 onView(withText("Recent access")).check(matches(isDisplayed())) in test_HomeFragment_withRecentAccessApps()
117 onView(withText(TEST_APP_NAME)).check(matches(isDisplayed())) in test_HomeFragment_withRecentAccessApps()
118 onView(withText("18:40")).check(matches(isDisplayed())) in test_HomeFragment_withRecentAccessApps()
119 onView(withText("See all recent access")).check(matches(isDisplayed())) in test_HomeFragment_withRecentAccessApps()
138 .check(matches(isDisplayed())) in test_HomeFragment_withNoRecentAccessApps()
139 onView(withText("App permissions")).check(matches(isDisplayed())) in test_HomeFragment_withNoRecentAccessApps()
[all …]
/packages/apps/Car/Launcher/tests/src/com/android/car/carlauncher/homescreen/audio/
DAudioFragmentTest.java93 .check(matches(not(isDisplayed()))); in updateContentAndHeaderView_audioContentNoControls_showsMediaPlaybackControlsBar()
98 isDescendantOfA(withId(R.id.bottom_card)))).check(matches(isDisplayed())); in updateContentAndHeaderView_audioContentNoControls_showsMediaPlaybackControlsBar()
100 isDescendantOfA(withId(R.id.bottom_card)))).check(matches(isDisplayed())); in updateContentAndHeaderView_audioContentNoControls_showsMediaPlaybackControlsBar()
102 isDescendantOfA(withId(R.id.bottom_card)))).check(matches(isDisplayed())); in updateContentAndHeaderView_audioContentNoControls_showsMediaPlaybackControlsBar()
105 isDescendantOfA(withId(R.id.bottom_card)))).check(matches(isDisplayed())); in updateContentAndHeaderView_audioContentNoControls_showsMediaPlaybackControlsBar()
108 isDescendantOfA(withId(R.id.bottom_card)))).check(matches(isDisplayed())); in updateContentAndHeaderView_audioContentNoControls_showsMediaPlaybackControlsBar()
110 isDescendantOfA(withId(R.id.media_layout)))).check( in updateContentAndHeaderView_audioContentNoControls_showsMediaPlaybackControlsBar()
114 isDescendantOfA(withId(R.id.bottom_card)))).check(matches(isDisplayed())); in updateContentAndHeaderView_audioContentNoControls_showsMediaPlaybackControlsBar()
116 isDescendantOfA(withId(R.id.bottom_card)))).check(matches(not(isDisplayed()))); in updateContentAndHeaderView_audioContentNoControls_showsMediaPlaybackControlsBar()
129 isDescendantOfA(withId(R.id.bottom_card)))).check(matches(isDisplayed())); in updateContentAndHeaderView_audioContentWithControls_showsControlBar()
[all …]
/packages/apps/Car/DebuggingRestrictionController/app/src/androidTest/java/com/android/car/debuggingrestrictioncontroller/
DLoginTest.java96 .check(matches(hasErrorText(ctx.getString(R.string.invalid_username)))); in invalidEmail()
97 onView(withId(R.id.login)).check(matches(not(isEnabled()))); in invalidEmail()
107 .check(matches(hasErrorText(ctx.getString(R.string.invalid_password)))); in invalidPassword()
108 onView(withId(R.id.login)).check(matches(not(isEnabled()))); in invalidPassword()
113 onView(withId(R.id.login)).check(matches(isDisplayed())); in initialButtonStates()
114 onView(withId(R.id.login)).check(matches(not(isEnabled()))); in initialButtonStates()
115 onView(withId(R.id.next)).check(matches(isDisplayed())); in initialButtonStates()
116 onView(withId(R.id.next)).check(matches(not(isEnabled()))); in initialButtonStates()
124 onView(withId(R.id.next)).check(matches(not(isEnabled()))); in wrongPassword()
133 onView(withId(R.id.login)).check(matches(isEnabled())); in userLogout()
[all …]
/packages/modules/HealthFitness/apk/tests/src/com/android/healthconnect/controller/tests/categories/
DHealthDataCategoriesFragmentTest.kt89 onView(withText("Browse data")).check(matches(isDisplayed())) in categoriesFragment_isDisplayed()
90 onView(withText("Manage data")).check(matches(isDisplayed())) in categoriesFragment_isDisplayed()
91 onView(withText("Auto-delete")).check(matches(isDisplayed())) in categoriesFragment_isDisplayed()
92 onView(withText("Off")).check(matches(isDisplayed())) in categoriesFragment_isDisplayed()
106 .check(matches(isDisplayed())) in categoriesFragment_emptyCategories_noDataViewIsDisplayed_deleteIconIsDisabled()
107 onView(withText("Delete all data")).check(matches(not(isEnabled()))) in categoriesFragment_emptyCategories_noDataViewIsDisplayed_deleteIconIsDisabled()
120 onView(withText("Activity")).check(matches(isDisplayed())) in categoriesFragment_withCategories_categoryInformationIsDisplayed()
121 onView(withText("Body measurements")).check(matches(isDisplayed())) in categoriesFragment_withCategories_categoryInformationIsDisplayed()
134 onView(withText("See all categories")).check(matches(isDisplayed())) in seeAllCategoriesPreference_isDisplayed()
155 onView(withText("See all categories")).check(matches(isDisplayed())) in seeAllCategoriesPreference_withNoData_isDisplayed()
[all …]
/packages/modules/HealthFitness/apk/tests/src/com/android/healthconnect/controller/tests/permissions/connectedapps/settings/
DSettingsManagePermissionFragmentTest.kt72 onView(withText("Allowed access")).check(matches(isDisplayed())) in test_displaysSections()
73 onView(withText("No apps allowed")).check(matches(isDisplayed())) in test_displaysSections()
74 onView(withText("Not allowed access")).check(matches(isDisplayed())) in test_displaysSections()
75 onView(withText("No apps denied")).check(matches(isDisplayed())) in test_displaysSections()
85 onView(withText(TEST_APP_NAME)).check(matches(isDisplayed())) in test_allowedApps()
86 onView(withText("No apps allowed")).check(doesNotExist()) in test_allowedApps()
96 onView(withText(TEST_APP_NAME)).check(matches(isDisplayed())) in test_deniedApps()
97 onView(withText("No apps denied")).check(doesNotExist()) in test_deniedApps()
107 onView(withText("Accessed in past 24 hours")).check(matches(isDisplayed())) in test_accessedHealthData_showsRecentAccessSummary()
117 onView(withText(TEST_APP_NAME)).check(doesNotExist()) in test_inactiveApp_doesNotShowInactiveApps()
[all …]
/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/opp/
DBluetoothOppTransferActivityTest.java129 AtomicBoolean check = new AtomicBoolean(false); in onCreate_showSendOnGoingDialog() local
134 check.set(activity.mWhichDialog == DIALOG_SEND_ONGOING); in onCreate_showSendOnGoingDialog()
137 assertThat(check.get()).isTrue(); in onCreate_showSendOnGoingDialog()
153 AtomicBoolean check = new AtomicBoolean(false); in onCreate_showSendCompleteSuccessDialog() local
158 check.set(activity.mWhichDialog == DIALOG_SEND_COMPLETE_SUCCESS); in onCreate_showSendCompleteSuccessDialog()
161 assertThat(check.get()).isTrue(); in onCreate_showSendCompleteSuccessDialog()
175 AtomicBoolean check = new AtomicBoolean(false); in onCreate_showSendCompleteFailDialog() local
180 check.set(activity.mWhichDialog == DIALOG_SEND_COMPLETE_FAIL); in onCreate_showSendCompleteFailDialog()
183 assertThat(check.get()).isTrue(); in onCreate_showSendCompleteFailDialog()
197 AtomicBoolean check = new AtomicBoolean(false); in onCreate_showReceiveOnGoingDialog() local
[all …]
/packages/apps/ManagedProvisioning/tests/instrumentation/src/com/android/managedprovisioning/preprovisioning/terms/
DTermsActivityTest.java148 onView(withText(HEADER_0_PO)).check(matches(isDisplayed())); in expanderTest()
153 onView(withText(HEADER_0_DO)).check(matches(isDisplayed())); in expanderTest()
158 onView(withText(d.mHeader)).check(matches(isDisplayed())); in expanderTest()
162 onView(withId(R.id.disclaimer_content)).check(isNotDisplayed()); in expanderTest()
166 onView(withText(CONTENT_1)).check(matches(isDisplayed())); in expanderTest()
170 onView(withText(CONTENT_1)).check(isNotDisplayed()); in expanderTest()
171 onView(withText(CONTENT_3)).check(matches(isDisplayed())); in expanderTest()
179 onView(withText(CONTENT_3)).check(isNotDisplayed()); in expanderTest()
180 onView(withText(CONTENT_1)).check(matches(isDisplayed())); in expanderTest()
184 onView(withId(R.id.disclaimer_content)).check(matches(withText("item1\nitem2\n"))); in expanderTest()
[all …]
/packages/apps/ManagedProvisioning/tests/instrumentation/src/com/android/managedprovisioning/provisioning/
DProvisioningActivityTest.java309 onView(withText(R.string.stop_setup_reset_device_question)).check(matches(isDisplayed())); in testCancelDeviceOwner()
311 .check(matches(isDisplayed())); in testCancelDeviceOwner()
315 .check(matches(withText(R.string.device_owner_cancel_cancel))) in testCancelDeviceOwner()
325 onView(withText(R.string.stop_setup_reset_device_question)).check(matches(isDisplayed())); in testCancelDeviceOwner()
329 .check(matches(withText(R.string.reset))) in testCancelDeviceOwner()
400 .check(matches(withText(R.string.work_profile_provisioning_progress_label))); in testInitializeUi_profileOwner()
403 onView(withId(R.id.animation)).check(matches(isDisplayed())); in testInitializeUi_profileOwner()
413 onView(withId(R.id.provisioning_progress)).check( in testInitializeUi_deviceOwner()
417 onView(withId(R.id.animation)).check(matches(isDisplayed())); in testInitializeUi_deviceOwner()
436 onView(withId(R.id.provisioning_progress)).check( in testInitializeUi_deviceOwnerPermissionGrantOptOut()
[all …]

12345678910