Home
last modified time | relevance | path

Searched refs:notificationType (Results 1 – 23 of 23) sorted by relevance

/packages/apps/Settings/src/com/android/settings/
DRemoteBugreportActivity.java52 final int notificationType = getIntent().getIntExtra( in onCreate() local
55 if (notificationType == DevicePolicyManager.NOTIFICATION_BUGREPORT_ACCEPTED_NOT_FINISHED) { in onCreate()
74 } else if (notificationType == DevicePolicyManager.NOTIFICATION_BUGREPORT_STARTED in onCreate()
75 || notificationType in onCreate()
78 int defaultMessageId = notificationType in onCreate()
82 String overrideMessageId = notificationType in onCreate()
124 Log.e(TAG, "Incorrect dialog type, no dialog shown. Received: " + notificationType); in onCreate()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/
DRemoteBugreportActivity.java44 final int notificationType = getIntent().getIntExtra( in onCreate() local
47 if (notificationType == DevicePolicyManager.NOTIFICATION_BUGREPORT_ACCEPTED_NOT_FINISHED) { in onCreate()
64 } else if (notificationType == DevicePolicyManager.NOTIFICATION_BUGREPORT_STARTED in onCreate()
65 || notificationType in onCreate()
69 .setMessage(notificationType in onCreate()
104 Log.e(TAG, "Incorrect dialog type, no dialog shown. Received: " + notificationType); in onCreate()
/packages/apps/Settings/src/com/android/settings/sim/
DSimNotificationService.java43 Context context, @SimActivationNotifier.NotificationType int notificationType) { in scheduleSimNotification() argument
49 extra.putInt(EXTRA_NOTIFICATION_TYPE, notificationType); in scheduleSimNotification()
64 int notificationType = extra.getInt(EXTRA_NOTIFICATION_TYPE); in onStartJob() local
65 switch (notificationType) { in onStartJob()
78 Log.e(TAG, "Invalid notification type: " + notificationType); in onStartJob()
/packages/apps/Car/Settings/src/com/android/car/settings/enterprise/
DRemoteRequestBugreportActivity.java70 int notificationType = getIntent().getIntExtra( in getInitialFragment() local
79 switch (notificationType) { in getInitialFragment()
95 .setMessage(notificationType == NOTIFICATION_BUGREPORT_STARTED in getInitialFragment()
103 LOG.e("Incorrect dialog type, no dialog shown. Received: " + notificationType); in getInitialFragment()
/packages/modules/AdServices/adservices/framework/java/android/adservices/common/
DUpdateAdServicesModuleStatesParams.java49 SparseIntArray adServicesModuleStates, @NotificationType int notificationType) { in UpdateAdServicesModuleStatesParams() argument
51 mNotificationType = notificationType; in UpdateAdServicesModuleStatesParams()
168 public Builder setNotificationType(@NotificationType int notificationType) { in setNotificationType() argument
169 this.mNotificationType = notificationType; in setNotificationType()
/packages/apps/Dialer/java/com/android/incallui/
DStatusBarNotifier.java296 final int notificationType; in buildAndSendNotification() local
303 notificationType = in buildAndSendNotification()
311 notificationType = in buildAndSendNotification()
315 notificationType = NOTIFICATION_IN_CALL; in buildAndSendNotification()
326 notificationType, in buildAndSendNotification()
356 LogUtil.i("StatusBarNotifier.buildAndSendNotification", "notificationType=" + notificationType); in buildAndSendNotification()
357 switch (notificationType) { in buildAndSendNotification()
432 "displaying notification for " + notificationType); in buildAndSendNotification()
439 currentNotification = notificationType; in buildAndSendNotification()
490 int notificationType, in checkForChangeAndSaveData() argument
[all …]
/packages/modules/HealthFitness/service/java/com/android/server/healthconnect/migration/notification/
DMigrationNotificationSender.java63 @MigrationNotificationType int notificationType, UserHandle userHandle) { in sendNotification()
67 mNotificationFactory.createNotification(notificationType, CHANNEL_ID); in sendNotification()
DMigrationNotificationFactory.java74 @MigrationNotificationSender.MigrationNotificationType int notificationType, in createNotification()
79 switch (notificationType) { in createNotification()
/packages/apps/Car/Notification/src/com/android/car/notification/
DCarNotificationTypeItem.java90 int notificationType, boolean isInGroup) { in CarNotificationTypeItem() argument
93 mNotificationType = notificationType; in CarNotificationTypeItem()
/packages/modules/HealthFitness/service/java/com/android/server/healthconnect/notifications/
DHealthConnectNotificationSender.java159 @HealthConnectNotificationType int notificationType, UserHandle userHandle) { in sendNotificationAsUser()
169 Notification notification = mNotificationFactory.createNotification(notificationType); in sendNotificationAsUser()
DHealthConnectNotificationFactory.java41 @HealthConnectNotificationSender.HealthConnectNotificationType int notificationType); in createNotification()
/packages/modules/HealthFitness/service/java/com/android/server/healthconnect/exportimport/
DExportImportNotificationFactory.java129 public Notification createNotification(int notificationType) { in createNotification() argument
130 return switch (notificationType) { in createNotification()
DImportManager.java375 private void sendNotificationAsUser(int notificationType, UserHandle userHandle) { in sendNotificationAsUser() argument
377 mNotificationSender.sendNotificationAsUser(notificationType, userHandle); in sendNotificationAsUser()
DExportManager.java404 private void sendNotificationIfEnabled(UserHandle userHandle, int notificationType) { in sendNotificationIfEnabled() argument
406 mNotificationSender.sendNotificationAsUser(notificationType, userHandle); in sendNotificationIfEnabled()
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/common/
DAdServicesCommonServiceImpl.java582 int notificationType = updateParams.getNotificationType(); in sendNotificationIfNeededAndUpdateState() local
589 boolean isVisibleNotificationType = notificationType != NOTIFICATION_NONE; in sendNotificationIfNeededAndUpdateState()
590 boolean isOngoingNotificationType = notificationType == NOTIFICATION_ONGOING; in sendNotificationIfNeededAndUpdateState()
/packages/services/Car/tests/EmbeddedKitchenSinkApp/src/com/google/android/car/kitchensink/watchdog/
DCarWatchdogTestFragment.java535 @NotificationType int notificationType) { in expectNewNotification() argument
540 mExpectedNotificationType = notificationType; in expectNewNotification()
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/common/
DAdServicesCommonServiceImplTest.java1282 @NotificationTypeCode int notificationType, in requestAdServicesModuleOverridesHelper() argument
1290 notificationType, in requestAdServicesModuleOverridesHelper() local
1313 @NotificationTypeCode int notificationType, in requestAdServicesModuleOverridesHelper() argument
1356 builder.setNotificationType(notificationType); in requestAdServicesModuleOverridesHelper()
/packages/apps/Messaging/src/com/android/messaging/datamodel/
DMessageNotificationState.java138 NotificationLineInfo(final int notificationType) { in NotificationLineInfo() argument
139 mNotificationType = notificationType; in NotificationLineInfo()
/packages/services/Telephony/src/com/android/services/telephony/
DTelephonyConnection.java415 Log.i(this, "handleSuppServiceNotification: type=%d, code=%d", ssn.notificationType, in handleSuppServiceNotification()
417 if (ssn.notificationType == SuppServiceNotification.NOTIFICATION_TYPE_CODE_1 in handleSuppServiceNotification()
421 sendSuppServiceNotificationEvent(ssn.notificationType, ssn.code); in handleSuppServiceNotification()
/packages/modules/Connectivity/service/src/com/android/server/
DConnectivityService.java11019 int notificationType) {
11020 if (notificationType == CALLBACK_AVAILABLE && !nri.mPendingIntentSent) {
11127 @Nullable final NetworkAgentInfo networkAgent, final int notificationType,
11141 if (networkAgent != null && nri.maybeQueueCallback(networkAgent, notificationType)) {
11144 if (!nri.isCallbackOverridden(notificationType)) {
11154 switch (notificationType) {
11214 callCallbackForRequest(nri, notificationType, bundle, arg1);
11217 private void callCallbackForRequest(@NonNull final NetworkRequestInfo nri, int notificationType,
11221 msg.what = notificationType;
11225 String notification = ConnectivityManager.getCallbackName(notificationType);
/packages/apps/Stk/src/com/android/stk/
DStkAppService.java1715 private int getNotificationId(int notificationType, int slotId) { in getNotificationId() argument
1716 return getNotificationId(slotId) + (notificationType * mSimCount); in getNotificationId()
/packages/services/Telephony/tests/src/com/android/services/telephony/
DTelephonyConnectionServiceTest.java4756 private AsyncResult getSuppServiceNotification(int notificationType, int code) { in getSuppServiceNotification() argument
4758 notification.notificationType = notificationType; in getSuppServiceNotification()
/packages/modules/Wifi/service/java/com/android/server/wifi/
DWifiMetrics.java4397 public void incrementConnectToNetworkNotification(String notifierTag, int notificationType) { in incrementConnectToNetworkNotification() argument
4399 int count = mConnectToNetworkNotificationCount.get(notificationType); in incrementConnectToNetworkNotification()
4400 mConnectToNetworkNotificationCount.put(notificationType, count + 1); in incrementConnectToNetworkNotification()
4406 int notificationType, int actionType) { in incrementConnectToNetworkNotificationAction() argument
4408 int key = notificationType * CONNECT_TO_NETWORK_NOTIFICATION_ACTION_KEY_MULTIPLIER in incrementConnectToNetworkNotificationAction()