/cts/apps/CtsVerifier/src/com/android/cts/verifier/notifications/ |
D | NotificationDismissVerifierActivity.java | 143 sendNotification(true /* ongoing */); in sendOngoingNotification() 147 sendNotification(false /* ongoing */); in sendRegularNotification() 150 private void sendNotification(boolean ongoing) { in sendNotification() method in NotificationDismissVerifierActivity 183 sendNotification(); in setUp() 214 protected abstract void sendNotification(); in sendNotification() method in NotificationDismissVerifierActivity.NotificationDismissBaseTest 224 protected void sendNotification() { in sendNotification() method in NotificationDismissVerifierActivity.CanDismissOngoingNotificationTest 236 protected void sendNotification() { in sendNotification() method in NotificationDismissVerifierActivity.CannotDismissOngoingNotificationTest 248 protected void sendNotification() { in sendNotification() method in NotificationDismissVerifierActivity.CanDismissRegularNotificationTest 259 protected void sendNotification() { in sendNotification() method in NotificationDismissVerifierActivity.CannotDismissRegularNotificationTest
|
D | ActionTriggeredReceiver.java | 36 sendNotification(context, false); in onReceive() 40 public static void sendNotification(Context context, boolean initialSend) { in sendNotification() method in ActionTriggeredReceiver
|
D | NotificationHidingVerifierActivity.kt | 84 tests[currentTestIdx].sendNotification() in <lambda>() 167 private fun sendNotification(createBubble: Boolean) { in <lambda>() method 352 override fun sendNotification() = sendNotification(createBubble = true) in <lambda>() method in com.android.cts.verifier.notifications.NotificationHidingVerifierActivity 430 open fun sendNotification() = sendNotification(createBubble = false) in <lambda>() method in com.android.cts.verifier.notifications.NotificationHidingVerifierActivity.NotificationHidingTestCase
|
D | NotificationPrivacyVerifierActivity.java | 158 private void sendNotification() { in sendNotification() method in NotificationPrivacyVerifierActivity 390 ActionTriggeredReceiver.sendNotification(mContext, true); in setUp() 434 sendNotification(); in setUp() 496 sendNotification(); in setUp()
|
D | NotificationFullScreenIntentVerifierActivity.java | 541 sendNotification(); in setUp() 572 protected abstract void sendNotification(); in sendNotification() method in NotificationFullScreenIntentVerifierActivity.FullScreenIntentNotificationBaseTest 583 protected void sendNotification() { in sendNotification() method in NotificationFullScreenIntentVerifierActivity.ScreenUnlockedFsiHunWithPermissionTest 596 protected void sendNotification() { in sendNotification() method in NotificationFullScreenIntentVerifierActivity.ScreenUnlockedFsiHunWithoutPermissionTest
|
/cts/tests/tests/notification/NotificationProvider/src/com/android/test/notificationprovider/ |
D | RichNotificationActivity.kt | 58 ACTION_SEND_7 -> sendNotification(NotificationPreset.Preset7) in onCreate() 59 ACTION_SEND_8 -> sendNotification(NotificationPreset.Preset8) in onCreate() 69 private fun sendNotification(preset: NotificationPreset) { in sendNotification() method in com.android.test.notificationprovider.RichNotificationActivity
|
/cts/tests/tests/notification/src/android/app/notification/current/cts/ |
D | SensitiveNotificationRedactionTest.kt | 96 fun sendNotification( in sendNotification() method in android.app.notification.current.cts.SensitiveNotificationRedactionTest 172 sendNotification(style = style) in testTextFieldsRedacted() 209 sendNotification(actions = listOf(createAction())) in testActionsRedacted() 226 sendNotification(style = style) in testMessagesRedacted() 252 sendNotification(style = style) in testBigTextRedacted() 271 sendNotification(extras = customExtra) in testCustomExtrasNotRedacted() 287 sendNotification() in testRankingRedactedInPost() 297 sendNotification() in testRankingRedactedInUpdate() 333 sendNotification() in testGetActiveNotificationsRedacted() 342 sendNotification() in testGetSnoozedNotificationsRedacted() [all …]
|
D | NotificationManagerTest.java | 872 sendNotification(id, R.drawable.black); in testNotify() 874 sendNotification(id, R.drawable.blue); in testNotify() 875 sendNotification(id, R.drawable.yellow); in testNotify() 938 sendNotification(1, R.drawable.black); in testSuspendPackage() 1202 sendNotification(1, R.drawable.black); in testSuspendedPackageSendsNotification() 1248 sendNotification(1, R.drawable.black); in testShowBadging_ranking() 1295 sendNotification(notificationId, R.drawable.black); in testKeyChannelGroupOverrideImportanceExplanation_ranking() 1350 sendNotification(id, R.drawable.black); in testCancel() 1363 sendNotification(1, R.drawable.black); in testCancelAll() 1364 sendNotification(2, R.drawable.blue); in testCancelAll() [all …]
|
D | BaseNotificationManagerTest.java | 306 protected void sendNotification(final int id, in sendNotification() method in BaseNotificationManagerTest 308 sendNotification(id, null, icon); in sendNotification() 311 protected void sendNotification(final int id, in sendNotification() method in BaseNotificationManagerTest 313 sendNotification(id, groupKey, icon, false, null); in sendNotification() 316 protected void sendNotification(final int id, in sendNotification() method in BaseNotificationManagerTest
|
D | NotificationManagerZenTest.java | 719 sendNotification(notificationId, R.drawable.black); in testGetSuppressedVisualEffectsOff_ranking() 757 sendNotification(notificationId, R.drawable.black); in testGetSuppressedVisualEffects_ranking() 1654 sendNotification(1, null, R.drawable.blue, true, phoneUri); in testMatchesCallFilter_repeatCallers() 1670 sendNotification(2, null, R.drawable.blue, true, phoneUri2); in testMatchesCallFilter_repeatCallers() 1724 sendNotification(1, null, R.drawable.blue, true, aliceUri); in testMatchesCallFilter_repeatCallers_fromContact() 1776 sendNotification(1, null, R.drawable.blue, true, alicePhoneUri); in testRepeatCallers_repeatCallNotIntercepted_contactAfterPhone() 1791 sendNotification(2, null, R.drawable.blue, true, aliceUri); in testRepeatCallers_repeatCallNotIntercepted_contactAfterPhone()
|
D | NotificationManagerBubbleTest.java | 347 sendNotification(1, R.drawable.black); in testCanBubble_ranking()
|
/cts/tests/tests/notificationlegacy/notificationlegacy29/src/android/app/notification/legacy29/cts/ |
D | NotificationAssistantServiceTest.java | 140 sendNotification(1, null, ICON_ID); in testOnNotificationEnqueued() 153 sendNotification(1, null, ICON_ID); in testOnNotificationEnqueued() 168 sendNotification(6, null, ICON_ID); in testAdjustNotification_userSentimentKey() 197 sendNotification(1, null, ICON_ID); in testAdjustNotification_proposedImportanceKey() 222 sendNotification(1, null, ICON_ID); in testAdjustNotification_sensitiveContentKey() 247 sendNotification(1, null, ICON_ID); in testAdjustNotification_importanceKey() 275 sendNotification(1, null, ICON_ID); in testAdjustNotifications_rankingScoreKey() 280 sendNotification(2, null, ICON_ID); in testAdjustNotifications_rankingScoreKey() 327 sendNotification(1, null, ICON_ID); in testAdjustNotification_smartActionKey() 367 sendNotification(1, null, ICON_ID); in testAdjustNotification_smartReplyKey() [all …]
|
/cts/hostsidetests/devicepolicy/app/NotificationSender/src/com/android/cts/managedprofiletests/notificationsender/ |
D | SendNotification.java | 47 sendNotification(); in onCreate() 55 private void sendNotification() { in sendNotification() method in SendNotification
|
/cts/tests/tests/notificationlegacy/notificationlegacy27/src/android/app/notification/legacy/cts/ |
D | LegacyNotificationManagerTest.java | 203 sendNotification(1, R.drawable.icon_black); in testSuspendPackage() 230 sendNotification(1, R.drawable.icon_black); in testSuspendedPackageSendNotification() 317 sendNotification(566, R.drawable.icon_black); in testChannelDeletion_cancelReason() 331 private void sendNotification(final int id, final int icon) throws Exception { in sendNotification() method in LegacyNotificationManagerTest 332 sendNotification(id, null, icon); in sendNotification() 335 private void sendNotification(final int id, String groupKey, final int icon) throws Exception { in sendNotification() method in LegacyNotificationManagerTest
|
/cts/hostsidetests/securitybulletin/test-apps/CVE-2024-34723/malicious-app/src/android/security/cts/CVE_2024_34723_malicious_app/ |
D | PocService.java | 118 final Notification notification = sendNotification(context); in postTaskToReproduceVulnerability() 168 private Notification sendNotification(Context context) {
|
/cts/tests/app/src/android/app/cts/ |
D | ServiceTest.java | 503 private void sendNotification(int id, String title) { in sendNotification() method in ServiceTest 984 sendNotification(1, newTitle); in testForegroundService_canUpdateNotification() 1017 sendNotification(1, newTitle); in testForegroundService_dontRemoveNotificationOnStop() 1169 sendNotification(1, newTitle); in testForegroundService_detachNotificationOnStop()
|