Home
last modified time | relevance | path

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

/platform_testing/libraries/system-helpers/sysui-helper/src/android/system/helpers/
DNotificationHelper.java20 import android.app.Notification;
143 Notification childNotification = new Notification.Builder(mContext) in sendBundlingNotifications()
153 childNotification = new Notification.Builder(mContext) in sendBundlingNotifications()
163 Notification notification = new Notification.Builder(mContext) in sendBundlingNotifications()
185 Notification.Action action = new Notification.Action.Builder( in sendNotificationsWithInLineReply()
190 Notification.Builder n = new Notification.Builder(mContext) in sendNotificationsWithInLineReply()
197 .setDefaults(Notification.DEFAULT_VIBRATE); in sendNotificationsWithInLineReply()
/platform_testing/tests/functional/notificationtests/src/com/android/notification/functional/
DNotificationHelper.java25 import android.app.Notification;
135 Notification.Builder notification = new Notification.Builder(mContext) in sendNotification()
143 .addAction(new Notification.Action.Builder(R.drawable.stat_notify_email, in sendNotification()
146 .addAction(new Notification.Action.Builder(R.drawable.stat_notify_email, in sendNotification()
158 Notification.Builder notification = new Notification.Builder(mContext) in sendNotifications()
172 Notification childNotification = new Notification.Builder(mContext) in sendBundlingNotifications()
179 childNotification = new Notification.Builder(mContext) in sendBundlingNotifications()
186 Notification notification = new Notification.Builder(mContext) in sendBundlingNotifications()
266 Notification.Action action = new Notification.Action.Builder( in sendNotificationsWithInlineReply()
272 Notification.Builder n = new Notification.Builder(mContext) in sendNotificationsWithInlineReply()
[all …]
DNotificationSecurityTests.java19 import android.app.Notification;
62 mHelper.sendNotification(NOTIFICATION_ID_PUBLIC, Notification.VISIBILITY_PUBLIC, title); in testVisibilityPublic()
68 Log.i(LOG_TAG, sbn.getNotification().extras.getString(Notification.EXTRA_TITLE)); in testVisibilityPublic()
70 String sentTitle = sbn.getNotification().extras.getString(Notification.EXTRA_TITLE); in testVisibilityPublic()
DNotificationSecurityLargeTests.java19 import android.app.Notification;
70 mHelper.sendNotification(NOTIFICATION_ID_SECRET, Notification.VISIBILITY_SECRET, title); in testVisibilitySecret()
81 mHelper.sendNotification(NOTIFICATION_ID_PUBLIC, Notification.VISIBILITY_PRIVATE, ""); in testVisibilityPrivate()
DNotificationInteractionTests.java23 import android.app.Notification;
231 mHelper.sendNotification(id, Notification.VISIBILITY_PUBLIC, in testNotificationClicks()
331 Notification.Builder mBuilder = in testNotificationClickedEvents()
332 new Notification.Builder(context, CHANNEL_ID) in testNotificationClickedEvents()
/platform_testing/libraries/automotive-helpers/notifications-app-helper/src/android/platform/helpers/
DAutoNotificationMockingHelperImpl.java22 import android.app.Notification;
23 import android.app.Notification.MessagingStyle.Message;
101 Notification.Builder builder = getBuilder(pkg); in postNotifications()
105 new Notification.MessagingStyle(person) in postNotifications()
145 private Notification.Builder getBuilder(String pkg) { in getBuilder()
147 Notification.Builder builder = in getBuilder()
148 new Notification.Builder(context, NOTIFICATION_CHANNEL_ID) in getBuilder()
/platform_testing/libraries/app-helpers/interfaces/auto/src/android/platform/helpers/
DIAutoVehicleHardKeysHelper.java25 Notification, enumConstant
/platform_testing/libraries/app-helpers/interfaces/handheld/src/android/platform/helpers/
DINotificationHelper.java19 import android.app.Notification;
171 default void postNotification(Notification.Builder builder) { in postNotification()
/platform_testing/libraries/automotive-helpers/hardkeys-app-helper/src/android/platform/helpers/
DVehicleHardKeysHelperImpl.java162 case Notification: in getCurrentVolumeLevel()
/platform_testing/tests/jank/UbSystemUiJankTests/src/android/platform/systemui/tests/jank/
DSystemUiJankTests.java23 import android.app.Notification.Action;
24 import android.app.Notification.Builder;