/packages/apps/Settings/tests/robotests/src/com/android/settings/notification/ |
D | BlockPreferenceControllerTest.java | 99 mController.onResume(null, null, null, null); in testIsAvailable_notIfNull() 109 mController.onResume(appRow, channel, null, null); in testIsAvailable_channelNotBlockable() 119 mController.onResume(appRow, channel, null, null); in testIsAvailable_channelNonDefault() 129 mController.onResume(appRow, channel, null, null); in testIsAvailable_ifChannelDefault() 137 mController.onResume(appRow, null, mock(NotificationChannelGroup.class), null); in testIsAvailable_GroupNotBlockable() 145 mController.onResume(appRow, null, null, null); in testIsAvailable_AppNotBlockable() 155 mController.onResume(appRow, channel, null, null); in testIsAvailable_systemApp() 165 mController.onResume(appRow, channel, null, null); in testIsAvailable_nonSystemApp() 174 mController.onResume(appRow, null, null, null); in testIsEnabled_lockedApp() 183 mController.onResume(appRow, null, mock(NotificationChannelGroup.class), null); in testIsEnabled_GroupNotBlockable() [all …]
|
D | NotificationPreferenceControllerTest.java | 92 mController.onResume(null, null, null, null); in isAvailable_notIfNull() 100 mController.onResume(appRow, mock(NotificationChannel.class), in isAvailable_notIfAppBlocked() 113 mController.onResume(appRow, channel, group, null); in isAvailable_notIfChannelBlocked() 124 mController.onResume(appRow, channel, group, null); in isAvailable_notIfChannelGroupBlocked() 137 mController.onResume(appRow, channel, group, null); in isAvailable() 148 mController.onResume(appRow, channel, group, admin); in testOnResume() 162 mController.onResume(appRow, channel, null, null); in testCanBeVisible_unspecified() 172 mController.onResume(appRow, channel, null, null); in testCanBeVisible_sameImportance() 182 mController.onResume(appRow, channel, null, null); in testCanBeVisible_greaterImportance() 192 mController.onResume(appRow, channel, null, null); in testCanBeVisible_lesserImportance() [all …]
|
D | BubblePreferenceControllerTest.java | 109 mController.onResume(appRow, mock(NotificationChannel.class), null, null); in testIsAvailable_notIfAppBlocked() 119 mController.onResume(appRow, channel, null, null); in testIsAvailable_notIfChannelBlocked() 130 mController.onResume(appRow, channel, null, null); in testIsAvailable_channel_notIfAppOff() 138 mController.onResume(appRow, null, null, null); in testIsNotAvailable_ifOffGlobally_app() 150 mController.onResume(appRow, channel, null, null); in testIsAvailable_notIfOffGlobally_channel() 160 mAppPageController.onResume(appRow, null, null, null); in testIsAvailable_app_evenIfOffGlobally() 170 mController.onResume(appRow, null, null, null); in testIsAvailable_app() 183 mController.onResume(appRow, channel, null, null); in testIsAvailable_defaultChannel() 195 mController.onResume(appRow, channel, null, null); in testIsAvailable_channel() 207 mController.onResume(appRow, channel, null, null); in testIsAvailable_channelAppOff() [all …]
|
D | BadgePreferenceControllerTest.java | 95 mController.onResume(appRow, mock(NotificationChannel.class), null, null); in testIsAvailable_notIfAppBlocked() 104 mController.onResume(appRow, channel, null, null); in testIsAvailable_notIfChannelBlocked() 114 mController.onResume(appRow, channel, null, null); in testIsAvailable_channel_notIfAppOff() 124 mController.onResume(appRow, channel, null, null); in testIsAvailable_notIfOffGlobally() 133 mController.onResume(appRow, null, null, null); in testIsAvailable_app() 146 mController.onResume(appRow, channel, null, null); in testIsAvailable_defaultChannel() 158 mController.onResume(appRow, channel, null, null); in testIsAvailable_channel() 170 mController.onResume(appRow, channel, null, null); in testIsAvailable_channelAppOff() 180 mController.onResume(new NotificationBackend.AppRow(), channel, null, in testUpdateState_disabledByAdmin() 195 mController.onResume(appRow, channel, null, null); in testUpdateState_channelNotBlockable() [all …]
|
D | HeaderPreferenceControllerTest.java | 89 mController.onResume(null, null, null, null); in testIsAvailable_notIfNull() 97 mController.onResume(appRow, null, null, null); in testIsAvailable() 105 mController.onResume(appRow, null, null, null); in testGetLabel() 109 mController.onResume(appRow, null, group, null); in testGetLabel() 113 mController.onResume(appRow, channel, group, null); in testGetLabel() 118 mController.onResume(appRow, defaultChannel, null, null); in testGetLabel() 126 mController.onResume(appRow, null, null, null); in testGetSummary() 130 mController.onResume(appRow, null, group, null); in testGetSummary() 134 mController.onResume(appRow, channel, group, null); in testGetSummary() 138 mController.onResume(appRow, channel, null, null); in testGetSummary() [all …]
|
D | AllowSoundPreferenceControllerTest.java | 94 mController.onResume(null, mock(NotificationChannel.class), null, null); in testIsAvailable_notIfNull() 97 mController.onResume(mock(NotificationBackend.AppRow.class), null, null, null); in testIsAvailable_notIfNull() 105 mController.onResume(appRow, mock(NotificationChannel.class), null, null); in testIsAvailable_notIfAppBlocked() 114 mController.onResume(appRow, channel, null, null); in testIsAvailable_notIfAppCreatedChannel() 124 mController.onResume(appRow, channel, null, null); in testIsAvailable() 132 mController.onResume(new NotificationBackend.AppRow(), channel, null, mock( in testUpdateState_disabledByAdmin() 147 mController.onResume(appRow, channel, null, null); in testUpdateState_notBlockable_oem() 160 mController.onResume(appRow, channel, null, null); in testUpdateState_configurable() 172 mController.onResume(new NotificationBackend.AppRow(), channel, null, null); in testUpdateState_checkedForHighImportanceChannel() 183 mController.onResume(new NotificationBackend.AppRow(), channel, null, null); in testUpdateState_checkedForUnspecifiedImportanceChannel() [all …]
|
D | ImportancePreferenceControllerTest.java | 96 mController.onResume(null, null, null, null); in testIsAvailable_notIfNull() 104 mController.onResume(appRow, mock(NotificationChannel.class), null, null); in testIsAvailable_ifAppBlocked() 115 mController.onResume(appRow, channel, group, null); in testIsAvailable_isGroupBlocked() 124 mController.onResume(appRow, channel, null, null); in testIsAvailable_ifChannelBlocked() 134 mController.onResume(appRow, channel, null, null); in testIsAvailable_notForDefaultChannel() 143 mController.onResume(appRow, channel, null, null); in testIsAvailable() 151 mController.onResume(new NotificationBackend.AppRow(), channel, null, mock( in testUpdateState_disabledByAdmin() 166 mController.onResume(appRow, channel, null, null); in testUpdateState_notConfigurable() 181 mController.onResume(appRow, channel, null, null); in testUpdateState_systemButConfigurable() 196 mController.onResume(appRow, channel, null, null); in testUpdateState_defaultApp() [all …]
|
D | MinImportancePreferenceControllerTest.java | 90 mController.onResume(null, null, null, null); in testIsAvailable_notIfNull() 98 mController.onResume(appRow, mock(NotificationChannel.class), null, null); in testIsAvailable_ifAppBlocked() 107 mController.onResume(appRow, channel, null, null); in testIsAvailable_notIfChannelBlocked() 117 mController.onResume(appRow, channel, null, null); in testIsAvailable_notForDefaultChannel() 126 mController.onResume(appRow, channel, null, null); in testIsAvailable() 134 mController.onResume(new NotificationBackend.AppRow(), channel, null, mock( in testUpdateState_disabledByAdmin() 149 mController.onResume(appRow, channel, null, null); in testUpdateState_notConfigurable() 164 mController.onResume(appRow, channel, null, null); in testUpdateState_systemButConfigurable() 179 mController.onResume(appRow, channel, null, null); in testUpdateState_defaultApp() 191 mController.onResume(appRow, channel, null, null); in testUpdateState_min() [all …]
|
D | HighImportancePreferenceControllerTest.java | 90 mController.onResume(null, null, null, null); in testIsAvailable_notIfNull() 98 mController.onResume(appRow, mock(NotificationChannel.class), null, null); in testIsAvailable_ifAppBlocked() 107 mController.onResume(appRow, channel, null, null); in testIsAvailable_notIfChannelBlocked() 117 mController.onResume(appRow, channel, null, null); in testIsAvailable_notForDefaultChannel() 126 mController.onResume(appRow, channel, null, null); in testIsAvailable() 134 mController.onResume(new NotificationBackend.AppRow(), channel, null, mock( in testUpdateState_disabledByAdmin() 149 mController.onResume(appRow, channel, null, null); in testUpdateState_notConfigurable() 164 mController.onResume(appRow, channel, null, null); in testUpdateState_systemButConfigurable() 179 mController.onResume(appRow, channel, null, null); in testUpdateState_defaultApp() 191 mController.onResume(appRow, channel, null, null); in testUpdateState_high() [all …]
|
D | VibrationPreferenceControllerTest.java | 100 mController.onResume(appRow, channel, null, null); in testIsAvailable_notSystemDoesNotHave() 108 mController.onResume(appRow, channel, null, null); in testIsAvailable_notIfNotImportant() 117 mController.onResume(appRow, channel, null, null); in testIsAvailable_notIfDefaultChannel() 125 mController.onResume(appRow, channel, null, null); in testIsAvailable() 133 mController.onResume(new NotificationBackend.AppRow(), channel, null, mock( in testUpdateState_disabledByAdmin() 147 mController.onResume(appRow, channel, null, null); in testUpdateState_notBlockable() 160 mController.onResume(appRow, channel, null, null); in testUpdateState_configurable() 172 mController.onResume(new NotificationBackend.AppRow(), channel, null, null); in testUpdateState_vibrateOn() 184 mController.onResume(new NotificationBackend.AppRow(), channel, null, null); in testUpdateState_vibrateOff() 196 mController.onResume(new NotificationBackend.AppRow(), channel, null, null); in testOnPreferenceChange_on() [all …]
|
D | LightsPreferenceControllerTest.java | 109 mController.onResume(appRow, channel, null, null); in testIsAvailable_notIfConfigNotAllowed() 118 mController.onResume(appRow, channel, null, null); in testIsAvailable_notIfSettingNotAllowed() 126 mController.onResume(appRow, channel, null, null); in testIsAvailable_notIfNotImportant() 135 mController.onResume(appRow, channel, null, null); in testIsAvailable_notIfDefaultChannel() 143 mController.onResume(appRow, channel, null, null); in testIsAvailable() 151 mController.onResume(new NotificationBackend.AppRow(), channel, null, in testUpdateState_disabledByAdmin() 165 mController.onResume(appRow, channel, null, null); in testUpdateState_notBlockable() 177 mController.onResume(new NotificationBackend.AppRow(), channel, null, null); in testUpdateState_lightsOn() 188 mController.onResume(new NotificationBackend.AppRow(), channel, null, null); in testUpdateState_lightsOff() 199 mController.onResume(new NotificationBackend.AppRow(), channel, null, null); in testOnPreferenceChange_on() [all …]
|
D | DescriptionPreferenceControllerTest.java | 75 mController.onResume(null, null, null, null); in testIsAvailable_notIfNull() 83 mController.onResume(appRow, null, group, null); in testIsAvailable_notIfChannelGroupBlocked() 92 mController.onResume(appRow, channel, null, null); in testIsAvailable_notIfChannelBlocked() 101 mController.onResume(appRow, channel, null, null); in testIsAvailable_notIfNoChannelDesc() 109 mController.onResume(appRow, null, group, null); in testIsAvailable_notIfNoChannelGroupDesc() 119 mController.onResume(appRow, channel, null, null); in testIsAvailable_channel() 129 mController.onResume(appRow, null, group, null); in testIsAvailable_channelGroup() 139 mController.onResume(appRow, channel, null, null); in testUpdateState_channel() 154 mController.onResume(appRow, null, group, null); in testUpdateState_channelGroup()
|
D | VisibilityPreferenceControllerTest.java | 123 mController.onResume(appRow, channel, null, null); in testIsAvailable_notSecure() 131 mController.onResume(appRow, channel, null, null); in testIsAvailable_notIfNotImportant() 140 mController.onResume(appRow, channel, null, null); in testIsAvailable() 144 mController.onResume(appRow, channel, null, null); in testIsAvailable() 161 mController.onResume(new NotificationBackend.AppRow(), channel, null, mock( in testUpdateState_disabledByAdmin_disableSecure() 183 mController.onResume(new NotificationBackend.AppRow(), channel, null, mock( in testUpdateState_disabledByAdmin_disableUnredacted() 199 mController.onResume(appRow, channel, null, null); in testUpdateState_noLockScreenNotificationsGlobally() 224 mController.onResume(appRow, channel, null, null); in testUpdateState_noLockScreenNotificationsGloballyInProfile() 247 mController.onResume(appRow, channel, null, null); in testUpdateState_noPrivateLockScreenNotificationsGlobally() 264 mController.onResume(appRow, channel, null, null); in testUpdateState_noGlobalRestriction() [all …]
|
D | DndPreferenceControllerTest.java | 85 mController.onResume(appRow, null, null, null); in testIsAvailable_app() 95 mController.onResume(appRow, channel, null, null); in testIsAvailable_channel() 103 mController.onResume(new NotificationBackend.AppRow(), channel, null, mock( in testUpdateState_disabledByAdmin() 117 mController.onResume(appRow, channel, null, null); in testUpdateState_notBlockable() 130 mController.onResume(appRow, channel, null, null); in testUpdateState_configurable() 142 mController.onResume(new NotificationBackend.AppRow(), channel, null, null); in testUpdateState_bypassDnd() 154 mController.onResume(new NotificationBackend.AppRow(), channel, null, null); in testUpdateState_noBypassDnd() 166 mController.onResume(new NotificationBackend.AppRow(), channel, null, null); in testOnPreferenceChange_on() 184 mController.onResume(new NotificationBackend.AppRow(), channel, null, null); in testOnPreferenceChange_off()
|
D | BubbleSummaryPreferenceControllerTest.java | 91 mController.onResume(appRow, mock(NotificationChannel.class), null, null); in testIsAvailable_notIfAppBlocked() 100 mController.onResume(appRow, channel, null, null); in testIsAvailable_notIfOffGlobally() 110 mController.onResume(appRow, null, null, null); in testIsAvailable_app() 119 mController.onResume(appRow, null, null, null); in testIsNotAvailable_app_globalOff() 133 mController.onResume(appRow, channel, null, null); in testIsAvailable_defaultChannel() 143 mController.onResume(appRow, null, null, null); in testUpdateState() 155 mController.onResume(appRow, null, null, null); in testGetSummary() 165 mController.onResume(appRow, null, null, null); in testGetSummary()
|
D | SoundPreferenceControllerTest.java | 110 mController.onResume(appRow, null, null, null); in testIsAvailable_notIfChannelNull() 118 mController.onResume(appRow, channel, null, null); in testIsAvailable_notIfNotImportant() 127 mController.onResume(appRow, channel, null, null); in testIsAvailable_notIfDefaultChannel() 135 mController.onResume(appRow, channel, null, null); in testIsAvailable() 153 mController.onResume(new NotificationBackend.AppRow(), channel, null, mock( in testUpdateState_disabledByAdmin() 168 mController.onResume(appRow, channel, null, null); in testUpdateState_notBlockable() 184 mController.onResume(appRow, channel, null, null); in testUpdateState_configurable() 200 mController.onResume(appRow, channel, null, null); in testOnPreferenceChange() 240 mController.onResume(appRow, channel, null, null); in testOnPreferenceTreeClick_alarmSound() 261 mController.onResume(appRow, channel, null, null); in testOnPreferenceTreeClick_ringtoneSound() [all …]
|
D | DeletedChannelsPreferenceControllerTest.java | 80 mController.onResume(appRow, null, null, null); in isAvailable_appScreen_notIfAppBlocked() 87 mController.onResume(appRow, null, mock(NotificationChannelGroup.class), null); in isAvailable_groupScreen_never() 93 mController.onResume( in isAvailable_channelScreen_never() 101 mController.onResume(new NotificationBackend.AppRow(), null, null, null); in isAvailable_appScreen_notIfNoDeletedChannels() 108 mController.onResume(new NotificationBackend.AppRow(), null, null, null); in isAvailable_appScreen() 115 mController.onResume(new NotificationBackend.AppRow(), null, null, null); in updateState()
|
D | AppLinkPreferenceControllerTest.java | 76 mController.onResume(null, null, null, null); in testIsAvailable_notIfNull() 84 mController.onResume(appRow, null, null, null); in testIsAvailable_notIfAppBlocked() 93 mController.onResume(appRow, channel, null, null); in testIsAvailable_notIfChannelBlocked() 103 mController.onResume(appRow, channel, null, null); in testIsAvailable_notNoIntent() 114 mController.onResume(appRow, channel, null, null); in testIsAvailable() 123 mController.onResume(appRow, null, null, null); in testUpdateState()
|
D | NotificationsOffPreferenceControllerTest.java | 73 mController.onResume(appRow, null, null, null); in testIsAvailable_yesIfAppBlocked() 82 mController.onResume(appRow, null, group, null); in testIsAvailable_yesIfChannelGroupBlocked() 91 mController.onResume(appRow, channel, null, null); in testIsAvailable_yesIfChannelBlocked() 100 mController.onResume(appRow, channel, null, null); in testUpdateState_channel() 114 mController.onResume(appRow, null, group, null); in testUpdateState_channelGroup() 127 mController.onResume(appRow, null, null, null); in testUpdateState_app()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/accounts/ |
D | AccountPreferenceControllerTest.java | 110 mController.onResume(); in onResume_managedProfile_shouldNotAddAccountCategory() 122 mController.onResume(); in onResume_linkedUser_shouldAddOneAccountCategory() 135 mController.onResume(); in onResume_oneProfile_shouldAddOneAccountCategory() 149 mController.onResume(); in onResume_twoProfiles_shouldAddTwoAccountCategory() 163 mController.onResume(); in onResume_noProfileChange_shouldNotAddOrRemoveAccountCategory() 166 mController.onResume(); in onResume_noProfileChange_shouldNotAddOrRemoveAccountCategory() 179 mController.onResume(); in onResume_oneNewProfile_shouldAddOneAccountCategory() 184 mController.onResume(); in onResume_oneNewProfile_shouldAddOneAccountCategory() 197 mController.onResume(); in onResume_oneProfileRemoved_shouldRemoveOneAccountCategory() 201 mController.onResume(); in onResume_oneProfileRemoved_shouldRemoveOneAccountCategory() [all …]
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/network/ |
D | MobileNetworkSummaryControllerTest.java | 129 mController.onResume(); in getSummary_noSubscriptions_correctSummaryAndClickHandler() 154 mController.onResume(); in getSummary_oneSubscription_correctSummaryAndClickHandler() 176 mController.onResume(); in getSummary_oneInactivePSim_correctSummaryAndClickHandler() 194 mController.onResume(); in getSummary_twoSubscriptions_correctSummaryAndFragment() 210 mController.onResume(); in getSummaryAfterUpdate_twoSubscriptionsBecomesOne_correctSummaryAndFragment() 238 mController.onResume(); in getSummaryAfterUpdate_oneSubscriptionBecomesTwo_correctSummaryAndFragment() 250 mController.onResume(); in getSummaryAfterUpdate_oneSubscriptionBecomesTwo_correctSummaryAndFragment() 259 mController.onResume(); in addButton_noSubscriptionsNoEuiccMgr_noAddClickListener() 269 mController.onResume(); in addButton_oneSubscriptionNoEuiccMgr_noAddClickListener() 276 mController.onResume(); in addButton_noSubscriptions_noAddClickListener() [all …]
|
D | MobileNetworkListControllerTest.java | 99 mController.onResume(); in displayPreference_noSubscriptions_noCrash() 106 mController.onResume(); in displayPreference_eSimNotSupported_addMoreLinkNotVisible() 115 mController.onResume(); in displayPreference_eSimSupported_addMoreLinkIsVisible() 127 mController.onResume(); in displayPreference_twoSubscriptions_correctlySetup() 161 mController.onResume(); in displayPreference_oneActiveESimOneInactivePSim_correctlySetup() 182 mController.onResume(); in onSubscriptionsChanged_twoSubscriptionsOneChangesName_preferenceUpdated() 199 mController.onResume(); in onSubscriptionsChanged_startWithThreeSubsAndRemoveOne_correctPreferenceRemoved()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/nfc/ |
D | NfcPreferenceControllerTest.java | 104 mNfcController.onResume(); in isNfcEnable_nfcStateNotTurning_shouldReturnTrue() 108 mNfcController.onResume(); in isNfcEnable_nfcStateNotTurning_shouldReturnTrue() 116 mNfcController.onResume(); in isNfcEnable_nfcStateTurning_shouldReturnFalse() 120 mNfcController.onResume(); in isNfcEnable_nfcStateTurning_shouldReturnFalse() 128 mNfcController.onResume(); in isNfcChecked_nfcStateOn_shouldReturnTrue() 132 mNfcController.onResume(); in isNfcChecked_nfcStateOn_shouldReturnTrue() 139 mNfcController.onResume(); in isNfcChecked_nfcStateOff_shouldReturnFalse() 143 mNfcController.onResume(); in isNfcChecked_nfcStateOff_shouldReturnFalse() 169 mNfcController.onResume(); in setChecked_True_nfcShouldEnable() 177 mNfcController.onResume(); in setChecked_False_nfcShouldDisable()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/wifi/calling/ |
D | WifiCallingSettingsForSubTest.java | 165 mFragment.onResume(); in onResume_provisioningAllowed_shouldNotFinish() 175 mFragment.onResume(); in onResume_provisioningDisallowed_shouldFinish() 184 mFragment.onResume(); in onResumeOnPause_provisioningCallbackRegistration() 195 mFragment.onResume(); in onResume_useWfcHomeModeConfigFalseAndEditable_shouldShowWfcRoaming() 209 mFragment.onResume(); in onResume_useWfcHomeModeConfigTrueAndEditable_shouldHideWfcRoaming() 223 mFragment.onResume(); in onResume_useWfcHomeModeConfigFalseAndNotEditable_shouldHideWfcRoaming() 237 mFragment.onResume(); in onResume_useWfcHomeModeConfigTrueAndNotEditable_shouldHideWfcRoaming() 247 mFragment.onResume(); in onPreferenceChange_useWfcHomeModeConfigFalse_shouldNotSetWfcRoaming() 268 mFragment.onResume(); in onPreferenceChange_useWfcHomeModeConfigTrue_shouldSetWfcRoaming()
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/notification/ |
D | ZenModeRuleSettingsBase.java | 100 public void onResume() { in onResume() method in ZenModeRuleSettingsBase 101 super.onResume(); in onResume() 121 mSwitch.onResume(mRule, mId); in updateHeader() 125 mHeader.onResume(mRule, mId); in updateHeader() 129 mActionButtons.onResume(mRule, mId); in updateHeader()
|