Home
last modified time | relevance | path

Searched refs:mPendingIntent (Results 1 – 25 of 40) sorted by relevance

12

/frameworks/base/packages/SettingsLib/SchedulesProvider/src/com/android/settingslib/schedulesprovider/
DScheduleInfo.java37 private final PendingIntent mPendingIntent; field in ScheduleInfo
42 mPendingIntent = builder.mPendingIntent; in ScheduleInfo()
48 mPendingIntent = in.readParcelable(PendingIntent.class.getClassLoader()); in ScheduleInfo()
70 return mPendingIntent; in getPendingIntent()
80 && (mPendingIntent != null); in isValid()
87 dest.writeParcelable(mPendingIntent, flags); in writeToParcel()
110 return "title: " + mTitle + ", summary: " + mSummary + ", pendingIntent: " + mPendingIntent; in toString()
119 private PendingIntent mPendingIntent; field in ScheduleInfo.Builder
152 mPendingIntent = pendingIntent; in setPendingIntent()
/frameworks/base/core/java/android/app/smartspace/uitemplatedata/
DTapAction.java55 private final PendingIntent mPendingIntent; field in TapAction
72 mPendingIntent = in.readTypedObject(PendingIntent.CREATOR); in TapAction()
83 mPendingIntent = pendingIntent; in TapAction()
105 return mPendingIntent; in getPendingIntent()
133 out.writeTypedObject(mPendingIntent, flags); in writeToParcel()
175 + ", mPendingIntent=" + mPendingIntent in toString()
192 private PendingIntent mPendingIntent; field in TapAction.Builder
221 mPendingIntent = pendingIntent; in setPendingIntent()
261 if (mIntent == null && mPendingIntent == null && mExtras == null) { in build()
264 return new TapAction(mId, mIntent, mPendingIntent, mUserHandle, mExtras, in build()
/frameworks/base/core/java/android/text/style/
DEasyEditSpan.java58 private final PendingIntent mPendingIntent; field in EasyEditSpan
67 mPendingIntent = null; in EasyEditSpan()
77 mPendingIntent = pendingIntent; in EasyEditSpan()
85 mPendingIntent = source.readParcelable(null, android.app.PendingIntent.class); in EasyEditSpan()
101 dest.writeParcelable(mPendingIntent, 0); in writeToParcelInternal()
142 return mPendingIntent; in getPendingIntent()
/frameworks/base/core/java/android/service/settings/suggestions/
DSuggestion.java64 private final PendingIntent mPendingIntent; field in Suggestion
107 return mPendingIntent; in getPendingIntent()
116 mPendingIntent = builder.mPendingIntent; in Suggestion()
125mPendingIntent = in.readParcelable(PendingIntent.class.getClassLoader(), android.app.PendingIntent… in Suggestion()
152 dest.writeParcelable(mPendingIntent, flags); in writeToParcel()
165 private PendingIntent mPendingIntent; field in Suggestion.Builder
211 mPendingIntent = pendingIntent; in setPendingIntent()
/frameworks/base/core/java/android/app/search/
DSearchAction.java61 private final PendingIntent mPendingIntent; field in SearchAction
78 mPendingIntent = in.readTypedObject(PendingIntent.CREATOR); in SearchAction()
99 mPendingIntent = pendingIntent; in SearchAction()
104 if (mPendingIntent == null && mIntent == null) { in SearchAction()
107 if (mPendingIntent != null && mIntent != null) { in SearchAction()
151 return mPendingIntent; in getPendingIntent()
201 out.writeTypedObject(mPendingIntent, flags); in writeToParcel()
214 + " pendingIntent=" + (mPendingIntent == null ? "" : mPendingIntent.getIntent()) in toString()
253 private PendingIntent mPendingIntent; field in SearchAction.Builder
304 mPendingIntent = pendingIntent; in setPendingIntent()
[all …]
/frameworks/base/core/java/android/service/quicksettings/
DTile.java71 private PendingIntent mPendingIntent; field in Tile
249 return mPendingIntent; in getActivityLaunchForClick()
266 mPendingIntent = pendingIntent; in setActivityLaunchForClick()
278 if (mPendingIntent != null) { in writeToParcel()
280 mPendingIntent.writeToParcel(dest, flags); in writeToParcel()
299 mPendingIntent = PendingIntent.CREATOR.createFromParcel(source); in readFromParcel()
301 mPendingIntent = null; in readFromParcel()
/frameworks/base/core/java/android/app/smartspace/
DSmartspaceAction.java72 private final PendingIntent mPendingIntent; field in SmartspaceAction
89 mPendingIntent = in.readTypedObject(PendingIntent.CREATOR); in SmartspaceAction()
110 mPendingIntent = pendingIntent; in SmartspaceAction()
155 return mPendingIntent; in getPendingIntent()
205 out.writeTypedObject(mPendingIntent, flags); in writeToParcel()
219 + ", mPendingIntent=" + mPendingIntent in toString()
259 private PendingIntent mPendingIntent; field in SmartspaceAction.Builder
313 mPendingIntent = pendingIntent; in setPendingIntent()
356 mPendingIntent, mIntent, mUserHandle, mExtras); in build()
/frameworks/base/core/java/android/credentials/
DPrepareGetCredentialResponseInternal.java55 private final PendingIntent mPendingIntent; field in PrepareGetCredentialResponseInternal
59 return mPendingIntent; in getPendingIntent()
109 dest.writeTypedObject(mPendingIntent, flags); in writeToParcel()
144 mPendingIntent = pendingIntent; in PrepareGetCredentialResponseInternal()
152 mPendingIntent = in.readTypedObject(PendingIntent.CREATOR); in PrepareGetCredentialResponseInternal()
DPrepareGetCredentialResponse.java65 private final PendingIntent mPendingIntent; field in PrepareGetCredentialResponse.PendingGetCredentialHandle
72 mPendingIntent = pendingIntent; in PendingGetCredentialHandle()
79 if (mPendingIntent == null) { in show()
111 context.startIntentSender(mPendingIntent.getIntentSender(), null, 0, 0, 0, in show()
/frameworks/base/packages/CarrierDefaultApp/tests/unit/src/com/android/carrierdefaultapp/
DSlicePurchaseBroadcastReceiverTest.java71 @Mock PendingIntent mPendingIntent; field in SlicePurchaseBroadcastReceiverTest
106 verify(mPendingIntent, never()).send(); in testSendSlicePurchaseAppResponse()
108 doReturn(mPendingIntent).when(mIntent).getParcelableExtra( in testSendSlicePurchaseAppResponse()
111 verify(mPendingIntent).send(); in testSendSlicePurchaseAppResponse()
118 verify(mPendingIntent, never()).send(eq(mContext), eq(0), any(Intent.class)); in testSendSlicePurchaseAppResponseWithData()
120 doReturn(mPendingIntent).when(mIntent).getParcelableExtra( in testSendSlicePurchaseAppResponseWithData()
125 verify(mPendingIntent).send(eq(mContext), eq(0), captor.capture()); in testSendSlicePurchaseAppResponseWithData()
146 doReturn(TelephonyManager.PHONE_PROCESS_NAME).when(mPendingIntent).getCreatorPackage(); in testIsIntentValid()
147 doReturn(true).when(mPendingIntent).isBroadcast(); in testIsIntentValid()
148 doReturn(mPendingIntent).when(mIntent).getParcelableExtra( in testIsIntentValid()
[all …]
DSlicePurchaseActivityTest.java59 @Mock PendingIntent mPendingIntent; field in SlicePurchaseActivityTest
109 doReturn(TelephonyManager.PHONE_PROCESS_NAME).when(mPendingIntent).getCreatorPackage(); in setUp()
110 doReturn(true).when(mPendingIntent).isBroadcast(); in setUp()
111 doReturn(mPendingIntent).when(spiedIntent).getParcelableExtra( in setUp()
142 verify(mPendingIntent).send(eq(mContext), eq(0), intentCaptor.capture()); in testOnPurchaseFailed()
/frameworks/opt/net/voip/src/java/com/android/server/sip/
DSipWakeupTimer.java48 private PendingIntent mPendingIntent; field in SipWakeupTimer
67 if (mPendingIntent != null) { in stop()
68 mAlarmManager.cancel(mPendingIntent); in stop()
69 mPendingIntent = null; in stop()
85 mAlarmManager.cancel(mPendingIntent); in cancelAlarm()
86 mPendingIntent = null; in cancelAlarm()
210 if (mPendingIntent != null) { in scheduleNext()
217 PendingIntent pendingIntent = mPendingIntent = in scheduleNext()
230 mPendingIntent = null; in onReceive()
/frameworks/base/core/java/android/service/quickaccesswallet/
DWalletCard.java68 private final PendingIntent mPendingIntent; field in WalletCard
79 this.mPendingIntent = builder.mPendingIntent; in WalletCard()
109 PendingIntent.writePendingIntentOrNullToParcel(mPendingIntent, dest); in writeToParcel()
206 return mPendingIntent; in getPendingIntent()
271 private PendingIntent mPendingIntent; field in WalletCard.Builder
314 mPendingIntent = pendingIntent; in Builder()
/frameworks/base/services/core/java/com/android/server/media/
DMediaButtonReceiverHolder.java70 private final PendingIntent mPendingIntent; field in MediaButtonReceiverHolder
145 mPendingIntent = pendingIntent; in MediaButtonReceiverHolder()
153 mPendingIntent = pendingIntent; in MediaButtonReceiverHolder()
205 if (mPendingIntent != null) { in send()
208 + mPendingIntent); in send()
211 mPendingIntent.send( in send()
215 Log.w(TAG, "Error sending key event to media button receiver " + mPendingIntent, e); in send()
256 sb.append("MBR {pi=").append(mPendingIntent); in toString()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/complication/
DDreamMediaEntryComplicationTest.java88 private PendingIntent mPendingIntent; field in DreamMediaEntryComplicationTest
166 mPendingIntent); in testClickToOpenMediaOverLockscreen()
168 when(mPendingIntent.getIntent()).thenReturn(mIntent); in testClickToOpenMediaOverLockscreen()
203 mPendingIntent); in testClickToOpenMediaDismissingLockscreen()
205 when(mPendingIntent.getIntent()).thenReturn(mIntent); in testClickToOpenMediaDismissingLockscreen()
229 verify(mActivityStarter).postStartActivityDismissingKeyguard(mPendingIntent, null); in testClickToOpenMediaDismissingLockscreen()
/frameworks/base/core/tests/coretests/src/android/service/controls/
DControlProviderServiceTest.java93 private PendingIntent mPendingIntent; field in ControlProviderServiceTest
116 mPendingIntent = new PendingIntent(mIIntentSender); in setUp()
126 Control control1 = new Control.StatelessBuilder("TEST_ID", mPendingIntent).build(); in testOnLoad_allStateless()
127 Control control2 = new Control.StatelessBuilder("TEST_ID_2", mPendingIntent) in testOnLoad_allStateless()
157 Control control = new Control.StatefulBuilder("TEST_ID", mPendingIntent) in testOnLoad_statefulConvertedToStateless()
189 Control control1 = new Control.StatelessBuilder("TEST_ID", mPendingIntent).build(); in testOnLoadSuggested_allStateless()
190 Control control2 = new Control.StatelessBuilder("TEST_ID_2", mPendingIntent) in testOnLoadSuggested_allStateless()
218 Control control = new Control.StatefulBuilder("TEST_ID", mPendingIntent) in testSubscribe()
242 Control control = new Control.StatefulBuilder("TEST_ID", mPendingIntent) in testThumbnailRescaled_bigger()
273 Control control = new Control.StatefulBuilder("TEST_ID", mPendingIntent) in testThumbnailRescaled_smaller()
[all …]
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/bubbles/
DBubbleTaskViewHelper.java72 private PendingIntent mPendingIntent; field in BubbleTaskViewHelper
136 mTaskView.startActivity(mPendingIntent, fillInIntent, options,
227 mPendingIntent = mBubble.getBubbleIntent(); in update()
255 return mBubble != null && (mPendingIntent != null || mBubble.hasMetadataShortcutId()); in isValidBubble()
271 boolean prevWasIntentBased = mBubble != null && mPendingIntent != null; in didBackingContentChange()
/frameworks/base/core/java/android/credentials/selection/
DEntry.java47 private PendingIntent mPendingIntent; field in Entry
65 mPendingIntent = in.readTypedObject(PendingIntent.CREATOR); in Entry()
139 dest.writeTypedObject(mPendingIntent, flags); in writeToParcel()
/frameworks/base/packages/SettingsLib/Tile/src/com/android/settingslib/drawer/
DEntryController.java135 private PendingIntent mPendingIntent; field in EntryController.MetaData
202 mPendingIntent = pendingIntent; in setPendingIntent()
239 if (mPendingIntent != null) { in build()
240 bundle.putParcelable(META_DATA_PREFERENCE_PENDING_INTENT, mPendingIntent); in build()
/frameworks/base/packages/SystemUI/src/com/android/systemui/usb/
DUsbDialogHelper.java53 private final PendingIntent mPendingIntent; field in UsbDialogHelper
85 mPendingIntent = null; in UsbDialogHelper()
89 mPendingIntent = intent.getParcelableExtra(Intent.EXTRA_INTENT); in UsbDialogHelper()
254 mPendingIntent.send(mContext, 0, intent); in sendPermissionDialogResponse()
/frameworks/base/services/core/java/com/android/server/location/geofence/
DGeofenceManager.java81 private final PendingIntent mPendingIntent; field in GeofenceManager.GeofenceKey
85 mPendingIntent = Objects.requireNonNull(pendingIntent); in GeofenceKey()
90 return mPendingIntent; in getPendingIntent()
97 return mPendingIntent.equals(that.mPendingIntent) && mGeofence.equals( in equals()
106 return mPendingIntent.hashCode(); in hashCode()
/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/
DBubbleExtractorTest.java84 PendingIntent mPendingIntent; field in BubbleExtractorTest
137 when(mPendingIntent.getIntent()).thenReturn(mIntent); in setUpIntentBubble()
138 when(mBubbleMetadata.getIntent()).thenReturn(mPendingIntent); in setUpIntentBubble()
141 when(mPendingIntent.getIntent()).thenReturn(mIntent); in setUpIntentBubble()
494 when(mPendingIntent.getIntent()).thenReturn(null); in testFlagBubble_false_noIntent()
511 when(mPendingIntent.getIntent()).thenReturn(mIntent); in testFlagBubble_false_noActivityInfo()
/frameworks/base/media/java/android/media/session/
DMediaSessionLegacyHelper.java348 private final PendingIntent mPendingIntent; field in MediaSessionLegacyHelper.MediaButtonListener
352 mPendingIntent = pi; in MediaButtonListener()
358 MediaSessionLegacyHelper.sendKeyEvent(mPendingIntent, mContext, mediaButtonIntent); in onMediaButtonEvent()
403 MediaSessionLegacyHelper.sendKeyEvent(mPendingIntent, mContext, intent); in sendKeyEvent()
407 MediaSessionLegacyHelper.sendKeyEvent(mPendingIntent, mContext, intent); in sendKeyEvent()
410 Log.d(TAG, "Sent " + keyCode + " to pending intent " + mPendingIntent); in sendKeyEvent()
/frameworks/base/services/credentials/java/com/android/server/credentials/
DRequestSession.java103 protected PendingIntent mPendingIntent; field in RequestSession
268 if (mPendingIntent != null) { in cancelExistingPendingIntent()
270 mPendingIntent.cancel(); in cancelExistingPendingIntent()
271 mPendingIntent = null; in cancelExistingPendingIntent()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/row/wrapper/
DNotificationTemplateViewWrapper.java449 private final PendingIntent mPendingIntent; field in NotificationTemplateViewWrapper.ActionPendingIntentCancellationHandler
453 this.mPendingIntent = pendingIntent; in ActionPendingIntentCancellationHandler()
475 mPendingIntent.registerCancelListener(mCancelListener); in onViewAttachedToWindow()
484 mPendingIntent.unregisterCancelListener(mCancelListener)); in onViewDetachedFromWindow()
497 mPendingIntent.unregisterCancelListener(mCancelListener)); in remove()

12