Home
last modified time | relevance | path

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

12345678910>>...14

/packages/modules/HealthFitness/apk/tests/src/com/android/healthconnect/controller/tests/selectabledeletion/
DDeletionFragmentTest.kt105 .check(matches(isDisplayed())) in deletePermissionTypes_oneSelected_confirmationDialog_showsCorrectText()
112 .check(matches(isDisplayed())) in deletePermissionTypes_oneSelected_confirmationDialog_showsCorrectText()
113 onView(withText("Cancel")).inRoot(isDialog()).check(matches(isDisplayed())) in deletePermissionTypes_oneSelected_confirmationDialog_showsCorrectText()
114 onView(withText("Delete")).inRoot(isDialog()).check(matches(isDisplayed())) in deletePermissionTypes_oneSelected_confirmationDialog_showsCorrectText()
137 .check(matches(isDisplayed())) in deletePermissionTypes_someSelected_confirmationDialog_showsCorrectText()
144 .check(matches(isDisplayed())) in deletePermissionTypes_someSelected_confirmationDialog_showsCorrectText()
145 onView(withText("Cancel")).inRoot(isDialog()).check(matches(isDisplayed())) in deletePermissionTypes_someSelected_confirmationDialog_showsCorrectText()
146 onView(withText("Delete")).inRoot(isDialog()).check(matches(isDisplayed())) in deletePermissionTypes_someSelected_confirmationDialog_showsCorrectText()
169 .check(matches(isDisplayed())) in deletePermissionTypes_allSelected_confirmationDialog_showsCorrectText()
176 .check(matches(isDisplayed())) in deletePermissionTypes_allSelected_confirmationDialog_showsCorrectText()
[all …]
/packages/providers/MediaProvider/tests/src/com/android/providers/media/photopicker/espresso/
DSpecialFormatMultiSelectTest.java49 onView(withId(PICKER_TAB_RECYCLERVIEW_ID)).check(matches(isDisplayed())); in testPreview_multiSelect_longPress_gif()
57 onView(withId(PREVIEW_GIF_ID)).check(matches(isDisplayed())); in testPreview_multiSelect_longPress_gif()
58 onView(withId(R.id.preview_imageView)).check(matches(isDisplayed())); in testPreview_multiSelect_longPress_gif()
59 onView(withId(PREVIEW_MOTION_PHOTO_ID)).check(doesNotExist()); in testPreview_multiSelect_longPress_gif()
65 onView(withId(PICKER_TAB_RECYCLERVIEW_ID)).check(matches(isDisplayed())); in testPreview_multiSelect_longPress_animatedWebp()
73 onView(withId(R.id.preview_imageView)).check(matches(isDisplayed())); in testPreview_multiSelect_longPress_animatedWebp()
76 onView(withId(PREVIEW_GIF_ID)).check(matches(isDisplayed())); in testPreview_multiSelect_longPress_animatedWebp()
79 onView(withId(PREVIEW_MOTION_PHOTO_ID)).check(doesNotExist()); in testPreview_multiSelect_longPress_animatedWebp()
88 onView(withId(PICKER_TAB_RECYCLERVIEW_ID)).check(matches(isDisplayed())); in testPreview_multiSelect_longPress_nonAnimatedWebp()
96 onView(withId(R.id.preview_imageView)).check(matches(isDisplayed())); in testPreview_multiSelect_longPress_nonAnimatedWebp()
[all …]
DMultiSelectTest.java81 onView(withId(DRAG_BAR_ID)).check(matches(isDisplayed())); in testMultiselect_showDragBar()
86 onView(withId(PRIVACY_TEXT_ID)).check(matches(isDisplayed())); in testMultiselect_showPrivacyText()
91 onView(withId(PICKER_TAB_RECYCLERVIEW_ID)).check(matches(isDisplayed())); in testMultiselect_selectIcon()
121 onView(withId(PICKER_TAB_RECYCLERVIEW_ID)).check(matches(isDisplayed())); in testMultiSelect_bottomBar()
128 onView(withId(bottomBarId)).check(matches(not(isDisplayed()))); in testMultiSelect_bottomBar()
133 onView(withId(bottomBarId)).check(matches(isDisplayed())); in testMultiSelect_bottomBar()
134 onView(withId(viewSelectedId)).check(matches(isDisplayed())); in testMultiSelect_bottomBar()
135 onView(withId(viewSelectedId)).check(matches(withText(R.string.picker_view_selected))); in testMultiSelect_bottomBar()
136 onView(withId(addButtonId)).check(matches(isDisplayed())); in testMultiSelect_bottomBar()
140 onView(withId(bottomBarId)).check(matches(not(isDisplayed()))); in testMultiSelect_bottomBar()
[all …]
DPhotoPickerUserSelectActivityTest.java110 onView(withId(R.id.profile_button)).check(matches(not(isDisplayed()))); in testActivityProfileButtonNotShown()
115 onView(withId(R.id.profile_button)).check(matches(not(isDisplayed()))); in testActivityProfileButtonNotShown()
121 onView(withId(R.id.profile_button)).check(matches(not(isDisplayed()))); in testActivityProfileButtonNotShown()
128 .check(matches(isSelected())); in testActivityProfileButtonNotShown()
129 onView(withId(R.id.profile_button)).check(matches(not(isDisplayed()))); in testActivityProfileButtonNotShown()
139 onView(withId(bottomBarId)).check(matches(not(isDisplayed()))); in testAddButtonIsShownWithCorrectTextWhenItemsSelected()
142 onView(withId(bottomBarId)).check(matches(isDisplayed())); in testAddButtonIsShownWithCorrectTextWhenItemsSelected()
143 onView(withId(viewSelectedId)).check(matches(isDisplayed())); in testAddButtonIsShownWithCorrectTextWhenItemsSelected()
145 onView(withId(addButtonId)).check(matches(withText("Allow (1)"))); in testAddButtonIsShownWithCorrectTextWhenItemsSelected()
146 onView(withId(addButtonId)).check(matches(isDisplayed())); in testAddButtonIsShownWithCorrectTextWhenItemsSelected()
[all …]
DPreviewMultiSelectTest.java79 onView(withId(PICKER_TAB_RECYCLERVIEW_ID)).check(matches(isDisplayed())); in testPreview_multiSelect_common()
80 onView(withId(DRAG_BAR_ID)).check(matches(isDisplayed())); in testPreview_multiSelect_common()
81 onView(withId(PRIVACY_TEXT_ID)).check(matches(isDisplayed())); in testPreview_multiSelect_common()
99 onView(withId(DRAG_BAR_ID)).check(matches(not(isDisplayed()))); in testPreview_multiSelect_common()
102 onView(withId(PRIVACY_TEXT_ID)).check(matches(not(isDisplayed()))); in testPreview_multiSelect_common()
111 onView(withId(PREVIEW_ADD_OR_SELECT_BUTTON_ID)).check(matches(not(isDisplayed()))); in testPreview_multiSelect_common()
114 onView(withId(PREVIEW_IMAGE_VIEW_ID)).check(matches(isCompletelyDisplayed())); in testPreview_multiSelect_common()
119 onView(withId(PICKER_TAB_RECYCLERVIEW_ID)).check(matches(isDisplayed())); in testPreview_multiSelect_common()
121 onView(withId(DRAG_BAR_ID)).check(matches(isDisplayed())); in testPreview_multiSelect_common()
122 onView(withId(PRIVACY_TEXT_ID)).check(matches(isDisplayed())); in testPreview_multiSelect_common()
[all …]
DPreviewMultiSelectLongPressTest.java63 onView(withId(PICKER_TAB_RECYCLERVIEW_ID)).check(matches(isDisplayed())); in testPreview_multiSelect_longPress_image()
71 onView(withId(DRAG_BAR_ID)).check(matches(not(isDisplayed()))); in testPreview_multiSelect_longPress_image()
74 onView(withId(PRIVACY_TEXT_ID)).check(matches(not(isDisplayed()))); in testPreview_multiSelect_longPress_image()
78 onView(withId(R.id.preview_imageView)).check(matches(isDisplayed())); in testPreview_multiSelect_longPress_image()
80 onView(withId(PREVIEW_MOTION_PHOTO_ID)).check(doesNotExist()); in testPreview_multiSelect_longPress_image()
81 onView(withId(PREVIEW_GIF_ID)).check(doesNotExist()); in testPreview_multiSelect_longPress_image()
87 onView(withId(PICKER_TAB_RECYCLERVIEW_ID)).check(matches(isDisplayed())); in testPreview_multiSelect_longPress_image()
89 onView(withId(DRAG_BAR_ID)).check(matches(isDisplayed())); in testPreview_multiSelect_longPress_image()
90 onView(withId(PRIVACY_TEXT_ID)).check(matches(isDisplayed())); in testPreview_multiSelect_longPress_image()
95 onView(withId(PICKER_TAB_RECYCLERVIEW_ID)).check(matches(isDisplayed())); in testPreview_multiSelect_longPress_video()
[all …]
DSpecialFormatSingleSelectTest.java55 onView(withId(PICKER_TAB_RECYCLERVIEW_ID)).check(matches(isDisplayed())); in testPhotoGridLayout_motionPhoto()
71 onView(withId(PICKER_TAB_RECYCLERVIEW_ID)).check(matches(isDisplayed())); in testPhotoGridLayout_gif()
86 onView(withId(PICKER_TAB_RECYCLERVIEW_ID)).check(matches(isDisplayed())); in testPhotoGridLayout_animatedWebp()
103 onView(withId(PICKER_TAB_RECYCLERVIEW_ID)).check(matches(isDisplayed())); in testPhotoGridLayout_nonAnimatedWebp()
121 onView(withId(PICKER_TAB_RECYCLERVIEW_ID)).check(matches(isDisplayed())); in testPreview_singleSelect_gif()
134 onView(withId(PREVIEW_GIF_ID)).check(matches(isDisplayed())); in testPreview_singleSelect_gif()
135 onView(withId(PREVIEW_MOTION_PHOTO_ID)).check(doesNotExist()); in testPreview_singleSelect_gif()
141 onView(withId(PICKER_TAB_RECYCLERVIEW_ID)).check(matches(isDisplayed())); in testPreview_singleSelect_animatedWebp()
154 onView(withId(PREVIEW_GIF_ID)).check(matches(isDisplayed())); in testPreview_singleSelect_animatedWebp()
155 onView(withId(PREVIEW_MOTION_PHOTO_ID)).check(doesNotExist()); in testPreview_singleSelect_animatedWebp()
[all …]
DActiveProfileButtonTest.java71 onView(withId(PROFILE_BUTTON)).check(matches(isDisplayed())); in testProfileButton_hideInAlbumPhotos()
77 onView(withId(PROFILE_BUTTON)).check(matches(isDisplayed())); in testProfileButton_hideInAlbumPhotos()
83 onView(withId(PROFILE_BUTTON)).check(matches(not(isDisplayed()))); in testProfileButton_hideInAlbumPhotos()
90 .check(matches(isSelected())); in testProfileButton_hideInAlbumPhotos()
92 onView(withId(PROFILE_BUTTON)).check(matches(isDisplayed())); in testProfileButton_hideInAlbumPhotos()
98 onView(withId(PROFILE_BUTTON)).check(matches(isDisplayed())); in testProfileButton_hideInAlbumPhotos()
104 onView(withId(PROFILE_BUTTON)).check(matches(isDisplayed())); in testProfileButton_hideOnItemSelection()
110 onView(withId(PROFILE_BUTTON)).check(matches(not(isDisplayed()))); in testProfileButton_hideOnItemSelection()
116 onView(withId(PROFILE_BUTTON)).check(matches(isDisplayed())); in testProfileButton_hideOnItemSelection()
121 onView(withId(PROFILE_BUTTON)).check(matches(not(isDisplayed()))); in testProfileButton_hideOnItemSelection()
[all …]
DPhotoPickerActivityTest.java89 onView(withId(R.id.toolbar)).check(matches(isDisplayed())); in testActivityLayout_Simple()
90 onView(withId(R.id.fragment_container)).check(matches(isDisplayed())); in testActivityLayout_Simple()
91 onView(withId(DRAG_BAR_ID)).check(matches(isDisplayed())); in testActivityLayout_Simple()
92 onView(withId(PRIVACY_TEXT_ID)).check(matches(isDisplayed())); in testActivityLayout_Simple()
95 onView(withId(R.id.profile_button)).check(matches(not(isDisplayed()))); in testActivityLayout_Simple()
96 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 testProfileButtonHiddenInSingleUserMode()
116 onView(withId(TAB_LAYOUT_ID)).check(matches(isDisplayed())); in testProfileButtonHiddenInSingleUserMode()
122 .check(matches(isSelected())); in testProfileButtonHiddenInSingleUserMode()
124 .check(matches(isNotSelected())); in testProfileButtonHiddenInSingleUserMode()
[all …]
/packages/modules/HealthFitness/apk/tests/src/com/android/healthconnect/controller/tests/permissions/request/
DCombinedAdditionalPermissionsFragmentTest.kt114 .check(matches(isDisplayed())) in withoutMedical_withAccessDate_displaysCorrectly()
116 .check(matches(isDisplayed())) in withoutMedical_withAccessDate_displaysCorrectly()
118 onView(withText("Access past data")).check(matches(isDisplayed())) in withoutMedical_withAccessDate_displaysCorrectly()
124 .check(matches(isDisplayed())) in withoutMedical_withAccessDate_displaysCorrectly()
126 onView(withText("Access data in the background")).check(matches(isDisplayed())) in withoutMedical_withAccessDate_displaysCorrectly()
142 .check(matches(isDisplayed())) in withoutMedical_withAccessDate_displaysCorrectly()
144 onView(withText("Don't allow")).check(matches(isDisplayed())) in withoutMedical_withAccessDate_displaysCorrectly()
145 onView(withText("Allow")).check(matches(isDisplayed())) in withoutMedical_withAccessDate_displaysCorrectly()
183 .check(matches(isDisplayed())) in withoutMedical_withoutAccessDate_displaysFallback()
185 .check(matches(isDisplayed())) in withoutMedical_withoutAccessDate_displaysFallback()
[all …]
DFitnessPermissionsFragmentTest.kt153 .check(matches(isDisplayed())) in <lambda>()
155 .check(matches(isDisplayed())) in <lambda>()
161 .check(matches(isDisplayed())) in <lambda>()
167 .check(matches(isDisplayed())) in <lambda>()
176 onView(withText("Allow \u201C$TEST_APP_NAME\u201D to read")).check(matches(isDisplayed())) in <lambda>()
185 onView(withText("Allow \u201C$TEST_APP_NAME\u201D to write")).check(matches(isDisplayed())) in <lambda>()
209 .check(matches(isDisplayed())) in <lambda>()
215 .check(matches(isDisplayed())) in <lambda>()
221 .check(matches(isDisplayed())) in <lambda>()
227 .check(matches(isDisplayed())) in <lambda>()
[all …]
/packages/modules/HealthFitness/apk/tests/src/com/android/healthconnect/controller/tests/permissions/additionalaccess/
DAdditionalAccessFragmentTest.kt142 onView(withText(R.string.route_permissions_label)).check(matches(isDisplayed())) in <lambda>()
143 onView(withText(R.string.route_permissions_ask)).check(matches(isDisplayed())) in <lambda>()
163 onView(withText(R.string.route_permissions_label)).check(matches(isDisplayed())) in <lambda>()
164 onView(withText(R.string.route_permissions_always_allow)).check(matches(isDisplayed())) in <lambda>()
180 onView(withText(R.string.route_permissions_label)).check(matches(isDisplayed())) in <lambda>()
181 onView(withText(R.string.route_permissions_deny)).check(matches(isDisplayed())) in <lambda>()
211 onView(withText("Access exercise routes")).check(matches(isDisplayed())) in <lambda>()
212 onView(withText("Always allow")).check(matches(isDisplayed())) in <lambda>()
213 onView(withText("Access past data")).check(matches(isDisplayed())) in <lambda>()
219 .check(matches(isDisplayed())) in <lambda>()
[all …]
/packages/modules/HealthFitness/apk/tests/src/com/android/healthconnect/controller/tests/permissions/connectedapps/
DConnectedAppsFragmentTest.kt145 onView(withText(TEST_APP_NAME)).check(matches(isDisplayed())) in appName_navigatesToFitnessAppPermissions()
170 onView(withText(TEST_APP_NAME)).check(matches(isDisplayed())) in appName_navigatesToMedicalAppPermissions()
196 onView(withText(TEST_APP_NAME)).check(matches(isDisplayed())) in appName_navigatesToCombinedPermissions()
205 onView(withText("Help & feedback")).check(matches(isDisplayed())) in helpAndFeedback_navigatesToHelpAndFeedback()
217 onView(withText(TEST_APP_NAME)).check(matches(isDisplayed())) in test_allowedApps()
218 onView(withText("No apps allowed")).check(doesNotExist()) in test_allowedApps()
219 onView(withText("No apps denied")).check(matches(isDisplayed())) in test_allowedApps()
228 onView(withText(TEST_APP_NAME)).check(matches(isDisplayed())) in test_deniedApps()
229 onView(withText("No apps denied")).check(doesNotExist()) in test_deniedApps()
230 onView(withText("No apps allowed")).check(matches(isDisplayed())) in test_deniedApps()
[all …]
DHelpAndFeedbackFragmentTest.kt66 .check(matches(ViewMatchers.isDisplayed())) in helpAndFeedbackFragment_FeedbackAvailable_sendFeedbackIsAvailable()
67 onView(withText("Things to try")).check(matches(isDisplayed())) in helpAndFeedbackFragment_FeedbackAvailable_sendFeedbackIsAvailable()
68 onView(withText("Send feedback")).check(matches(isDisplayed())) in helpAndFeedbackFragment_FeedbackAvailable_sendFeedbackIsAvailable()
72 .check(matches(isDisplayed())) in helpAndFeedbackFragment_FeedbackAvailable_sendFeedbackIsAvailable()
87 .check(matches(isDisplayed())) in helpAndFeedbackFragment_playStoreAvailable_playStoreLinksAreDisplayed()
88 onView(withText("Things to try")).check(matches(isDisplayed())) in helpAndFeedbackFragment_playStoreAvailable_playStoreLinksAreDisplayed()
89 onView(withText("Check for updates")).check(matches(isDisplayed())) in helpAndFeedbackFragment_playStoreAvailable_playStoreLinksAreDisplayed()
90 onView(withText("Make sure installed apps are up-to-date")).check(matches(isDisplayed())) in helpAndFeedbackFragment_playStoreAvailable_playStoreLinksAreDisplayed()
91 onView(withText("See all compatible apps")).check(matches(isDisplayed())) in helpAndFeedbackFragment_playStoreAvailable_playStoreLinksAreDisplayed()
92 onView(withText("Find apps on Google\u00A0Play")).check(matches(isDisplayed())) in helpAndFeedbackFragment_playStoreAvailable_playStoreLinksAreDisplayed()
[all …]
DCombinedPermissionsFragmentTest.kt189 onView(withText("Health Connect test app")).check(matches(isDisplayed())) in <lambda>()
190 onView(withText("Permissions")).check(matches(isDisplayed())) in <lambda>()
191 onView(withText("Fitness and wellness")).perform(scrollTo()).check(matches(isDisplayed())) in <lambda>()
194 .check(matches(isDisplayed())) in <lambda>()
195 onView(withText("Health records")).perform(scrollTo()).check(matches(isDisplayed())) in <lambda>()
198 .check(matches(isDisplayed())) in <lambda>()
199 onView(withText("Additional access")).check(doesNotExist()) in <lambda>()
200 onView(withText("Past data, background data")).check(doesNotExist()) in <lambda>()
201 onView(withText("Manage app")).perform(scrollTo()).check(matches(isDisplayed())) in <lambda>()
202 onView(withText("See app data")).perform(scrollTo()).check(matches(isDisplayed())) in <lambda>()
[all …]
/packages/modules/HealthFitness/apk/tests/src/com/android/healthconnect/controller/tests/home/
DHomeFragmentTest.kt208 onView(withText("App permissions")).check(matches(isDisplayed())) in <lambda>()
217 onView(withText("Data and access")).check(matches(isDisplayed())) in <lambda>()
229 onView(withText("Browse health records")).perform(scrollTo()).check(matches(isDisplayed())) in <lambda>()
239 onView(withText("See all recent access")).check(matches(isDisplayed())) in <lambda>()
277 onView(withText(TEST_APP_NAME)).check(matches(isDisplayed())) in <lambda>()
316 onView(withText(TEST_APP_NAME)).check(matches(isDisplayed())) in <lambda>()
355 onView(withText(TEST_APP_NAME)).check(matches(isDisplayed())) in <lambda>()
365 onView(withText("Manage data")).check(matches(isDisplayed())) in <lambda>()
405 onView(withText("Recent access")).check(matches(isDisplayed())) in <lambda>()
406 onView(withText(TEST_APP_NAME)).check(matches(isDisplayed())) in <lambda>()
[all …]
/packages/modules/HealthFitness/apk/tests/src/com/android/healthconnect/controller/tests/datasources/
DDataSourcesFragmentTest.kt191 onView(withText("Activity")).check(matches(isDisplayed())) in twoActivitySources_noDataTotals_isDisplayed()
192 onView(withText("Data totals")).check(doesNotExist()) in twoActivitySources_noDataTotals_isDisplayed()
193 onView(withText("App sources")).check(matches(isDisplayed())) in twoActivitySources_noDataTotals_isDisplayed()
194 onView(withText("Add an app")).check(doesNotExist()) in twoActivitySources_noDataTotals_isDisplayed()
202 .check(matches(isDisplayed())) in twoActivitySources_noDataTotals_isDisplayed()
257 onView(withText("Activity")).check(matches(isDisplayed())) in twoActivitySources_oneDataTotal_withinLastYear_isDisplayed()
258 onView(withText("Data totals")).check(matches(isDisplayed())) in twoActivitySources_oneDataTotal_withinLastYear_isDisplayed()
259 onView(withText("1234 steps")).check(matches(isDisplayed())) in twoActivitySources_oneDataTotal_withinLastYear_isDisplayed()
260 onView(withText("October 19")).check(matches(isDisplayed())) in twoActivitySources_oneDataTotal_withinLastYear_isDisplayed()
261 onView(withText("App sources")).check(matches(isDisplayed())) in twoActivitySources_oneDataTotal_withinLastYear_isDisplayed()
[all …]
/packages/modules/Virtualization/guest/pvmfw/src/
Dbootargs.rs112 fn check(raw: &CStr, expected: Result<&[(&str, Option<&str>)], ()>) { in check() function
138 check(c"", Ok(&[])); in empty()
139 check(c" ", Ok(&[])); in empty()
140 check(c" \n ", Ok(&[])); in empty()
145 check(c"foo", Ok(&[("foo", None)])); in single()
146 check(c" foo", Ok(&[("foo", None)])); in single()
147 check(c"foo ", Ok(&[("foo", None)])); in single()
148 check(c" foo ", Ok(&[("foo", None)])); in single()
153 check(c"foo=bar", Ok(&[("foo", Some("=bar"))])); in single_with_value()
154 check(c" foo=bar", Ok(&[("foo", Some("=bar"))])); in single_with_value()
[all …]
/packages/modules/HealthFitness/apk/tests/src/com/android/healthconnect/controller/tests/permissions/connectedapps/searchapps/
DSearchAppsFragmentTest.kt89 onView(withText("Allowed access")).check(matches(isDisplayed())) in searchAppsFragment_isDisplayedCorrectly()
90 onView(withText(TEST_APP_NAME)).check(matches(isDisplayed())) in searchAppsFragment_isDisplayedCorrectly()
91 onView(withText("Not allowed access")).check(matches(isDisplayed())) in searchAppsFragment_isDisplayedCorrectly()
92 onView(withText(TEST_APP_NAME_2)).check(matches(isDisplayed())) in searchAppsFragment_isDisplayedCorrectly()
93 onView(withText("Inactive apps")).check(matches(isDisplayed())) in searchAppsFragment_isDisplayedCorrectly()
94 onView(withText(TEST_APP_NAME_3)).check(matches(isDisplayed())) in searchAppsFragment_isDisplayedCorrectly()
95 onView(withText(R.string.connected_apps_text)).check(matches(isDisplayed())) in searchAppsFragment_isDisplayedCorrectly()
118 onView(withText("Allowed access")).check(doesNotExist()) in noAppsAllowed_doesNotShowAllowedAccessSection()
119 onView(withText("Not allowed access")).check(matches(isDisplayed())) in noAppsAllowed_doesNotShowAllowedAccessSection()
120 onView(withText(TEST_APP_NAME)).check(matches(isDisplayed())) in noAppsAllowed_doesNotShowAllowedAccessSection()
[all …]
/packages/apps/Car/Launcher/app/tests/src/com/android/car/carlauncher/homescreen/audio/
DAudioCardFragmentTest.java124 .check(matches(isDisplayed())); in updateContentAndHeaderView_noControls_showsMediaPlaybackControlsBar_hidesDialer()
129 .check(matches(not(isDisplayed()))); in updateContentAndHeaderView_noControls_showsMediaPlaybackControlsBar_hidesDialer()
134 .check(matches(isDisplayed())); in updateContentAndHeaderView_noControls_showsMediaPlaybackControlsBar_hidesDialer()
139 .check(matches(not(isDisplayed()))); in updateContentAndHeaderView_noControls_showsMediaPlaybackControlsBar_hidesDialer()
144 .check(matches(isDisplayed())); in updateContentAndHeaderView_noControls_showsMediaPlaybackControlsBar_hidesDialer()
149 .check(matches(not(isDisplayed()))); in updateContentAndHeaderView_noControls_showsMediaPlaybackControlsBar_hidesDialer()
154 .check(matches(isDisplayed())); in updateContentAndHeaderView_noControls_showsMediaPlaybackControlsBar_hidesDialer()
159 .check(matches(not(isDisplayed()))); in updateContentAndHeaderView_noControls_showsMediaPlaybackControlsBar_hidesDialer()
165 .check(matches(isDisplayed())); in updateContentAndHeaderView_noControls_showsMediaPlaybackControlsBar_hidesDialer()
171 .check(matches(isDisplayed())); in updateContentAndHeaderView_noControls_showsMediaPlaybackControlsBar_hidesDialer()
[all …]
/packages/apps/Car/Launcher/libs/appgrid/lib/tests/src/com/android/car/carlauncher/
DAppGridPageSnapperTest.java95 onView(withId(R.id.list)).check(matches(isDisplayed())); in testScrollToNextPage()
109 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()
159 onView(withText(getItemText(0, 0))).check(matches(isCompletelyDisplayed())); in testSwipeRightAndStayOnCurrentPage()
[all …]
/packages/modules/HealthFitness/apk/tests/src/com/android/healthconnect/controller/tests/entrydetails/
DDataEntryDetailsFragmentTest.kt138 onView(withId(R.id.loading)).check(matches(not(isDisplayed()))) in dataEntriesDetailsInit_showsFragment()
153 onView(withId(R.id.error_view)).check(matches(isDisplayed())) in dataEntriesDetailsInit_error_showsError()
168 onView(withId(R.id.loading)).check(matches(isDisplayed())) in dataEntriesDetailsInit_loading_showsLoading()
200 onView(withText("07:06 • TEST_APP_NAME")).check(matches(isDisplayed())) in dataEntriesDetailsInit_withData_showsItem()
201 onView(withText("12 hour sleeping")).check(matches(isDisplayed())) in dataEntriesDetailsInit_withData_showsItem()
202 onView(withText("notes")).check(matches(isDisplayed())) in dataEntriesDetailsInit_withData_showsItem()
224 onView(withText("12 hour sleeping")).check(matches(isDisplayed())) in dataEntriesDetailsInit_withDetails_showsItem_showsDetails()
225 onView(withText("6 hour light sleeping")).check(matches(isDisplayed())) in dataEntriesDetailsInit_withDetails_showsItem_showsDetails()
226 onView(withText("6 hour deep sleeping")).check(matches(isDisplayed())) in dataEntriesDetailsInit_withDetails_showsItem_showsDetails()
243 onView(withText("07:06 - 8:06 • TEST_APP_NAME")).check(matches(isDisplayed())) in dataEntriesDetailsInit_withHeartRate_showsItem_showsDetails()
[all …]
/packages/modules/HealthFitness/apk/tests/src/com/android/healthconnect/controller/tests/onboarding/
DOnboardingScreenTest.kt82 onView(withText("Get started with Health\u00A0Connect")).check(matches(isDisplayed())) in onboardingScreen_isDisplayedCorrectly()
88 .check(matches(isDisplayed())) in onboardingScreen_isDisplayedCorrectly()
89 onView(withId(R.id.onboarding_image)).check(matches(isDisplayed())) in onboardingScreen_isDisplayedCorrectly()
97 .check(matches(isDisplayed())) in onboardingScreen_isDisplayedCorrectly()
105 .check(matches(isDisplayed())) in onboardingScreen_isDisplayedCorrectly()
106 onView(withText("Get started")).check(matches(isDisplayed())) in onboardingScreen_isDisplayedCorrectly()
107 onView(withText("Go back")).check(matches(isDisplayed())) in onboardingScreen_isDisplayedCorrectly()
115 onView(withText("Get started with Health\u00A0Connect")).check(matches(isDisplayed())) in onboardingScreen_withHealthRecords_isDisplayedCorrectly()
121 .check(matches(isDisplayed())) in onboardingScreen_withHealthRecords_isDisplayedCorrectly()
122 onView(withId(R.id.onboarding_image)).check(matches(isDisplayed())) in onboardingScreen_withHealthRecords_isDisplayedCorrectly()
[all …]
/packages/modules/HealthFitness/apk/tests/src/com/android/healthconnect/controller/tests/data/access/
DAccessFragmentTest.kt101 onView(withText("Can read distance")).check(doesNotExist()) in dataAccessFragment_noSections_noneDisplayed()
102 onView(withText("Can write distance")).check(doesNotExist()) in dataAccessFragment_noSections_noneDisplayed()
103 onView(withText("Inactive apps")).check(doesNotExist()) in dataAccessFragment_noSections_noneDisplayed()
109 .check(doesNotExist()) in dataAccessFragment_noSections_noneDisplayed()
119 onView(withText("Can read distance")).check(doesNotExist()) in dataAccessFragment_medicalPermissionNoSections_noneDisplayed()
120 onView(withText("Can write distance")).check(doesNotExist()) in dataAccessFragment_medicalPermissionNoSections_noneDisplayed()
121 onView(withText("Inactive apps")).check(doesNotExist()) in dataAccessFragment_medicalPermissionNoSections_noneDisplayed()
127 .check(doesNotExist()) in dataAccessFragment_medicalPermissionNoSections_noneDisplayed()
182 onView(withText("Can read distance")).check(matches(isDisplayed())) in dataAccessFragment_readSection_isDisplayed()
183 onView(withText("Can write distance")).check(doesNotExist()) in dataAccessFragment_readSection_isDisplayed()
[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 …]

12345678910>>...14