Home
last modified time | relevance | path

Searched refs:notif (Results 1 – 22 of 22) sorted by relevance

/aosp14/frameworks/base/location/java/com/android/internal/location/
H A DGpsNetInitiatedHandler.java304 handleNiInEs(notif); in handleNiNotification()
306 handleNi(notif); in handleNiNotification()
340 if (notif.needNotify) { in handleNi()
345 openNiDialog(notif); in handleNi()
348 setNiNotification(notif); in handleNi()
353 if (!notif.needVerify || notif.privacyOverride) { in handleNi()
390 handleNi(notif); in handleNiInEs()
601 decodeString(notif.requestorId, mIsHexInput, notif.requestorIdEncoding), in getNotifTicker()
602 decodeString(notif.text, mIsHexInput, notif.textEncoding)); in getNotifTicker()
617 decodeString(notif.requestorId, mIsHexInput, notif.requestorIdEncoding), in getNotifMessage()
[all …]
/aosp14/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/collection/render/
H A DNodeSpecBuilderTest.kt90 notif(2, section3)
110 notif(3, section1)
219 notif(0, section0),
221 notif(2),
222 notif(3),
223 notif(4)
225 notif(5, section2),
227 notif(7),
228 notif(8),
229 notif(9)
[all …]
H A DRenderStageManagerTest.kt197 notif(1),
198 notif(2),
199 notif(3)
201 notif(4),
203 notif(5),
204 notif(6),
205 notif(7)
207 notif(8)
218 private fun notif(id: Int): NotificationEntry = NotificationEntryBuilder().setId(id).build() regex
/aosp14/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/collection/
H A DShadeListBuilderTest.java178 notif(6), in testNotifsAreSortedByRankAndWhen()
179 notif(5), in testNotifsAreSortedByRankAndWhen()
180 notif(0), in testNotifsAreSortedByRankAndWhen()
181 notif(3), in testNotifsAreSortedByRankAndWhen()
184 notif(4) in testNotifsAreSortedByRankAndWhen()
297 notif(5) in testDuplicateGroupSummariesAreDiscarded()
323 notif(4) in testGroupsWithNoSummaryAreUngrouped()
341 notif(2) in testGroupsWithNoChildrenAreUngrouped()
356 notif(0) in testGroupsWithTooFewChildrenAreSplitUp()
378 notif(2) in testGroupsWhoLoseChildrenMidPipelineAreSplitUp()
[all …]
H A DNotifCollectionTest.java348 assertEquals(notif.sbn, entry.getSbn()); in testEventDispatchedWhenNotifRemoved()
362 NotifEvent notif = mNoMan.postNotif(neb); in testEventDispatchedWhenChannelChanged() local
393 final NotifEvent notif = mNoMan.postNotif(neb); in testScheduleBuildNotificationListWhenChannelChanged() local
676 mNoMan.retractNotif(notif.sbn, REASON_CANCEL); in testNMSReportsUserDismissalAlwaysRemovesNotif()
710 notif.sbn.getPackageName(), in testDismissNotificationCallsDismissInterceptors()
711 notif.sbn.getUser().getIdentifier(), in testDismissNotificationCallsDismissInterceptors()
712 notif.sbn.getKey(), in testDismissNotificationCallsDismissInterceptors()
746 eq(notif.sbn.getPackageName()), in testDismissInterceptorsCanceledWhenNotifIsUpdated()
748 eq(notif.sbn.getKey()), in testDismissInterceptorsCanceledWhenNotifIsUpdated()
776 eq(notif.sbn.getPackageName()), in testEndingAllDismissInterceptorsSendsDismiss()
[all …]
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/usb/
H A DStorageNotification.java334 final Notification notif; in onPublicVolumeStateChangedInternal() local
337 notif = onVolumeUnmounted(vol); in onPublicVolumeStateChangedInternal()
340 notif = onVolumeChecking(vol); in onPublicVolumeStateChangedInternal()
344 notif = onVolumeMounted(vol); in onPublicVolumeStateChangedInternal()
347 notif = onVolumeFormatting(vol); in onPublicVolumeStateChangedInternal()
350 notif = onVolumeEjecting(vol); in onPublicVolumeStateChangedInternal()
353 notif = onVolumeUnmountable(vol); in onPublicVolumeStateChangedInternal()
356 notif = onVolumeRemoved(vol); in onPublicVolumeStateChangedInternal()
359 notif = onVolumeBadRemoval(vol); in onPublicVolumeStateChangedInternal()
362 notif = null; in onPublicVolumeStateChangedInternal()
[all …]
/aosp14/frameworks/base/services/core/java/com/android/server/notification/
H A DBadgeExtractor.java71 final Notification notif = record.getNotification(); in process() local
72 if (notif.isMediaNotification()) { in process()
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/stack/
H A DNotificationSectionsManager.kt138 fun addNotif(notif: ExpandableView): SectionBounds = when (this) {
139 is None -> One(notif)
140 is One -> Many(lone, notif)
141 is Many -> copy(last = notif)
/aosp14/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/bubbles/
H A DBubbleController.java1180 public void updateBubble(BubbleEntry notif) { in updateBubble() argument
1378 mSysuiProxy.setNotificationInterruption(notif.getKey()); in updateBubble()
1380 && (notif.getBubbleMetadata() != null in updateBubble()
1381 && !notif.getBubbleMetadata().getAutoExpandBubble()); in updateBubble()
1386 if (notif.isBubble()) { in updateBubble()
1387 notif.setFlagBubble(false); in updateBubble()
1389 updateNotNotifyingEntry(b, notif, showInShade); in updateBubble()
1390 } else if (mBubbleData.hasAnyBubbleWithKey(notif.getKey()) in updateBubble()
1394 updateNotNotifyingEntry(b, notif, showInShade); in updateBubble()
1400 updateNotNotifyingEntry(b, notif, showInShade); in updateBubble()
[all …]
/aosp14/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/policy/
H A DHeadsUpManagerTest.java101 final Notification notif = new Notification.Builder(mContext, "") in createStickyEntry() local
105 return createEntry(id, notif); in createStickyEntry()
109 final Notification notif = new Notification.Builder(mContext, "") in createStickyForSomeTimeEntry() local
113 return createEntry(id, notif); in createStickyForSomeTimeEntry()
123 final Notification notif = new Notification.Builder(mContext, "") in createFullScreenIntentEntry() local
127 return createEntry(id, notif); in createFullScreenIntentEntry()
/aosp14/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/phone/
H A DNotificationGroupTestHelper.java90 Notification notif = new Notification.Builder(mContext, TEST_CHANNEL_ID) in createEntry() local
101 .setNotification(notif) in createEntry()
/aosp14/frameworks/base/services/core/java/com/android/server/am/
H A DPreBootBroadcaster.java169 final Notification notif =
183 notifManager.notifyAsUser(TAG, SystemMessage.NOTE_SYSTEM_UPGRADING, notif,
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/media/controls/pipeline/
H A DMediaDataManager.kt782 val notif: Notification = sbn.notification
785 notif.extras.getParcelable(
800 song = HybridGroupManager.resolveTitle(notif)
822 notif.getLargeIcon()
840 artist = HybridGroupManager.resolveText(notif)
927 notif.contentIntent,
985 val notif = sbn.notification regex
987 val actions = notif.actions
989 notif.extras.getIntArray(Notification.EXTRA_COMPACT_ACTIONS)?.toMutableList()
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/
H A DSwipeHelper.java867 Notification notif = enr.getEntry().getSbn().getNotification(); in isAvailableToDragAndDrop() local
868 PendingIntent dragIntent = notif.contentIntent != null ? notif.contentIntent in isAvailableToDragAndDrop()
869 : notif.fullScreenIntent; in isAvailableToDragAndDrop()
/aosp14/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/media/controls/pipeline/
H A DMediaDataManagerTest.kt455 val notif = regex
467 mediaDataManager.onNotificationAdded(KEY, notif)
1179 val notif = regex
1189 mediaDataManager.onNotificationAdded(KEY, notif)
1538 val notif = regex
1554 mediaDataManager.onNotificationAdded(KEY, notif)
1576 val notif = regex
1590 mediaDataManager.onNotificationAdded(KEY, notif)
/aosp14/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/row/
H A DNotificationTestHelper.java462 Notification notif = createNotification(isGroupSummary, groupKey); in createRow() local
463 return generateRow(notif, pkg, uid, userHandle, mDefaultInflationFlags); in createRow()
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
H A DNotificationMediaManager.java377 Notification notif = entry.getSbn().getNotification(); in findPlayingMediaNotification() local
378 if (notif.isMediaNotification()) { in findPlayingMediaNotification()
/aosp14/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/
H A DNotificationManagerServiceTest.java1930 notif, 0); in enqueueNotification_notPosted_acquiresAndReleasesWakeLock()
2316 mService.addNotification(notif); in testCancelAllNotifications_CancelsNoClearFlag()
2318 notif.getUserId(), REASON_CANCEL); in testCancelAllNotifications_CancelsNoClearFlag()
2330 mService.addNotification(notif); in testUserInitiatedCancelAllOnClearAll_NoClearFlag()
2333 notif.getUserId()); in testUserInitiatedCancelAllOnClearAll_NoClearFlag()
3054 mService.addNotification(notif); in testCancelAllNotificationsInt_CancelsNoClearFlagOnGoing()
3082 mService.addNotification(notif); in testCancelAllNotificationsInt_CancelsOngoingFlag()
3084 notif.getUserId(), REASON_CANCEL); in testCancelAllNotificationsInt_CancelsOngoingFlag()
9478 assertTrue(notif.isBubbleNotification());
9509 assertTrue(notif.isBubbleNotification());
[all …]
/aosp14/frameworks/base/services/tests/servicestests/src/com/android/server/net/
H A DNetworkPolicyManagerServiceTest.java1469 final ArgumentCaptor<Notification> notif = ArgumentCaptor.forClass(Notification.class);
1471 notif.capture(), eq(UserHandle.ALL));
1473 final String text = notif.getValue().extras.getCharSequence(Notification.EXTRA_TEXT)
1490 final ArgumentCaptor<Notification> notif = ArgumentCaptor.forClass(Notification.class);
1492 notif.capture(), eq(UserHandle.ALL));
1494 final String text = notif.getValue().extras.getCharSequence(Notification.EXTRA_TEXT)
/aosp14/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/wmshell/
H A DBubblesTest.java1855 NotificationEntry notif = new NotificationEntryBuilder() in testCreateBubbleFromOngoingNotification() local
1860 BubbleEntry bubble = mBubblesManager.notifToBubbleEntry(notif); in testCreateBubbleFromOngoingNotification()
1868 NotificationEntry notif = new NotificationEntryBuilder() in testCreateBubbleFromNoDismissNotification() local
1873 BubbleEntry bubble = mBubblesManager.notifToBubbleEntry(notif); in testCreateBubbleFromNoDismissNotification()
/aosp14/frameworks/base/core/java/android/app/
H A DNotification.java11053 public WearableExtender(Notification notif) { in WearableExtender() argument
11054 Bundle wearableBundle = notif.extras.getBundle(EXTRA_WEARABLE_EXTENSIONS); in WearableExtender()
11786 public CarExtender(Notification notif) { in CarExtender() argument
11787 Bundle carBundle = notif.extras == null ? in CarExtender()
11788 null : notif.extras.getBundle(EXTRA_CAR_EXTENDER); in CarExtender()
12195 public TvExtender(Notification notif) { in TvExtender() argument
12196 Bundle bundle = notif.extras == null ? in TvExtender()
12197 null : notif.extras.getBundle(EXTRA_TV_EXTENDER); in TvExtender()
/aosp14/frameworks/base/tools/aapt2/integration-tests/CommandTests/
H A Dandroid-33.jarAndroidManifest.xml META-INF/ META-INF/MANIFEST.MF NOTICES/ NOTICES/libcore ...