Home
last modified time | relevance | path

Searched refs:mNotificationPolicy (Results 1 – 3 of 3) sorted by relevance

/frameworks/base/core/java/android/preference/
DSeekBarVolumizer.java155 private NotificationManager.Policy mNotificationPolicy; field in SeekBarVolumizer
176 mNotificationPolicy = mNotificationManager.getConsolidatedNotificationPolicy(); in SeekBarVolumizer()
177 mAllowAlarms = (mNotificationPolicy.priorityCategories & NotificationManager.Policy in SeekBarVolumizer()
179 mAllowMedia = (mNotificationPolicy.priorityCategories & NotificationManager.Policy in SeekBarVolumizer()
182 mNotificationPolicy); in SeekBarVolumizer()
668 mNotificationPolicy = mNotificationManager.getConsolidatedNotificationPolicy(); in onReceive()
669 mAllowAlarms = (mNotificationPolicy.priorityCategories & NotificationManager.Policy in onReceive()
671 mAllowMedia = (mNotificationPolicy.priorityCategories in onReceive()
674 mNotificationPolicy); in onReceive()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/people/widget/
DPeopleSpaceWidgetManagerTest.java257 private NotificationManager.Policy mNotificationPolicy; field in PeopleSpaceWidgetManagerTest
298 when(mNotificationPolicy.allowConversationsFrom()).thenReturn(CONVERSATION_SENDERS_ANYONE); in setUp()
299 when(mNotificationPolicy.allowConversations()).thenReturn(false); in setUp()
300 when(mNotificationPolicy.allowMessagesFrom()).thenReturn(ZenModeConfig.SOURCE_ANYONE); in setUp()
301 when(mNotificationPolicy.allowMessages()).thenReturn(false); in setUp()
302 when(mNotificationManager.getNotificationPolicy()).thenReturn(mNotificationPolicy); in setUp()
1362 when(mNotificationPolicy.allowConversations()).thenReturn(true); in testUpdateWidgetsFromBroadcastInBackgroundAllConversations()
1378 when(mNotificationPolicy.allowConversations()).thenReturn(true); in testUpdateWidgetsFromBroadcastInBackgroundAllowOnlyImportantConversations()
1394 when(mNotificationPolicy.allowConversations()).thenReturn(false); in testUpdateWidgetsFromBroadcastInBackgroundAllowNoConversations()
1408 when(mNotificationPolicy.allowConversations()).thenReturn(false); in testUpdateWidgetsFromBroadcastInBackgroundAllowNoConversationsAllowContactMessages()
[all …]
/frameworks/base/boot/hiddenapi/
Dhiddenapi-max-target-o.txt39967 Landroid/preference/SeekBarVolumizer;->mNotificationPolicy:Landroid/app/NotificationManager$Policy;