Home
last modified time | relevance | path

Searched refs:mNm (Results 1 – 8 of 8) sorted by relevance

/cts/apps/CtsVerifier/src/com/android/cts/verifier/notifications/
DConditionProviderVerifierActivity.java105 if (mNm.isNotificationPolicyAccessGranted()) { in test()
138 mNm.cancelAll(); in test()
144 if (mNm.isNotificationPolicyAccessGranted()) { in test()
270 id = mNm.addAutomaticZenRule(ruleToCreate); in test()
284 mNm.removeAutomaticZenRule(id); in tearDown()
303 id = mNm.addAutomaticZenRule(ruleToCreate); in test()
306 AutomaticZenRule rule = mNm.getAutomaticZenRule(id); in test()
330 mNm.removeAutomaticZenRule(id); in tearDown()
346 id = mNm.addAutomaticZenRule(createRule("BeforeUpdate", "beforeValue", in setUp()
354 AutomaticZenRule updated = mNm.getAutomaticZenRule(id); in test()
[all …]
DAttentionManagementVerifierActivity.java134 mNm.createNotificationChannel(channel); in createChannels()
138 mNm.createNotificationChannel(noisyChannel); in createChannels()
144 mNm.createNotificationChannel(mediaChannel); in createChannels()
150 mNm.createNotificationChannel(gameChannel); in createChannels()
154 mNm.deleteNotificationChannel(NOTIFICATION_CHANNEL_ID); in deleteChannels()
155 mNm.deleteNotificationChannel(NOTIFICATION_CHANNEL_ID_NOISY); in deleteChannels()
156 mNm.deleteNotificationChannel(NOTIFICATION_CHANNEL_ID_MEDIA); in deleteChannels()
157 mNm.deleteNotificationChannel(NOTIFICATION_CHANNEL_ID_GAME); in deleteChannels()
256 mNm.setInterruptionFilter(NotificationManager.INTERRUPTION_FILTER_NONE); in setUp()
301 mNm.setInterruptionFilter(NotificationManager.INTERRUPTION_FILTER_ALL); in tearDown()
[all …]
DNotificationListenerVerifierActivity.java153 mNm.createNotificationChannel(channel); in createChannels()
154 mNm.createNotificationChannel(noisyChannel); in createChannels()
158 mNm.deleteNotificationChannel(NOTIFICATION_CHANNEL_ID); in deleteChannels()
159 mNm.deleteNotificationChannel(NOISY_NOTIFICATION_CHANNEL_ID); in deleteChannels()
193 mNm.notify(mTag1, mId1, n1); in sendNotifications()
204 mNm.notify(mTag2, mId2, n2); in sendNotifications()
216 mNm.notify(mTag3, mId3, n3); in sendNotifications()
237 mNm.notify(mTag4, mId4, n1); in sendNoisyNotification()
257 mNm.cancelAll(); in tearDown()
296 mNm.createNotificationChannel(channel); in setUp()
[all …]
DInteractiveVerifierActivity.java73 protected NotificationManager mNm; field in InteractiveVerifierActivity
160 mNm = (NotificationManager) getSystemService(Context.NOTIFICATION_SERVICE); in onCreate()
330 mNm.cancelAll(); in run()
475 mNm.cancelAll(); in test()
517 mNm.cancelAll(); in test()
/cts/tests/tests/notificationlegacy/notificationlegacy27/src/android/app/notification/legacy/cts/
DConditionProviderServiceTest.java64 private NotificationManager mNm; field in ConditionProviderServiceTest
81 mNm = (NotificationManager) mContext.getSystemService( in setUp()
83 mNm.setInterruptionFilter(NotificationManager.INTERRUPTION_FILTER_ALL); in setUp()
93 if (mNm == null) { in tearDown()
100 if (!mNm.removeAutomaticZenRule(id)) { in tearDown()
104 assertNull(mNm.getAutomaticZenRule(id)); in tearDown()
133 assertEquals(INTERRUPTION_FILTER_ALARMS, mNm.getCurrentInterruptionFilter()); in testUnboundCPSMaintainsCondition_addsNewRule()
139 assertEquals(INTERRUPTION_FILTER_ALARMS, mNm.getCurrentInterruptionFilter()); in testUnboundCPSMaintainsCondition_addsNewRule()
145 assertEquals(INTERRUPTION_FILTER_ALARMS, mNm.getCurrentInterruptionFilter()); in testUnboundCPSMaintainsCondition_addsNewRule()
168 assertEquals(INTERRUPTION_FILTER_ALARMS, mNm.getCurrentInterruptionFilter()); in testUnboundCPSMaintainsCondition_otherConditionChanges()
[all …]
/cts/tests/tests/systemui/src/android/systemui/cts/
DLightBarTests.java65 private NotificationManager mNm; field in LightBarTests
78 mNm = (NotificationManager) getInstrumentation().getContext() in testLightStatusBarIcons()
82 mNm.createNotificationChannel(channel1); in testLightStatusBarIcons()
92 mNm.notify(NOTIFICATION_TAG, i, noti1.build()); in testLightStatusBarIcons()
102 mNm.cancelAll(); in testLightStatusBarIcons()
103 mNm.deleteNotificationChannel(NOTIFICATION_CHANNEL_ID); in testLightStatusBarIcons()
/cts/tests/tests/media/src/android/media/cts/
DAudioManagerTest.java79 private NotificationManager mNm; field in AudioManagerTest
106 mNm = (NotificationManager) mContext.getSystemService(Context.NOTIFICATION_SERVICE); in setUp()
140 mOriginalNotificationPolicy = mNm.getNotificationPolicy(); in setUp()
141 mOriginalZen = mNm.getCurrentInterruptionFilter(); in setUp()
168 mNm.setNotificationPolicy(mOriginalNotificationPolicy); in tearDown()
1130 mNm.setNotificationPolicy(new NotificationManager.Policy(0, 0 , 0)); in testSetStreamVolumeInPriorityOnlyMode()
1168 mNm.setNotificationPolicy(new NotificationManager.Policy(0, 0, 0)); in testAdjustVolumeInPriorityOnly()
1210 mNm.setNotificationPolicy(new NotificationManager.Policy(0, 0, 0)); in testPriorityOnlyMuteAll()
1244 mNm.setNotificationPolicy(new NotificationManager.Policy( in testPriorityOnlyMediaAllowed()
1280 mNm.setNotificationPolicy(new NotificationManager.Policy( in testPriorityOnlySystemAllowed()
[all …]
/cts/tests/tests/media/assets/unmuxed_1500k/
D09.ts3874 �{���1�F \I �«����mNm�좙!yU?�J�!����DG��۳�a�L��D���������dg�Q�Z'�-]6�^ 2�!q�5�V�����S�…