/packages/apps/Settings/src/com/android/settings/spa/notification/ |
D | AppNotificationRepository.kt | 114 if (onlyHasDefaultChannel(app)) { in setEnabled() 211 private fun onlyHasDefaultChannel(app: ApplicationInfo): Boolean = in onlyHasDefaultChannel() method in com.android.settings.spa.notification.AppNotificationRepository 212 notificationManager.onlyHasDefaultChannel(app.packageName, app.uid) in onlyHasDefaultChannel()
|
/packages/apps/Car/Settings/tests/unit/src/com/android/car/settings/applications/ |
D | NotificationsPreferenceControllerTest.java | 256 when(mMockNotificationManager.onlyHasDefaultChannel(PKG_NAME, UID)).thenReturn(false); in callChangeListener_setEnable_enablingNotification() 265 when(mMockNotificationManager.onlyHasDefaultChannel(PKG_NAME, UID)).thenReturn(false); in callChangeListener_setDisable_disablingNotification() 274 when(mMockNotificationManager.onlyHasDefaultChannel(PKG_NAME, UID)).thenReturn(true); in callChangeListener_onlyHasDefaultChannel_updateChannel()
|
/packages/apps/Car/Settings/tests/unit/src/com/android/car/settings/notifications/ |
D | NotificationsAppListPreferenceControllerTest.java | 298 when(mMockNotificationManager.onlyHasDefaultChannel(PKG_NAME, UID)).thenReturn(false); in toggle_setEnable_enablingNotification() 315 when(mMockNotificationManager.onlyHasDefaultChannel(PKG_NAME, UID)).thenReturn(false); in toggle_setDisable_disablingNotification() 332 when(mMockNotificationManager.onlyHasDefaultChannel(PKG_NAME, UID)).thenReturn(true); in toggle_onlyHasDefaultChannel_updateChannel()
|
/packages/apps/Settings/tests/spa_unit/src/com/android/settings/spa/notification/ |
D | AppNotificationRepositoryTest.kt | 80 whenever(notificationManager.onlyHasDefaultChannel(APP.packageName, APP.uid)) in mockOnlyHasDefaultChannel() 237 whenever(notificationManager.onlyHasDefaultChannel(APP.packageName, APP.uid)) in setEnabled_toTrueWhenNotOnlyHasDefaultChannel()
|
/packages/apps/Settings/src/com/android/settings/notification/ |
D | NotificationBackend.java | 185 if (onlyHasDefaultChannel(pkg, uid)) { in setNotificationsEnabledForPackage() 407 public boolean onlyHasDefaultChannel(String pkg, int uid) { in onlyHasDefaultChannel() method in NotificationBackend 409 return sINM.onlyHasDefaultChannel(pkg, uid); in onlyHasDefaultChannel()
|
D | AppBubbleListPreferenceController.java | 93 if (mBackend.onlyHasDefaultChannel(mAppRow.pkg, mAppRow.uid) in isAvailable()
|
/packages/apps/Car/Settings/src/com/android/car/settings/notifications/ |
D | BaseNotificationsPreferenceController.java | 71 if (mNotificationManager.onlyHasDefaultChannel(packageName, uid)) { in toggleNotificationsSetting()
|
/packages/apps/Settings/src/com/android/settings/notification/app/ |
D | BlockPreferenceController.java | 123 if (mBackend.onlyHasDefaultChannel(mAppRow.pkg, mAppRow.uid)) { in onCheckedChanged()
|
D | AppConversationListPreferenceController.java | 69 if (mBackend.onlyHasDefaultChannel(mAppRow.pkg, mAppRow.uid) in isAvailable()
|
D | NotificationSettings.java | 294 mShowLegacyChannelConfig = mBackend.onlyHasDefaultChannel(mAppRow.pkg, mAppRow.uid) in loadChannelGroup()
|
D | ChannelListPreferenceController.java | 82 if (mBackend.onlyHasDefaultChannel(mAppRow.pkg, mAppRow.uid) in isAvailable()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/notification/app/ |
D | BlockPreferenceControllerTest.java | 354 when(mBackend.onlyHasDefaultChannel(anyString(), anyInt())).thenReturn(true); in testOnSwitchChanged_channel_default()
|