/packages/providers/MediaProvider/tests/src/com/android/providers/media/photopicker/espresso/ |
D | SpecialFormatMultiSelectTest.java | 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() 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 …]
|
D | MultiSelectTest.java | 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() 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 …]
|
D | PhotoPickerUserSelectActivityTest.java | 110 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 …]
|
D | PreviewMultiSelectTest.java | 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() 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 …]
|
D | PreviewMultiSelectLongPressTest.java | 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() 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 …]
|
D | ActiveProfileButtonTest.java | 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() 86 .check(matches(isSelected())); 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 …]
|
D | SpecialFormatSingleSelectTest.java | 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() 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 …]
|
D | PhotoPickerActivityTest.java | 89 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/deletion/ |
D | DeletionFragmentTest.kt | 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() 120 .check(matches(isDisplayed())) in deleteCategoryData_timeRangeDialog_showsCorrectText() [all …]
|
/packages/modules/HealthFitness/apk/tests/src/com/android/healthconnect/controller/tests/permissiontypes/ |
D | HealthPermissionTypesFragmentTest.kt | 102 onView(withText("Distance")).check(matches(isDisplayed())) in dataType_navigatesToDataAccess() 112 onView(withText("Data sources and priority")).check(matches(isDisplayed())) in newAppPriority_navigatesToDataSources() 143 onView(withText("Delete activity data")).check(matches(isDisplayed())) in deletePermissionTypeData_showsDialog() 145 onView(withText("Choose data to delete")).inRoot(isDialog()).check(matches(isDisplayed())) in deletePermissionTypeData_showsDialog() 189 onView(withText("Active calories burned")).check(doesNotExist()) in permissionTypesFragment_activityCategory_isDisplayed() 190 onView(withText("Distance")).check(matches(isDisplayed())) in permissionTypesFragment_activityCategory_isDisplayed() 191 onView(withText("Elevation gained")).check(doesNotExist()) in permissionTypesFragment_activityCategory_isDisplayed() 192 onView(withText("Exercise")).check(matches(isDisplayed())) in permissionTypesFragment_activityCategory_isDisplayed() 193 onView(withText("Floors climbed")).check(doesNotExist()) in permissionTypesFragment_activityCategory_isDisplayed() 194 onView(withText("Power")).check(doesNotExist()) in permissionTypesFragment_activityCategory_isDisplayed() [all …]
|
/packages/modules/HealthFitness/apk/tests/src/com/android/healthconnect/controller/tests/dataaccess/ |
D | HealthDataAccessFragmentTest.kt | 81 onView(withText("Can read distance")).check(doesNotExist()) in dataAccessFragment_noSections_noneDisplayed() 82 onView(withText("Can write distance")).check(doesNotExist()) in dataAccessFragment_noSections_noneDisplayed() 83 onView(withText("Inactive apps")).check(doesNotExist()) in dataAccessFragment_noSections_noneDisplayed() 87 .check(doesNotExist()) in dataAccessFragment_noSections_noneDisplayed() 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() 106 onView(withText("Can write distance")).check(doesNotExist()) in dataAccessFragment_readSection_isDisplayed() 107 onView(withText("Inactive apps")).check(doesNotExist()) in dataAccessFragment_readSection_isDisplayed() [all …]
|
/packages/modules/HealthFitness/apk/tests/src/com/android/healthconnect/controller/tests/data/access/ |
D | AccessFragmentTest.kt | 79 onView(withText("Can read distance")).check(doesNotExist()) in dataAccessFragment_noSections_noneDisplayed() 80 onView(withText("Can write distance")).check(doesNotExist()) in dataAccessFragment_noSections_noneDisplayed() 81 onView(withText("Inactive apps")).check(doesNotExist()) in dataAccessFragment_noSections_noneDisplayed() 85 .check(doesNotExist()) in dataAccessFragment_noSections_noneDisplayed() 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() 104 onView(withText("Can write distance")).check(doesNotExist()) in dataAccessFragment_readSection_isDisplayed() 105 onView(withText("Inactive apps")).check(doesNotExist()) in dataAccessFragment_readSection_isDisplayed() [all …]
|
/packages/modules/HealthFitness/apk/tests/src/com/android/healthconnect/controller/tests/datasources/ |
D | DataSourcesFragmentTest.kt | 171 onView(withText("Activity")).check(matches(isDisplayed())) in <lambda>() 172 onView(withText("Data totals")).check(doesNotExist()) in <lambda>() 173 onView(withText("App sources")).check(matches(isDisplayed())) in <lambda>() 174 onView(withText("Add an app")).check(doesNotExist()) in <lambda>() 180 .check(matches(isDisplayed())) in <lambda>() 183 .check( in <lambda>() 190 .check( 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>() [all …]
|
/packages/modules/Virtualization/pvmfw/src/ |
D | bootargs.rs | 113 fn check(raw: &CStr, expected: Result<&[(&str, Option<&str>)], ()>) { in check() function 139 check(cstr!(""), Ok(&[])); in empty() 140 check(cstr!(" "), Ok(&[])); in empty() 141 check(cstr!(" \n "), Ok(&[])); in empty() 146 check(cstr!("foo"), Ok(&[("foo", None)])); in single() 147 check(cstr!(" foo"), Ok(&[("foo", None)])); in single() 148 check(cstr!("foo "), Ok(&[("foo", None)])); in single() 149 check(cstr!(" foo "), Ok(&[("foo", None)])); in single() 154 check(cstr!("foo=bar"), Ok(&[("foo", Some("=bar"))])); in single_with_value() 155 check(cstr!(" foo=bar"), Ok(&[("foo", Some("=bar"))])); in single_with_value() [all …]
|
/packages/modules/HealthFitness/apk/tests/src/com/android/healthconnect/controller/tests/permissions/connectedapps/ |
D | ConnectedAppsFragmentTest.kt | 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() 146 onView(withText("No apps allowed")).check(doesNotExist()) 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() 157 onView(withText("No apps denied")).check(doesNotExist()) in test_deniedApps() 158 onView(withText("No apps allowed")).check(matches(isDisplayed())) in test_deniedApps() 168 onView(withText(R.string.disconnect_all_apps)).check(matches(isEnabled())) in allowedApps_removeAccessEnabled() 181 .check(matches(isDisplayed())) in allowedApps_confirmationDialogDisplayed_dialogDoesNotDisAppearWhenActivityRestarts() [all …]
|
D | HelpAndFeedbackFragmentTest.kt | 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() 92 onView(withText("Find apps on Google\u00A0Play")).check(matches(isDisplayed())) in helpAndFeedbackFragment_playStoreAvailable_playStoreLinksAreDisplayed() [all …]
|
/packages/modules/HealthFitness/apk/tests/src/com/android/healthconnect/controller/tests/selectabledeletion/ |
D | DeletionFragmentTest.kt | 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() 99 .check(doesNotExist()) 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/modules/HealthFitness/apk/tests/src/com/android/healthconnect/controller/tests/home/ |
D | HomeFragmentTest.kt | 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>() 279 onView(withText("Manage data")).check(doesNotExist()) in <lambda>() [all …]
|
/packages/apps/Car/Launcher/libs/appgrid/lib/tests/src/com/android/car/carlauncher/ |
D | AppGridPageSnapperTest.java | 95 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/permissions/additionalaccess/ |
D | AdditionalAccessFragmentTest.kt | 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>() 197 .check(matches(isDisplayed())) in <lambda>() [all …]
|
/packages/apps/Car/Launcher/app/tests/src/com/android/car/carlauncher/homescreen/audio/ |
D | AudioCardFragmentTest.java | 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() 114 isDescendantOfA(withId(R.id.media_layout)))).check( 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() 135 isDescendantOfA(withId(R.id.bottom_card)))).check(matches(isDisplayed())); in updateContentAndHeaderView_audioContentWithControls_showsDialerControlBar() [all …]
|
/packages/modules/HealthFitness/apk/tests/src/com/android/healthconnect/controller/tests/entrydetails/ |
D | DataEntryDetailsFragmentTest.kt | 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() 211 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/permissions/connectedapps/searchapps/ |
D | SearchAppsFragmentTest.kt | 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() 101 onView(withText("Allowed access")).check(doesNotExist()) in noAppsAllowed_doesNotShowAllowedAccessSection() 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/autodelete/ |
D | AutoDeleteFragmentTest.kt | 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() 116 onView(withId(R.id.radio_button_never)).check(matches(isChecked())) in autoDelete_checkDefaultRange_defaultRange() 138 .check(matches(isDisplayed())) in autoDelete_setRangeTo3Months_saveChanges() 143 .check(matches(isDisplayed())) in autoDelete_setRangeTo3Months_saveChanges() [all …]
|
/packages/apps/Car/DebuggingRestrictionController/app/src/androidTest/java/com/android/car/debuggingrestrictioncontroller/ |
D | LoginTest.java | 96 .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 …]
|