Home
last modified time | relevance | path

Searched refs:isDisplayed (Results 1 – 25 of 113) sorted by relevance

12345

/packages/modules/HealthFitness/apk/tests/src/com/android/healthconnect/controller/tests/deletion/
DDeletionFragmentTest.kt27 import androidx.test.espresso.matcher.ViewMatchers.isDisplayed
83 onView(withText("Choose data to delete")).inRoot(isDialog()).check(matches(isDisplayed())) in deleteAllData_timeRangeDialog_showsCorrectText()
89 .check(matches(isDisplayed())) in deleteAllData_timeRangeDialog_showsCorrectText()
90 onView(withText("Delete last 24 hours")).inRoot(isDialog()).check(matches(isDisplayed())) in deleteAllData_timeRangeDialog_showsCorrectText()
91 onView(withText("Delete last 7 days")).inRoot(isDialog()).check(matches(isDisplayed())) in deleteAllData_timeRangeDialog_showsCorrectText()
92 onView(withText("Delete last 30 days")).inRoot(isDialog()).check(matches(isDisplayed())) in deleteAllData_timeRangeDialog_showsCorrectText()
93 onView(withText("Delete all data")).inRoot(isDialog()).check(matches(isDisplayed())) in deleteAllData_timeRangeDialog_showsCorrectText()
94 onView(withText("Cancel")).inRoot(isDialog()).check(matches(isDisplayed())) in deleteAllData_timeRangeDialog_showsCorrectText()
95 onView(withText("Next")).inRoot(isDialog()).check(matches(isDisplayed())) in deleteAllData_timeRangeDialog_showsCorrectText()
114 onView(withText("Choose data to delete")).inRoot(isDialog()).check(matches(isDisplayed())) in deleteCategoryData_timeRangeDialog_showsCorrectText()
[all …]
/packages/apps/Car/Launcher/app/tests/src/com/android/car/carlauncher/homescreen/audio/
DAudioCardFragmentTest.java22 import static androidx.test.espresso.matcher.ViewMatchers.isDisplayed;
97 .check(matches(not(isDisplayed()))); in updateContentAndHeaderView_audioContentNoControls_showsMediaPlaybackControlsBar()
102 isDescendantOfA(withId(R.id.bottom_card)))).check(matches(isDisplayed())); in updateContentAndHeaderView_audioContentNoControls_showsMediaPlaybackControlsBar()
104 isDescendantOfA(withId(R.id.bottom_card)))).check(matches(isDisplayed())); in updateContentAndHeaderView_audioContentNoControls_showsMediaPlaybackControlsBar()
106 isDescendantOfA(withId(R.id.bottom_card)))).check(matches(isDisplayed())); in updateContentAndHeaderView_audioContentNoControls_showsMediaPlaybackControlsBar()
109 isDescendantOfA(withId(R.id.bottom_card)))).check(matches(isDisplayed())); in updateContentAndHeaderView_audioContentNoControls_showsMediaPlaybackControlsBar()
112 isDescendantOfA(withId(R.id.bottom_card)))).check(matches(isDisplayed())); in updateContentAndHeaderView_audioContentNoControls_showsMediaPlaybackControlsBar()
115 matches(not(isDisplayed()))); in updateContentAndHeaderView_audioContentNoControls_showsMediaPlaybackControlsBar()
118 isDescendantOfA(withId(R.id.bottom_card)))).check(matches(isDisplayed())); in updateContentAndHeaderView_audioContentNoControls_showsMediaPlaybackControlsBar()
120 isDescendantOfA(withId(R.id.bottom_card)))).check(matches(not(isDisplayed()))); in updateContentAndHeaderView_audioContentNoControls_showsMediaPlaybackControlsBar()
[all …]
/packages/modules/HealthFitness/apk/tests/src/com/android/healthconnect/controller/tests/selectabledeletion/
DDeletionFragmentTest.kt26 import androidx.test.espresso.matcher.ViewMatchers.isDisplayed
66 .check(matches(isDisplayed())) in deletePermissionTypesData_confirmationDeleteDialog_showsCorrectText()
71 .check(matches(isDisplayed())) in deletePermissionTypesData_confirmationDeleteDialog_showsCorrectText()
72 onView(withText("Cancel")).inRoot(isDialog()).check(matches(isDisplayed())) in deletePermissionTypesData_confirmationDeleteDialog_showsCorrectText()
73 onView(withText("Delete")).inRoot(isDialog()).check(matches(isDisplayed())) in deletePermissionTypesData_confirmationDeleteDialog_showsCorrectText()
90 .check(matches(isDisplayed())) in deleteFragment_confirmationDeleteDialog_cancelButton_exitsDialog()
95 .check(matches(isDisplayed())) in deleteFragment_confirmationDeleteDialog_cancelButton_exitsDialog()
116 .check(matches(isDisplayed())) in deletePermissionTypesData_progressIndicatorCanStartState_progressDialogShown()
121 .check(matches(isDisplayed())) in deletePermissionTypesData_progressIndicatorCanStartState_progressDialogShown()
125 onView(withText("Deleting your data")).inRoot(isDialog()).check(matches(isDisplayed())) in deletePermissionTypesData_progressIndicatorCanStartState_progressDialogShown()
[all …]
/packages/providers/MediaProvider/tests/src/com/android/providers/media/photopicker/espresso/
DSpecialFormatMultiSelectTest.java23 import static androidx.test.espresso.matcher.ViewMatchers.isDisplayed;
49 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()
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()
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()
111 onView(withId(PICKER_TAB_RECYCLERVIEW_ID)).check(matches(isDisplayed())); in testPreview_multiSelect_longPress_motionPhoto()
[all …]
DActiveProfileButtonTest.java24 import static androidx.test.espresso.matcher.ViewMatchers.isDisplayed;
67 onView(withId(PROFILE_BUTTON)).check(matches(isDisplayed())); in testProfileButton_hideInAlbumPhotos()
73 onView(withId(PROFILE_BUTTON)).check(matches(isDisplayed())); in testProfileButton_hideInAlbumPhotos()
79 onView(withId(PROFILE_BUTTON)).check(matches(not(isDisplayed()))); in testProfileButton_hideInAlbumPhotos()
88 onView(withId(PROFILE_BUTTON)).check(matches(isDisplayed())); in testProfileButton_hideInAlbumPhotos()
94 onView(withId(PROFILE_BUTTON)).check(matches(isDisplayed())); in testProfileButton_hideInAlbumPhotos()
100 onView(withId(PROFILE_BUTTON)).check(matches(isDisplayed())); in testProfileButton_hideOnItemSelection()
106 onView(withId(PROFILE_BUTTON)).check(matches(not(isDisplayed()))); in testProfileButton_hideOnItemSelection()
112 onView(withId(PROFILE_BUTTON)).check(matches(isDisplayed())); in testProfileButton_hideOnItemSelection()
117 onView(withId(PROFILE_BUTTON)).check(matches(not(isDisplayed()))); in testProfileButton_hideOnItemSelection()
[all …]
DPreviewMultiSelectLongPressTest.java23 import static androidx.test.espresso.matcher.ViewMatchers.isDisplayed;
63 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()
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()
104 onView(withId(R.id.preview_video_image)).check(matches(isDisplayed())); in testPreview_multiSelect_longPress_video()
[all …]
DMultiSelectTest.java24 import static androidx.test.espresso.matcher.ViewMatchers.isDisplayed;
81 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()
136 onView(withId(addButtonId)).check(matches(isDisplayed())); in testMultiSelect_bottomBar()
140 onView(withId(bottomBarId)).check(matches(not(isDisplayed()))); in testMultiSelect_bottomBar()
[all …]
DSpecialFormatSingleSelectTest.java26 import static androidx.test.espresso.matcher.ViewMatchers.isDisplayed;
55 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()
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()
161 onView(withId(PICKER_TAB_RECYCLERVIEW_ID)).check(matches(isDisplayed())); in testPreview_singleSelect_nonAnimatedWebp()
[all …]
DPreviewMultiSelectTest.java26 import static androidx.test.espresso.matcher.ViewMatchers.isDisplayed;
79 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()
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 …]
/packages/modules/HealthFitness/apk/tests/src/com/android/healthconnect/controller/tests/home/
DHomeFragmentTest.kt33 import androidx.test.espresso.matcher.ViewMatchers.isDisplayed in <lambda>()
173 onView(withText("App permissions")).check(matches(isDisplayed())) in <lambda>()
181 onView(withText("Data and access")).check(matches(isDisplayed())) in <lambda>()
189 onView(withText("See all recent access")).check(matches(isDisplayed())) in <lambda>()
197 onView(withText(TEST_APP_NAME)).check(matches(isDisplayed())) in <lambda>()
205 onView(withText("Manage data")).check(matches(isDisplayed())) in <lambda>()
275 .check(matches(isDisplayed())) in <lambda>()
276 onView(withText("App permissions")).check(matches(isDisplayed())) in <lambda>()
277 onView(withText("None")).check(matches(isDisplayed())) in <lambda>()
278 onView(withText("Data and access")).check(matches(isDisplayed())) in <lambda>()
[all …]
/packages/modules/HealthFitness/apk/tests/src/com/android/healthconnect/controller/tests/permissions/additionalaccess/
DAdditionalAccessFragmentTest.kt36 import androidx.test.espresso.matcher.ViewMatchers.isDisplayed in <lambda>()
141 onView(withText(R.string.route_permissions_label)).check(matches(isDisplayed())) in <lambda>()
142 onView(withText(R.string.route_permissions_ask)).check(matches(isDisplayed())) in <lambda>()
159 onView(withText(R.string.route_permissions_label)).check(matches(isDisplayed())) in <lambda>()
160 onView(withText(R.string.route_permissions_always_allow)).check(matches(isDisplayed())) in <lambda>()
173 onView(withText(R.string.route_permissions_label)).check(matches(isDisplayed())) in <lambda>()
174 onView(withText(R.string.route_permissions_deny)).check(matches(isDisplayed())) in <lambda>()
191 onView(withText("Access exercise routes")).check(matches(isDisplayed())) in <lambda>()
192 onView(withText("Always allow")).check(matches(isDisplayed())) in <lambda>()
193 onView(withText("Access past data")).check(matches(isDisplayed())) in <lambda>()
[all …]
/packages/modules/HealthFitness/apk/tests/src/com/android/healthconnect/controller/tests/entrydetails/
DDataEntryDetailsFragmentTest.kt46 import androidx.test.espresso.matcher.ViewMatchers.isDisplayed
130 onView(withId(R.id.loading)).check(matches(not(isDisplayed()))) in dataEntriesDetailsInit_showsFragment()
141 onView(withId(R.id.error_view)).check(matches(isDisplayed())) in dataEntriesDetailsInit_error_showsError()
152 onView(withId(R.id.loading)).check(matches(isDisplayed())) in dataEntriesDetailsInit_loading_showsLoading()
175 onView(withText("07:06 • TEST_APP_NAME")).check(matches(isDisplayed())) in dataEntriesDetailsInit_withData_showsItem()
176 onView(withText("12 hour sleeping")).check(matches(isDisplayed())) in dataEntriesDetailsInit_withData_showsItem()
177 onView(withText("notes")).check(matches(isDisplayed())) in dataEntriesDetailsInit_withData_showsItem()
196 onView(withText("12 hour sleeping")).check(matches(isDisplayed())) in dataEntriesDetailsInit_withDetails_showsItem_showsDetails()
197 onView(withText("6 hour light sleeping")).check(matches(isDisplayed())) in dataEntriesDetailsInit_withDetails_showsItem_showsDetails()
198 onView(withText("6 hour deep sleeping")).check(matches(isDisplayed())) in dataEntriesDetailsInit_withDetails_showsItem_showsDetails()
[all …]
/packages/modules/HealthFitness/apk/tests/src/com/android/healthconnect/controller/tests/dataaccess/
DHealthDataAccessFragmentTest.kt24 import androidx.test.espresso.matcher.ViewMatchers.isDisplayed
88 onView(withText("Manage data")).check(matches(isDisplayed())) in dataAccessFragment_noSections_noneDisplayed()
89 onView(withText("See all entries")).perform(scrollTo()).check(matches(isDisplayed())) in dataAccessFragment_noSections_noneDisplayed()
90 onView(withText("Delete this data")).perform(scrollTo()).check(matches(isDisplayed())) in dataAccessFragment_noSections_noneDisplayed()
105 onView(withText("Can read distance")).check(matches(isDisplayed())) in dataAccessFragment_readSection_isDisplayed()
112 onView(withText("Manage data")).check(matches(isDisplayed())) in dataAccessFragment_readSection_isDisplayed()
113 onView(withText("See all entries")).perform(scrollTo()).check(matches(isDisplayed())) in dataAccessFragment_readSection_isDisplayed()
114 onView(withText("Delete this data")).perform(scrollTo()).check(matches(isDisplayed())) in dataAccessFragment_readSection_isDisplayed()
129 onView(withText("Can read distance")).check(matches(isDisplayed())) in dataAccessFragment_readAndWriteSections_isDisplayed()
130 onView(withText("Can write distance")).check(matches(isDisplayed())) in dataAccessFragment_readAndWriteSections_isDisplayed()
[all …]
/packages/modules/HealthFitness/apk/tests/src/com/android/healthconnect/controller/tests/permissions/connectedapps/searchapps/
DSearchAppsFragmentTest.kt8 import androidx.test.espresso.matcher.ViewMatchers.isDisplayed
74 onView(withText("Allowed access")).check(matches(isDisplayed())) in searchAppsFragment_isDisplayedCorrectly()
75 onView(withText(TEST_APP_NAME)).check(matches(isDisplayed())) in searchAppsFragment_isDisplayedCorrectly()
76 onView(withText("Not allowed access")).check(matches(isDisplayed())) in searchAppsFragment_isDisplayedCorrectly()
77 onView(withText(TEST_APP_NAME_2)).check(matches(isDisplayed())) in searchAppsFragment_isDisplayedCorrectly()
78 onView(withText("Inactive apps")).check(matches(isDisplayed())) in searchAppsFragment_isDisplayedCorrectly()
79 onView(withText(TEST_APP_NAME_3)).check(matches(isDisplayed())) in searchAppsFragment_isDisplayedCorrectly()
80 onView(withText(R.string.connected_apps_text)).check(matches(isDisplayed())) in searchAppsFragment_isDisplayedCorrectly()
102 onView(withText("Not allowed access")).check(matches(isDisplayed())) in noAppsAllowed_doesNotShowAllowedAccessSection()
103 onView(withText(TEST_APP_NAME)).check(matches(isDisplayed())) in noAppsAllowed_doesNotShowAllowedAccessSection()
[all …]
/packages/modules/HealthFitness/apk/tests/src/com/android/healthconnect/controller/tests/permissions/connectedapps/
DConnectedAppsFragmentTest.kt33 import androidx.test.espresso.matcher.ViewMatchers.isDisplayed
125 onView(withText(TEST_APP_NAME)).check(matches(isDisplayed())) in appName_navigatesToManageAppPermissions()
133 onView(withText("Help & feedback")).check(matches(isDisplayed())) in helpAndFeedback_navigatesToHelpAndFeedback()
145 onView(withText(TEST_APP_NAME)).check(matches(isDisplayed())) in test_allowedApps()
147 onView(withText("No apps denied")).check(matches(isDisplayed())) in test_allowedApps()
156 onView(withText(TEST_APP_NAME)).check(matches(isDisplayed())) in test_deniedApps()
158 onView(withText("No apps allowed")).check(matches(isDisplayed())) in test_deniedApps()
181 .check(matches(isDisplayed())) in allowedApps_confirmationDialogDisplayed_dialogDoesNotDisAppearWhenActivityRestarts()
187 .check(matches(isDisplayed())) in allowedApps_confirmationDialogDisplayed_dialogDoesNotDisAppearWhenActivityRestarts()
197 onView(withText(R.string.disconnect_all_apps)).check(matches(isDisplayed())) in noAllowedApps_removeAccessDisabled()
[all …]
DHelpAndFeedbackFragmentTest.kt21 import androidx.test.espresso.matcher.ViewMatchers.isDisplayed
66 .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()
[all …]
/packages/modules/HealthFitness/apk/tests/src/com/android/healthconnect/controller/tests/data/access/
DAccessFragmentTest.kt28 import androidx.test.espresso.matcher.ViewMatchers.isDisplayed
86 onView(withText("Manage data")).check(matches(isDisplayed())) in dataAccessFragment_noSections_noneDisplayed()
87 onView(withText("See all entries")).perform(scrollTo()).check(matches(isDisplayed())) in dataAccessFragment_noSections_noneDisplayed()
88 onView(withText("Delete this data")).perform(scrollTo()).check(matches(isDisplayed())) in dataAccessFragment_noSections_noneDisplayed()
103 onView(withText("Can read distance")).check(matches(isDisplayed())) in dataAccessFragment_readSection_isDisplayed()
110 onView(withText("Manage data")).check(matches(isDisplayed())) in dataAccessFragment_readSection_isDisplayed()
111 onView(withText("See all entries")).perform(scrollTo()).check(matches(isDisplayed())) in dataAccessFragment_readSection_isDisplayed()
112 onView(withText("Delete this data")).perform(scrollTo()).check(matches(isDisplayed())) in dataAccessFragment_readSection_isDisplayed()
127 onView(withText("Can read distance")).check(matches(isDisplayed())) in dataAccessFragment_readAndWriteSections_isDisplayed()
128 onView(withText("Can write distance")).check(matches(isDisplayed())) in dataAccessFragment_readAndWriteSections_isDisplayed()
[all …]
/packages/modules/HealthFitness/apk/tests/src/com/android/healthconnect/controller/tests/migration/
DModuleUpdateRequiredFragmentTest.kt9 import androidx.test.espresso.matcher.ViewMatchers.isDisplayed in <lambda>()
59 onView(withText("Update needed")).check(matches(isDisplayed())) in <lambda>()
64 .check(matches(isDisplayed())) in <lambda>()
66 .check(matches(isDisplayed())) in <lambda>()
71 .check(matches(isDisplayed())) in <lambda>()
72 onView(withText("Cancel")).check(matches(isDisplayed())) in <lambda>()
73 onView(withText("Update")).check(matches(isDisplayed())) in <lambda>()
87 onView(withText("Cancel")).check(matches(isDisplayed())) in <lambda>()
103 onView(withText("Update")).check(matches(isDisplayed())) in <lambda>()
117 onView(withText("Update")).check(matches(isDisplayed())) in <lambda>()
[all …]
/packages/modules/HealthFitness/apk/tests/src/com/android/healthconnect/controller/tests/autodelete/
DAutoDeleteFragmentTest.kt25 import androidx.test.espresso.matcher.ViewMatchers.isDisplayed
81 .check(matches(isDisplayed())) in autoDeleteFragment_isDisplayed()
84 .check(matches(isDisplayed())) in autoDeleteFragment_isDisplayed()
85 onView(withText("Auto-delete data")).check(matches(isDisplayed())) in autoDeleteFragment_isDisplayed()
86 onView(withText("After 3 months")).check(matches(isDisplayed())) in autoDeleteFragment_isDisplayed()
87 onView(withText("After 18 months")).check(matches(isDisplayed())) in autoDeleteFragment_isDisplayed()
88 onView(withText("Never")).check(matches(isDisplayed())) in autoDeleteFragment_isDisplayed()
92 .check(matches(isDisplayed())) in autoDeleteFragment_isDisplayed()
138 .check(matches(isDisplayed())) in autoDelete_setRangeTo3Months_saveChanges()
143 .check(matches(isDisplayed())) in autoDelete_setRangeTo3Months_saveChanges()
[all …]
/packages/modules/HealthFitness/apk/tests/src/com/android/healthconnect/controller/tests/onboarding/
DOnboardingScreenTest.kt27 import androidx.test.espresso.matcher.ViewMatchers.isDisplayed
64 onView(withText("Get started with Health\u00A0Connect")).check(matches(isDisplayed())) in onboardingScreen_isDisplayedCorrectly()
68 .check(matches(isDisplayed())) in onboardingScreen_isDisplayedCorrectly()
69 onView(withId(R.id.onboarding_image)).check(matches(isDisplayed())) in onboardingScreen_isDisplayedCorrectly()
70 onView(withId(R.id.share_icon)).perform(scrollTo()).check(matches(isDisplayed())) in onboardingScreen_isDisplayedCorrectly()
73 .check(matches(isDisplayed())) in onboardingScreen_isDisplayedCorrectly()
76 .check(matches(isDisplayed())) in onboardingScreen_isDisplayedCorrectly()
77 onView(withId(R.id.manage_icon)).perform(scrollTo()).check(matches(isDisplayed())) in onboardingScreen_isDisplayedCorrectly()
80 .check(matches(isDisplayed())) in onboardingScreen_isDisplayedCorrectly()
83 .check(matches(isDisplayed())) in onboardingScreen_isDisplayedCorrectly()
[all …]
/packages/modules/HealthFitness/apk/tests/src/com/android/healthconnect/controller/tests/datasources/
DDataSourcesFragmentTest.kt27 import androidx.test.espresso.matcher.ViewMatchers.isDisplayed in <lambda>()
171 onView(withText("Activity")).check(matches(isDisplayed())) in <lambda>()
173 onView(withText("App sources")).check(matches(isDisplayed())) in <lambda>()
180 .check(matches(isDisplayed())) in <lambda>()
236 onView(withText("Activity")).check(matches(isDisplayed())) in <lambda>()
237 onView(withText("Data totals")).check(matches(isDisplayed())) in <lambda>()
238 onView(withText("1234 steps")).check(matches(isDisplayed())) in <lambda>()
239 onView(withText("October 19")).check(matches(isDisplayed())) in <lambda>()
240 onView(withText("App sources")).check(matches(isDisplayed())) in <lambda>()
247 .check(matches(isDisplayed())) in <lambda>()
[all …]
/packages/modules/HealthFitness/apk/tests/src/com/android/healthconnect/controller/tests/recentaccess/
DRecentAccessFragmentTest.kt26 import androidx.test.espresso.matcher.ViewMatchers.isDisplayed
121 onView(withText("Today")).check(matches(isDisplayed())) in test_RecentAccessFragment_displaysCorrectly()
122 onView(withText(TEST_APP_NAME)).check(matches(isDisplayed())) in test_RecentAccessFragment_displaysCorrectly()
123 onView(withText("18:40")).check(matches(isDisplayed())) in test_RecentAccessFragment_displaysCorrectly()
124 onView(withText("Read: Nutrition, Sleep")).check(matches(isDisplayed())) in test_RecentAccessFragment_displaysCorrectly()
125 onView(withText("Write: Activity, Vitals")).check(matches(isDisplayed())) in test_RecentAccessFragment_displaysCorrectly()
127 onView(withText(TEST_APP_NAME_2)).check(matches(isDisplayed())) in test_RecentAccessFragment_displaysCorrectly()
128 onView(withText("19:40")).check(matches(isDisplayed())) in test_RecentAccessFragment_displaysCorrectly()
129 onView(withText("Read: Activity, Vitals")).check(matches(isDisplayed())) in test_RecentAccessFragment_displaysCorrectly()
130 onView(withText("Write: Nutrition, Sleep")).check(matches(isDisplayed())) in test_RecentAccessFragment_displaysCorrectly()
[all …]
/packages/modules/HealthFitness/apk/tests/src/com/android/healthconnect/controller/tests/managedata/
DManageDataFragmentTest.kt16 import androidx.test.espresso.matcher.ViewMatchers.isDisplayed
99 onView(withText("Auto-delete")).check(matches(isDisplayed())) in manageDataFragment_isDisplayed_newAppPriorityFlagOn()
100 onView(withText("Data sources and priority")).check(matches(isDisplayed())) in manageDataFragment_isDisplayed_newAppPriorityFlagOn()
101 onView(withText("Set units")).check(matches(isDisplayed())) in manageDataFragment_isDisplayed_newAppPriorityFlagOn()
109 onView(withText("Auto-delete")).check(matches(isDisplayed())) in manageDataFragment_isDisplayed_newAppPriorityFlagOff()
111 onView(withText("Set units")).check(matches(isDisplayed())) in manageDataFragment_isDisplayed_newAppPriorityFlagOff()
119 onView(withText("Auto-delete")).check(matches(isDisplayed())) in manageDataFragment_importExportFlagOff_preferenceCategoriesAndBackupButtonNotDisplayed()
120 onView(withText("Set units")).check(matches(isDisplayed())) in manageDataFragment_importExportFlagOff_preferenceCategoriesAndBackupButtonNotDisplayed()
131 onView(withText("Auto-delete")).check(matches(isDisplayed())) in manageDataFragment_importExportFlagOn_displayedCorrectly()
132 onView(withText("Set units")).check(matches(isDisplayed())) in manageDataFragment_importExportFlagOn_displayedCorrectly()
[all …]
/packages/modules/HealthFitness/apk/tests/src/com/android/healthconnect/controller/tests/data/entries/
DAllEntriesFragmentTest.kt27 import androidx.test.espresso.matcher.ViewMatchers.isDisplayed in <lambda>()
100 onView(withId(R.id.date_picker_spinner)).check(matches(isDisplayed())) in <lambda>()
114 onView(withId(R.id.no_data_view)).check(matches(isDisplayed())) in <lambda>()
128 onView(withId(R.id.error_view)).check(matches(isDisplayed())) in <lambda>()
142 onView(withId(R.id.loading)).check(matches(isDisplayed())) in <lambda>()
156 onView(withText("7:06 - 7:06")).check(matches(isDisplayed())) in <lambda>()
157 onView(withText("12 steps")).check(matches(isDisplayed())) in <lambda>()
158 onView(withText("8:06 - 8:06")).check(matches(isDisplayed())) in <lambda>()
159 onView(withText("15 steps")).check(matches(isDisplayed())) in <lambda>()
188 onView(withText("7:06 - 7:06")).check(matches(isDisplayed())) in <lambda>()
[all …]
/packages/modules/HealthFitness/apk/tests/src/com/android/healthconnect/controller/tests/exportimport/
DImportDecryptionFragmentTest.kt29 import androidx.test.espresso.matcher.ViewMatchers.isDisplayed
59 .check(matches(isDisplayed())) in importDecryptionFragment_isDisplayedCorrectly()
60 onView(withText("Type password")).check(matches(isDisplayed())) in importDecryptionFragment_isDisplayedCorrectly()
61 onView(withId(R.id.import_decryption_description)).check(matches(isDisplayed())) in importDecryptionFragment_isDisplayedCorrectly()
62 onView(withId(R.id.import_password)).check(matches(isDisplayed())) in importDecryptionFragment_isDisplayedCorrectly()
63 onView(withText("Forgotten password?")).check(matches(isDisplayed())) in importDecryptionFragment_isDisplayedCorrectly()
64 onView(withId(R.id.import_decryption_footer)).check(matches(isDisplayed())) in importDecryptionFragment_isDisplayedCorrectly()
65 onView(withId(R.id.import_decryption_footer_info_icon)).check(matches(isDisplayed())) in importDecryptionFragment_isDisplayedCorrectly()
66 onView(withText("Cancel")).check(matches(isDisplayed())) in importDecryptionFragment_isDisplayedCorrectly()
67 onView(withText("Next")).check(matches(isDisplayed())) in importDecryptionFragment_isDisplayedCorrectly()

12345