/cts/hostsidetests/devicepolicy/app/ProfileOwner/src/com/android/cts/profileowner/ |
D | AppUsageObserverTest.java | 37 PendingIntent pendingIntent = PendingIntent.getActivity( in testAppUsageObserver_MinTimeLimit() local 41 usm.registerAppUsageObserver(obsId, packages, 60, TimeUnit.SECONDS, pendingIntent); in testAppUsageObserver_MinTimeLimit() 44 usm.registerAppUsageObserver(obsId, packages, 59, TimeUnit.SECONDS, pendingIntent); in testAppUsageObserver_MinTimeLimit() 57 PendingIntent pendingIntent = PendingIntent.getActivity( in testUsageSessionObserver_MinTimeLimit() local 62 Duration.ofSeconds(10), pendingIntent, null); in testUsageSessionObserver_MinTimeLimit() 66 Duration.ofSeconds(10), pendingIntent, null); in testUsageSessionObserver_MinTimeLimit() 78 PendingIntent pendingIntent = PendingIntent.getActivity( in testObserverLimit() local 84 usm.registerAppUsageObserver(obsId, packages, 60, TimeUnit.MINUTES, pendingIntent); in testObserverLimit() 88 pendingIntent); in testObserverLimit() 97 Duration.ofSeconds(10), pendingIntent, null); in testObserverLimit() [all …]
|
/cts/hostsidetests/net/app/src/com/android/cts/net/hostside/ |
D | MyNotificationListenerService.java | 87 private void send(String reason, PendingIntent pendingIntent) { in send() argument 88 if (pendingIntent == null) { in send() 99 + "' (" + pendingIntent + ")"); in send() 101 Log.i(TAG, "Sending pending intent for " + reason + ":" + pendingIntent); in send() 103 pendingIntent.send(); in send() 104 mSentIntent = pendingIntent; in send() 107 Log.w(TAG, "Pending intent " + pendingIntent + " canceled"); in send()
|
/cts/tests/framework/base/windowmanager/backgroundactivity/AppA/src/android/server/wm/backgroundactivity/appa/ |
D | SendPendingIntentReceiver.java | 42 final PendingIntent pendingIntent; in onReceive() local 49 pendingIntent = PendingIntent.getBroadcast(context, 0, in onReceive() 57 pendingIntent = PendingIntent.getActivity(context, 0, in onReceive() 64 intent.putExtra(PENDING_INTENT_EXTRA, pendingIntent); in onReceive()
|
/cts/hostsidetests/net/app2/src/com/android/cts/net/hostside/app2/ |
D | MyBroadcastReceiver.java | 203 final PendingIntent pendingIntent = PendingIntent.getService(context, 0, serviceIntent, in sendNotification() local 216 .setContentIntent(pendingIntent); in sendNotification() 219 builder.setDeleteIntent(pendingIntent); in sendNotification() 222 builder.setFullScreenIntent(pendingIntent, true); in sendNotification() 225 bundle.putParcelable("Magnum P.I. (Pending Intent)", pendingIntent); in sendNotification() 230 R.drawable.ic_notification, "ACTION", pendingIntent) in sendNotification() 235 bundle.putParcelable("Magnum A.P.I. (Action Pending Intent)", pendingIntent); in sendNotification() 248 R.drawable.ic_notification, "ACTION WITH REMOTE INPUT", pendingIntent) in sendNotification()
|
/cts/tests/autofillservice/src/android/autofillservice/cts/ |
D | AuthenticationActivity.java | 83 final PendingIntent pendingIntent = sPendingIntents.get(i); in resetStaticState() local 84 Log.d(TAG, "Cancelling " + pendingIntent); in resetStaticState() 85 pendingIntent.cancel(); in resetStaticState() 128 final PendingIntent pendingIntent = PendingIntent.getActivity(context, id, intent, 0); in createSender() local 129 sPendingIntents.add(pendingIntent); in createSender() 130 return pendingIntent.getIntentSender(); in createSender()
|
D | CustomDescriptionWithLinkTestCase.java | 283 final PendingIntent pendingIntent = PendingIntent.getActivity(mContext, 0, intent, 0); in newCustomDescriptionBuilder() local 284 presentation.setOnClickPendingIntent(R.id.link, pendingIntent); in newCustomDescriptionBuilder()
|
/cts/tests/app/app/src/android/app/stubs/ |
D | BubblesTestService.java | 63 final PendingIntent pendingIntent = in getNotificationForTest() local 67 .setContentIntent(pendingIntent) in getNotificationForTest() 74 .setIntent(pendingIntent) in getNotificationForTest()
|
D | BubblesTestActivity.java | 63 final PendingIntent pendingIntent = in sendBubble() local 68 .setIntent(pendingIntent) in sendBubble() 75 .setContentIntent(pendingIntent) in sendBubble()
|
/cts/tests/framework/base/windowmanager/backgroundactivity/AppB/src/android/server/wm/backgroundactivity/appb/ |
D | StartPendingIntentReceiver.java | 33 PendingIntent pendingIntent = intent.getParcelableExtra(PENDING_INTENT_EXTRA); in onReceive() local 35 pendingIntent.send(); in onReceive()
|
/cts/tests/app/src/android/app/cts/ |
D | WearableExtenderTest.java | 47 PendingIntent pendingIntent = PendingIntent.getActivity(mContext, 0, new Intent(), 0); in testWearableExtender() local 78 .setDisplayIntent(pendingIntent) in testWearableExtender() 101 assertEquals(pendingIntent, extender.getDisplayIntent()); in testWearableExtender() 199 PendingIntent pendingIntent = PendingIntent.getActivity(mContext, 0, new Intent(), 0); in testWriteToParcel() local 234 .setDisplayIntent(pendingIntent) in testWriteToParcel() 263 assertEquals(pendingIntent, extender.getDisplayIntent()); in testWriteToParcel()
|
D | FragmentReceiveResultTest.java | 142 PendingIntent pendingIntent = PendingIntent.getActivity(mActivity, in startIntentSenderForResult() 146 mFragment.startIntentSenderForResult(pendingIntent.getIntentSender(), in startIntentSenderForResult()
|
D | PendingIntentTest.java | 167 private void pendingIntentSendError(PendingIntent pendingIntent) { in pendingIntentSendError() argument 351 private void pendingIntentSendShouldFail(PendingIntent pendingIntent) { in pendingIntentSendShouldFail() argument 353 pendingIntent.send(); in pendingIntentSendShouldFail() 604 PendingIntent pendingIntent = PendingIntent.CREATOR.createFromParcel(parcel); in testWriteToParcel() local 605 assertTrue(mPendingIntent.equals(pendingIntent)); in testWriteToParcel()
|
/cts/tests/sensor/src/android/hardware/cts/helpers/sensoroperations/ |
D | AlarmOperation.java | 94 PendingIntent pendingIntent = PendingIntent.getBroadcast(mContext, 0, intent, 0); in execute() local 95 am.setExact(AlarmManager.RTC_WAKEUP, wakeupTimeMs, pendingIntent); in execute()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/notifications/ |
D | BubblesVerifierActivity.java | 469 final PendingIntent pendingIntent = PendingIntent.getActivity(context, 0, intent, 0); in getBasicBubbleBuilder() local 474 .setIntent(pendingIntent); in getBasicBubbleBuilder() 482 final PendingIntent pendingIntent = PendingIntent.getActivity(context, 0, intent, 0); in getBasicNotifBuilder() local 489 .setContentIntent(pendingIntent); in getBasicNotifBuilder()
|
/cts/hostsidetests/devicepolicy/app/DeviceOwner/src/com/android/cts/deviceowner/ |
D | PackageInstallTest.java | 125 PendingIntent pendingIntent = PendingIntent.getBroadcast( in getCommitCallback() local 130 return pendingIntent.getIntentSender(); in getCommitCallback()
|
/cts/tests/tests/appwidget/src/android/appwidget/cts/provider/ |
D | CollectionAppWidgetProvider.java | 109 PendingIntent pendingIntent = PendingIntent.getBroadcast(context, 0, viewIntent, in onUpdate() local 112 widgetAdapterView.setPendingIntentTemplate(R.id.remoteViews_stack, pendingIntent); in onUpdate()
|
/cts/tests/framework/base/windowmanager/util/src/android/server/wm/ |
D | ActivityLauncher.java | 207 final PendingIntent pendingIntent = PendingIntent.getActivity(launchContext, 0, in launchActivityFromExtras() local 209 pendingIntent.send(); in launchActivityFromExtras()
|
/cts/hostsidetests/devicepolicy/app/PackageInstaller/src/com/android/cts/packageinstaller/ |
D | BasePackageInstallTest.java | 153 PendingIntent pendingIntent = PendingIntent.getBroadcast( in getCommitCallback() local 158 return pendingIntent.getIntentSender(); in getCommitCallback()
|
/cts/tests/tests/packageinstaller/install/src/android/packageinstaller/install/cts/ |
D | PackageInstallerTestBase.kt | 146 val pendingIntent = PendingIntent.getBroadcast(context, 0, Intent(INSTALL_ACTION_CB), in <lambda>() constant 148 session.commit(pendingIntent.intentSender) in <lambda>()
|
/cts/tests/tests/packageinstaller/nopermission/src/android.packageinstaller.nopermission.cts/ |
D | NoPermissionTests.kt | 133 val pendingIntent = PendingIntent.getBroadcast(context, 0, Intent(ACTION), in <lambda>() constant 135 session.commit(pendingIntent.intentSender) in <lambda>()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/sensors/ |
D | SignificantMotionTestActivity.java | 201 PendingIntent pendingIntent = PendingIntent.getBroadcast(this, 0, intent, 0); in testAPWakeUpOnSMDTrigger() local 205 SystemClock.elapsedRealtime() + ALARM_WAKE_TIME_DELAY_MS, pendingIntent); in testAPWakeUpOnSMDTrigger() 222 am.cancel(pendingIntent); in testAPWakeUpOnSMDTrigger()
|
/cts/tests/tests/notificationlegacy/notificationlegacy29/src/android/app/notification/legacy29/cts/ |
D | NotificationAssistantServiceTest.java | 392 final PendingIntent pendingIntent = PendingIntent.getActivity(mContext, 0, intent, 0); in testOnActionInvoked_methodExists() local 394 pendingIntent).build(); in testOnActionInvoked_methodExists() 476 final PendingIntent pendingIntent = PendingIntent.getActivity(mContext, 0, intent, 0); in sendNotification() local 483 .setContentIntent(pendingIntent) in sendNotification()
|
/cts/tests/tests/packageinstaller/adminpackageinstaller/src/android/packageinstaller/admin/cts/ |
D | BasePackageInstallTest.java | 195 PendingIntent pendingIntent = PendingIntent.getBroadcast( in getCommitCallback() local 200 return pendingIntent.getIntentSender(); in getCommitCallback()
|
/cts/tests/tests/notificationlegacy/notificationlegacy20/src/android/app/notification/legacy20/cts/ |
D | LegacyNotificationManager20Test.java | 140 final PendingIntent pendingIntent = PendingIntent.getActivity(mContext, 0, intent, 0); in sendNotification() local 147 .setContentIntent(pendingIntent) in sendNotification()
|
/cts/tests/tests/telephony/current/src/android/telephony/cts/ |
D | MmsTest.java | 214 final PendingIntent pendingIntent = PendingIntent.getBroadcast( in testSendMmsMessage() local 217 contentUri, null/*locationUrl*/, null/*configOverrides*/, pendingIntent); in testSendMmsMessage()
|