/cts/hostsidetests/net/app/src/com/android/cts/net/hostside/ |
D | MyNotificationListenerService.java | 23 import android.service.notification.NotificationListenerService; 24 import android.service.notification.StatusBarNotification; 47 final Notification notification = sbn.getNotification(); in onNotificationPosted() local 48 if (notification.contentIntent != null) { in onNotificationPosted() 49 sender.send("content", notification.contentIntent); in onNotificationPosted() 51 if (notification.deleteIntent != null) { in onNotificationPosted() 52 sender.send("delete", notification.deleteIntent); in onNotificationPosted() 54 if (notification.fullScreenIntent != null) { in onNotificationPosted() 55 sender.send("full screen", notification.fullScreenIntent); in onNotificationPosted() 57 if (notification.actions != null) { in onNotificationPosted() [all …]
|
/cts/hostsidetests/incident/src/com/android/server/cts/ |
D | NotificationTest.java | 19 import android.service.notification.NotificationRecordProto; 20 import android.service.notification.NotificationServiceDumpProto; 21 import android.service.notification.State; 22 import android.service.notification.ZenMode; 23 import android.service.notification.ZenModeProto;
|
/cts/hostsidetests/dumpsys/apps/ProcStatsHelperApp/src/com/android/server/cts/procstatshelper/ |
D | ProcStatsHelperServiceBase.java | 47 Notification notification = new Notification.Builder(getApplicationContext()) in onHandleIntent() local 51 startForeground(1, notification); in onHandleIntent()
|
/cts/tools/junit/src/com/android/cts/junit/ |
D | SingleJUnitTestRunListener.java | 21 import org.junit.runner.notification.Failure; 22 import org.junit.runner.notification.RunListener;
|
/cts/hostsidetests/incident/apps/batterystatsapp/src/com/android/server/cts/device/batterystats/ |
D | SimpleForegroundService.java | 71 Notification notification = new Notification.Builder(this, "Foreground Service") in onStartCommand() local 75 startForeground(1, notification); in onStartCommand()
|
/cts/apps/CtsVerifier/ |
D | Android.mk | 92 notification-bot := $(call intermediates-dir-for,APPS,NotificationBot)/package.apk 101 && adb install -r $(notification-bot) \ 135 $(verifier-zip) : $(notification-bot) 142 $(ACP) -fp $(notification-bot) $(verifier-dir)/NotificationBot.apk
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/notifications/ |
D | MockListener.java | 27 import android.service.notification.NotificationListenerService; 28 import android.service.notification.StatusBarNotification; 271 JSONObject notification = new JSONObject(); in onNotificationPosted() local 273 notification.put(JSON_TAG, sbn.getTag()); in onNotificationPosted() 274 notification.put(JSON_ID, sbn.getId()); in onNotificationPosted() 275 notification.put(JSON_PACKAGE, sbn.getPackageName()); in onNotificationPosted() 276 notification.put(JSON_WHEN, sbn.getNotification().when); in onNotificationPosted() 277 notification.put(JSON_ICON, sbn.getNotification().icon); in onNotificationPosted() 278 notification.put(JSON_FLAGS, sbn.getNotification().flags); in onNotificationPosted() 279 mNotifications.put(sbn.getKey(), notification); in onNotificationPosted() local
|
D | MockConditionProvider.java | 28 import android.service.notification.Condition; 29 import android.service.notification.ConditionProviderService;
|
/cts/tests/tests/shortcutmanager/throttling/src/android/content/pm/cts/shortcutmanager/throttling/ |
D | FgService.java | 51 Notification notification = in onStartCommand() local 56 startForeground(1, notification); in onStartCommand()
|
/cts/hostsidetests/media/app/MediaSessionTestHelper/src/android/media/app/media_session_test_helper/ |
D | MediaSessionTestHelperService.java | 52 Notification notification = new Notification.Builder(this) in onCreate() local 55 startForeground(NOTIFICATION_ID, notification); in onCreate()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/dialer/ |
D | DialerShowsHunOnIncomingCallActivity.java | 73 Notification notification = in update() local 82 notificationManager.notify(notifyID, notification); in update()
|
/cts/tests/app/app/src/android/app/stubs/ |
D | LocalForegroundService.java | 69 Notification notification = in onStart() local 74 startForeground(mNotificationId, notification); in onStart()
|
/cts/tests/core/runner/src/com/android/cts/core/runner/ |
D | DescriptionHierarchyNotifier.java | 21 import org.junit.runner.notification.RunNotifier;
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/managedprovisioning/ |
D | Utils.java | 88 Notification notification = new Notification.Builder(context) in showBugreportNotification() local 96 mNotificationManager.notify(notificationId, notification); in showBugreportNotification()
|
D | ByodHelperActivity.java | 173 final Notification notification = new Notification.Builder(this, NOTIFICATION_CHANNEL_ID) in showNotification() local 180 mNotificationManager.notify(NOTIFICATION_ID, notification); in showNotification()
|
/cts/tests/app/src/android/app/cts/ |
D | NotificationManagerTest.java | 31 import android.service.notification.StatusBarNotification; 357 final Notification notification = in testNotifyWithTimeout() local 364 mNotificationManager.notify(id, notification); in testNotifyWithTimeout() 386 final Notification notification = in sendNotification() local 394 mNotificationManager.notify(id, notification); in sendNotification()
|
D | ConditionTest.java | 21 import android.service.notification.Condition;
|
D | ServiceTest.java | 39 import android.service.notification.StatusBarNotification; 189 Notification notification = new Notification.Builder(getContext(), NOTIFICATION_CHANNEL_ID) in sendNotification() local 193 getNotificationManager().notify(id, notification); in sendNotification()
|
/cts/tests/core/runner/src/com/android/cts/core/runner/support/ |
D | TestNgRunner.java | 26 import org.junit.runner.notification.Failure; 27 import org.junit.runner.notification.RunNotifier;
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/sensors/base/ |
D | SensorCtsTestActivity.java | 35 import org.junit.runner.notification.Failure; 36 import org.junit.runner.notification.RunListener;
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/location/base/ |
D | GnssCtsTestActivity.java | 37 import org.junit.runner.notification.Failure; 38 import org.junit.runner.notification.RunListener;
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/projection/offscreen/ |
D | ProjectionOffscreenActivity.java | 90 Uri notification = RingtoneManager.getDefaultUri(RingtoneManager.TYPE_NOTIFICATION); 91 Ringtone r = RingtoneManager.getRingtone(getApplicationContext(), notification);
|
/cts/hostsidetests/net/app2/src/com/android/cts/net/hostside/app2/ |
D | MyBroadcastReceiver.java | 258 final Notification notification = builder.build(); in sendNotification() local 260 .notify(notificationId, notification); in sendNotification()
|
/cts/tests/accessibilityservice/src/android/accessibilityservice/cts/ |
D | AccessibilityEndToEndTest.java | 348 final Notification notification = in testTypeNotificationStateChangedAccessibilityEvent() local 369 expected.setParcelableData(notification); in testTypeNotificationStateChangedAccessibilityEvent() 382 .notify(notificationId, notification); in testTypeNotificationStateChangedAccessibilityEvent()
|
/cts/tests/core/runner/src/com/android/cts/core/internal/runner/ |
D | TestLoader.java | 27 import org.junit.runner.notification.Failure;
|