Searched refs:onlyHasDefaultChannel (Results 1 – 10 of 10) sorted by relevance
/packages/apps/Car/Settings/tests/unit/src/com/android/car/settings/applications/ |
D | NotificationsPreferenceControllerTest.java | 110 when(mMockManager.onlyHasDefaultChannel(PKG_NAME, UID)).thenReturn(false); in callChangeListener_setEnable_enablingNotification() 119 when(mMockManager.onlyHasDefaultChannel(PKG_NAME, UID)).thenReturn(false); in callChangeListener_setDisable_disablingNotification() 128 when(mMockManager.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 | 154 when(mMockManager.onlyHasDefaultChannel(PKG_NAME, UID)).thenReturn(false); in toggle_setEnable_enablingNotification() 170 when(mMockManager.onlyHasDefaultChannel(PKG_NAME, UID)).thenReturn(false); in toggle_setDisable_disablingNotification() 186 when(mMockManager.onlyHasDefaultChannel(PKG_NAME, UID)).thenReturn(true); in toggle_onlyHasDefaultChannel_updateChannel()
|
/packages/apps/Settings/src/com/android/settings/notification/ |
D | NotificationBackend.java | 199 if (onlyHasDefaultChannel(pkg, uid)) { in setNotificationsEnabledForPackage() 389 public boolean onlyHasDefaultChannel(String pkg, int uid) { in onlyHasDefaultChannel() method in NotificationBackend 391 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 | 65 if (mNotificationManager.onlyHasDefaultChannel(packageName, uid)) { in toggleNotificationsSetting()
|
/packages/apps/Settings/src/com/android/settings/notification/app/ |
D | BlockPreferenceController.java | 124 if (mBackend.onlyHasDefaultChannel(mAppRow.pkg, mAppRow.uid)) { in onSwitchChanged()
|
D | AppConversationListPreferenceController.java | 69 if (mBackend.onlyHasDefaultChannel(mAppRow.pkg, mAppRow.uid) in isAvailable()
|
D | ChannelListPreferenceController.java | 79 if (mBackend.onlyHasDefaultChannel(mAppRow.pkg, mAppRow.uid) in isAvailable()
|
D | NotificationSettings.java | 294 mShowLegacyChannelConfig = mBackend.onlyHasDefaultChannel(mAppRow.pkg, mAppRow.uid) in loadChannelGroup()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/notification/app/ |
D | BlockPreferenceControllerTest.java | 380 when(mBackend.onlyHasDefaultChannel(anyString(), anyInt())).thenReturn(true); in testOnSwitchChanged_channel_default()
|