/aosp14/frameworks/base/services/core/java/com/android/server/media/ |
H A D | MediaButtonReceiverHolder.java | 120 if (pendingIntent == null) { in create() 123 int componentType = getComponentType(pendingIntent); in create() 145 mPendingIntent = pendingIntent; in MediaButtonReceiverHolder() 153 mPendingIntent = pendingIntent; in MediaButtonReceiverHolder() 284 if (pendingIntent.isBroadcast()) { in getComponentType() 286 } else if (pendingIntent.isActivity()) { in getComponentType() 288 } else if (pendingIntent.isForegroundService() || pendingIntent.isService()) { in getComponentType() 331 resolveInfos = pendingIntent.queryIntentComponents( in getComponentName() 338 resolveInfos = pendingIntent.queryIntentComponents( in getComponentName() 342 resolveInfos = pendingIntent.queryIntentComponents( in getComponentName() [all …]
|
/aosp14/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/ |
H A D | NotificationUiAdjustmentTest.java | 42 PendingIntent pendingIntent = in needReinflate_differentLength() local 56 PendingIntent pendingIntent = in needReinflate_differentLabels() local 73 PendingIntent pendingIntent = in needReinflate_differentIcons() local 81 pendingIntent).build(); in needReinflate_differentIcons() 115 PendingIntent pendingIntent = in needReinflate_differentChoices() local 126 createActionBuilder("same", R.drawable.ic_corp_icon, pendingIntent) in needReinflate_differentChoices() 130 createActionBuilder("same", R.drawable.ic_corp_icon, pendingIntent) in needReinflate_differentChoices() 142 PendingIntent pendingIntent = in needReinflate_differentRemoteInputLabel() local 153 createActionBuilder("same", R.drawable.ic_corp_icon, pendingIntent) in needReinflate_differentRemoteInputLabel() 169 PendingIntent pendingIntent = in needReinflate_negative() local [all …]
|
/aosp14/frameworks/base/wifi/java/src/android/net/wifi/sharedconnectivity/app/ |
H A D | SharedConnectivitySettingsState.java | 71 public Builder setInstantTetherSettingsPendingIntent(@NonNull PendingIntent pendingIntent) { in setInstantTetherSettingsPendingIntent() argument 72 mInstantTetherSettingsPendingIntent = pendingIntent; in setInstantTetherSettingsPendingIntent() 100 private static void validate(PendingIntent pendingIntent) { in validate() argument 101 if (pendingIntent != null && !pendingIntent.isImmutable()) { in validate() 107 PendingIntent pendingIntent, @NonNull Bundle extras) { in SharedConnectivitySettingsState() argument 108 validate(pendingIntent); in SharedConnectivitySettingsState() 110 mInstantTetherSettingsPendingIntent = pendingIntent; in SharedConnectivitySettingsState() 176 PendingIntent pendingIntent = PendingIntent.readPendingIntentOrNullFromParcel(in); in readFromParcel() local 179 return new SharedConnectivitySettingsState(instantTetherEnabled, pendingIntent, extras); in readFromParcel()
|
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/ |
H A D | ActionClickLogger.kt | 35 pendingIntent: PendingIntent 40 str3 = pendingIntent.toString() 61 pendingIntent: PendingIntent, 66 str2 = pendingIntent.toString() 74 pendingIntent: PendingIntent, 78 str1 = pendingIntent.toString() 87 pendingIntent: PendingIntent, 91 str1 = pendingIntent.toString()
|
H A D | NotificationRemoteInputManager.java | 126 mLogger.logInitialClick(entry, actionIndex, pendingIntent); 128 if (handleRemoteInput(view, pendingIntent)) { 136 logActionClick(view, entry, pendingIntent); 146 return mCallback.handleRemoteViewClick(view, pendingIntent, 216 private boolean handleRemoteInput(View view, PendingIntent pendingIntent) { 217 if (mCallback.shouldHandleRemoteInput(view, pendingIntent)) { 243 return activateRemoteInput(view, inputs, input, pendingIntent, 465 riv.getController().setPendingIntent(pendingIntent); in activateRemoteInput() 489 final int userId = pendingIntent.getCreatorUserHandle().getIdentifier(); in showBouncerForRemoteInput() 689 boolean shouldHandleRemoteInput(View view, PendingIntent pendingIntent); in shouldHandleRemoteInput() argument [all …]
|
/aosp14/frameworks/base/apct-tests/perftests/core/src/android/app/ |
H A D | PendingIntentPerfTest.java | 64 final PendingIntent pendingIntent = PendingIntent.getActivity(mContext, 0, mIntent, in create() local 68 pendingIntent.cancel(); in create() 86 final PendingIntent pendingIntent = PendingIntent.getActivity(mContext, 0, mIntent, in createWithCancelFlag() local 90 pendingIntent.cancel(); in createWithCancelFlag() 108 final PendingIntent pendingIntent = PendingIntent.getActivity(mContext, 0, mIntent, in createWithUpdateFlag() local 113 pendingIntent.cancel(); in createWithUpdateFlag() 126 final PendingIntent pendingIntent = PendingIntent.getActivity(mContext, 0, in cancel() local 130 pendingIntent.cancel(); in cancel()
|
/aosp14/frameworks/base/packages/SettingsLib/Spa/tests/src/com/android/settingslib/spa/slice/ |
H A D | SliceUtilTest.kt | 71 val pendingIntent = sliceUriWithoutParams.createBroadcastPendingIntent() regex 72 assertThat(pendingIntent).isNotNull() 73 assertThat(pendingIntent!!.isBroadcast).isTrue() 74 assertThat(pendingIntent.isImmutable).isFalse() 91 val pendingIntent = sliceUri.createBrowsePendingIntent() regex 92 assertThat(pendingIntent).isNotNull() 93 assertThat(pendingIntent!!.isActivity).isTrue() 94 assertThat(pendingIntent.isImmutable).isTrue()
|
/aosp14/frameworks/base/services/tests/servicestests/src/com/android/server/location/contexthub/ |
H A D | ContextHubClientBrokerTest.java | 85 private ContextHubClientBroker createFromPendingIntent(PendingIntent pendingIntent) { in createFromPendingIntent() argument 93 pendingIntent, in createFromPendingIntent() 150 PendingIntent pendingIntent = PendingIntent.getBroadcast(mContext, 0, new Intent(), 0); in testWakeLock_pendingIntent() local 151 ContextHubClientBroker broker = createFromPendingIntent(pendingIntent); in testWakeLock_pendingIntent() 171 broker.doSendPendingIntent(pendingIntent, new Intent(), onFinishedCallback); in testWakeLock_pendingIntent() 180 PendingIntent pendingIntent = PendingIntent.getBroadcast(mContext, 0, new Intent(), 0); in testWakeLock_pendingIntent_multipleTimes() local 181 ContextHubClientBroker broker = createFromPendingIntent(pendingIntent); in testWakeLock_pendingIntent_multipleTimes() 201 broker.doSendPendingIntent(pendingIntent, new Intent(), onFinishedCallback); in testWakeLock_pendingIntent_multipleTimes() 202 broker.doSendPendingIntent(pendingIntent, new Intent(), onFinishedCallback); in testWakeLock_pendingIntent_multipleTimes() 203 broker.doSendPendingIntent(pendingIntent, new Intent(), onFinishedCallback); in testWakeLock_pendingIntent_multipleTimes() [all …]
|
/aosp14/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/controls/ui/ |
H A D | DetailDialogTest.kt | 53 private lateinit var pendingIntent: PendingIntent 67 val dialog = createDialog(pendingIntent) 73 verify(taskView).startActivity(eq(pendingIntent), any(), any(), any()) 79 val dialog = createDialog(pendingIntent) 95 private fun createDialog(pendingIntent: PendingIntent): DetailDialog { 100 pendingIntent,
|
/aosp14/frameworks/base/services/core/java/com/android/server/location/geofence/ |
H A D | GeofenceManager.java | 84 GeofenceKey(PendingIntent pendingIntent, Geofence geofence) { in GeofenceKey() argument 85 mPendingIntent = Objects.requireNonNull(pendingIntent); in GeofenceKey() 132 PendingIntent pendingIntent) { in GeofenceRegistration() argument 133 super(pendingIntent); in GeofenceRegistration() 243 return pendingIntent -> sendIntent(pendingIntent, true); in onLocationChanged() 249 return pendingIntent -> sendIntent(pendingIntent, false); in onLocationChanged() 256 private void sendIntent(PendingIntent pendingIntent, boolean entering) { in sendIntent() argument 353 attributionTag, AppOpsManager.toReceiverId(pendingIntent)); in addGeofence() 357 putRegistration(new GeofenceKey(pendingIntent, geofence), in addGeofence() 358 new GeofenceRegistration(geofence, identity, pendingIntent)); in addGeofence() [all …]
|
/aosp14/frameworks/base/services/core/java/com/android/server/biometrics/sensors/ |
H A D | BiometricNotificationUtils.java | 76 final PendingIntent pendingIntent = PendingIntent.getActivityAsUser(context, in showReEnrollmentNotification() local 80 showNotificationHelper(context, name, title, content, pendingIntent, FACE_RE_ENROLL_CHANNEL, in showReEnrollmentNotification() 100 final PendingIntent pendingIntent = PendingIntent.getActivityAsUser(context, in showFaceEnrollNotification() local 104 showNotificationHelper(context, name, title, content, pendingIntent, FACE_ENROLL_CHANNEL, in showFaceEnrollNotification() 124 final PendingIntent pendingIntent = PendingIntent.getActivityAsUser(context, in showFingerprintEnrollNotification() local 128 showNotificationHelper(context, name, title, content, pendingIntent, in showFingerprintEnrollNotification() 159 final PendingIntent pendingIntent = PendingIntent.getActivityAsUser(context, in showBadCalibrationNotification() local 163 showNotificationHelper(context, name, title, content, pendingIntent, in showBadCalibrationNotification() 169 String content, PendingIntent pendingIntent, String category, in showNotificationHelper() argument 185 .setContentIntent(pendingIntent) in showNotificationHelper()
|
/aosp14/frameworks/base/core/java/android/view/translation/ |
H A D | TranslationManager.java | 312 @NonNull PendingIntent pendingIntent) { in addOnDeviceTranslationCapabilityUpdateListener() argument 313 Objects.requireNonNull(pendingIntent, "pending intent should not be null"); in addOnDeviceTranslationCapabilityUpdateListener() 318 (formats) -> new ArrayList<>()).add(pendingIntent); in addOnDeviceTranslationCapabilityUpdateListener() 330 @NonNull PendingIntent pendingIntent) { in addTranslationCapabilityUpdateListener() argument 369 @NonNull PendingIntent pendingIntent) { in removeOnDeviceTranslationCapabilityUpdateListener() argument 370 Objects.requireNonNull(pendingIntent, "pending intent should not be null"); in removeOnDeviceTranslationCapabilityUpdateListener() 377 if (intents.contains(pendingIntent)) { in removeOnDeviceTranslationCapabilityUpdateListener() 378 intents.remove(pendingIntent); in removeOnDeviceTranslationCapabilityUpdateListener() 380 Log.w(TAG, "pending intent=" + pendingIntent + " does not exist in " in removeOnDeviceTranslationCapabilityUpdateListener() 398 @NonNull PendingIntent pendingIntent) { in removeTranslationCapabilityUpdateListener() argument [all …]
|
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/ |
H A D | RemoteInputViewController.kt | 59 var pendingIntent: PendingIntent? 98 pendingIntent = other.pendingIntent 145 override var pendingIntent: PendingIntent? = null 195 val current: Intent = pendingIntent?.intent ?: return false 201 pendingIntent = actionIntent 236 val pendingIntent = pendingIntent ?: run { regex 241 sendRemoteInput(pendingIntent, intent) 244 private fun sendRemoteInput(pendingIntent: PendingIntent, intent: Intent) { 282 pendingIntent.send(view.context, 0, intent, null, null, null, options.toBundle())
|
/aosp14/frameworks/base/packages/CredentialManager/src/com/android/credentialmanager/getflow/ |
H A D | GetModel.kt | 91 pendingIntent: PendingIntent?, 108 pendingIntent, 117 pendingIntent: PendingIntent?, 130 pendingIntent, 139 pendingIntent: PendingIntent?, 145 pendingIntent, 154 pendingIntent: PendingIntent?, 163 pendingIntent,
|
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/screenshot/ |
H A D | SmartActionsReceiver.java | 50 PendingIntent pendingIntent = in onReceive() local 55 Log.d(TAG, "Executing smart action [" + actionType + "]:" + pendingIntent.getIntent()); in onReceive() 61 pendingIntent.send(context, 0, fillIn, null, null, null, opts.toBundle()); in onReceive() 68 pendingIntent.getIntent()); in onReceive()
|
/aosp14/frameworks/base/libs/WindowManager/Shell/tests/unittest/src/com/android/wm/shell/splitscreen/ |
H A D | SplitScreenControllerTests.java | 188 PendingIntent pendingIntent = in testStartIntent_appendsNoUserActionFlag() local 191 mSplitScreenController.startIntent(pendingIntent, mContext.getUserId(), null, in testStartIntent_appendsNoUserActionFlag() 194 verify(mStageCoordinator).startIntent(eq(pendingIntent), mIntentCaptor.capture(), in testStartIntent_appendsNoUserActionFlag() 204 PendingIntent pendingIntent = in startIntent_multiInstancesSupported_appendsMultipleTaskFag() local 211 mSplitScreenController.startIntent(pendingIntent, mContext.getUserId(), null, in startIntent_multiInstancesSupported_appendsMultipleTaskFag() 225 PendingIntent pendingIntent = in startIntent_multiInstancesSupported_startTaskInBackgroundBeforeSplitActivated() local 235 mSplitScreenController.startIntent(pendingIntent, mContext.getUserId(), null, in startIntent_multiInstancesSupported_startTaskInBackgroundBeforeSplitActivated() 247 PendingIntent pendingIntent = in startIntent_multiInstancesSupported_startTaskInBackgroundAfterSplitActivated() local 259 mSplitScreenController.startIntent(pendingIntent, mContext.getUserId(), null, in startIntent_multiInstancesSupported_startTaskInBackgroundAfterSplitActivated() 270 PendingIntent pendingIntent = in startIntent_multiInstancesNotSupported_switchesPositionAfterSplitActivated() local [all …]
|
/aosp14/frameworks/base/core/java/android/credentials/ |
H A D | PrepareGetCredentialResponse.java | 65 @Nullable PendingIntent pendingIntent) { in PendingGetCredentialHandle() argument 67 mPendingIntent = pendingIntent; in PendingGetCredentialHandle() 82 public void onPendingIntent(PendingIntent pendingIntent) { in show() 84 context.startIntentSender(pendingIntent.getIntentSender(), null, 0, 0, 0); in show() 175 void onPendingIntent(@NonNull PendingIntent pendingIntent); in onPendingIntent() argument
|
/aosp14/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/common/split/ |
H A D | SplitScreenUtils.java | 67 public static String getPackageName(PendingIntent pendingIntent) { in getPackageName() argument 68 if (pendingIntent == null || pendingIntent.getIntent() == null) { in getPackageName() 71 return getPackageName(pendingIntent.getIntent()); in getPackageName()
|
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/ |
H A D | StatusBarNotificationActivityStarterLogger.kt | 65 fun logSendPendingIntent(entry: NotificationEntry, pendingIntent: PendingIntent, result: Int) { 68 str2 = pendingIntent.intent.toString() 107 fun logSendingFullScreenIntent(entry: NotificationEntry, pendingIntent: PendingIntent) { 110 str2 = pendingIntent.intent.toString()
|
/aosp14/frameworks/base/packages/CredentialManager/src/com/android/credentialmanager/createflow/ |
H A D | CreateModel.kt | 82 pendingIntent: PendingIntent?, 96 pendingIntent, 105 pendingIntent: PendingIntent?, 111 pendingIntent,
|
/aosp14/frameworks/base/services/core/java/com/android/server/location/contexthub/ |
H A D | ContextHubClientBroker.java | 305 mPendingIntent = pendingIntent; in PendingIntentRequest() 340 PendingIntent pendingIntent, in ContextHubClientBroker() argument 349 if (pendingIntent == null) { in ContextHubClientBroker() 412 PendingIntent pendingIntent, in ContextHubClientBroker() argument 425 pendingIntent, in ContextHubClientBroker() 672 PendingIntent pendingIntent; in hasPendingIntent() local 678 return (pendingIntent != null) in hasPendingIntent() 679 && pendingIntent.equals(intent) in hasPendingIntent() 953 PendingIntent pendingIntent, in doSendPendingIntent() argument 959 pendingIntent.send( in doSendPendingIntent() [all …]
|
/aosp14/frameworks/base/core/java/android/service/quickaccesswallet/ |
H A D | WalletCard.java | 132 PendingIntent pendingIntent = PendingIntent.readPendingIntentOrNullFromParcel(source); in readFromParcel() local 138 new Builder(cardId, cardType, cardImage, contentDesc, pendingIntent) in readFromParcel() 308 @NonNull PendingIntent pendingIntent in Builder() argument 314 mPendingIntent = pendingIntent; in Builder() 324 @NonNull PendingIntent pendingIntent) { in Builder() argument 326 pendingIntent); in Builder()
|
/aosp14/frameworks/base/packages/CredentialManager/src/com/android/credentialmanager/ |
H A D | DataConverter.kt | 247 pendingIntent = credentialEntry.pendingIntent, 266 pendingIntent = credentialEntry.pendingIntent, 285 pendingIntent = credentialEntry.pendingIntent, 343 pendingIntent = structuredAuthEntry.pendingIntent, 366 pendingIntent = structuredRemoteEntry.pendingIntent, 386 pendingIntent = actionEntryUi.pendingIntent, 659 pendingIntent = createEntry.pendingIntent, 692 pendingIntent = structuredRemoteEntry.pendingIntent,
|
/aosp14/frameworks/base/packages/CarrierDefaultApp/src/com/android/carrierdefaultapp/ |
H A D | SlicePurchaseBroadcastReceiver.java | 111 PendingIntent pendingIntent = intent.getParcelableExtra(extra, PendingIntent.class); in sendSlicePurchaseAppResponse() local 112 if (pendingIntent == null) { in sendSlicePurchaseAppResponse() 117 pendingIntent.send(); in sendSlicePurchaseAppResponse() 134 PendingIntent pendingIntent = intent.getParcelableExtra(extra, PendingIntent.class); in sendSlicePurchaseAppResponseWithData() local 135 if (pendingIntent == null) { in sendSlicePurchaseAppResponseWithData() 140 pendingIntent.send(context, 0 /* unused */, data); in sendSlicePurchaseAppResponseWithData() 254 PendingIntent pendingIntent = intent.getParcelableExtra(extra, PendingIntent.class); in isPendingIntentValid() local 255 if (pendingIntent == null) { in isPendingIntentValid() 259 String creatorPackage = pendingIntent.getCreatorPackage(); in isPendingIntentValid() 267 if (!pendingIntent.isBroadcast()) { in isPendingIntentValid()
|
/aosp14/frameworks/base/services/core/java/com/android/server/notification/ |
H A D | CountdownConditionProvider.java | 119 final PendingIntent pendingIntent = getPendingIntent(conditionId); in onSubscribe() local 120 alarms.cancel(pendingIntent); in onSubscribe() 130 alarms.setExact(AlarmManager.RTC_WAKEUP, mTime, pendingIntent); in onSubscribe() 144 final PendingIntent pendingIntent = PendingIntent.getBroadcast(mContext, REQUEST_CODE, in getPendingIntent() local 146 return pendingIntent; in getPendingIntent()
|