Home
last modified time | relevance | path

Searched refs:contentIntent (Results 1 – 25 of 46) sorted by relevance

12

/aosp12/frameworks/base/core/tests/coretests/src/android/debug/
H A DAdbNotificationsTest.java61 if (notification.contentIntent != null) { in testCreateNotification_UsbTransportType()
62 assertFalse(TextUtils.isEmpty(notification.contentIntent.getIntent().getPackage())); in testCreateNotification_UsbTransportType()
81 if (notification.contentIntent != null) { in testCreateNotification_WifiTransportType()
82 assertFalse(TextUtils.isEmpty(notification.contentIntent.getIntent().getPackage())); in testCreateNotification_WifiTransportType()
/aosp12/packages/apps/Settings/src/com/android/settings/sim/
H A DSimActivationNotifier.java144 PendingIntent contentIntent = in sendNetworkConfigNotification() local
153 .setContentIntent(contentIntent) in sendNetworkConfigNotification()
165 PendingIntent contentIntent = in sendSwitchedToRemovableSlotNotification() local
180 .setContentIntent(contentIntent) in sendSwitchedToRemovableSlotNotification()
201 PendingIntent contentIntent = in sendEnableDsdsNotification() local
212 .setContentIntent(contentIntent) in sendEnableDsdsNotification()
/aosp12/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/row/
H A DExpandableNotificationRowDragController.java87 final PendingIntent contentIntent = notification.contentIntent != null in startDragAndDrop() local
88 ? notification.contentIntent in startDragAndDrop()
100 dragIntent.putExtra("android.intent.extra.PENDING_INTENT", contentIntent); in startDragAndDrop()
/aosp12/packages/apps/Dialer/java/com/android/dialer/spam/promo/
H A DSpamBlockingPromoHelper.java160 PendingIntent contentIntent, in showSpamBlockingPromoNotification() argument
169 getSpamBlockingPromoNotification(contentIntent, actionIntent)); in showSpamBlockingPromoNotification()
180 PendingIntent contentIntent, PendingIntent actionIntent) { in getSpamBlockingPromoNotification() argument
183 .setContentIntent(contentIntent) in getSpamBlockingPromoNotification()
/aosp12/packages/apps/Dialer/java/com/android/dialer/app/calllog/
H A DLegacyVoicemailNotifier.java112 PendingIntent contentIntent; in createNotification() local
115 contentIntent = callVoicemailIntent; in createNotification()
118 contentIntent = voicemailSettingsIntent; in createNotification()
128 .setContentIntent(contentIntent) in createNotification()
H A DMissedCallNotifier.java461 Intent contentIntent = MainComponent.getShowCallLogIntent(context); in createCallLogPendingIntent() local
464 contentIntent.setData(callUri); in createCallLogPendingIntent()
465 return PendingIntent.getActivity(context, 0, contentIntent, PendingIntent.FLAG_UPDATE_CURRENT); in createCallLogPendingIntent()
/aosp12/packages/apps/Settings/src/com/android/settings/slices/
H A DSliceBuilderUtils.java258 final PendingIntent contentIntent = getContentPendingIntent(context, sliceData); in buildToggleSlice() local
270 SliceAction.createDeeplink(contentIntent, icon, in buildToggleSlice()
286 final PendingIntent contentIntent = getContentPendingIntent(context, sliceData); in buildIntentSlice() local
294 SliceAction.createDeeplink(contentIntent, icon, in buildIntentSlice()
316 final PendingIntent contentIntent = getContentPendingIntent(context, sliceData); in buildSliderSlice() local
320 final SliceAction primaryAction = SliceAction.createDeeplink(contentIntent, icon, in buildSliderSlice()
356 final PendingIntent contentIntent = getContentPendingIntent(context, sliceData); in buildCopyableSlice() local
358 final SliceAction primaryAction = SliceAction.createDeeplink(contentIntent, icon, in buildCopyableSlice()
/aosp12/frameworks/base/services/core/java/com/android/server/am/
H A DPreBootBroadcaster.java161 final PendingIntent contentIntent;
163 contentIntent = PendingIntent.getActivity(context, 0, intent,
166 contentIntent = null;
179 .setContentIntent(contentIntent)
/aosp12/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/phone/
H A DStatusBarNotificationActivityStarterTest.java167 sbn.getNotification().contentIntent = mContentIntent; in setUp()
173 bubbleSbn.getNotification().contentIntent = mContentIntent; in setUp()
254 sbn.getNotification().contentIntent = mContentIntent; in testOnNotificationClicked_keyGuardShowing()
285 sbn.getNotification().contentIntent = null; in testOnNotificationClicked_bubble_noContentIntent_noKeyGuard()
315 sbn.getNotification().contentIntent = null; in testOnNotificationClicked_bubble_noContentIntent_keyGuardShowing()
345 sbn.getNotification().contentIntent = mContentIntent; in testOnNotificationClicked_bubble_withContentIntent_keyGuardShowing()
/aosp12/packages/apps/DeskClock/src/com/android/deskclock/alarms/
H A DAlarmNotifications.kt311 summary.contentIntent != firstUpcoming.contentIntent) {
314 .setContentIntent(firstUpcoming.contentIntent)
355 summary.contentIntent != firstMissed.contentIntent) {
365 .setContentIntent(firstMissed.contentIntent)
533 val contentIntent: Intent = AlarmInstance.createIntent(service, AlarmActivity::class.java,
536 ALARM_FIRING_NOTIFICATION_ID, contentIntent, PendingIntent.FLAG_UPDATE_CURRENT))
/aosp12/frameworks/base/packages/PackageInstaller/src/com/android/packageinstaller/
H A DPackageInstalledNotificationUtils.java271 PendingIntent contentIntent = getInstallerEntranceIntent(); in getGroupNotificationBuilder() local
283 .setContentIntent(contentIntent) in getGroupNotificationBuilder()
296 PendingIntent contentIntent = getInstalledAppLaunchIntent(); in getAppInstalledNotificationBuilder() local
312 .setContentIntent(contentIntent) in getAppInstalledNotificationBuilder()
/aosp12/packages/services/Car/tests/carservice_unit_test/src/com/android/car/admin/
H A DNewUserDisclaimerActivityTest.java162 .that(notification.contentIntent) in assertNotificationContents()
165 .that(notification.contentIntent.isImmutable()).isTrue(); in assertNotificationContents()
170 intent = notification.contentIntent.getIntent(); in assertNotificationContents()
/aosp12/packages/modules/Connectivity/tests/cts/hostside/app/src/com/android/cts/net/hostside/
H A DMyNotificationListenerService.java49 if (notification.contentIntent != null) { in onNotificationPosted()
50 sender.send("content", notification.contentIntent); in onNotificationPosted()
/aosp12/packages/apps/StorageManager/src/com/android/storagemanager/automatic/
H A DNotificationController.java196 Intent contentIntent = getBaseIntent(context, INTENT_ACTION_TAP); in showNotification() local
197 contentIntent.putExtra(INTENT_EXTRA_ID, NOTIFICATION_ID); in showNotification()
198 PendingIntent tapIntent = PendingIntent.getBroadcast(context, 0, contentIntent, in showNotification()
/aosp12/frameworks/base/libs/WindowManager/Shell/tests/flicker/src/com/android/wm/shell/flicker/pip/tv/
H A DTvPipNotificationTests.kt97 notification.contentIntent?.send()
165 private val StatusBarNotification.contentIntent: PendingIntent?
/aosp12/packages/apps/Car/Notification/src/com/android/car/notification/
H A DCarNotificationDiff.java219 || !Objects.equals(oldNotification.contentIntent, newNotification.contentIntent) in sameNotificationContent()
H A DNotificationClickHandlerFactory.java101 final PendingIntent intent = notification.contentIntent != null in getClickHandler()
102 ? notification.contentIntent in getClickHandler()
/aosp12/packages/services/Telephony/src/com/android/phone/
H A DEmergencyCallbackModeService.java195 PendingIntent contentIntent = PendingIntent.getActivity(this, 0, intent, in showNotification() local
197 builder.setContentIntent(contentIntent); in showNotification()
H A DNotificationMgr.java617 PendingIntent contentIntent = PendingIntent.getActivity( in showDataRoamingNotification() local
633 .setContentIntent(contentIntent); in showDataRoamingNotification()
691 PendingIntent contentIntent = PendingIntent.getActivity(mContext, 0, in showLimitedSimFunctionWarningNotification() local
717 .setContentIntent(contentIntent); in showLimitedSimFunctionWarningNotification()
/aosp12/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/
H A DDisconnectedCallNotifierTest.java93 assertNotNull(notification.contentIntent); in testNotificationShownAfterEmergencyCall()
116 assertNull(notification.contentIntent); in testNotificationShownForDisconnectedEmergencyCall()
/aosp12/packages/apps/Bluetooth/src/com/android/bluetooth/opp/
H A DBluetoothOppNotification.java448 Intent contentIntent = new Intent(Constants.ACTION_OPEN_OUTBOUND_TRANSFER).setClassName( in updateCompletedNotification() local
466 PendingIntent.getBroadcast(mContext, 0, contentIntent, in updateCompletedNotification()
518 Intent contentIntent = new Intent(Constants.ACTION_OPEN_INBOUND_TRANSFER).setClassName( in updateCompletedNotification() local
535 PendingIntent.getBroadcast(mContext, 0, contentIntent, in updateCompletedNotification()
/aosp12/packages/apps/Car/Notification/tests/unit/src/com/android/car/notification/
H A DNotificationClickHandlerFactoryTest.java118 notification1.contentIntent = PendingIntent.getForegroundService( in setUp()
120 notification2.contentIntent = PendingIntent.getForegroundService( in setUp()
159 mAlertEntry1.getNotification().contentIntent = null; in onClickClickHandler_noIntent_returnsImmediately()
/aosp12/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/tv/notifications/
H A DTvNotificationAdapter.java64 holder.mPendingIntent = notification.contentIntent; in onBindViewHolder()
/aosp12/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/phone/ongoingcall/
H A DOngoingCallControllerTest.kt435 val pendingIntent = notifEntry.sbn.notification.contentIntent
584 val contentIntent = mock(PendingIntent::class.java) regex
585 notificationEntryBuilder.modifyNotification(context).setContentIntent(contentIntent)
/aosp12/frameworks/base/packages/CarrierDefaultApp/tests/unit/src/com/android/carrierdefaultapp/
H A DCarrierDefaultReceiverTest.java101 PendingIntent pendingIntent = mNotification.getValue().contentIntent; in testOnReceiveRedirection()

12