Home
last modified time | relevance | path

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

/frameworks/base/location/java/com/android/internal/location/
DGpsNetInitiatedHandler.java279 public void handleNiNotification(GpsNiNotification notif) { in handleNiNotification() argument
281 + " notificationId: " + notif.notificationId in handleNiNotification()
282 + " requestorId: " + notif.requestorId in handleNiNotification()
283 + " text: " + notif.text in handleNiNotification()
288 handleNiInEs(notif); in handleNiNotification()
290 handleNi(notif); in handleNiNotification()
307 private void handleNi(GpsNiNotification notif) { in handleNi() argument
309 + " needNotify: " + notif.needNotify in handleNi()
310 + " needVerify: " + notif.needVerify in handleNi()
311 + " privacyOverride: " + notif.privacyOverride in handleNi()
[all …]
/frameworks/av/media/libaudioclient/tests/
Dtrack_test_output_v1.0_ref_walleye.txt9 notif. frame count(2400), req. notif. frame count(2400), req. notif. per buff(0)
20 notif. frame count(1600), req. notif. frame count(2400), req. notif. per buff(0)
31 notif. frame count(1600), req. notif. frame count(2400), req. notif. per buff(0)
42 notif. frame count(1600), req. notif. frame count(2400), req. notif. per buff(0)
53 notif. frame count(1470), req. notif. frame count(2205), req. notif. per buff(0)
64 notif. frame count(1470), req. notif. frame count(2205), req. notif. per buff(0)
75 notif. frame count(1470), req. notif. frame count(2205), req. notif. per buff(0)
86 notif. frame count(2400), req. notif. frame count(2400), req. notif. per buff(0)
97 notif. frame count(2400), req. notif. frame count(2400), req. notif. per buff(0)
108 notif. frame count(2400), req. notif. frame count(2400), req. notif. per buff(0)
[all …]
Drecord_test_output_v1.0_ref_walleye.txt8 notif. frame count(960), req. notif. frame count(2400)
17 notif. frame count(480), req. notif. frame count(2400)
26 notif. frame count(320), req. notif. frame count(2400)
35 notif. frame count(160), req. notif. frame count(2400)
44 notif. frame count(896), req. notif. frame count(2205)
53 notif. frame count(448), req. notif. frame count(2205)
62 notif. frame count(224), req. notif. frame count(2205)
71 notif. frame count(960), req. notif. frame count(2400)
80 notif. frame count(960), req. notif. frame count(2400)
89 notif. frame count(960), req. notif. frame count(2400)
[all …]
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/collection/
DShadeListBuilderTest.java141 notif(6), in testNotifsAreSortedByRankAndWhen()
142 notif(5), in testNotifsAreSortedByRankAndWhen()
143 notif(0), in testNotifsAreSortedByRankAndWhen()
144 notif(3), in testNotifsAreSortedByRankAndWhen()
145 notif(2), in testNotifsAreSortedByRankAndWhen()
146 notif(1), in testNotifsAreSortedByRankAndWhen()
147 notif(4) in testNotifsAreSortedByRankAndWhen()
253 notif(0), in testDuplicateGroupSummariesAreDiscarded()
260 notif(5) in testDuplicateGroupSummariesAreDiscarded()
282 notif(0), in testGroupsWithNoSummaryAreUngrouped()
[all …]
DNotificationRankingManagerTest.kt300 val notif = Notification.Builder(mContext, "test") .build() in <lambda>() constant
306 .setNotification(notif) in <lambda>()
320 val notif = Notification.Builder(mContext, "test") .build() in <lambda>() constant
326 .setNotification(notif) in <lambda>()
341 val notif = Notification.Builder(mContext, "test") .build() in <lambda>() constant
347 .setNotification(notif) in <lambda>()
386 .setNotification(mock(Notification::class.java).also { notif -> in <lambda>() method
387 whenever(notif.isForegroundService).thenReturn(true) in <lambda>()
388 whenever(notif.isColorized).thenReturn(true) in <lambda>()
438 .setNotification(mock(Notification::class.java).also { notif -> in <lambda>() method
[all …]
DNotifCollectionTest.java271 NotifEvent notif = mNoMan.postNotif(buildNotif(TEST_PACKAGE, 47)); in testEventDispatchedWhenNotifRemoved() local
272 NotificationEntry entry = mCollectionListener.getEntry(notif.key); in testEventDispatchedWhenNotifRemoved()
276 mNoMan.retractNotif(notif.sbn, REASON_APP_CANCEL); in testEventDispatchedWhenNotifRemoved()
283 assertEquals(notif.sbn, entry.getSbn()); in testEventDispatchedWhenNotifRemoved()
284 assertEquals(notif.ranking, entry.getRanking()); in testEventDispatchedWhenNotifRemoved()
485 CollectionEvent notif = postNotif(buildNotif(TEST_PACKAGE, 1, "myTag")); in testNMSReportsUserDismissalAlwaysRemovesNotif() local
487 NotificationEntry entry = mCollectionListener.getEntry(notif.key); in testNMSReportsUserDismissalAlwaysRemovesNotif()
494 mNoMan.retractNotif(notif.sbn, REASON_CANCEL); in testNMSReportsUserDismissalAlwaysRemovesNotif()
513 NotifEvent notif = mNoMan.postNotif(buildNotif(TEST_PACKAGE, 47, "myTag")); in testDismissNotificationCallsDismissInterceptors() local
514 NotificationEntry entry = mCollectionListener.getEntry(notif.key); in testDismissNotificationCallsDismissInterceptors()
[all …]
/frameworks/base/services/core/java/com/android/server/notification/
DBadgeExtractor.java71 final Notification notif = record.getNotification(); in process() local
72 if (notif.hasMediaSession()) { in process()
73 if (notif.isStyle(Notification.DecoratedMediaCustomViewStyle.class) in process()
74 || notif.isStyle(Notification.MediaStyle.class)) { in process()
/frameworks/base/packages/SystemUI/src/com/android/systemui/usb/
DStorageNotification.java307 final Notification notif; in onPublicVolumeStateChangedInternal() local
310 notif = onVolumeUnmounted(vol); in onPublicVolumeStateChangedInternal()
313 notif = onVolumeChecking(vol); in onPublicVolumeStateChangedInternal()
317 notif = onVolumeMounted(vol); in onPublicVolumeStateChangedInternal()
320 notif = onVolumeFormatting(vol); in onPublicVolumeStateChangedInternal()
323 notif = onVolumeEjecting(vol); in onPublicVolumeStateChangedInternal()
326 notif = onVolumeUnmountable(vol); in onPublicVolumeStateChangedInternal()
329 notif = onVolumeRemoved(vol); in onPublicVolumeStateChangedInternal()
332 notif = onVolumeBadRemoval(vol); in onPublicVolumeStateChangedInternal()
335 notif = null; in onPublicVolumeStateChangedInternal()
[all …]
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/phone/
DNotificationGroupTestHelper.java71 Notification notif = new Notification.Builder(mContext, TEST_CHANNEL_ID) in createEntry() local
82 .setNotification(notif) in createEntry()
/frameworks/base/packages/SystemUI/src/com/android/systemui/media/
DMediaDataManager.kt525 val notif: Notification = sbn.notification in loadMediaDataInBg() constant
534 notif.getLargeIcon() in loadMediaDataInBg()
558 val builder = Notification.Builder.recoverBuilder(context, notif) in loadMediaDataInBg()
570 song = HybridGroupManager.resolveTitle(notif) in loadMediaDataInBg()
576 artist = HybridGroupManager.resolveText(notif) in loadMediaDataInBg()
581 val actions = notif.actions in loadMediaDataInBg()
582 var actionsToShowCollapsed = notif.extras.getIntArray( in loadMediaDataInBg()
634 actionsToShowCollapsed, sbn.packageName, token, notif.contentIntent, null, in loadMediaDataInBg()
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/bubbles/
DBubbleController.java892 public void updateBubble(BubbleEntry notif) { in updateBubble() argument
893 updateBubble(notif, false /* suppressFlyout */, true /* showInShade */); in updateBubble()
927 public void updateBubble(BubbleEntry notif, boolean suppressFlyout, boolean showInShade) { in updateBubble() argument
929 mSysuiProxy.setNotificationInterruption(notif.getKey()); in updateBubble()
930 if (!notif.getRanking().visuallyInterruptive() in updateBubble()
931 && (notif.getBubbleMetadata() != null in updateBubble()
932 && !notif.getBubbleMetadata().getAutoExpandBubble()) in updateBubble()
933 && mBubbleData.hasOverflowBubbleWithKey(notif.getKey())) { in updateBubble()
935 Bubble b = mBubbleData.getOverflowBubbleWithKey(notif.getKey()); in updateBubble()
936 b.setEntry(notif); in updateBubble()
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/stack/
DNotificationSectionsManager.kt367 fun addNotif(notif: ExpandableView): SectionBounds = when (this) { in <lambda>()
368 is None -> One(notif) in <lambda>()
369 is One -> Many(lone, notif) in <lambda>()
370 is Many -> copy(last = notif) in <lambda>()
/frameworks/base/services/core/java/com/android/server/am/
DPreBootBroadcaster.java169 final Notification notif =
183 notifManager.notifyAsUser(TAG, SystemMessage.NOTE_SYSTEM_UPGRADING, notif,
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/media/
DMediaDataManagerTest.kt339 val notif = SbnBuilder().run { in testBadArtwork_doesNotUse() constant
348 mediaDataManager.onNotificationAdded(KEY, notif) in testBadArtwork_doesNotUse()
486 val notif = SbnBuilder().run { in testTooManyCompactActions_isTruncated() constant
499 mediaDataManager.onNotificationAdded(KEY, notif) in testTooManyCompactActions_isTruncated()
/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/
DNotificationManagerServiceTest.java1435 final Notification notif = generateNotificationRecord(null).getNotification(); in testEnqueueNotificationWithTag_DoesNotLogOnTitleUpdate() local
1436 notif.extras.putString(Notification.EXTRA_TITLE, "Changed title"); in testEnqueueNotificationWithTag_DoesNotLogOnTitleUpdate()
1437 mBinderService.enqueueNotificationWithTag(PKG, PKG, tag, 0, notif, 0); in testEnqueueNotificationWithTag_DoesNotLogOnTitleUpdate()
1772 final NotificationRecord notif = generateNotificationRecord( in testCancelAllNotifications_CancelsNoClearFlag() local
1774 notif.getNotification().flags |= Notification.FLAG_NO_CLEAR; in testCancelAllNotifications_CancelsNoClearFlag()
1775 mService.addNotification(notif); in testCancelAllNotifications_CancelsNoClearFlag()
1777 notif.getUserId(), 0, null); in testCancelAllNotifications_CancelsNoClearFlag()
1780 mBinderService.getActiveNotifications(notif.getSbn().getPackageName()); in testCancelAllNotifications_CancelsNoClearFlag()
1786 final NotificationRecord notif = generateNotificationRecord( in testUserInitiatedCancelAllOnClearAll_NoClearFlag() local
1788 notif.getNotification().flags |= Notification.FLAG_NO_CLEAR; in testUserInitiatedCancelAllOnClearAll_NoClearFlag()
[all …]
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/row/
DNotificationTestHelper.java343 Notification notif = createNotification(isGroupSummary, groupKey); in createRow() local
344 return generateRow(notif, pkg, uid, userHandle, 0 /* inflationFlags */); in createRow()
/frameworks/base/services/tests/servicestests/src/com/android/server/net/
DNetworkPolicyManagerServiceTest.java1313 final ArgumentCaptor<Notification> notif = ArgumentCaptor.forClass(Notification.class);
1315 notif.capture(), eq(UserHandle.ALL));
1317 final String text = notif.getValue().extras.getCharSequence(Notification.EXTRA_TEXT)
1339 final ArgumentCaptor<Notification> notif = ArgumentCaptor.forClass(Notification.class);
1341 notif.capture(), eq(UserHandle.ALL));
1343 final String text = notif.getValue().extras.getCharSequence(Notification.EXTRA_TEXT)
/frameworks/base/core/java/android/app/
DNotification.java10650 public WearableExtender(Notification notif) { in WearableExtender() argument
10651 Bundle wearableBundle = notif.extras.getBundle(EXTRA_WEARABLE_EXTENSIONS); in WearableExtender()
11376 public CarExtender(Notification notif) { in CarExtender() argument
11377 Bundle carBundle = notif.extras == null ? in CarExtender()
11378 null : notif.extras.getBundle(EXTRA_CAR_EXTENDER); in CarExtender()
11784 public TvExtender(Notification notif) { in TvExtender() argument
11785 Bundle bundle = notif.extras == null ? in TvExtender()
11786 null : notif.extras.getBundle(EXTRA_TV_EXTENDER); in TvExtender()
/frameworks/proto_logging/stats/
Datoms.proto4690 optional int32 notification_id_hash = 5; // Small hash of the app-assigned notif ID + tag