Home
last modified time | relevance | path

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

/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
DAttentionManagementVerifierActivity.java33 import android.service.notification.NotificationListenerService;
/cts/apps/CtsVerifier/
DAndroid.mk66 notification-bot := $(call intermediates-dir-for,APPS,NotificationBot)/package.apk
73 && adb install -r $(notification-bot) \
110 $(verifier-zip) : $(notification-bot)
115 $(ACP) -fp $(notification-bot) $(verifier-dir)/NotificationBot.apk
/cts/tools/junit/src/com/android/cts/junit/
DSingleJUnitTestRunListener.java21 import org.junit.runner.notification.Failure;
22 import org.junit.runner.notification.RunListener;
/cts/apps/CtsVerifier/src/com/android/cts/verifier/managedprovisioning/
DWorkNotificationTestActivity.java43 final Notification notification = new Notification.Builder(this) in showWorkNotification() local
49 mNotificationManager.notify(NOTIFICATION_ID, notification); in showWorkNotification()
/cts/tests/tests/app/src/android/app/cts/
DNotificationManagerTest.java25 import android.service.notification.StatusBarNotification;
110 final Notification notification = new Notification.Builder(mContext) in sendNotification() local
117 mNotificationManager.notify(id, notification); in sendNotification()
/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/tests/tests/accessibilityservice/src/android/accessibilityservice/cts/
DAccessibilityEndToEndTest.java328 final Notification notification = new Notification.Builder(getActivity()) in testTypeNotificationStateChangedAccessibilityEvent() local
343 expected.setParcelableData(notification); in testTypeNotificationStateChangedAccessibilityEvent()
358 notificationManager.notify(notificationId, notification); in testTypeNotificationStateChangedAccessibilityEvent()
/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/runner/
DCtsTestRunListener.java30 import org.junit.runner.notification.RunListener;