/packages/apps/Settings/tests/robotests/src/com/android/settings/fuelgauge/batterytip/ |
D | BatteryTipDialogFragmentTest.java | 139 ShadowAlertDialogCompat shadowDialog = ShadowAlertDialogCompat.shadowOf(dialog); in testOnCreateDialog_highUsageTip_fireHighUsageDialog() local 141 assertThat(shadowDialog.getMessage()) in testOnCreateDialog_highUsageTip_fireHighUsageDialog() 156 ShadowAlertDialogCompat shadowDialog = ShadowAlertDialogCompat.shadowOf(dialog); in testOnCreateDialog_restrictOneAppTip_fireRestrictOneAppDialog() local 158 assertThat(shadowDialog.getTitle()).isEqualTo("Restrict app?"); in testOnCreateDialog_restrictOneAppTip_fireRestrictOneAppDialog() 159 assertThat(shadowDialog.getMessage()) in testOnCreateDialog_restrictOneAppTip_fireRestrictOneAppDialog() 180 ShadowAlertDialogCompat shadowDialog = ShadowAlertDialogCompat.shadowOf(dialog); in testOnCreateDialog_restrictTwoAppsTip_fireRestrictTwoAppsDialog() local 182 assertThat(shadowDialog.getTitle()).isEqualTo("Restrict 2 apps?"); in testOnCreateDialog_restrictTwoAppsTip_fireRestrictTwoAppsDialog() 183 assertThat(shadowDialog.getMessage()) in testOnCreateDialog_restrictTwoAppsTip_fireRestrictTwoAppsDialog() 188 assertThat(shadowDialog.getView()).isNotNull(); in testOnCreateDialog_restrictTwoAppsTip_fireRestrictTwoAppsDialog() 213 ShadowAlertDialogCompat shadowDialog = ShadowAlertDialogCompat.shadowOf(dialog); in testOnCreateDialog_restrictSixAppsTip_fireRestrictSixAppsDialog() local [all …]
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/applications/appinfo/ |
D | ButtonActionDialogFragmentTest.java | 99 ShadowAlertDialogCompat shadowDialog = ShadowAlertDialogCompat.shadowOf(dialog); in testOnCreateDialog_forceStopDialog() local 101 assertThat(shadowDialog.getMessage()).isEqualTo( in testOnCreateDialog_forceStopDialog() 103 assertThat(shadowDialog.getTitle()).isEqualTo( in testOnCreateDialog_forceStopDialog() 120 ShadowAlertDialogCompat shadowDialog = ShadowAlertDialogCompat.shadowOf(dialog); in testOnCreateDialog_disableDialog() local 122 assertThat(shadowDialog.getMessage()).isEqualTo( in testOnCreateDialog_disableDialog()
|
D | InstantAppButtonDialogFragmentTest.java | 85 final ShadowAlertDialogCompat shadowDialog = ShadowAlertDialogCompat.shadowOf(dialog); in onCreateDialog_clearAppDialog_shouldShowClearAppDataConfirmation() local 87 assertThat(shadowDialog.getMessage()).isEqualTo( in onCreateDialog_clearAppDialog_shouldShowClearAppDataConfirmation() 89 assertThat(shadowDialog.getTitle()).isEqualTo( in onCreateDialog_clearAppDialog_shouldShowClearAppDataConfirmation()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/bluetooth/ |
D | RequestPermissionActivityTest.kt | 56 val shadowDialog = ShadowAlertDialogCompat.shadowOf(dialog) in requestEnable_whenBluetoothIsOff_showConfirmDialog() constant 57 assertThat(shadowDialog.message.toString()) in requestEnable_whenBluetoothIsOff_showConfirmDialog() 88 val shadowDialog = ShadowAlertDialogCompat.shadowOf(dialog) in requestDisable_whenBluetoothIsOn_showConfirmDialog() constant 89 assertThat(shadowDialog.message.toString()) in requestDisable_whenBluetoothIsOn_showConfirmDialog()
|
D | ForgetDeviceDialogFragmentTest.java | 112 ShadowAlertDialogCompat shadowDialog = ShadowAlertDialogCompat.shadowOf(dialog); in createDialog_normalDevice_showNormalMessage() local 114 assertThat(shadowDialog.getMessage()).isEqualTo( in createDialog_normalDevice_showNormalMessage()
|
D | RequestPermissionHelperTest.kt | 252 val shadowDialog = ShadowAlertDialogCompat.shadowOf(dialog) in assertLatestMessageIs() constant 253 assertThat(shadowDialog.message.toString()).isEqualTo(message) in assertLatestMessageIs()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/sim/ |
D | PreferredSimDialogFragmentTest.java | 87 final ShadowAlertDialogCompat shadowDialog = ShadowAlertDialogCompat.shadowOf(alertDialog); in onCreateDialog_twoSimsSelectFirst_correctMessage() local 88 final String message = (String) shadowDialog.getMessage(); in onCreateDialog_twoSimsSelectFirst_correctMessage() 101 final ShadowAlertDialogCompat shadowDialog = ShadowAlertDialogCompat.shadowOf(alertDialog); in onCreateDialog_twoSimsSelectSecond_correctMessage() local 102 final String message = (String) shadowDialog.getMessage(); in onCreateDialog_twoSimsSelectSecond_correctMessage()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/connecteddevice/audiosharing/ |
D | AudioSharingJoinDialogFragmentTest.java | 179 ShadowAlertDialogCompat shadowDialog = ShadowAlertDialogCompat.shadowOf(dialog); in onCreateDialog_flagOn_dialogShowTextForSingleDevice() local 180 assertThat(shadowDialog.getMessage().toString()).isEqualTo(TEST_DEVICE_NAME2); in onCreateDialog_flagOn_dialogShowTextForSingleDevice() 194 ShadowAlertDialogCompat shadowDialog = ShadowAlertDialogCompat.shadowOf(dialog); in onCreateDialog_flagOn_dialogShowTextForTwoDevice() local 195 assertThat(shadowDialog.getMessage().toString()) in onCreateDialog_flagOn_dialogShowTextForTwoDevice() 224 ShadowAlertDialogCompat shadowDialog = ShadowAlertDialogCompat.shadowOf(dialog); in onCreateDialog_dialogIsShowing_updateDialog() local 225 assertThat(shadowDialog.getMessage().toString()) in onCreateDialog_dialogIsShowing_updateDialog()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/fuelgauge/ |
D | RestrictedAppDetailsTest.java | 171 ShadowAlertDialogCompat shadowDialog = ShadowAlertDialogCompat.shadowOf(dialog); in createDialogFragment_toRestrict_createRestrictDialog() local 172 assertThat(shadowDialog.getTitle()).isEqualTo("Restrict app?"); in createDialogFragment_toRestrict_createRestrictDialog() 184 ShadowAlertDialogCompat shadowDialog = ShadowAlertDialogCompat.shadowOf(dialog); in createDialogFragment_toUnrestrict_createUnrestrictDialog() local 185 assertThat(shadowDialog.getTitle()).isEqualTo("Remove restriction?"); in createDialogFragment_toUnrestrict_createUnrestrictDialog()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/localepicker/ |
D | LocaleListEditorTest.java | 216 final ShadowAlertDialogCompat shadowDialog = ShadowAlertDialogCompat.shadowOf(dialog); in showRemoveLocaleWarningDialog_allLocaleSelected_shouldShowErrorDialog() local 218 assertThat(shadowDialog.getTitle()).isEqualTo( in showRemoveLocaleWarningDialog_allLocaleSelected_shouldShowErrorDialog() 238 final ShadowAlertDialogCompat shadowDialog = ShadowAlertDialogCompat.shadowOf(dialog); in showRemoveLocaleWarningDialog_mainLocaleSelected_shouldShowLocaleChangeDialog() local 240 assertThat(shadowDialog.getMessage()).isEqualTo( in showRemoveLocaleWarningDialog_mainLocaleSelected_shouldShowLocaleChangeDialog() 260 final ShadowAlertDialogCompat shadowDialog = ShadowAlertDialogCompat.shadowOf(dialog); in showRemoveLocaleWarningDialog_mainLocaleNotSelected_shouldShowConfirmDialog() local 262 assertThat(shadowDialog.getMessage()).isNull(); in showRemoveLocaleWarningDialog_mainLocaleNotSelected_shouldShowConfirmDialog()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/development/ |
D | DevelopmentSettingsDashboardFragmentTest.java | 210 ShadowAlertDialogCompat shadowDialog = ShadowAlertDialogCompat.shadowOf(dialog); in onSwitchChanged_turnOff_andOffloadIsNotDefaultValue_shouldShowWarningDialog() local 211 assertThat(shadowDialog.getTitle()).isEqualTo( in onSwitchChanged_turnOff_andOffloadIsNotDefaultValue_shouldShowWarningDialog() 213 assertThat(shadowDialog.getMessage()).isEqualTo( in onSwitchChanged_turnOff_andOffloadIsNotDefaultValue_shouldShowWarningDialog()
|