Home
last modified time | relevance | path

Searched refs:NOTIFICATION_CHANNEL_COUNT_LIMIT (Results 1 – 2 of 2) sorted by relevance

/frameworks/base/services/core/java/com/android/server/notification/
DPreferencesHelper.java123 static final int NOTIFICATION_CHANNEL_COUNT_LIMIT = 5000; field in PreferencesHelper
378 if (r.channels.size() >= NOTIFICATION_CHANNEL_COUNT_LIMIT) { in restorePackage()
1054 if (r.channels.size() >= NOTIFICATION_CHANNEL_COUNT_LIMIT) { in createNotificationChannel()
/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/
DPreferencesHelperTest.java58 import static com.android.server.notification.PreferencesHelper.NOTIFICATION_CHANNEL_COUNT_LIMIT;
4615 for (int i = 0; i < NOTIFICATION_CHANNEL_COUNT_LIMIT; i++) { in testTooManyChannels()
4622 String.valueOf(NOTIFICATION_CHANNEL_COUNT_LIMIT), in testTooManyChannels()
4623 String.valueOf(NOTIFICATION_CHANNEL_COUNT_LIMIT), in testTooManyChannels()
4638 for (int i = 0; i < NOTIFICATION_CHANNEL_COUNT_LIMIT; i++) { in testTooManyChannels_xml()