| /expo/packages/expo-notifications/android/src/test/java/expo/modules/notifications/service/delegates/ |
| H A D | ExpoHandlingDelegateTest.kt | 24 private val notificationManager: NotificationManager = mockk() constant in expo.modules.notifications.service.delegates.ExpoHandlingDelegateTest 30 every { delegateSpy.getListeners() } answers { listOf(notificationManager) } in setup() 32 every { notificationManager.onNotificationReceived(any()) } answers { } in setup() 44 verify { notificationManager.onNotificationReceived(expectedNotification) } in handleNotification when in foreground invokes listener and does not present() 55 verify(inverse = true) { notificationManager.onNotificationReceived(any()) } in handleNotification when in background does not invoke listener and presents notification() 66 verify(inverse = true) { notificationManager.onNotificationReceived(any()) } in handleNotification when in background with title only presents notification() 77 verify(inverse = true) { notificationManager.onNotificationReceived(any()) } in handleNotification when in background with text only presents notification() 89 verify(inverse = true) { notificationManager.onNotificationReceived(any()) } in handleNotification when in background and data only does not present notification()
|
| /expo/packages/expo-notifications/android/src/main/java/expo/modules/notifications/notifications/emitting/ |
| H A D | NotificationsEmitter.kt | 19 private lateinit var notificationManager: NotificationManager variable in expo.modules.notifications.notifications.emitting.NotificationsEmitter 32 …notificationManager = requireNotNull(appContext.legacyModuleRegistry.getSingletonModule("Notificat… in <lambda>() 33 notificationManager.addListener(this@NotificationsEmitter) in <lambda>() 37 notificationManager.removeListener(this@NotificationsEmitter) in <lambda>()
|
| /expo/packages/expo-notifications/android/src/main/java/expo/modules/notifications/permissions/ |
| H A D | NotificationPermissionsModule.kt | 61 …val notificationManager = context.getSystemService(Context.NOTIFICATION_SERVICE) as? NotificationM… in <lambda>() constant 62 if (notificationManager != null) { in <lambda>() 63 putInt(INTERRUPTION_FILTER_KEY, notificationManager.currentInterruptionFilter) in <lambda>() 98 …val notificationManager = context.getSystemService(Context.NOTIFICATION_SERVICE) as? NotificationM… in <lambda>() constant 99 if (notificationManager != null) { in <lambda>() 100 putInt(INTERRUPTION_FILTER_KEY, notificationManager.currentInterruptionFilter) in <lambda>()
|
| /expo/android/versioned-abis/expoview-abi49_0_0/src/main/java/abi49_0_0/expo/modules/notifications/permissions/ |
| H A D | NotificationPermissionsModule.kt | 62 …val notificationManager = context.getSystemService(Context.NOTIFICATION_SERVICE) as NotificationMa… in <lambda>() constant 63 if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.M && notificationManager != null) { in <lambda>() 64 putInt(INTERRUPTION_FILTER_KEY, notificationManager.currentInterruptionFilter) in <lambda>() 99 …val notificationManager = context.getSystemService(Context.NOTIFICATION_SERVICE) as NotificationMa… in <lambda>() constant 100 if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.M && notificationManager != null) { in <lambda>() 101 putInt(INTERRUPTION_FILTER_KEY, notificationManager.currentInterruptionFilter) in <lambda>()
|
| /expo/android/versioned-abis/expoview-abi48_0_0/src/main/java/abi48_0_0/expo/modules/notifications/permissions/ |
| H A D | NotificationPermissionsModule.kt | 62 …val notificationManager = context.getSystemService(Context.NOTIFICATION_SERVICE) as NotificationMa… in <lambda>() constant 63 if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.M && notificationManager != null) { in <lambda>() 64 putInt(INTERRUPTION_FILTER_KEY, notificationManager.currentInterruptionFilter) in <lambda>() 99 …val notificationManager = context.getSystemService(Context.NOTIFICATION_SERVICE) as NotificationMa… in <lambda>() constant 100 if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.M && notificationManager != null) { in <lambda>() 101 putInt(INTERRUPTION_FILTER_KEY, notificationManager.currentInterruptionFilter) in <lambda>()
|
| /expo/android/versioned-abis/expoview-abi47_0_0/src/main/java/abi47_0_0/expo/modules/notifications/permissions/ |
| H A D | NotificationPermissionsModule.kt | 62 …val notificationManager = context.getSystemService(Context.NOTIFICATION_SERVICE) as NotificationMa… in <lambda>() constant 63 if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.M && notificationManager != null) { in <lambda>() 64 putInt(INTERRUPTION_FILTER_KEY, notificationManager.currentInterruptionFilter) in <lambda>() 99 …val notificationManager = context.getSystemService(Context.NOTIFICATION_SERVICE) as NotificationMa… in <lambda>() constant 100 if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.M && notificationManager != null) { in <lambda>() 101 putInt(INTERRUPTION_FILTER_KEY, notificationManager.currentInterruptionFilter) in <lambda>()
|
| /expo/packages/expo-notifications/android/src/main/java/expo/modules/notifications/notifications/handling/ |
| H A D | NotificationsHandler.kt | 42 private lateinit var notificationManager: NotificationManager variable in expo.modules.notifications.notifications.handling.NotificationsHandler 65 …notificationManager = requireNotNull(moduleRegistry.getSingletonModule("NotificationManager", Noti… in <lambda>() 66 notificationManager.addListener(this@NotificationsHandler) in <lambda>() 73 notificationManager.removeListener(this@NotificationsHandler) in <lambda>()
|
| /expo/android/expoview/src/main/java/host/exp/exponent/notifications/ |
| H A D | PushNotificationHelper.kt | 15 val notificationManager = NotificationManagerCompat.from(context) in removeNotifications() constant 18 notificationManager.cancel( in removeNotifications()
|
| /expo/android/versioned-abis/expoview-abi48_0_0/src/main/java/abi48_0_0/expo/modules/location/services/ |
| H A D | LocationTaskService.java | 120 …NotificationManager notificationManager = (NotificationManager) getSystemService(Activity.NOTIFICA… in prepareChannel() local 122 if (notificationManager != null) { in prepareChannel() 124 NotificationChannel channel = notificationManager.getNotificationChannel(id); in prepareChannel() 129 notificationManager.createNotificationChannel(channel); in prepareChannel()
|
| /expo/android/versioned-abis/expoview-abi49_0_0/src/main/java/abi49_0_0/expo/modules/location/services/ |
| H A D | LocationTaskService.java | 120 …NotificationManager notificationManager = (NotificationManager) getSystemService(Activity.NOTIFICA… in prepareChannel() local 122 if (notificationManager != null) { in prepareChannel() 124 NotificationChannel channel = notificationManager.getNotificationChannel(id); in prepareChannel() 129 notificationManager.createNotificationChannel(channel); in prepareChannel()
|
| /expo/packages/expo-location/android/src/main/java/expo/modules/location/services/ |
| H A D | LocationTaskService.java | 120 …NotificationManager notificationManager = (NotificationManager) getSystemService(Activity.NOTIFICA… in prepareChannel() local 122 if (notificationManager != null) { in prepareChannel() 124 NotificationChannel channel = notificationManager.getNotificationChannel(id); in prepareChannel() 129 notificationManager.createNotificationChannel(channel); in prepareChannel()
|
| /expo/android/versioned-abis/expoview-abi47_0_0/src/main/java/abi47_0_0/expo/modules/location/services/ |
| H A D | LocationTaskService.java | 120 …NotificationManager notificationManager = (NotificationManager) getSystemService(Activity.NOTIFICA… in prepareChannel() local 122 if (notificationManager != null) { in prepareChannel() 124 NotificationChannel channel = notificationManager.getNotificationChannel(id); in prepareChannel() 129 notificationManager.createNotificationChannel(channel); in prepareChannel()
|
| /expo/android/expoview/src/main/java/host/exp/exponent/experience/ |
| H A D | ExperienceActivity.kt | 701 val notificationManager = getSystemService(NOTIFICATION_SERVICE) as NotificationManager in <lambda>() constant 702 notificationManager.cancel(PERSISTENT_EXPONENT_NOTIFICATION_ID) in <lambda>() 714 notificationManager.notify(PERSISTENT_EXPONENT_NOTIFICATION_ID, notificationBuilder!!.build()) in <lambda>() 780 val notificationManager = in <lambda>() constant 782 notificationManager.cancel(PERSISTENT_EXPONENT_NOTIFICATION_ID) in <lambda>()
|
| /expo/packages/expo-notifications/android/src/main/java/expo/modules/notifications/service/delegates/ |
| H A D | ExpoPresentationDelegate.kt | 116 …val notificationManager = (context.getSystemService(Context.NOTIFICATION_SERVICE) as NotificationM… in <lambda>() constant 117 return notificationManager.activeNotifications.mapNotNull { getNotification(it) } in <lambda>()
|
| /expo/android/versioned-abis/expoview-abi47_0_0/src/main/java/abi47_0_0/expo/modules/notifications/service/delegates/ |
| H A D | ExpoPresentationDelegate.kt | 122 …val notificationManager = (context.getSystemService(Context.NOTIFICATION_SERVICE) as NotificationM… in <lambda>() constant 123 return notificationManager.activeNotifications.mapNotNull { getNotification(it) } in <lambda>()
|
| /expo/android/versioned-abis/expoview-abi49_0_0/src/main/java/abi49_0_0/expo/modules/notifications/service/delegates/ |
| H A D | ExpoPresentationDelegate.kt | 122 …val notificationManager = (context.getSystemService(Context.NOTIFICATION_SERVICE) as NotificationM… in <lambda>() constant 123 return notificationManager.activeNotifications.mapNotNull { getNotification(it) } in <lambda>()
|
| /expo/android/versioned-abis/expoview-abi48_0_0/src/main/java/abi48_0_0/expo/modules/notifications/service/delegates/ |
| H A D | ExpoPresentationDelegate.kt | 122 …val notificationManager = (context.getSystemService(Context.NOTIFICATION_SERVICE) as NotificationM… in <lambda>() constant 123 return notificationManager.activeNotifications.mapNotNull { getNotification(it) } in <lambda>()
|