/packages/modules/HealthFitness/apk/tests/src/com/android/healthconnect/controller/tests/deletion/ |
D | DeletionFragmentTest.kt | 26 import androidx.test.espresso.matcher.RootMatchers.isDialog 83 onView(withText("Choose data to delete")).inRoot(isDialog()).check(matches(isDisplayed())) in deleteAllData_timeRangeDialog_showsCorrectText() 88 .inRoot(isDialog()) 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/modules/HealthFitness/apk/tests/src/com/android/healthconnect/controller/tests/selectabledeletion/ |
D | DeletionFragmentTest.kt | 25 import androidx.test.espresso.matcher.RootMatchers.isDialog 65 .inRoot(isDialog()) in deletePermissionTypesData_confirmationDeleteDialog_showsCorrectText() 70 .inRoot(isDialog()) 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() 89 .inRoot(isDialog()) in deleteFragment_confirmationDeleteDialog_cancelButton_exitsDialog() 94 .inRoot(isDialog()) in deleteFragment_confirmationDeleteDialog_cancelButton_exitsDialog() 96 onView(withText("Cancel")).inRoot(isDialog()).perform(click()) in deleteFragment_confirmationDeleteDialog_cancelButton_exitsDialog() 115 .inRoot(isDialog()) in deletePermissionTypesData_progressIndicatorCanStartState_progressDialogShown() 120 .inRoot(isDialog()) in deletePermissionTypesData_progressIndicatorCanStartState_progressDialogShown() [all …]
|
/packages/modules/HealthFitness/apk/tests/src/com/android/healthconnect/controller/tests/autodelete/ |
D | AutoDeleteFragmentTest.kt | 23 import androidx.test.espresso.matcher.RootMatchers.isDialog 137 .inRoot(isDialog()) in autoDelete_setRangeTo3Months_saveChanges() 142 .inRoot(isDialog()) in autoDelete_setRangeTo3Months_saveChanges() 144 onView(withText("Set auto-delete")).inRoot(isDialog()).check(matches(isDisplayed())) in autoDelete_setRangeTo3Months_saveChanges() 145 onView(withText("Cancel")).inRoot(isDialog()).check(matches(isDisplayed())) in autoDelete_setRangeTo3Months_saveChanges() 153 onView(withText("Set auto-delete")).inRoot(isDialog()).perform(click()) in autoDelete_setRangeTo3Months_saveChanges() 158 .inRoot(isDialog()) in autoDelete_setRangeTo3Months_saveChanges() 163 .inRoot(isDialog()) in autoDelete_setRangeTo3Months_saveChanges() 171 onView(withText("Done")).inRoot(isDialog()).perform(click()) in autoDelete_setRangeTo3Months_saveChanges() 196 .inRoot(isDialog()) in autoDelete_setRangeTo18Months_confirmationDialog_saveChanges() [all …]
|
/packages/modules/HealthFitness/apk/tests/src/com/android/healthconnect/controller/tests/route/ |
D | RouteRequestActivityTest.kt | 37 import androidx.test.espresso.matcher.RootMatchers.isDialog in <lambda>() 267 .inRoot(isDialog()) in <lambda>() 269 onView(withText("Allow this route")).inRoot(isDialog()).check(matches(isDisplayed())) in <lambda>() 271 .inRoot(isDialog()) in <lambda>() 273 onView(withText("Session title")).inRoot(isDialog()).check(matches(isDisplayed())) in <lambda>() 275 .inRoot(isDialog()) in <lambda>() 277 onView(withId(R.id.map_view)).inRoot(isDialog()).check(matches(isDisplayed())) in <lambda>() 279 .inRoot(isDialog()) in <lambda>() 325 onView(withText("Allow this route")).inRoot(isDialog()).check(matches(isDisplayed())) in <lambda>() 327 .inRoot(isDialog()) in <lambda>() [all …]
|
/packages/modules/HealthFitness/apk/tests/src/com/android/healthconnect/controller/tests/permissions/additionalaccess/ |
D | ExerciseRoutesPermissionDialogFragmentTest.kt | 28 import androidx.test.espresso.matcher.RootMatchers.isDialog 92 .inRoot(isDialog()) in showDialog_permissionStateGranted_preselectCorrectView() 105 onView(withId(R.id.radio_button_ask)).inRoot(isDialog()).check(matches(isChecked())) in showDialog_permissionStateDeclared_preselectCorrectView() 117 onView(withId(R.id.radio_button_revoke)).inRoot(isDialog()).check(matches(isChecked())) in showDialog_permissionStateRevoked_preselectCorrectView() 125 onView(withId(R.id.radio_button_always_allow)).inRoot(isDialog()).perform(click()) in onOptionSelected_withAllowAll_callsViewModelWithGranted() 136 onView(withId(R.id.radio_button_ask)).inRoot(isDialog()).perform(click()) in onOptionSelected_withAskEveryTime_callsViewModelWithDeclared() 150 onView(withId(R.id.radio_button_revoke)).inRoot(isDialog()).perform(click()) in onOptionSelected_withRevoke_callsViewModelWithRevoked()
|
D | EnableExercisePermissionDialogTest.kt | 25 import androidx.test.espresso.matcher.RootMatchers.isDialog 66 .inRoot(isDialog()) in onClick_Yes_callsDisableExercisePermission() 78 .inRoot(isDialog()) in onClick_No_callsHideExerciseRoutePermissionDialog() 89 .inRoot(isDialog()) in onDismiss_callsHideExerciseRoutePermissionDialog()
|
D | DisableExerciseRoutePermissionDialogTest.kt | 25 import androidx.test.espresso.matcher.RootMatchers.isDialog 66 .inRoot(isDialog()) in onClick_Yes_callsDisableExercisePermission() 78 .inRoot(isDialog()) in onClick_No_callsHideExerciseRoutePermissionDialog() 89 .inRoot(isDialog()) in onDismiss_callsHideExerciseRoutePermissionDialog()
|
/packages/modules/HealthFitness/apk/tests/src/com/android/healthconnect/controller/tests/permissions/connectedapps/ |
D | MockedConnectedAppFragmentTest.kt | 29 import androidx.test.espresso.matcher.RootMatchers.isDialog 99 .inRoot(isDialog()) in exerciseRoutesAlwaysAllow_revokeExercise_notLastReadPermission_showsDialog() 104 .inRoot(isDialog()) in exerciseRoutesAlwaysAllow_revokeExercise_notLastReadPermission_showsDialog() 106 onView(withText("Yes")).inRoot(isDialog()).perform(click()) in exerciseRoutesAlwaysAllow_revokeExercise_notLastReadPermission_showsDialog() 152 .inRoot(isDialog()) in exerciseRoutesAlwaysAllow_revokeExercise_lastReadPermission_showsDialog() 157 .inRoot(isDialog()) in exerciseRoutesAlwaysAllow_revokeExercise_lastReadPermission_showsDialog() 159 onView(withText("Yes")).inRoot(isDialog()).perform(click()) in exerciseRoutesAlwaysAllow_revokeExercise_lastReadPermission_showsDialog()
|
/packages/modules/HealthFitness/apk/tests/src/com/android/healthconnect/controller/tests/exportimport/ |
D | ExportDestinationFragmentTest.kt | 41 import androidx.test.espresso.matcher.RootMatchers.isDialog in <lambda>() 510 onView(withText("Choose an account")).inRoot(isDialog()).check(matches(isDisplayed())) in <lambda>() 512 .inRoot(isDialog()) in <lambda>() 515 .inRoot(isDialog()) in <lambda>() 517 onView(withText("Done")).inRoot(isDialog()).check(matches(isDisplayed())) in <lambda>() 518 onView(withText("Cancel")).inRoot(isDialog()).check(matches(isDisplayed())) in <lambda>() 550 .inRoot(isDialog()) in <lambda>() 552 onView(withText("Done")).inRoot(isDialog()).perform(click()) in <lambda>() 590 .inRoot(isDialog()) in <lambda>() 592 onView(withText("Done")).inRoot(isDialog()).perform(click()) in <lambda>() [all …]
|
D | ImportSourceLocationFragmentTest.kt | 40 import androidx.test.espresso.matcher.RootMatchers.isDialog in <lambda>() 510 onView(withText("Choose an account")).inRoot(isDialog()).check(matches(isDisplayed())) in <lambda>() 512 .inRoot(isDialog()) in <lambda>() 515 .inRoot(isDialog()) in <lambda>() 517 onView(withText("Done")).inRoot(isDialog()).check(matches(isDisplayed())) in <lambda>() 518 onView(withText("Cancel")).inRoot(isDialog()).check(matches(isDisplayed())) in <lambda>() 550 .inRoot(isDialog()) in <lambda>() 552 onView(withText("Done")).inRoot(isDialog()).perform(click()) in <lambda>() 590 .inRoot(isDialog()) in <lambda>() 592 onView(withText("Done")).inRoot(isDialog()).perform(click()) in <lambda>() [all …]
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/security/ |
D | MemtagPreferenceControllerTest.java | 21 import static androidx.test.espresso.matcher.RootMatchers.isDialog; 127 onView(withText(R.string.memtag_reboot_title)).inRoot(isDialog()); in setChecked_isCheckedPending_showsDialog() 134 onView(withText(R.string.memtag_reboot_title)).inRoot(isDialog()); in setChecked_isUncheckedPending_showsDialog() 141 onView(withText(R.string.memtag_reboot_title)).inRoot(isDialog()).check(doesNotExist()); in setChecked_isChecked_doesNotShowDialog() 148 onView(withText(R.string.memtag_reboot_title)).inRoot(isDialog()).check(doesNotExist()); in setChecked_isUnchecked_doesNotShowDialog()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/development/ |
D | DevelopmentMemtagPreferenceControllerTest.java | 21 import static androidx.test.espresso.matcher.RootMatchers.isDialog; 130 onView(withText(R.string.memtag_reboot_title)).inRoot(isDialog()); in setChecked_isCheckedPending_showsDialog() 137 onView(withText(R.string.memtag_reboot_title)).inRoot(isDialog()); in setChecked_isUncheckedPending_showsDialog() 144 onView(withText(R.string.memtag_reboot_title)).inRoot(isDialog()).check(doesNotExist()); in setChecked_isChecked_doesNotShowDialog() 151 onView(withText(R.string.memtag_reboot_title)).inRoot(isDialog()).check(doesNotExist()); in setChecked_isUnchecked_doesNotShowDialog()
|
/packages/apps/Gallery2/src/com/android/gallery3d/app/ |
D | PickerActivity.java | 41 boolean isDialog = getResources().getBoolean(R.bool.picker_is_dialog); in onCreate() 43 if (!isDialog) { in onCreate() 50 if (isDialog) { in onCreate()
|
/packages/modules/HealthFitness/apk/tests/src/com/android/healthconnect/controller/tests/permissions/connectedapps/settings/ |
D | SettingsManageAppPermissionsFragmentTest.kt | 32 import androidx.test.espresso.matcher.RootMatchers.isDialog in <lambda>() 450 .inRoot(isDialog()) in <lambda>() 453 onView(withText("Start integration")).inRoot(isDialog()).check(matches(isDisplayed())) in <lambda>() 454 onView(withText("Continue")).inRoot(isDialog()).check(matches(isDisplayed())) in <lambda>() 462 onView(withText("Continue")).inRoot(isDialog()).perform(click()) in <lambda>() 501 .inRoot(isDialog()) in <lambda>() 503 onView(withText("Got it")).inRoot(isDialog()).check(matches(isDisplayed())) in <lambda>() 509 onView(withText("Got it")).inRoot(isDialog()).perform(click()) in <lambda>() 549 .inRoot(isDialog()) in <lambda>() 554 .inRoot(isDialog()) in <lambda>() [all …]
|
D | SettingsManagePermissionFragmentTest.kt | 214 .inRoot(RootMatchers.isDialog()) in whenMigrationInProgress_showsMigrationInProgressDialog() 216 onView(withText("Got it")).inRoot(RootMatchers.isDialog()).check(matches(isDisplayed())) in whenMigrationInProgress_showsMigrationInProgressDialog() 222 onView(withText("Got it")).inRoot(RootMatchers.isDialog()).perform(ViewActions.click()) in whenMigrationInProgress_showsMigrationInProgressDialog() 256 .inRoot(RootMatchers.isDialog()) in whenRestoreInProgress_showsRestoreInProgressDialog() 261 .inRoot(RootMatchers.isDialog()) in whenRestoreInProgress_showsRestoreInProgressDialog() 263 onView(withText("Got it")).inRoot(RootMatchers.isDialog()).check(matches(isDisplayed())) in whenRestoreInProgress_showsRestoreInProgressDialog() 269 onView(withText("Got it")).inRoot(RootMatchers.isDialog()).perform(ViewActions.click()) in whenRestoreInProgress_showsRestoreInProgressDialog()
|
/packages/apps/Calendar/src/com/android/calendar/ |
D | EventInfoActivity.kt | 68 var isDialog = false in onCreate() variable 74 isDialog = icicle.getBoolean(EventInfoFragment.BUNDLE_KEY_IS_DIALOG) in onCreate() 148 isDialog, in onCreate() 149 if (isDialog) EventInfoFragment.DIALOG_WINDOW_STYLE in onCreate()
|
D | EventInfoFragment.kt | 297 isDialog: Boolean, 305 if (isDialog) { 310 if (isDialog) { 313 mIsDialog = isDialog 330 isDialog: Boolean, 334 endMillis, attendeeResponse, isDialog, windowStyle
|
/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/opp/ |
D | BluetoothOppBtEnableActivityTest.java | 24 import static androidx.test.espresso.matcher.RootMatchers.isDialog; 85 .inRoot(isDialog()) in onCreate_clickOnEnable_launchEnablingActivity() 88 .inRoot(isDialog()) in onCreate_clickOnEnable_launchEnablingActivity()
|
D | IncomingFileConfirmActivityTest.java | 22 import static androidx.test.espresso.matcher.RootMatchers.isDialog; 178 .inRoot(isDialog()) in onCreate_clickConfirmCancel_saveUSER_CONFIRMAMTION_DENIED() 181 .inRoot(isDialog()) in onCreate_clickConfirmCancel_saveUSER_CONFIRMAMTION_DENIED() 210 .inRoot(isDialog()) in onCreate_clickConfirmOk_saveUSER_CONFIRMATION_CONFIRMED() 213 .inRoot(isDialog()) in onCreate_clickConfirmOk_saveUSER_CONFIRMATION_CONFIRMED()
|
D | BluetoothOppTransferHistoryTest.java | 22 import static androidx.test.espresso.matcher.RootMatchers.isDialog; 228 .inRoot(isDialog()) in onOptionsItemSelected_clearAllSelected_promptWarning() 233 .inRoot(isDialog()) in onOptionsItemSelected_clearAllSelected_promptWarning()
|
/packages/modules/HealthFitness/apk/tests/src/com/android/healthconnect/controller/tests/permissions/request/ |
D | MockedPermissionsActivityTest.kt | 45 import androidx.test.espresso.matcher.RootMatchers.isDialog in <lambda>() 763 .inRoot(isDialog()) in <lambda>() 768 .inRoot(isDialog()) in <lambda>() 770 onView(withText("Got it")).inRoot(isDialog()).check(matches(isDisplayed())) in <lambda>() 776 onView(withText("Got it")).inRoot(isDialog()).perform(click()) in <lambda>() 820 .inRoot(isDialog()) in <lambda>() 825 .inRoot(isDialog()) in <lambda>() 827 onView(withText("Got it")).inRoot(isDialog()).check(matches(isDisplayed())) in <lambda>() 833 onView(withText("Got it")).inRoot(isDialog()).perform(click()) in <lambda>() 876 .inRoot(isDialog()) in <lambda>() [all …]
|
/packages/modules/HealthFitness/apk/tests/src/com/android/healthconnect/controller/tests/data/ |
D | DataManagementActivityTest.kt | 164 onView(withText("What's new")).inRoot(RootMatchers.isDialog()).check(matches(isDisplayed())) in <lambda>() 168 .inRoot(RootMatchers.isDialog()) in <lambda>() 170 onView(withText("Got it")).inRoot(RootMatchers.isDialog()).check(matches(isDisplayed())) in <lambda>() 172 onView(withText("Got it")).inRoot(RootMatchers.isDialog()).perform(ViewActions.click()) in <lambda>()
|
/packages/modules/HealthFitness/apk/tests/src/com/android/healthconnect/controller/tests/permissiontypes/ |
D | HealthPermissionTypesFragmentTest.kt | 29 import androidx.test.espresso.matcher.RootMatchers.isDialog 145 onView(withText("Choose data to delete")).inRoot(isDialog()).check(matches(isDisplayed())) in deletePermissionTypeData_showsDialog() 386 onView(withText("Set app priority")).inRoot(isDialog()).check(matches(isDisplayed())) in permissionTypesFragment_priorityListDialog_isDisplayed() 391 .inRoot(isDialog()) in permissionTypesFragment_priorityListDialog_isDisplayed() 393 onView(withText("0")).inRoot(isDialog()).check(doesNotExist()) in permissionTypesFragment_priorityListDialog_isDisplayed() 394 onView(withText("1")).inRoot(isDialog()).check(matches(isDisplayed())) in permissionTypesFragment_priorityListDialog_isDisplayed() 395 onView(withText("Health Connect test app")).inRoot(isDialog()).check(matches(isDisplayed())) in permissionTypesFragment_priorityListDialog_isDisplayed() 396 onView(withText("2")).inRoot(isDialog()).check(matches(isDisplayed())) in permissionTypesFragment_priorityListDialog_isDisplayed() 398 .inRoot(isDialog()) in permissionTypesFragment_priorityListDialog_isDisplayed() 400 onView(withText("Save")).inRoot(isDialog()).check(matches(isDisplayed())) in permissionTypesFragment_priorityListDialog_isDisplayed() [all …]
|
/packages/providers/MediaProvider/photopicker/src/com/android/photopicker/core/navigation/ |
D | PhotopickerNavGraph.kt | 88 if (route.isDialog) { in NavGraphBuilder() 133 override val isDialog = false in getStartDestination() constant
|
/packages/providers/MediaProvider/photopicker/src/com/android/photopicker/features/preview/ |
D | PreviewFeature.kt | 79 override val isDialog = true in registerNavigationRoutes() constant 112 override val isDialog = true in registerNavigationRoutes() constant
|