/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/tests/contentcaptureservice/src/android/contentcaptureservice/cts/ |
D | OutOfProcessActivity.java | 66 final PendingIntent pendingIntent = in onStart() local 68 if (pendingIntent != null) { in onStart() 70 pendingIntent.send(); in onStart() 72 Log.w(TAG, "Pending intent " + pendingIntent + " canceled"); in onStart() 90 final PendingIntent pendingIntent = mIntent.getParcelableExtra(EXTRA_FINISH_BROADCAST); in notifyContentCaptureStatus() local 94 if (pendingIntent != null) { in notifyContentCaptureStatus() 98 pendingIntent.send(this, 0, result); in notifyContentCaptureStatus() 100 Log.w(TAG, "Pending intent " + pendingIntent + " canceled"); in notifyContentCaptureStatus() 107 static void launchOutOfProcessActivity(PendingIntent pendingIntent, int startAction, in launchOutOfProcessActivity() argument 111 startIntent.putExtra(extraPendingIntent, pendingIntent); in launchOutOfProcessActivity()
|
D | AppKilledTest.java | 70 final PendingIntent pendingIntent = in startOutOfProcessActivity() local 76 OutOfProcessActivity.launchOutOfProcessActivity(pendingIntent, in startOutOfProcessActivity()
|
D | WhitelistTest.java | 146 final PendingIntent pendingIntent = in launchActivityAndAssert() local 152 OutOfProcessActivity.launchOutOfProcessActivity(pendingIntent, in launchActivityAndAssert()
|
/cts/tests/app/src/android/app/cts/ |
D | NotificationTemplateTest.kt | 524 Notification.CallStyle.forIncomingCall(platformNull(), pendingIntent, pendingIntent) in <lambda>() 527 Notification.CallStyle.forIncomingCall(namelessPerson, pendingIntent, pendingIntent) in <lambda>() 530 Notification.CallStyle.forIncomingCall(namedPerson, platformNull(), pendingIntent) in <lambda>() 533 Notification.CallStyle.forIncomingCall(namedPerson, pendingIntent, platformNull()) in <lambda>() 537 .forIncomingCall(namedPerson, pendingIntent, pendingIntent)) in <lambda>() 546 .forIncomingCall(namedPerson, pendingIntent, pendingIntent)) in <lambda>() 564 .forIncomingCall(namedPerson, pendingIntent, pendingIntent) in <lambda>() 586 Notification.CallStyle.forOngoingCall(platformNull(), pendingIntent) in <lambda>() 589 Notification.CallStyle.forOngoingCall(namelessPerson, pendingIntent) in <lambda>() 595 .setStyle(Notification.CallStyle.forOngoingCall(namedPerson, pendingIntent)) in <lambda>() [all …]
|
D | WearableExtenderTest.java | 47 …PendingIntent pendingIntent = PendingIntent.getActivity(mContext, 0, new Intent(), PendingIntent.F… in testWearableExtender() local 78 .setDisplayIntent(pendingIntent) in testWearableExtender() 101 assertEquals(pendingIntent, extender.getDisplayIntent()); in testWearableExtender() 199 …PendingIntent pendingIntent = PendingIntent.getActivity(mContext, 0, new Intent(), PendingIntent.F… in testWriteToParcel() local 234 .setDisplayIntent(pendingIntent) in testWriteToParcel() 263 assertEquals(pendingIntent, extender.getDisplayIntent()); in testWriteToParcel()
|
D | FragmentReceiveResultTest.java | 148 PendingIntent pendingIntent = PendingIntent.getActivity(mActivity, in startIntentSenderForResult() 152 mFragment.startIntentSenderForResult(pendingIntent.getIntentSender(), in startIntentSenderForResult()
|
/cts/tests/autofillservice/src/android/autofillservice/cts/activities/ |
D | AugmentedAuthActivity.java | 48 for (PendingIntent pendingIntent : sPendingIntents) { in resetStaticState() 49 pendingIntent.cancel(); in resetStaticState() 60 PendingIntent pendingIntent = PendingIntent.getActivity(context, requestCode, intent, in createSender() local 62 sPendingIntents.add(pendingIntent); in createSender() 63 return pendingIntent.getIntentSender(); in createSender()
|
D | AuthenticationActivity.java | 107 final PendingIntent pendingIntent = sPendingIntents.get(i); in resetStaticState() local 108 Log.d(TAG, "Cancelling " + pendingIntent); in resetStaticState() 109 pendingIntent.cancel(); in resetStaticState() 162 final PendingIntent pendingIntent = in createSender() local 164 sPendingIntents.add(pendingIntent); in createSender() 165 return pendingIntent.getIntentSender(); in createSender()
|
/cts/tests/accessibilityservice/src/android/accessibilityservice/cts/ |
D | AccessibilitySystemActionTest.java | 163 private void assertRegisterAction(int actionID, String pendingIntent) { in assertRegisterAction() argument 167 RemoteAction r = getRemoteAction(pendingIntent); in assertRegisterAction() 190 private void assertPerformGlobalAction(int actionId, String pendingIntent) { in assertPerformGlobalAction() argument 194 pendingIntent); in assertPerformGlobalAction() 195 mContext.registerReceiver(receiver, new IntentFilter(pendingIntent)); in assertPerformGlobalAction() 209 private RemoteAction getRemoteAction(String pendingIntent) { in getRemoteAction() argument 210 Intent i = new Intent(pendingIntent); in getRemoteAction()
|
/cts/tests/framework/base/windowmanager/backgroundactivity/AppA/src/android/server/wm/backgroundactivity/appa/ |
D | SendPendingIntentReceiver.java | 49 final PendingIntent pendingIntent; in onReceive() local 57 pendingIntent = PendingIntent.getBroadcast(context, 0, in onReceive() 64 pendingIntent = PendingIntent.getActivity(context, 0, in onReceive() 71 intent.putExtra(PENDING_INTENT_EXTRA, pendingIntent); in onReceive()
|
/cts/tests/app/app/src/android/app/stubs/ |
D | BubblesTestService.java | 61 final PendingIntent pendingIntent = in getNotificationForTest() local 68 .setContentIntent(pendingIntent) in getNotificationForTest() 77 Notification.BubbleMetadata data = new Notification.BubbleMetadata.Builder(pendingIntent, in getNotificationForTest()
|
D | SendBubbleActivity.java | 84 PendingIntent pendingIntent = PendingIntent.getActivity(context, notifId, new Intent(), in sendInvalidBubble() local 91 .setContentIntent(pendingIntent) in sendInvalidBubble() 166 final PendingIntent pendingIntent = in getBubbleMetadata() local 170 return new Notification.BubbleMetadata.Builder(pendingIntent, in getBubbleMetadata()
|
/cts/tests/translation/src/android/translation/cts/ |
D | CtsTestIme.java | 129 final PendingIntent pendingIntent = sourceIntent.getParcelableExtra(EXTRA_FINISH_COMMAND); in notifyCommandDone() local 130 if (pendingIntent != null) { in notifyCommandDone() 136 pendingIntent.send(); in notifyCommandDone() 143 pendingIntent.send(mContext, 0, resultIntent); in notifyCommandDone() 150 Log.w(TAG, "Pending intent " + pendingIntent + " canceled"); in notifyCommandDone()
|
/cts/tests/framework/base/windowmanager/backgroundactivity/AppB/src/android/server/wm/backgroundactivity/appb/ |
D | StartPendingIntentReceiver.java | 36 PendingIntent pendingIntent = intent.getParcelableExtra(PENDING_INTENT_EXTRA); in onReceive() local 43 pendingIntent.send(); in onReceive()
|
/cts/common/device-side/bedstead/nene/src/main/java/com/android/bedstead/nene/utils/ |
D | BlockingIntentSender.java | 72 PendingIntent pendingIntent = PendingIntent.getBroadcast( in register() local 74 mIntentSender = pendingIntent.getIntentSender(); in register()
|
/cts/tests/tests/telephony/current/src/android/telephony/cts/ |
D | MmsTest.java | 213 final PendingIntent pendingIntent = PendingIntent.getBroadcast( in sendMmsMessage() local 217 contentUri, null/*locationUrl*/, null/*configOverrides*/, pendingIntent); in sendMmsMessage() 220 contentUri, null/*locationUrl*/, null/*configOverrides*/, pendingIntent, in sendMmsMessage() 377 final PendingIntent pendingIntent = PendingIntent.getBroadcast( in downloadMultimediaMessage() local 386 null /* configOverrides */, pendingIntent); in downloadMultimediaMessage() 392 null /* configOverrides */, pendingIntent, MESSAGE_ID); in downloadMultimediaMessage()
|
/cts/tests/sensor/src/android/hardware/cts/helpers/sensoroperations/ |
D | AlarmOperation.java | 94 …PendingIntent pendingIntent = PendingIntent.getBroadcast(mContext, 0, intent, PendingIntent.FLAG_M… in execute() local 95 am.setExact(AlarmManager.RTC_WAKEUP, wakeupTimeMs, pendingIntent); in execute()
|
/cts/tests/autofillservice/src/android/autofillservice/cts/unittests/ |
D | AutofillManagerTest.java | 112 final PendingIntent pendingIntent = PendingIntent.getBroadcast(sContext, 0, broadcastIntent, in runQueryAutofillStatusActivityAndVerifyResult() local 114 outsideActivity.putExtra("finishBroadcast", pendingIntent); in runQueryAutofillStatusActivityAndVerifyResult()
|
/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/quickaccesswallet/src/android/quickaccesswallet/ |
D | TestQuickAccessWalletService.java | 97 PendingIntent pendingIntent = in onWalletCardsRequested() local 100 pendingIntent).build(); in onWalletCardsRequested()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/notifications/ |
D | BubblesVerifierActivity.java | 882 final PendingIntent pendingIntent = PendingIntent.getActivity(context, 1, intent, in performTestAction() local 885 pendingIntent, in performTestAction() 930 final PendingIntent pendingIntent = PendingIntent.getActivity(context, 2, intent, in performTestAction() local 933 pendingIntent, in performTestAction() 1010 final PendingIntent pendingIntent = PendingIntent.getActivity(context, 0, intent, in getBubbleBuilder() local 1013 b = new Notification.BubbleMetadata.Builder(pendingIntent, in getBubbleBuilder() 1033 final PendingIntent pendingIntent = PendingIntent.getActivity(context, 0, intent, in getConversationNotif() local 1053 .setContentIntent(pendingIntent) in getConversationNotif()
|
/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/tests/textclassifier/src/android/view/textclassifier/cts/ |
D | TextClassifierServiceSwapTest.java | 179 final PendingIntent pendingIntent = in runQueryTextClassifierServiceActivity() local 185 outsideActivity.putExtra("finishBroadcast", pendingIntent); in runQueryTextClassifierServiceActivity()
|
/cts/tests/tests/packageinstaller/install_appop_default/src/android/packageinstaller/install_appop_default/cts/ |
D | PackageInstallerTestBase.kt | 148 val pendingIntent = PendingIntent.getBroadcast(context, 0, Intent(INSTALL_ACTION_CB), in <lambda>() constant 150 session.commit(pendingIntent.intentSender) in <lambda>()
|