/packages/apps/Settings/tests/robotests/src/com/android/settings/homepage/contextualcards/slices/ |
D | NotificationMultiChannelAppRowTest.java | 44 private NotificationBackend mNotificationBackend; field in NotificationMultiChannelAppRowTest 58 mNotificationBackend, mPackageInfo); in setUp() 63 doReturn(3).when(mNotificationBackend).getChannelCount(any(String.class), in call_isMultiChannel_shouldLoadAppRow() 68 verify(mNotificationBackend).loadAppRow(any(Context.class), any(PackageManager.class), in call_isMultiChannel_shouldLoadAppRow() 74 doReturn(1).when(mNotificationBackend).getChannelCount(any(String.class), in call_isNotMultiChannel_shouldNotLoadAppRow() 79 verify(mNotificationBackend, never()).loadAppRow(any(Context.class), in call_isNotMultiChannel_shouldNotLoadAppRow()
|
D | NotificationChannelSliceTest.java | 82 private NotificationBackend mNotificationBackend; field in NotificationChannelSliceTest 106 mNotificationChannelSlice.mNotificationBackend = mNotificationBackend; in setUp() 346 doReturn(buildNotificationChannelGroups(channels)).when(mNotificationBackend).getGroups( in mockNotificationBackend() 348 doReturn(appRow).when(mNotificationBackend).loadAppRow(any(Context.class), in mockNotificationBackend() 350 doReturn(channelCount).when(mNotificationBackend).getChannelCount( in mockNotificationBackend()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/notification/ |
D | NotificationAssistantPickerTest.java | 63 private NotificationBackend mNotificationBackend; field in NotificationAssistantPickerTest 70 mNotificationBackend); in setUp() 75 when(mNotificationBackend.getAllowedNotificationAssistant()).thenReturn(TEST_COMPONENT); in getCurrentAssistant() 82 when(mNotificationBackend.getAllowedNotificationAssistant()).thenReturn(null); in getCurrentAssistant_None() 90 verify(mNotificationBackend).setNotificationAssistantGranted(TEST_COMPONENT); in setAssistant() 96 verify(mNotificationBackend).setNotificationAssistantGranted(null); in setAssistant_None() 161 mNotificationBackend = notificationBackend; in TestNotificationAssistantPicker()
|
D | NotificationAssistantPreferenceControllerTest.java | 77 mNotificationBackend = backend; in TestPreferenceController()
|
/packages/apps/Settings/src/com/android/settings/homepage/contextualcards/slices/ |
D | NotificationMultiChannelAppRow.java | 34 private final NotificationBackend mNotificationBackend; field in NotificationMultiChannelAppRow 40 mNotificationBackend = notificationBackend; in NotificationMultiChannelAppRow() 46 final int channelCount = mNotificationBackend.getChannelCount( in call() 49 return mNotificationBackend.loadAppRow(mContext, mContext.getPackageManager(), in call()
|
D | NotificationChannelSlice.java | 136 NotificationBackend mNotificationBackend; field in NotificationChannelSlice 143 mNotificationBackend = new NotificationBackend(); in NotificationChannelSlice() 195 final NotificationChannel channel = mNotificationBackend.getChannel(packageName, uid, in onNotifyChange() 200 mNotificationBackend.updateChannel(packageName, uid, channel); in onNotifyChange() 342 mNotificationBackend.getGroups(appRow.pkg, appRow.uid).getList(); in getDisplayableChannels() 375 mContext, mNotificationBackend, packageInfo); in getEligibleNotificationsPackage() 418 final int channelCount = mNotificationBackend.getChannelCount(packageName, uid); in getSubTitle()
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/homepage/contextualcards/slices/ |
D | NotificationChannelSlice.java | 133 NotificationBackend mNotificationBackend; field in NotificationChannelSlice 140 mNotificationBackend = new NotificationBackend(); in NotificationChannelSlice() 199 final NotificationChannel channel = mNotificationBackend.getChannel(packageName, uid, in onNotifyChange() 204 mNotificationBackend.updateChannel(packageName, uid, channel); in onNotifyChange() 311 final int channelCount = mNotificationBackend.getChannelCount(packageInfo.packageName, in getMultiChannelPackages() 355 mNotificationBackend.getGroups(appRow.pkg, appRow.uid).getList(); in getDisplayableChannels() 388 final NotificationBackend.AppRow appRow = mNotificationBackend.loadAppRow(mContext, in getMaxSentNotificationsPackage() 417 final int channelCount = mNotificationBackend.getChannelCount(packageName, uid); in getSubTitle()
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/notification/ |
D | NotificationAssistantPicker.java | 51 protected NotificationBackend mNotificationBackend; field in NotificationAssistantPicker 61 mNotificationBackend = new NotificationBackend(); in onAttach() 91 ComponentName cn = mNotificationBackend.getAllowedNotificationAssistant(); in getDefaultKey() 97 return mNotificationBackend.setNotificationAssistantGranted( in setDefaultKey()
|
D | ZenModeBypassingAppsPreferenceController.java | 12 private NotificationBackend mNotificationBackend = new NotificationBackend(); field in ZenModeBypassingAppsPreferenceController 20 return mNotificationBackend.getNumAppsBypassingDnd(UserHandle.getCallingUserId()) != 0; in isAvailable() 26 mNotificationBackend.getNumAppsBypassingDnd(UserHandle.getCallingUserId()); in getSummary()
|
D | NotificationAssistantPreferenceController.java | 33 protected NotificationBackend mNotificationBackend; field in NotificationAssistantPreferenceController 38 mNotificationBackend = new NotificationBackend(); in NotificationAssistantPreferenceController() 50 ComponentName assistant = mNotificationBackend.getAllowedNotificationAssistant(); in getSummary()
|
D | ZenModeAllBypassingAppsPreferenceController.java | 56 private NotificationBackend mNotificationBackend = new NotificationBackend(); field in ZenModeAllBypassingAppsPreferenceController 120 for (NotificationChannel channel : mNotificationBackend in updateNotificationChannelList()
|
/packages/apps/Settings/src/com/android/settings/notification/ |
D | NotificationAssistantPicker.java | 51 protected NotificationBackend mNotificationBackend; field in NotificationAssistantPicker 61 mNotificationBackend = new NotificationBackend(); in onAttach() 91 ComponentName cn = mNotificationBackend.getAllowedNotificationAssistant(); in getDefaultKey() 97 return mNotificationBackend.setNotificationAssistantGranted( in setDefaultKey()
|
D | ZenModeBypassingAppsPreferenceController.java | 12 private NotificationBackend mNotificationBackend = new NotificationBackend(); field in ZenModeBypassingAppsPreferenceController 20 return mNotificationBackend.getNumAppsBypassingDnd(UserHandle.getCallingUserId()) != 0; in isAvailable() 26 mNotificationBackend.getNumAppsBypassingDnd(UserHandle.getCallingUserId()); in getSummary()
|
D | NotificationAssistantPreferenceController.java | 33 protected NotificationBackend mNotificationBackend; field in NotificationAssistantPreferenceController 38 mNotificationBackend = new NotificationBackend(); in NotificationAssistantPreferenceController() 50 ComponentName assistant = mNotificationBackend.getAllowedNotificationAssistant(); in getSummary()
|
D | RecentNotifyingAppsPreferenceController.java | 80 private final NotificationBackend mNotificationBackend; field in RecentNotifyingAppsPreferenceController 109 mNotificationBackend = backend; in RecentNotifyingAppsPreferenceController() 280 pref.setSwitchEnabled(mNotificationBackend.isBlockable(mContext, appEntry.info)); in displayRecentApps() 283 mNotificationBackend.setNotificationsEnabledForPackage( in displayRecentApps() 288 !mNotificationBackend.getNotificationsBanned(pkgName, appEntry.info.uid)); in displayRecentApps()
|
D | ZenModeAllBypassingAppsPreferenceController.java | 56 private NotificationBackend mNotificationBackend = new NotificationBackend(); field in ZenModeAllBypassingAppsPreferenceController 120 for (NotificationChannel channel : mNotificationBackend in updateNotificationChannelList()
|
/packages/apps/Settings/src/com/android/settings/applications/manageapplications/ |
D | ManageApplications.java | 232 private NotificationBackend mNotificationBackend; field in ManageApplications 301 mNotificationBackend = new NotificationBackend(); in onCreate() 962 manageApplications.mNotificationBackend); in ApplicationsAdapter()
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/applications/manageapplications/ |
D | ManageApplications.java | 226 private NotificationBackend mNotificationBackend; field in ManageApplications 295 mNotificationBackend = new NotificationBackend(); in onCreate() 949 manageApplications.mNotificationBackend); in ApplicationsAdapter()
|