Home
last modified time | relevance | path

Searched refs:onlyHasDefaultChannel (Results 1 – 10 of 10) sorted by relevance

/packages/apps/Car/Settings/tests/unit/src/com/android/car/settings/applications/
DNotificationsPreferenceControllerTest.java110 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/
DNotificationsAppListPreferenceControllerTest.java154 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/
DNotificationBackend.java199 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()
DAppBubbleListPreferenceController.java93 if (mBackend.onlyHasDefaultChannel(mAppRow.pkg, mAppRow.uid) in isAvailable()
/packages/apps/Car/Settings/src/com/android/car/settings/notifications/
DBaseNotificationsPreferenceController.java65 if (mNotificationManager.onlyHasDefaultChannel(packageName, uid)) { in toggleNotificationsSetting()
/packages/apps/Settings/src/com/android/settings/notification/app/
DBlockPreferenceController.java124 if (mBackend.onlyHasDefaultChannel(mAppRow.pkg, mAppRow.uid)) { in onSwitchChanged()
DAppConversationListPreferenceController.java69 if (mBackend.onlyHasDefaultChannel(mAppRow.pkg, mAppRow.uid) in isAvailable()
DChannelListPreferenceController.java79 if (mBackend.onlyHasDefaultChannel(mAppRow.pkg, mAppRow.uid) in isAvailable()
DNotificationSettings.java294 mShowLegacyChannelConfig = mBackend.onlyHasDefaultChannel(mAppRow.pkg, mAppRow.uid) in loadChannelGroup()
/packages/apps/Settings/tests/robotests/src/com/android/settings/notification/app/
DBlockPreferenceControllerTest.java380 when(mBackend.onlyHasDefaultChannel(anyString(), anyInt())).thenReturn(true); in testOnSwitchChanged_channel_default()