Home
last modified time | relevance | path

Searched refs:getNotificationId (Results 1 – 18 of 18) sorted by relevance

/packages/apps/Settings/src/com/android/settings/localepicker/
DNotificationController.java81 currentInfo.getNotificationId()); in incrementDismissCount()
108 public int getNotificationId(@NonNull String locale) { in getNotificationId() method in NotificationController
110 return (info != null) ? info.getNotificationId() : -1; in getNotificationId()
146 int notificationId = info.getNotificationId(); in createNotificationInfoWithNewUidAndCount()
DNotificationCancelReceiver.java42 int savedNotificationID = getNotificationController(context).getNotificationId( in onReceive()
DNotificationInfo.java57 public int getNotificationId() { in getNotificationId() method in NotificationInfo
DNotificationActionActivity.java59 int savedNotificationID = getNotificationController(this).getNotificationId(appLocale); in onCreate()
DAppLocalePickerActivity.java175 mNotificationController.getNotificationId(localeTag), in broadcastAppLocaleChange()
/packages/apps/Dialer/java/com/android/incallui/
DExternalCallNotifier.java134 if (info.getNotificationId() == notificationId in pullExternalCall()
193 context, NOTIFICATION_TAG, notifications.get(call).getNotificationId()); in dismissNotification()
257 NotificationBroadcastReceiver.EXTRA_NOTIFICATION_ID, info.getNotificationId()); in postNotification()
265 PendingIntent.getBroadcast(context, info.getNotificationId(), intent, 0)) in postNotification()
285 context, NOTIFICATION_TAG, info.getNotificationId(), notification); in postNotification()
416 public int getNotificationId() { in getNotificationId() method in ExternalCallNotifier.NotificationInfo
/packages/apps/Settings/tests/robotests/src/com/android/settings/localepicker/
DLocaleNotificationDataManagerTest.java63 assertThat(expected.getNotificationId()).isEqualTo(info.getNotificationId()); in testPutGetNotificationInfo()
DNotificationCancelReceiverTest.java67 when(mNotificationController.getNotificationId(locale)).thenReturn(notificationId); in testOnReceive_incrementDismissCount()
DNotificationActionActivityTest.java72 doReturn(notificationId).when(mNotificationController).getNotificationId(eq(targetLocale)); in testOnCreate_launchSystemLanguageSettings()
DNotificationControllerTest.java71 assertThat(result.getNotificationId()).isEqualTo(id); in incrementDismissCount_addOne()
DAppLocalePickerActivityTest.java348 assertThat(info.getNotificationId()).isEqualTo(notificationId); in onLocaleSelected_evaluateNotification_oddLocaleUpdate_uidAddedWithoutNotification()
377 assertThat(info.getNotificationId()).isEqualTo(notificationId); in onLocaleSelected_evaluateNotification_frequentLocaleUpdate_uidAddedNoNotification()
/packages/modules/Media/apex/framework/java/android/media/
DMediaSession2Service.java232 mNotificationManager.cancel(notification.getNotificationId()); in removeSession()
278 int id = mediaNotification.getNotificationId(); in onPlaybackActiveChanged()
324 public int getNotificationId() { in getNotificationId() method in MediaSession2Service.MediaNotification
/packages/apps/Stk/src/com/android/stk/
DStkAppService.java1699 mNotificationManager.notify(getNotificationId(NOTIFICATION_ON_KEYGUARD, slotId), in launchNotificationOnKeyguard()
1711 mNotificationManager.cancel(getNotificationId(NOTIFICATION_ON_KEYGUARD, slotId)); in cancelNotificationOnKeyguard()
1715 private int getNotificationId(int notificationType, int slotId) { in getNotificationId() method in StkAppService
1716 return getNotificationId(slotId) + (notificationType * mSimCount); in getNotificationId()
2109 mNotificationManager.cancel(getNotificationId(slotId)); in cancelIdleText()
2151 mNotificationManager.notify(getNotificationId(slotId), notificationBuilder.build()); in launchIdleText()
2407 private int getNotificationId(int slotId) { in getNotificationId() method in StkAppService
/packages/providers/MediaProvider/tests/src/com/android/providers/media/photopicker/sync/
DProactiveSyncWorkerTest.java240 assertThat(foregroundInfo.getNotificationId()).isEqualTo(NOTIFICATION_ID); in testGetForegroundInfo()
DImmediateSyncWorkerTest.java244 assertThat(foregroundInfo.getNotificationId()).isEqualTo(NOTIFICATION_ID); in testGetForegroundInfo()
DImmediateAlbumSyncWorkerTest.java282 assertThat(foregroundInfo.getNotificationId()).isEqualTo(NOTIFICATION_ID); in testGetForegroundInfo()
DMediaResetWorkerTest.java388 assertThat(foregroundInfo.getNotificationId()).isEqualTo(NOTIFICATION_ID); in testGetForegroundInfo()
/packages/modules/Media/apex/framework/api/
Dcurrent.txt211 method public int getNotificationId();