/cts/tests/app/NotificationDelegator/src/com/android/test/notificationdelegator/ |
D | NotificationDelegateAndPost.java | 38 NotificationManager nm = getSystemService(NotificationManager.class); in onCreate() local 40 nm.createNotificationChannel(new NotificationChannel(CHANNEL, CHANNEL, IMPORTANCE_LOW)); in onCreate() 41 nm.setNotificationDelegate(DELEGATE); in onCreate() 42 Log.d(TAG, "Set delegate: " + nm.getNotificationDelegate()); in onCreate() 51 nm.notify(9, n); in onCreate()
|
D | NotificationRevoker.java | 32 NotificationManager nm = getSystemService(NotificationManager.class); in onCreate() local 33 nm.setNotificationDelegate(null); in onCreate() 34 Log.d(TAG, "Removed delegate: " + nm.getNotificationDelegate()); in onCreate() 35 nm.cancelAll(); in onCreate()
|
D | NotificationDelegator.java | 37 NotificationManager nm = getSystemService(NotificationManager.class); in onCreate() local 39 nm.createNotificationChannel(new NotificationChannel(CHANNEL, CHANNEL, IMPORTANCE_LOW)); in onCreate() 40 nm.setNotificationDelegate(DELEGATE); in onCreate() 41 Log.d(TAG, "Set delegate: " + nm.getNotificationDelegate()); in onCreate()
|
/cts/hostsidetests/systemui/app/src/android/systemui/cts/ |
D | TestNotificationActivity.java | 60 NotificationManager nm = getSystemService(NotificationManager.class); in doShowNotification() local 64 nm.createNotificationChannel(channel); in doShowNotification() 66 nm.notify( in doShowNotification()
|
/cts/hostsidetests/statsdatom/apps/statsdapp/src/com/android/server/cts/device/statsdatom/ |
D | StatsdCtsForegroundActivity.java | 167 NotificationManager nm = getSystemService(NotificationManager.class); in doShowNotification() local 171 nm.createNotificationChannel(channel); in doShowNotification() 173 nm.notify( in doShowNotification() 180 nm.cancel(notificationId); in doShowNotification() 185 NotificationManager nm = getSystemService(NotificationManager.class); in doCreateChannelGroup() local 189 nm.createNotificationChannelGroup(channelGroup); in doCreateChannelGroup()
|
/cts/hostsidetests/devicepolicy/app/SimpleApp/src/com/android/cts/launcherapps/simpleapp/ |
D | SimpleService.java | 65 NotificationManager nm = getSystemService(NotificationManager.class); in onStartCommand() local 66 if (nm.getNotificationChannel(CHANNEL_NAME) == null) { in onStartCommand() 67 nm.createNotificationChannel(new NotificationChannel(CHANNEL_NAME, CHANNEL_NAME, in onStartCommand()
|
D | SimpleService3.java | 69 NotificationManager nm = getSystemService(NotificationManager.class); in onStartCommand() local 70 if (nm.getNotificationChannel(CHANNEL_NAME) == null) { in onStartCommand() 71 nm.createNotificationChannel(new NotificationChannel(CHANNEL_NAME, CHANNEL_NAME, in onStartCommand()
|
/cts/tests/app/NotificationListener/src/com/android/test/notificationlistener/ |
D | NotificationUriAccessService.kt | 29 val nm = getSystemService(NotificationManager::class.java)!! in ensureNotificationListenerServiceConnected() constant 31 check(nm.isNotificationListenerAccessGranted(testListener) == ensureConnected) { in ensureNotificationListenerServiceConnected()
|
/cts/tests/AlarmManager/app/src/android/alarmmanager/alarmtestapp/cts/ |
D | TestService.java | 38 NotificationManager nm = context.getSystemService(NotificationManager.class); in getNotificationChannelId() local 47 nm.createNotificationChannel(channel); in getNotificationChannelId()
|
/cts/tests/tests/notificationlegacy/notificationlegacy20/src/android/app/notification/legacy20/cts/ |
D | LegacyNotificationManager20Test.java | 151 NotificationManager nm = mContext.getSystemService(NotificationManager.class); in toggleNotificationPolicyAccess() local 153 nm.isNotificationPolicyAccessGranted() + " not " + on, on, in toggleNotificationPolicyAccess() 154 nm.isNotificationPolicyAccessGranted()); in toggleNotificationPolicyAccess() 173 final NotificationManager nm = mContext.getSystemService(NotificationManager.class); in toggleListenerAccess() local 176 nm.isNotificationListenerAccessGranted(listenerComponent) == on); in toggleListenerAccess()
|
/cts/apps/NotificationBot/src/com/android/cts/robot/ |
D | NotificationBot.java | 105 final NotificationManager nm = context.getSystemService(NotificationManager.class); in testShortcutResetSetupNotification() local 106 nm.cancelAll(); in testShortcutResetSetupNotification() 161 final NotificationManager nm = context.getSystemService(NotificationManager.class); in testShortcutResetInlineReplyReceived() local 162 nm.cancelAll(); in testShortcutResetInlineReplyReceived()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/notifications/ |
D | ActionTriggeredReceiver.java | 43 NotificationManager nm = context.getSystemService(NotificationManager.class); in sendNotification() local 55 nm.notify(ACTION, 0, n1); in sendNotification()
|
/cts/apps/ForceStopHelperApp/src/com/android/cts/forcestophelper/ |
D | TaskRemovedListenerService.java | 50 final NotificationManager nm = getSystemService(NotificationManager.class); in onStartCommand() local 51 nm.createNotificationChannel( in onStartCommand()
|
/cts/tests/tests/notificationlegacy/notificationlegacy29/src/android/app/notification/legacy29/cts/ |
D | NotificationManager29Test.java | 83 NotificationManager nm = mContext.getSystemService(NotificationManager.class); in toggleNotificationPolicyAccess() local 85 nm.isNotificationPolicyAccessGranted() + " not " + on, on, in toggleNotificationPolicyAccess() 86 nm.isNotificationPolicyAccessGranted()); in toggleNotificationPolicyAccess()
|
D | NotificationAssistantServiceTest.java | 786 final NotificationManager nm = mContext.getSystemService(NotificationManager.class); in toggleListenerAccess() local 788 nm.isNotificationListenerAccessGranted(listenerComponent) == on); in toggleListenerAccess()
|
/cts/hostsidetests/securitybulletin/securityPatch/CVE-2021-0318/ |
D | poc.cpp | 108 String8 nm = s.getName(); in get_sensor_list() local 109 std::string nstr = nm.string(); in get_sensor_list()
|
/cts/tests/tests/notificationlegacy/notificationlegacy27/src/android/app/notification/legacy/cts/ |
D | LegacyNotificationManagerTest.java | 386 NotificationManager nm = mContext.getSystemService(NotificationManager.class); in toggleNotificationPolicyAccess() local 388 nm.isNotificationPolicyAccessGranted() + " not " + on, on, in toggleNotificationPolicyAccess() 389 nm.isNotificationPolicyAccessGranted()); in toggleNotificationPolicyAccess() 412 final NotificationManager nm = mContext.getSystemService(NotificationManager.class); in toggleListenerAccess() local 415 nm.isNotificationListenerAccessGranted(listenerComponent) == on); in toggleListenerAccess()
|
D | ConditionProviderServiceTest.java | 283 NotificationManager nm = mContext.getSystemService(NotificationManager.class); in toggleNotificationPolicyAccess() local 285 nm.isNotificationPolicyAccessGranted() + " not " + on, on, in toggleNotificationPolicyAccess() 286 nm.isNotificationPolicyAccessGranted()); in toggleNotificationPolicyAccess()
|
/cts/tests/tests/media/src/android/media/cts/ |
D | Utils.java | 130 NotificationManager nm = (NotificationManager) instrumentation.getContext() in toggleNotificationPolicyAccess() local 133 nm.isNotificationPolicyAccessGranted()); in toggleNotificationPolicyAccess()
|
/cts/tests/tests/widget/src/android/widget/cts/util/ |
D | XmlUtils.java | 93 String nm = charSeq.toString(); in convertValueToInt() 101 int len = nm.length(); in convertValueToInt() 104 if ('-' == nm.charAt(0)) { in convertValueToInt() 109 if ('0' == nm.charAt(index)) { in convertValueToInt() 114 char c = nm.charAt(index + 1); in convertValueToInt() 124 else if ('#' == nm.charAt(index)) in convertValueToInt() 130 return Integer.parseInt(nm.substring(index), base) * sign; in convertValueToInt()
|
/cts/tests/tests/view/src/android/view/cts/util/ |
D | XmlUtils.java | 92 String nm = charSeq.toString(); in convertValueToInt() 100 int len = nm.length(); in convertValueToInt() 103 if ('-' == nm.charAt(0)) { in convertValueToInt() 108 if ('0' == nm.charAt(index)) { in convertValueToInt() 113 char c = nm.charAt(index + 1); in convertValueToInt() 123 else if ('#' == nm.charAt(index)) in convertValueToInt() 129 return Integer.parseInt(nm.substring(index), base) * sign; in convertValueToInt()
|
/cts/tests/app/src/android/app/cts/ |
D | ServiceTest.java | 1215 final NotificationManager nm = getNotificationManager(); in testForegroundService_deferredExistingNotification() local 1217 nm.createNotificationChannel(new NotificationChannel(channelId, channelId, in testForegroundService_deferredExistingNotification() 1223 nm.notify(1, builder.build()); in testForegroundService_deferredExistingNotification() 1247 final NotificationManager nm = getNotificationManager(); in testForegroundService_deferThenImmediateNotify() local 1249 nm.createNotificationChannel(new NotificationChannel(channelId, channelId, in testForegroundService_deferThenImmediateNotify() 1256 nm.notify(1, builder.build()); in testForegroundService_deferThenImmediateNotify() 1277 final NotificationManager nm = getNotificationManager(); in testForegroundService_deferThenDeferrableNotify() local 1279 nm.createNotificationChannel(new NotificationChannel(channelId, channelId, in testForegroundService_deferThenDeferrableNotify() 1286 nm.notify(1, builder.build()); in testForegroundService_deferThenDeferrableNotify()
|
D | NotificationManagerTest.java | 703 NotificationManager nm = mContext.getSystemService(NotificationManager.class); in toggleNotificationPolicyAccess() local 705 + nm.isNotificationPolicyAccessGranted() + " not " + on + " for " in toggleNotificationPolicyAccess() 706 + packageName, on, nm.isNotificationPolicyAccessGranted()); in toggleNotificationPolicyAccess() 728 final NotificationManager nm = context.getSystemService(NotificationManager.class); in toggleListenerAccess() local 731 on, nm.isNotificationListenerAccessGranted(listenerComponent)); in toggleListenerAccess()
|
/cts/tests/tests/media/assets/hls_variant/344388/ |
D | 16.ts | 775 ��{\S����_TGWM�I�(���H9J`�Y��u�H孞�(y���@q:�;�}� �������`�� S��nm��q\*c��q�vhex���&�… 848 ��ev��-��{��m�u�� &li���nm����)d)wYKV'��s7F���ձ ta�_������d�dZ��c��7���|k�c��
|
/cts/tests/tests/media/assets/hls_variant/165340/ |
D | 00.ts | 666 …�-��ެ�o�*X&^S9S��Q�CGߎ���(S� �E-�*�[~K����z[��v���Y�K��ʊT�z����^��G!nm�Ԯpz�Z}^��JA�ԀZOG…
|