/cts/common/device-side/bedstead/nene/src/main/java/com/android/bedstead/nene/notifications/ |
D | Notification.kt | 3 import android.service.notification.StatusBarNotification 16 val notification get() = statusBarNotification.notification constant 18 …erride fun toString(): String = "Notification{packageName=$packageName,notification=$notification}"
|
D | NotificationListenerQuery.kt | 18 import android.service.notification.StatusBarNotification 34 private val notification = NotificationQueryHelper(this) constant in com.android.bedstead.nene.notifications.NotificationListenerQuery 48 return notification in whereNotification() 97 && NotificationQueryHelper.matches(notification, n.statusBarNotification)) in matches() 102 && Queryable.isEmptyQuery(notification)) in isEmptyQuery() 108 notification.describeQuery("notification") in describeQuery()
|
D | NeneNotificationListenerService.kt | 18 import android.service.notification.NotificationListenerService 19 import android.service.notification.StatusBarNotification
|
D | NotificationListener.kt | 66 internal fun onNotificationPosted(notification: Notification) { in onNotificationPosted() 67 receivedNotifications.addLast(notification) in onNotificationPosted()
|
/cts/tests/tests/notification/src/android/app/notification/current/cts/ |
D | StatusBarNotificationTest.java | 16 package android.app.notification.current.cts; 26 import android.service.notification.StatusBarNotification; 121 Notification notification = new Notification.Builder(mContext) in testIsClearable_notClearableOngoingEvent() local 127 new StatusBarNotification(PKG, OP_PKG, ID, TAG, UID, 0, 0, notification, in testIsClearable_notClearableOngoingEvent() 145 Notification notification = new Notification.Builder(mContext) in testIsGroup_notifGroup() local 151 new StatusBarNotification(PKG, OP_PKG, ID, TAG, UID, 0, 0, notification, in testIsGroup_notifGroup() 158 Notification notification = new Notification.Builder(mContext) in testIsGroup_sortKey() local 164 new StatusBarNotification(PKG, OP_PKG, ID, TAG, UID, 0, 0, notification, in testIsGroup_sortKey() 176 Notification notification = new Notification.Builder(mContext) in testIsOngoing_ongoingEvent() local 182 new StatusBarNotification(PKG, OP_PKG, ID, TAG, UID, 0, 0, notification, in testIsOngoing_ongoingEvent() [all …]
|
D | SensitiveNotificationRedactionTest.kt | 16 package android.app.notification.current.cts 49 import android.service.notification.Adjustment 50 import android.service.notification.Adjustment.KEY_IMPORTANCE 51 import android.service.notification.Adjustment.KEY_RANKING_SCORE 52 import android.service.notification.Flags 53 import android.service.notification.NotificationListenerService 54 import android.service.notification.StatusBarNotification 175 val title = sbn.notification.extras.getCharSequence(EXTRA_TITLE)!! in testTextFieldsRedacted() 184 val subtext = sbn.notification.extras.getCharSequence(EXTRA_SUB_TEXT) in testTextFieldsRedacted() 187 val textLines = sbn.notification.extras.getCharSequenceArray(EXTRA_TEXT_LINES) in testTextFieldsRedacted() [all …]
|
D | NotificationTvExtenderTest.java | 16 package android.app.notification.current.cts; 61 Notification notification = new Notification(); in testTvExtender_NotifConstructor() local 62 TvExtender extender = new TvExtender(notification); in testTvExtender_NotifConstructor() 102 Notification notification = notifBuilder.build(); in testTvExtender_extend() local 103 TvExtender receiveTvExtender = new TvExtender(notification); in testTvExtender_extend()
|
D | NotificationCarExtenderTest.java | 16 package android.app.notification.current.cts; 59 Notification notification = new Notification(); in testCarExtender_Constructor() local 60 CarExtender extender = new Notification.CarExtender(notification); in testCarExtender_Constructor() 105 Notification notification = notifBuilder.build(); in testCarExtender_extend() local 107 CarExtender receiveCarExtender = new CarExtender(notification); in testCarExtender_extend()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/notifications/ |
D | MockListener.java | 20 import android.service.notification.NotificationListenerService; 21 import android.service.notification.NotificationStats; 22 import android.service.notification.StatusBarNotification; 163 JSONObject notification = new JSONObject(); in onNotificationPosted() local 165 notification.put(JSON_TAG, sbn.getTag()); in onNotificationPosted() 166 notification.put(JSON_ID, sbn.getId()); in onNotificationPosted() 167 notification.put(JSON_PACKAGE, sbn.getPackageName()); in onNotificationPosted() 168 notification.put(JSON_WHEN, sbn.getNotification().when); in onNotificationPosted() 169 notification.put(JSON_ICON, sbn.getNotification().icon); in onNotificationPosted() 170 notification.put(JSON_FLAGS, sbn.getNotification().flags); in onNotificationPosted() [all …]
|
/cts/tests/tests/notificationlegacy/notificationlegacy34/src/android/app/notification/legacy34/cts/ |
D | NotificationManagerApi34Test.kt | 16 package android.app.notification.legacy34.cts 25 import android.service.notification.StatusBarNotification 71 val notification: Notification = Notification.Builder(context, NOTIFICATION_CHANNEL_ID) in testMediaStyle_noClearFlagNotSet() constant 75 notificationManager.notify(id, notification) in testMediaStyle_noClearFlagNotSet() 88 val notification: Notification = Notification.Builder(context, NOTIFICATION_CHANNEL_ID) in testCustomMediaStyle_noClearFlagNotSet() constant 92 notificationManager.notify(id, notification) in testCustomMediaStyle_noClearFlagNotSet()
|
/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() local 126 final PendingIntent pendingIntent = notification.contentIntent; in postTaskToReproduceVulnerability() 142 final Notification notification = new Notification(); 144 .set(notification, null); 145 notificationList.add(notification); 193 final Notification notification = 203 notificationManager.notify(0 /* notification id */, notification); 204 return notification;
|
/cts/hostsidetests/devicepolicy/app/ManagedProfile/src/com/android/cts/managedprofile/ |
D | WipeDataNotificationTest.java | 12 import com.android.internal.notification.SystemNotificationChannels; 76 NotificationListener.getInstance().addListener((notification) -> { in initWipeNotificationLatch() 77 if (notification.getNotification().getChannelId().equals( in initWipeNotificationLatch() 80 notification.getNotification().extras.getString(Notification.EXTRA_TITLE)); in initWipeNotificationLatch() 84 notification.getNotification().extras.getString( in initWipeNotificationLatch()
|
/cts/tests/tests/notificationlegacy/notificationlegacy27/src/android/app/notification/legacy/cts/ |
D | PollableConditionProviderService.java | 16 package android.app.notification.legacy.cts; 19 import android.service.notification.Condition; 20 import android.service.notification.ConditionProviderService;
|
D | SecondaryNotificationListener.java | 16 package android.app.notification.legacy.cts; 19 import android.service.notification.NotificationListenerService; 20 import android.service.notification.StatusBarNotification;
|
D | LegacyConditionProviderService.java | 16 package android.app.notification.legacy.cts; 19 import android.service.notification.Condition;
|
/cts/tests/tests/notificationlegacy/notificationlegacy28/src/android/app/notification/legacy28/cts/ |
D | NotificationManager28Test.java | 17 package android.app.notification.legacy28.cts; 37 import android.service.notification.StatusBarNotification; 91 final Notification notification = in testPostFullScreenIntent_noPermission() local 99 mNotificationManager.notify(id, notification); in testPostFullScreenIntent_noPermission() 104 assertEquals(notification.fullScreenIntent, n.getNotification().fullScreenIntent); in testPostFullScreenIntent_noPermission()
|
/cts/tests/tests/companion/CompanionDeviceTestApp/src/android.os.cts.companiondevicetestapp/ |
D | NotificationListener.kt | 19 import android.service.notification.NotificationListenerService 20 import android.service.notification.StatusBarNotification
|
/cts/tests/tests/notification/NotificationExtenders/ |
D | Android.bp | 34 "src/android/app/notification/extenders/cts/api34/WearableExtenderApi34Test.kt", 36 manifest: "src/android/app/notification/extenders/cts/api34/AndroidManifest.xml", 61 "src/android/app/notification/extenders/cts/current/WearableExtenderApiCurrentTest.kt", 63 manifest: "src/android/app/notification/extenders/cts/current/AndroidManifest.xml", 86 "src/android/app/notification/extenders/cts/WearableExtenderApiTestHost.kt",
|
/cts/hostsidetests/securitybulletin/test-apps/CVE-2023-21144/src/android/security/cts/CVE_2023_21144/ |
D | PocListenerService.java | 20 import android.service.notification.NotificationListenerService; 21 import android.service.notification.StatusBarNotification;
|
/cts/common/device-side/bedstead/queryable/src/main/java/com/android/queryable/queries/ |
D | NotificationQuery.java | 20 import android.service.notification.StatusBarNotification; 32 static NotificationQueryHelper.NotificationQueryBase notification() { in notification() method
|
/cts/hostsidetests/securitybulletin/test-apps/CVE-2023-21244/src/android/security/cts/CVE_2023_21244/ |
D | DeviceTest.java | 40 import android.service.notification.StatusBarNotification; 156 for (StatusBarNotification notification : activeNotifications) { in testCVE_2023_21244() 157 if (notification.getId() == notificationId in testCVE_2023_21244() 158 && notification in testCVE_2023_21244()
|
/cts/hostsidetests/securitybulletin/test-apps/CVE-2023-35668/src/android/security/cts/CVE_2023_35668/ |
D | DeviceTest.java | 41 import android.service.notification.StatusBarNotification; 147 for (StatusBarNotification notification : in testWearableExtenderUri() 149 if (notification in testWearableExtenderUri() 152 && notification.getId() == notificationId) { in testWearableExtenderUri()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/net/ |
D | ConnectivityForegroundService.java | 44 Notification notification = in onStartCommand() local 46 startForeground(1 /* id */, notification); in onStartCommand()
|
/cts/hostsidetests/os/app/src/android/os/app/ |
D | TestFgService.java | 41 Notification notification = new Notification.Builder(this, CHANNEL) in onStartCommand() local 49 startForeground(NOTIFICATION_ID, notification); in onStartCommand()
|
/cts/tests/tests/os/src/android/os/cts/ |
D | HwBinderTest.java | 218 ServiceNotification notification = new ServiceNotification(); in testHwBinder() local 223 IServiceManager.kInterfaceName, "default", notification); in testHwBinder() 233 notification.lock.lock(); in testHwBinder() 235 while (!notification.registered && Calendar.getInstance().before(deadline)) { in testHwBinder() 237 notification.condition.awaitUntil(deadline.getTime()); in testHwBinder() 243 notification.lock.unlock(); in testHwBinder() 246 assertTrue(notification.registered); in testHwBinder()
|