Home
last modified time | relevance | path

Searched refs:NotificationBackend (Results 1 – 25 of 114) sorted by relevance

12345

/packages/apps/Settings/tests/robotests/src/com/android/settings/notification/app/
DNotificationPreferenceControllerTest.java44 import com.android.settings.notification.NotificationBackend;
65 private NotificationBackend mBackend;
101 NotificationBackend.AppRow appRow = new NotificationBackend.AppRow(); in isAvailable_notIfAppBlocked()
110 NotificationBackend.AppRow appRow = new NotificationBackend.AppRow(); in isAvailable_notIfChannelBlocked()
122 NotificationBackend.AppRow appRow = new NotificationBackend.AppRow(); in isAvailable_notIfChannelGroupBlocked()
134 NotificationBackend.AppRow appRow = new NotificationBackend.AppRow(); in isAvailable_notIfFailsFilterCheck()
148 NotificationBackend.AppRow appRow = new NotificationBackend.AppRow(); in isAvailable()
160 NotificationBackend.AppRow appRow = new NotificationBackend.AppRow(); in testOnResume()
175 NotificationBackend.AppRow appRow = new NotificationBackend.AppRow(); in testCanBeVisible_unspecified()
185 NotificationBackend.AppRow appRow = new NotificationBackend.AppRow(); in testCanBeVisible_sameImportance()
[all …]
DBlockPreferenceControllerTest.java50 import com.android.settings.notification.NotificationBackend;
69 private NotificationBackend mBackend;
113 NotificationBackend.AppRow appRow = new NotificationBackend.AppRow(); in testIsAvailable_channelNotBlockable()
123 NotificationBackend.AppRow appRow = new NotificationBackend.AppRow(); in testIsAvailable_channelNonDefault()
133 NotificationBackend.AppRow appRow = new NotificationBackend.AppRow(); in testIsAvailable_ifChannelDefault()
143 NotificationBackend.AppRow appRow = new NotificationBackend.AppRow(); in testIsAvailable_GroupNotBlockable()
152 NotificationBackend.AppRow appRow = new NotificationBackend.AppRow(); in testIsAvailable_AppNotBlockable()
160 NotificationBackend.AppRow appRow = new NotificationBackend.AppRow(); in testIsAvailable_systemApp()
170 NotificationBackend.AppRow appRow = new NotificationBackend.AppRow(); in testIsAvailable_nonSystemApp_noFilter()
180 NotificationBackend.AppRow appRow = new NotificationBackend.AppRow(); in testIsAvailable_filteredOut()
[all …]
DBubblePreferenceControllerTest.java59 import com.android.settings.notification.NotificationBackend;
85 private NotificationBackend mBackend;
128 NotificationBackend.AppRow appRow = new NotificationBackend.AppRow(); in isAvailable_notIfAppBlocked()
137 NotificationBackend.AppRow appRow = new NotificationBackend.AppRow(); in isAvailable_notIfChannelBlocked()
147 NotificationBackend.AppRow appRow = new NotificationBackend.AppRow(); in isAvailable_channel_notIfAppOff()
158 NotificationBackend.AppRow appRow = new NotificationBackend.AppRow(); in isNotAvailable_ifOffGlobally_app()
168 NotificationBackend.AppRow appRow = new NotificationBackend.AppRow(); in isNotAvailable_ifLowRam()
180 NotificationBackend.AppRow appRow = new NotificationBackend.AppRow(); in isAvailable_notIfOffGlobally_channel()
192 NotificationBackend.AppRow appRow = new NotificationBackend.AppRow(); in isAvailable_ifNotLowRam()
204 NotificationBackend.AppRow appRow = new NotificationBackend.AppRow(); in isAvailable_app_evenIfOffGlobally()
[all …]
DBadgePreferenceControllerTest.java46 import com.android.settings.notification.NotificationBackend;
70 private NotificationBackend mBackend;
99 NotificationBackend.AppRow appRow = new NotificationBackend.AppRow(); in testIsAvailable_notIfAppBlocked()
107 NotificationBackend.AppRow appRow = new NotificationBackend.AppRow(); in testIsAvailable_notIfChannelBlocked()
116 NotificationBackend.AppRow appRow = new NotificationBackend.AppRow(); in testIsAvailable_channel_notIfAppOff()
127 NotificationBackend.AppRow appRow = new NotificationBackend.AppRow(); in testIsAvailable_notIfOffGlobally()
138 NotificationBackend.AppRow appRow = new NotificationBackend.AppRow(); in testIsAvailable_app()
147 NotificationBackend.AppRow appRow = new NotificationBackend.AppRow(); in testIsAvailable_defaultChannel()
160 NotificationBackend.AppRow appRow = new NotificationBackend.AppRow(); in testIsAvailable_channel()
172 NotificationBackend.AppRow appRow = new NotificationBackend.AppRow(); in testIsAvailable_channelAppOff()
[all …]
DMinImportancePreferenceControllerTest.java38 import com.android.settings.notification.NotificationBackend;
66 private NotificationBackend mBackend;
101 NotificationBackend.AppRow appRow = new NotificationBackend.AppRow(); in testIsAvailable_ifAppBlocked()
109 NotificationBackend.AppRow appRow = new NotificationBackend.AppRow(); in testIsAvailable_notIfChannelBlocked()
118 NotificationBackend.AppRow appRow = new NotificationBackend.AppRow(); in testIsAvailable_notForDefaultChannel()
128 NotificationBackend.AppRow appRow = new NotificationBackend.AppRow(); in testIsAvailable()
137 NotificationBackend.AppRow appRow = new NotificationBackend.AppRow(); in testIsAvailable_filteredIn()
147 NotificationBackend.AppRow appRow = new NotificationBackend.AppRow(); in testIsAvailable_filteredOut()
158 mController.onResume(new NotificationBackend.AppRow(), channel, null, null, null, mock( in testUpdateState_disabledByAdmin()
169 NotificationBackend.AppRow appRow = new NotificationBackend.AppRow(); in testUpdateState_notConfigurable()
[all …]
DHighImportancePreferenceControllerTest.java38 import com.android.settings.notification.NotificationBackend;
66 private NotificationBackend mBackend;
101 NotificationBackend.AppRow appRow = new NotificationBackend.AppRow(); in testIsAvailable_ifAppBlocked()
109 NotificationBackend.AppRow appRow = new NotificationBackend.AppRow(); in testIsAvailable_notIfChannelBlocked()
118 NotificationBackend.AppRow appRow = new NotificationBackend.AppRow(); in testIsAvailable_notForDefaultChannel()
128 NotificationBackend.AppRow appRow = new NotificationBackend.AppRow(); in testIsAvailable()
137 NotificationBackend.AppRow appRow = new NotificationBackend.AppRow(); in testIsAvailable_filteredIn()
147 NotificationBackend.AppRow appRow = new NotificationBackend.AppRow(); in testIsAvailable_filteredOut()
158 mController.onResume(new NotificationBackend.AppRow(), channel, null, null, null, mock( in testUpdateState_disabledByAdmin()
169 NotificationBackend.AppRow appRow = new NotificationBackend.AppRow(); in testUpdateState_notConfigurable()
[all …]
DImportancePreferenceControllerTest.java48 import com.android.settings.notification.NotificationBackend;
72 private NotificationBackend mBackend;
107 NotificationBackend.AppRow appRow = new NotificationBackend.AppRow(); in testIsAvailable_ifAppBlocked()
115 NotificationBackend.AppRow appRow = new NotificationBackend.AppRow(); in testIsAvailable_isGroupBlocked()
126 NotificationBackend.AppRow appRow = new NotificationBackend.AppRow(); in testIsAvailable_ifChannelBlocked()
135 NotificationBackend.AppRow appRow = new NotificationBackend.AppRow(); in testIsAvailable_notForDefaultChannel()
145 NotificationBackend.AppRow appRow = new NotificationBackend.AppRow(); in testIsAvailable()
154 NotificationBackend.AppRow appRow = new NotificationBackend.AppRow(); in testIsAvailable_filteredIn()
164 NotificationBackend.AppRow appRow = new NotificationBackend.AppRow(); in testIsAvailable_filteredOut()
175 mController.onResume(new NotificationBackend.AppRow(), channel, null, null, null, mock( in testUpdateState_disabledByAdmin()
[all …]
DVibrationPreferenceControllerTest.java44 import com.android.settings.notification.NotificationBackend;
67 private NotificationBackend mBackend;
103 NotificationBackend.AppRow appRow = new NotificationBackend.AppRow(); in testIsAvailable_notSystemDoesNotHave()
111 NotificationBackend.AppRow appRow = new NotificationBackend.AppRow(); in testIsAvailable_notIfNotImportant()
119 NotificationBackend.AppRow appRow = new NotificationBackend.AppRow(); in testIsAvailable_notIfDefaultChannel()
128 NotificationBackend.AppRow appRow = new NotificationBackend.AppRow(); in testIsAvailable()
136 NotificationBackend.AppRow appRow = new NotificationBackend.AppRow(); in testIsAvailable_filteredIn()
145 NotificationBackend.AppRow appRow = new NotificationBackend.AppRow(); in testIsAvailable_filteredOut()
155 mController.onResume(new NotificationBackend.AppRow(), channel, null, null, null, mock( in testUpdateState_disabledByAdmin()
166 NotificationBackend.AppRow appRow = new NotificationBackend.AppRow(); in testUpdateState_notBlockable()
[all …]
DInvalidConversationPreferenceControllerTest.java39 import com.android.settings.notification.NotificationBackend;
66 private NotificationBackend mBackend;
101 NotificationBackend.AppRow appRow = new NotificationBackend.AppRow(); in testIsAvailable_notIfAppBlocked()
112 NotificationBackend.AppRow appRow = new NotificationBackend.AppRow(); in testIsAvailable_notIfInValidMsgState()
122 NotificationBackend.AppRow appRow = new NotificationBackend.AppRow(); in testIsAvailable()
132 NotificationBackend.AppRow appRow = new NotificationBackend.AppRow(); in testIsAvailable_filteredIn()
143 NotificationBackend.AppRow appRow = new NotificationBackend.AppRow(); in testIsAvailable_filteredOut()
152 NotificationBackend.AppRow appRow = new NotificationBackend.AppRow(); in testUpdateState_disabledByAdmin()
166 NotificationBackend.AppRow appRow = new NotificationBackend.AppRow(); in testUpdateState_notChecked()
179 NotificationBackend.AppRow appRow = new NotificationBackend.AppRow(); in testUpdateState_checked()
[all …]
DLightsPreferenceControllerTest.java44 import com.android.settings.notification.NotificationBackend;
73 private NotificationBackend mBackend;
114 NotificationBackend.AppRow appRow = new NotificationBackend.AppRow(); in testIsAvailable_notIfConfigNotAllowed()
123 NotificationBackend.AppRow appRow = new NotificationBackend.AppRow(); in testIsAvailable_notIfSettingNotAllowed()
131 NotificationBackend.AppRow appRow = new NotificationBackend.AppRow(); in testIsAvailable_notIfNotImportant()
139 NotificationBackend.AppRow appRow = new NotificationBackend.AppRow(); in testIsAvailable_notIfDefaultChannel()
148 NotificationBackend.AppRow appRow = new NotificationBackend.AppRow(); in testIsAvailable()
156 NotificationBackend.AppRow appRow = new NotificationBackend.AppRow(); in testIsAvailable_filteredIn()
165 NotificationBackend.AppRow appRow = new NotificationBackend.AppRow(); in testIsAvailable_filteredOut()
175 mController.onResume(new NotificationBackend.AppRow(), channel, null, in testUpdateState_disabledByAdmin()
[all …]
DSoundPreferenceControllerTest.java53 import com.android.settings.notification.NotificationBackend;
77 private NotificationBackend mBackend;
114 NotificationBackend.AppRow appRow = new NotificationBackend.AppRow(); in testIsAvailable_notIfChannelNull()
121 NotificationBackend.AppRow appRow = new NotificationBackend.AppRow(); in testIsAvailable_notIfNotImportant()
129 NotificationBackend.AppRow appRow = new NotificationBackend.AppRow(); in testIsAvailable_notIfDefaultChannel()
138 NotificationBackend.AppRow appRow = new NotificationBackend.AppRow(); in testIsAvailable()
146 NotificationBackend.AppRow appRow = new NotificationBackend.AppRow(); in testIsAvailable_filteredIn()
155 NotificationBackend.AppRow appRow = new NotificationBackend.AppRow(); in testIsAvailable_filteredOut()
175 mController.onResume(new NotificationBackend.AppRow(), channel, null, null, null, mock( in testUpdateState_disabledByAdmin()
187 NotificationBackend.AppRow appRow = new NotificationBackend.AppRow(); in testUpdateState_notBlockable()
[all …]
DAllowSoundPreferenceControllerTest.java43 import com.android.settings.notification.NotificationBackend;
66 private NotificationBackend mBackend;
102 mController.onResume(mock(NotificationBackend.AppRow.class), null, null, null, null, null, in testIsAvailable_notIfNull()
109 NotificationBackend.AppRow appRow = new NotificationBackend.AppRow(); in testIsAvailable_notIfAppBlocked()
117 NotificationBackend.AppRow appRow = new NotificationBackend.AppRow(); in testIsAvailable_notIfAppCreatedChannel()
126 NotificationBackend.AppRow appRow = new NotificationBackend.AppRow(); in testIsAvailable()
136 NotificationBackend.AppRow appRow = new NotificationBackend.AppRow(); in testIsAvailable_filteredIn()
147 NotificationBackend.AppRow appRow = new NotificationBackend.AppRow(); in testIsAvailable_filteredOut()
159 mController.onResume(new NotificationBackend.AppRow(), channel, null, null, null, mock( in testUpdateState_disabledByAdmin()
170 NotificationBackend.AppRow appRow = new NotificationBackend.AppRow(); in testUpdateState_notBlockable_oem()
[all …]
DConversationPriorityPreferenceControllerTest.java46 import com.android.settings.notification.NotificationBackend;
68 private NotificationBackend mBackend;
100 NotificationBackend.AppRow appRow = new NotificationBackend.AppRow(); in testIsAvailable_notChannelNull()
107 NotificationBackend.AppRow appRow = new NotificationBackend.AppRow(); in testIsAvailable()
115 NotificationBackend.AppRow appRow = new NotificationBackend.AppRow(); in testIsAvailable_filteredIn()
128 NotificationBackend.AppRow appRow = new NotificationBackend.AppRow(); in testIsAvailable_filteredOut()
138 mController.onResume(new NotificationBackend.AppRow(), channel, null, null, null, mock( in testUpdateState_disabledByAdmin()
149 NotificationBackend.AppRow appRow = new NotificationBackend.AppRow(); in testUpdateState_notConfigurable()
163 NotificationBackend.AppRow appRow = new NotificationBackend.AppRow(); in testUpdateState_systemButConfigurable()
178 NotificationBackend.AppRow appRow = new NotificationBackend.AppRow(); in testUpdateState_defaultApp()
[all …]
DVisibilityPreferenceControllerTest.java50 import com.android.settings.notification.NotificationBackend;
77 private NotificationBackend mBackend;
124 NotificationBackend.AppRow appRow = new NotificationBackend.AppRow(); in testIsAvailable_notSecure()
132 NotificationBackend.AppRow appRow = new NotificationBackend.AppRow(); in testIsAvailable_notIfNotImportant()
140 NotificationBackend.AppRow appRow = new NotificationBackend.AppRow(); in testIsAvailable()
153 NotificationBackend.AppRow appRow = new NotificationBackend.AppRow(); in testIsAvailable_filteredIn()
162 NotificationBackend.AppRow appRow = new NotificationBackend.AppRow(); in testIsAvailable_filteredOut()
181 mController.onResume(new NotificationBackend.AppRow(), channel, null, null, null, mock( in testUpdateState_disabledByAdmin_disableSecure()
203 mController.onResume(new NotificationBackend.AppRow(), channel, null, null, null, mock( in testUpdateState_disabledByAdmin_disableUnredacted()
217 NotificationBackend.AppRow appRow = new NotificationBackend.AppRow(); in testUpdateState_noLockScreenNotificationsGlobally()
[all …]
DNotificationsOffPreferenceControllerTest.java35 import com.android.settings.notification.NotificationBackend;
77 NotificationBackend.AppRow appRow = new NotificationBackend.AppRow(); in testIsAvailable_yesIfAppBlocked()
85 NotificationBackend.AppRow appRow = new NotificationBackend.AppRow(); in testIsAvailable_yesIfChannelGroupBlocked()
94 NotificationBackend.AppRow appRow = new NotificationBackend.AppRow(); in testIsAvailable_yesIfChannelBlocked()
103 NotificationBackend.AppRow appRow = new NotificationBackend.AppRow(); in testIsAvailable_filteredIn()
113 NotificationBackend.AppRow appRow = new NotificationBackend.AppRow(); in testIsAvailable_filteredOut()
122 NotificationBackend.AppRow appRow = new NotificationBackend.AppRow(); in testUpdateState_channel()
136 NotificationBackend.AppRow appRow = new NotificationBackend.AppRow(); in testUpdateState_channelGroup()
150 NotificationBackend.AppRow appRow = new NotificationBackend.AppRow(); in testUpdateState_app()
DDescriptionPreferenceControllerTest.java37 import com.android.settings.notification.NotificationBackend;
83 NotificationBackend.AppRow appRow = new NotificationBackend.AppRow(); in testIsAvailable_notIfChannelGroupBlocked()
91 NotificationBackend.AppRow appRow = new NotificationBackend.AppRow(); in testIsAvailable_notIfChannelBlocked()
100 NotificationBackend.AppRow appRow = new NotificationBackend.AppRow(); in testIsAvailable_notIfNoChannelDesc()
109 NotificationBackend.AppRow appRow = new NotificationBackend.AppRow(); in testIsAvailable_notIfNoChannelGroupDesc()
117 NotificationBackend.AppRow appRow = new NotificationBackend.AppRow(); in testIsAvailable_channel()
127 NotificationBackend.AppRow appRow = new NotificationBackend.AppRow(); in testIsAvailable_channelGroup()
142 NotificationBackend.AppRow appRow = new NotificationBackend.AppRow(); in testUpdateState_channel()
158 NotificationBackend.AppRow appRow = new NotificationBackend.AppRow(); in testUpdateState_channelGroup()
DDndPreferenceControllerTest.java43 import com.android.settings.notification.NotificationBackend;
66 private NotificationBackend mBackend;
89 NotificationBackend.AppRow appRow = new NotificationBackend.AppRow(); in testIsAvailable_app()
97 NotificationBackend.AppRow appRow = new NotificationBackend.AppRow(); in testIsAvailable_channel()
107 NotificationBackend.AppRow appRow = new NotificationBackend.AppRow(); in testIsAvailable_filteredIn()
118 NotificationBackend.AppRow appRow = new NotificationBackend.AppRow(); in testIsAvailable_filteredOut()
129 mController.onResume(new NotificationBackend.AppRow(), channel, null, null, null, mock( in testUpdateState_disabledByAdmin()
140 NotificationBackend.AppRow appRow = new NotificationBackend.AppRow(); in testUpdateState_notBlockable()
153 NotificationBackend.AppRow appRow = new NotificationBackend.AppRow(); in testUpdateState_configurable()
168 mController.onResume(new NotificationBackend.AppRow(), channel, null, null, null, null, in testUpdateState_bypassDnd()
[all …]
DConversationPromotePreferenceControllerTest.java39 import com.android.settings.notification.NotificationBackend;
61 private NotificationBackend mBackend;
87 NotificationBackend.AppRow appRow = new NotificationBackend.AppRow(); in testIsAvailable_notConversation()
95 NotificationBackend.AppRow appRow = new NotificationBackend.AppRow(); in testIsAvailable_conversation_notDemoted()
104 NotificationBackend.AppRow appRow = new NotificationBackend.AppRow(); in testIsAvailable_conversation_demoted()
114 NotificationBackend.AppRow appRow = new NotificationBackend.AppRow(); in testIsAvailable_filteredIn()
125 NotificationBackend.AppRow appRow = new NotificationBackend.AppRow(); in testIsAvailable_filteredOut()
135 NotificationBackend.AppRow appRow = new NotificationBackend.AppRow(); in testHandlePreferenceClick()
158 NotificationBackend.AppRow appRow = new NotificationBackend.AppRow(); in testHandlePreferenceClick_wrongKey()
DConversationDemotePreferenceControllerTest.java37 import com.android.settings.notification.NotificationBackend;
58 private NotificationBackend mBackend;
84 NotificationBackend.AppRow appRow = new NotificationBackend.AppRow(); in testIsAvailable_notConversation()
92 NotificationBackend.AppRow appRow = new NotificationBackend.AppRow(); in testIsAvailable_conversation_demoted()
102 NotificationBackend.AppRow appRow = new NotificationBackend.AppRow(); in testIsAvailable_conversation_notDemoted()
112 NotificationBackend.AppRow appRow = new NotificationBackend.AppRow(); in testIsAvailable_filteredIn()
123 NotificationBackend.AppRow appRow = new NotificationBackend.AppRow(); in testIsAvailable_filteredOut()
133 NotificationBackend.AppRow appRow = new NotificationBackend.AppRow(); in testHandlePreferenceClick()
DInvalidConversationInfoPreferenceControllerTest.java35 import com.android.settings.notification.NotificationBackend;
60 private NotificationBackend mBackend;
94 NotificationBackend.AppRow appRow = new NotificationBackend.AppRow(); in testIsAvailable_notIfAppBlocked()
105 NotificationBackend.AppRow appRow = new NotificationBackend.AppRow(); in testIsAvailable_notIfInValidMsgState()
115 NotificationBackend.AppRow appRow = new NotificationBackend.AppRow(); in testIsAvailable()
125 NotificationBackend.AppRow appRow = new NotificationBackend.AppRow(); in testIsAvailable_filteredIn()
136 NotificationBackend.AppRow appRow = new NotificationBackend.AppRow(); in testIsAvailable_filteredOut()
146 NotificationBackend.AppRow appRow = new NotificationBackend.AppRow(); in testUpdateState()
DAppBubbleListPreferenceControllerTest.java44 import com.android.settings.notification.NotificationBackend;
64 private NotificationBackend mBackend;
105 NotificationBackend.AppRow appRow = new NotificationBackend.AppRow(); in isAvailable_BUBBLE_PREFERENCE_NONE_false()
114 NotificationBackend.AppRow appRow = new NotificationBackend.AppRow(); in isAvailable_BUBBLE_PREFERENCE_SELECTED_true()
123 NotificationBackend.AppRow appRow = new NotificationBackend.AppRow(); in isAvailable_BUBBLE_PREFERENCE_ALL_true()
132 NotificationBackend.AppRow appRow = new NotificationBackend.AppRow(); in filterAndSortConversations_BUBBLE_PREFERENCE_SELECTED_filtersAllowedBubbles()
145 NotificationBackend.AppRow appRow = new NotificationBackend.AppRow(); in filterAndSortConversations_BUBBLE_PREFERENCE_ALL_filtersExcludedBubbles()
158 NotificationBackend.AppRow appRow = new NotificationBackend.AppRow(); in clickConversationPref_updatesChannel()
DAppLinkPreferenceControllerTest.java38 import com.android.settings.notification.NotificationBackend;
84 NotificationBackend.AppRow appRow = new NotificationBackend.AppRow(); in testIsAvailable_notIfAppBlocked()
92 NotificationBackend.AppRow appRow = new NotificationBackend.AppRow(); in testIsAvailable_notIfChannelBlocked()
101 NotificationBackend.AppRow appRow = new NotificationBackend.AppRow(); in testIsAvailable_notNoIntent()
111 NotificationBackend.AppRow appRow = new NotificationBackend.AppRow(); in testIsAvailable()
127 NotificationBackend.AppRow appRow = new NotificationBackend.AppRow(); in testUpdateState()
DBubbleSummaryPreferenceControllerTest.java48 import com.android.settings.notification.NotificationBackend;
66 private NotificationBackend mBackend;
67 NotificationBackend.AppRow mAppRow;
77 mAppRow = new NotificationBackend.AppRow(); in setUp()
91 NotificationBackend.AppRow appRow = new NotificationBackend.AppRow(); in isAvailable_appBlocked_shouldReturnFalse()
182 NotificationBackend.AppRow appRow = new NotificationBackend.AppRow(); in getSummary_NOTIFICATION_BUBBLESIsOff_returnsNoneString()
194 NotificationBackend.AppRow appRow = new NotificationBackend.AppRow(); in getSummary_BUBBLE_PREFERENCE_NONEisSelected_returnsNoneString()
207 NotificationBackend.AppRow appRow = new NotificationBackend.AppRow(); in getSummary_BUBBLE_PREFERENCE_ALLisSelected_returnsAllString()
220 NotificationBackend.AppRow appRow = new NotificationBackend.AppRow(); in getSummary_BUBBLE_PREFERENCE_SELECTEDisSelected_returnsSelectedString()
/packages/apps/Settings/tests/robotests/src/com/android/settings/applications/appinfo/
DAppNotificationPreferenceControllerTest.java39 import com.android.settings.notification.NotificationBackend;
85 NotificationBackend backend = new NotificationBackend(); in updateState_shouldSetSummary()
87 ReflectionHelpers.setField(mController, "mBackend", new NotificationBackend()); in updateState_shouldSetSummary()
122 NotificationBackend.AppRow appRow = new NotificationBackend.AppRow(); in getNotificationSummary_appBlocked()
132 NotificationBackend.AppRow appRow = new NotificationBackend.AppRow(); in getNotificationSummary_appNotBlockedAllChannelsBlocked()
143 NotificationBackend.AppRow appRow = new NotificationBackend.AppRow(); in getNotificationSummary_appNotBlocked()
147 appRow.sentByApp = new NotificationBackend.NotificationsSentState(); in getNotificationSummary_appNotBlocked()
154 NotificationBackend.getSentSummary(mContext, appRow.sentByApp, false))) in getNotificationSummary_appNotBlocked()
160 NotificationBackend.AppRow appRow = new NotificationBackend.AppRow(); in getNotificationSummary_channelsNotBlocked()
164 appRow.sentByApp = new NotificationBackend.NotificationsSentState(); in getNotificationSummary_channelsNotBlocked()
[all …]
/packages/apps/Settings/src/com/android/settings/applications/appinfo/
DAppNotificationPreferenceController.java29 import com.android.settings.notification.NotificationBackend;
37 private final NotificationBackend mBackend = new NotificationBackend();
74 Context context, NotificationBackend backend) { in getNotificationSummary()
78 NotificationBackend.AppRow appRow = in getNotificationSummary()
83 public static CharSequence getNotificationSummary(NotificationBackend.AppRow appRow, in getNotificationSummary()
91 return NotificationBackend.getSentSummary(context, appRow.sentByApp, false); in getNotificationSummary()
96 return NotificationBackend.getSentSummary(context, appRow.sentByApp, false); in getNotificationSummary()
99 NotificationBackend.getSentSummary(context, appRow.sentByApp, false), in getNotificationSummary()

12345