Home
last modified time | relevance | path

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

/packages/apps/Launcher3/src/com/android/launcher3/notification/
DNotificationKeyData.java56 Notification notif = sbn.getNotification(); in fromNotification() local
57 return new NotificationKeyData(sbn.getKey(), notif.getShortcutId(), notif.number, in fromNotification()
58 extractPersonKeyOnly(notif.extras.getParcelableArrayList( in fromNotification()
/packages/modules/Permission/tests/utils/safetycenter/java/com/android/safetycenter/testing/
DNotificationCharacteristics.kt68 val notif = statusBarNotificationWithChannel.statusBarNotification.notification in isMatch() constant
69 val extras = notif.extras in isMatch()
70 return notif != null && in isMatch()
73 notif.actions.orEmpty().map { it.title } == characteristic.actions && in isMatch()
/packages/modules/DeviceLock/DeviceLockController/tests/robolectric/src/com/android/devicelockcontroller/provision/worker/
DReportDeviceProvisionStateWorkerTest.java227 StatusBarNotification notif = activeNotifs[0]; in doWork_deferred_dismissibleUiState_schedulesAlarmAndSendsNotification() local
228 assertThat(notif.getTag()).isEqualTo(DEVICE_RESET_NOTIFICATION_TAG); in doWork_deferred_dismissibleUiState_schedulesAlarmAndSendsNotification()
229 assertThat(notif.getId()).isEqualTo(DEVICE_RESET_NOTIFICATION_ID); in doWork_deferred_dismissibleUiState_schedulesAlarmAndSendsNotification()
230 assertThat(notif.isOngoing()).isFalse(); in doWork_deferred_dismissibleUiState_schedulesAlarmAndSendsNotification()
257 StatusBarNotification notif = activeNotifs[0]; in doWork_deferred_persistentUiState_schedulesAlarmAndSendsOngoingNotification() local
258 assertThat(notif.getTag()).isEqualTo(DEVICE_RESET_NOTIFICATION_TAG); in doWork_deferred_persistentUiState_schedulesAlarmAndSendsOngoingNotification()
259 assertThat(notif.getId()).isEqualTo(DEVICE_RESET_NOTIFICATION_ID); in doWork_deferred_persistentUiState_schedulesAlarmAndSendsOngoingNotification()
260 assertThat(notif.isOngoing()).isTrue(); in doWork_deferred_persistentUiState_schedulesAlarmAndSendsOngoingNotification()
/packages/modules/Bluetooth/system/stack/gatt/
Dgatt_api.cc511 for (auto notif : gatt_notif_vector) { in GATTS_HandleMultipleValueNotification() local
512 log::info("Adding handle: 0x{:04x}, val len {}", notif.handle, notif.len); in GATTS_HandleMultipleValueNotification()
513 UINT16_TO_STREAM(p, notif.handle); in GATTS_HandleMultipleValueNotification()
515 UINT16_TO_STREAM(p, notif.len); in GATTS_HandleMultipleValueNotification()
517 ARRAY_TO_STREAM(p, notif.value, notif.len); in GATTS_HandleMultipleValueNotification()
518 p_buf->len += notif.len; in GATTS_HandleMultipleValueNotification()
544 tGATT_VALUE notif; in GATTS_HandleValueNotification() local
578 notif.auth_req = GATT_AUTH_REQ_NONE; in GATTS_HandleValueNotification()
593 notif.auth_req = GATT_AUTH_REQ_NONE; in GATTS_HandleValueNotification()
603 memset(&notif, 0, sizeof(notif)); in GATTS_HandleValueNotification()
[all …]
/packages/providers/DownloadProvider/src/com/android/providers/downloads/
DDownloadNotifier.java125 for (StatusBarNotification notif : notifs) { in init()
126 mActiveNotifs.put(notif.getTag(), notif.getPostTime()); in init()
346 final Notification notif; in updateWithLocked() local
374 notif = builder.build(); in updateWithLocked()
400 notif = inboxStyle.build(); in updateWithLocked()
403 mNotifManager.notify(tag, 0, notif); in updateWithLocked()
/packages/apps/Car/VoiceControl/src/com/android/car/voicecontrol/
DVoicePlateActivity.java409 private void onReadNotification(Notification notif) { in onReadNotification() argument
413 List<NotificationCompat.MessagingStyle.Message> msgs = mNotifHandler.getMessages(notif); in onReadNotification()
438 if (mNotifHandler.getAction(notif, Notification.Action.SEMANTIC_ACTION_REPLY) != null) { in onReadNotification()
442 onReplyNotification(notif); in onReadNotification()
454 private void onReplyNotification(Notification notif) { in onReplyNotification() argument
456 Notification.Action action = mNotifHandler.getAction(notif, in onReplyNotification()
/packages/modules/ExtServices/java/tests/src/android/ext/services/notification/
DNotificationOtpDetectionHelperTest.kt168 val notif = createNotification(style = style) in <lambda>() constant
169 val sensitive = NotificationOtpDetectionHelper.getTextForDetection(notif) in <lambda>()
176 val notifText = notif.extras.getCharSequence(EXTRA_TEXT)?.toString() ?: "" in <lambda>()
/packages/services/DeviceAsWebcam/src/com/android/DeviceAsWebcam/
DDeviceAsWebcamFgService.java130 Notification notif = mNotificationBuilder.build(); in startForegroundWithNotification() local
131 startForeground(NOTIF_ID, notif, ServiceInfo.FOREGROUND_SERVICE_TYPE_CAMERA); in startForegroundWithNotification()
/packages/modules/Connectivity/tests/unit/java/com/android/server/connectivity/
DNetworkNotificationManagerTest.java524 final Notification notif = notifCap.getValue(); in doNotificationTextTest() local
526 assertEquals(expectedTitle, notif.extras.getString(Notification.EXTRA_TITLE)); in doNotificationTextTest()
527 assertEquals(expectedContent, notif.extras.getString(Notification.EXTRA_TEXT)); in doNotificationTextTest()
/packages/modules/Bluetooth/service/src/airplane/
DModeListenerTest.kt73 val notif: (m: String) -> Unit = { _: String -> } in <lambda>() constant
84 notif, in <lambda>()
/packages/services/Telephony/src/com/android/phone/
DNotificationMgr.java651 final Notification notif = in showDataRoamingNotification() local
653 notifyAsUser(null /* tag */, DATA_ROAMING_NOTIFICATION, notif, UserHandle.ALL); in showDataRoamingNotification()