Home
last modified time | relevance | path

Searched refs:notificationType (Results 1 – 20 of 20) 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/Connectivity/tests/cts/hostside-network-policy/app2/src/com/android/cts/netpolicy/hostside/app2/
DMyBroadcastReceiver.java126 String notificationType ) { in sendNotification() argument
127 Log.d(TAG, "sendNotification: id=" + notificationId + ", type=" + notificationType); in sendNotification()
138 switch (notificationType) { in sendNotification()
180 Log.e(TAG, "Unknown notification type: " + notificationType); in sendNotification()
DMyService.java94 public void sendNotification(int notificationId, String notificationType) {
96 notificationId, notificationType);
/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/Connectivity/tests/cts/hostside-network-policy/app/src/com/android/cts/netpolicy/hostside/
DMyServiceClient.java112 public void sendNotification(int notificationId, String notificationType) in sendNotification() argument
115 mService.sendNotification(notificationId, notificationType); in sendNotification()
DAbstractRestrictBackgroundNetworkTestCase.java1101 protected void sendNotification(int notificationId, String notificationType) throws Exception {
1103 + ", type=" + notificationType);
1104 mServiceClient.sendNotification(notificationId, notificationType);
/packages/modules/HealthFitness/service/java/com/android/server/healthconnect/migration/notification/
DMigrationNotificationSender.java65 @MigrationNotificationType int notificationType, @NonNull UserHandle userHandle) { in sendNotification()
73 mNotificationFactory.createNotification(notificationType, CHANNEL_ID); in sendNotification()
DMigrationNotificationFactory.java117 @MigrationNotificationSender.MigrationNotificationType int notificationType, in createNotification()
122 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/Connectivity/tests/cts/hostside-network-policy/aidl/com/android/cts/netpolicy/hostside/
DIMyService.aidl29 void sendNotification(int notificationId, String notificationType); in sendNotification() argument
/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/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/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/modules/Connectivity/service/src/com/android/server/
DConnectivityService.java10128 int notificationType) {
10129 if (notificationType == ConnectivityManager.CALLBACK_AVAILABLE && !nri.mPendingIntentSent) {
10203 @Nullable final NetworkAgentInfo networkAgent, final int notificationType,
10217 if (notificationType != ConnectivityManager.CALLBACK_UNAVAIL) {
10222 switch (notificationType) {
10278 msg.what = notificationType;
10282 String notification = ConnectivityManager.getCallbackName(notificationType);
/packages/modules/Wifi/service/java/com/android/server/wifi/
DWifiMetrics.java4305 public void incrementConnectToNetworkNotification(String notifierTag, int notificationType) { in incrementConnectToNetworkNotification() argument
4307 int count = mConnectToNetworkNotificationCount.get(notificationType); in incrementConnectToNetworkNotification()
4308 mConnectToNetworkNotificationCount.put(notificationType, count + 1); in incrementConnectToNetworkNotification()
4314 int notificationType, int actionType) { in incrementConnectToNetworkNotificationAction() argument
4316 int key = notificationType * CONNECT_TO_NETWORK_NOTIFICATION_ACTION_KEY_MULTIPLIER in incrementConnectToNetworkNotificationAction()
/packages/services/Telephony/tests/src/com/android/services/telephony/
DTelephonyConnectionServiceTest.java4235 private AsyncResult getSuppServiceNotification(int notificationType, int code) { in getSuppServiceNotification() argument
4237 notification.notificationType = notificationType; in getSuppServiceNotification()