Home
last modified time | relevance | path

Searched refs:notification (Results 1 – 23 of 23) sorted by relevance

/cts/hostsidetests/net/app/src/com/android/cts/net/hostside/
DMyNotificationListenerService.java20 import android.service.notification.NotificationListenerService;
21 import android.service.notification.StatusBarNotification;
43 final Notification notification = sbn.getNotification(); in onNotificationPosted() local
44 if (notification.actions == null) { in onNotificationPosted()
47 for (Notification.Action action : notification.actions) { in onNotificationPosted()
DAbstractRestrictBackgroundNetworkTestCase.java38 import android.service.notification.NotificationListenerService;
/cts/apps/CtsVerifier/src/com/android/cts/verifier/notifications/
DMockListener.java24 import android.service.notification.NotificationListenerService;
25 import android.service.notification.StatusBarNotification;
221 JSONObject notification = new JSONObject(); in onNotificationPosted() local
223 notification.put(JSON_TAG, sbn.getTag()); in onNotificationPosted()
224 notification.put(JSON_ID, sbn.getId()); in onNotificationPosted()
225 notification.put(JSON_PACKAGE, sbn.getPackageName()); in onNotificationPosted()
226 notification.put(JSON_WHEN, sbn.getNotification().when); in onNotificationPosted()
227 notification.put(JSON_ICON, sbn.getNotification().icon); in onNotificationPosted()
228 notification.put(JSON_FLAGS, sbn.getNotification().flags); in onNotificationPosted()
229 mNotifications.put(sbn.getKey(), notification); in onNotificationPosted() local
DMockConditionProvider.java28 import android.service.notification.Condition;
29 import android.service.notification.ConditionProviderService;
DAttentionManagementVerifierActivity.java33 import android.service.notification.NotificationListenerService;
/cts/tools/junit/src/com/android/cts/junit/
DSingleJUnitTestRunListener.java21 import org.junit.runner.notification.Failure;
22 import org.junit.runner.notification.RunListener;
/cts/tests/app/src/android/app/cts/
DNotificationManagerTest.java25 import android.service.notification.StatusBarNotification;
108 final Notification notification = new Notification.Builder(mContext) in sendNotification() local
115 mNotificationManager.notify(id, notification); in sendNotification()
DConditionTest.java21 import android.service.notification.Condition;
DServiceTest.java36 import android.service.notification.StatusBarNotification;
176 Notification notification = new Notification.Builder(getContext()) in sendNotififcation() local
180 getNotificationManager().notify(id, notification); in sendNotififcation()
/cts/apps/CtsVerifier/
DAndroid.mk93 notification-bot := $(call intermediates-dir-for,APPS,NotificationBot)/package.apk
100 && adb install -r $(notification-bot) \
137 $(verifier-zip) : $(notification-bot)
142 $(ACP) -fp $(notification-bot) $(verifier-dir)/NotificationBot.apk
/cts/tests/app/app/src/android/app/stubs/
DLocalForegroundService.java53 Notification notification = new Notification.Builder(context) in onStart() local
57 startForeground(mNotificationId, notification); in onStart()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/managedprovisioning/
DUtils.java71 Notification notification = new Notification.Builder(context) in showBugreportNotification() local
78 mNotificationManager.notify(notificationId, notification); in showBugreportNotification()
DByodHelperActivity.java173 final Notification notification = new Notification.Builder(this) in showNotification() local
179 mNotificationManager.notify(NOTIFICATION_ID, notification); in showNotification()
/cts/tests/core/runner/src/com/android/cts/core/runner/support/
DTestNgRunner.java27 import org.junit.runner.notification.Failure;
28 import org.junit.runner.notification.RunNotifier;
/cts/apps/CtsVerifier/src/com/android/cts/verifier/sensors/base/
DSensorCtsTestActivity.java35 import org.junit.runner.notification.Failure;
36 import org.junit.runner.notification.RunListener;
/cts/apps/CtsVerifier/src/com/android/cts/verifier/location/base/
DGnssCtsTestActivity.java37 import org.junit.runner.notification.Failure;
38 import org.junit.runner.notification.RunListener;
/cts/tests/accessibilityservice/src/android/accessibilityservice/cts/
DAccessibilityEndToEndTest.java328 final Notification notification = new Notification.Builder(getActivity()) in testTypeNotificationStateChangedAccessibilityEvent() local
347 expected.setParcelableData(notification); in testTypeNotificationStateChangedAccessibilityEvent()
362 notificationManager.notify(notificationId, notification); in testTypeNotificationStateChangedAccessibilityEvent()
/cts/hostsidetests/net/app2/src/com/android/cts/net/hostside/app2/
DMyBroadcastReceiver.java242 final Notification notification = new Notification.Builder(context) in sendNotification() local
249 .notify(notificationId, notification); in sendNotification()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/projection/offscreen/
DProjectionOffscreenActivity.java90 Uri notification = RingtoneManager.getDefaultUri(RingtoneManager.TYPE_NOTIFICATION);
91 Ringtone r = RingtoneManager.getRingtone(getApplicationContext(), notification);
/cts/tests/core/runner/src/com/android/cts/core/internal/runner/
DTestLoader.java27 import org.junit.runner.notification.Failure;
/cts/tests/core/runner/src/com/android/cts/runner/
DCtsTestRunListener.java30 import org.junit.runner.notification.RunListener;
/cts/tests/core/runner/src/com/android/cts/core/runner/
DCoreTestRunner.java48 import org.junit.runner.notification.RunListener;
/cts/tools/dex-tools/dex/
Dclasses.out.dex112512 public static final int notification