Home
last modified time | relevance | path

Searched refs:intentSender (Results 1 – 25 of 28) sorted by relevance

12

/cts/tests/tests/companion/common/src/android/companion/cts/common/
DRecordingCallback.kt45 override fun onDeviceFound(intentSender: IntentSender) { in onDeviceFound()
46 logAndRecordInvocation(OnDeviceFound(intentSender)) in onDeviceFound()
47 onDeviceFoundAction?.invoke(intentSender) in onDeviceFound()
50 override fun onAssociationPending(intentSender: IntentSender) { in onAssociationPending()
51 logAndRecordInvocation(OnAssociationPending(intentSender)) in onAssociationPending()
52 onAssociationPendingAction?.invoke(intentSender) in onAssociationPending()
71 data class OnDeviceFound(val intentSender: IntentSender) : CallbackInvocation constant in android.companion.cts.common.OnDeviceFound
72 data class OnAssociationPending(val intentSender: IntentSender) : CallbackInvocation constant in android.companion.cts.common.OnAssociationPending
DRecordingCdmEventObserver.kt51 override fun onDeviceFound(intentSender: IntentSender) =
52 recordInvocation(CdmCallback(OnDeviceFound(intentSender)))
54 override fun onAssociationPending(intentSender: IntentSender) =
55 recordInvocation(CdmCallback(OnAssociationPending(intentSender)))
DCompanionActivity.kt69 fun startIntentSender(intentSender: IntentSender) = in startIntentSender()
70 instance.startIntentSenderForResult(intentSender, 0, null, 0, 0, 0) in startIntentSender()
/cts/tests/tests/security/testdata/src/android/security/cts/packageinstallertestapp/
DBackgroundReceiver.java66 final IntentSender intentSender = PendingIntent.getActivity(context, in onReceive() local
71 sendInstallCommit(context, remoteCallback, intentSender); in onReceive()
73 final IntentSender intentSender = PendingIntent.getForegroundService(context, in onReceive() local
78 sendInstallCommit(context, remoteCallback, intentSender); in onReceive()
103 IntentSender intentSender) throws IOException { in sendInstallCommit() argument
109 session.commit(intentSender); in sendInstallCommit()
/cts/tests/tests/companion/AssociationRevokedTestApp/src/android.os.cts.associationrevokedtestapp/
DMainActivity.kt54 override fun onAssociationPending(intentSender: IntentSender) { in onAttachedToWindow()
55 intentSender?.let { in onAttachedToWindow()
/cts/tests/tests/companion/multidevice/client/src/android/companion/cts/multidevice/
DCallbackUtils.kt41 override fun onAssociationPending(intentSender: IntentSender) { in onAssociationPending()
42 this.pendingIntent = intentSender in onAssociationPending()
/cts/tests/tests/companion/PermissionsSyncTestApp/src/android/os/cts/companiontestapp/
DMainActivity.java187 final IntentSender intentSender = mCompanionDeviceManager in requestPermissionsSyncUserConsent() local
189 startIntentSenderForResult(intentSender, REQUEST_CODE_SYNC, null, 0, 0, 0); in requestPermissionsSyncUserConsent()
278 public void onAssociationPending(@NonNull IntentSender intentSender) {
279 Log.v(TAG, "onAssociationPending " + intentSender);
282 startIntentSenderForResult(intentSender, REQUEST_CODE_ASSOCIATE, null, 0, 0, 0);
/cts/tests/framework/base/windowmanager/backgroundactivity/src/android/server/wm/
DTestServiceClient.java115 public void sendIntentSender(IntentSender intentSender, in sendIntentSender() argument
117 mTestService.sendIntentSender(intentSender, sendOptions); in sendIntentSender()
/cts/tests/tests/companion/CompanionDeviceTestApp/src/android.os.cts.companiondevicetestapp/
DCompanionDeviceTestAppActivity.kt147 val intentSender = cdm.buildPermissionTransferUserConsentIntent( in <lambda>() constant
149 if (intentSender != null) { in <lambda>()
150 startIntentSender(intentSender, null, 0, 0, 0) in <lambda>()
/cts/common/device-side/bedstead/nene/src/main/java/com/android/bedstead/nene/utils/
DBlockingIntentSender.java77 public IntentSender intentSender() { in intentSender() method in BlockingIntentSender
/cts/tests/framework/base/windowmanager/backgroundactivity/common/aidl/android/server/wm/backgroundactivity/common/
DITestService.aidl32 void sendIntentSender(in IntentSender intentSender, in Bundle sendOptions); in sendIntentSender() argument
/cts/tests/tests/packageinstaller/install/src/android/packageinstaller/install/cts/
DPackageInstallerTestBase.kt261 session.commit(pendingIntent.intentSender) in <lambda>()
268 session.commit(pendingIntent.intentSender) in <lambda>()
271 session.commit(pendingIntent.intentSender) in <lambda>()
308 session.requestUserPreapproval(details, pendingIntent.intentSender) in <lambda>()
377 session.commit(pendingIntent.intentSender) in <lambda>()
DInstallConstraintsTest.kt374 intentSender, 0 in <lambda>()
393 intentSender, TimeUnit.DAYS.toMillis(1) in <lambda>()
424 sessionId, sender.intentSender, in <lambda>()
444 sessionId, sender.intentSender, in <lambda>()
458 sessionId, sender.intentSender, in <lambda>()
DPreapprovalInstallTest.kt196 pendingIntent.intentSender in requestUserPreapprovalWithUpdateOwnership_userAgree_statusSuccess()
314 session.requestUserPreapproval(preparePreapprovalDetails(), pendingIntent.intentSender) in requestUserPreapproval_doNothingAndCommitLater_installSuccessfully()
DSessionTest.kt303 session.commit(pendingIntent.intentSender) in commitSessionWithImmutablePendingIntent()
/cts/tests/framework/base/windowmanager/backgroundactivity/common/src/android/server/wm/backgroundactivity/common/
DTestService.java141 public void sendIntentSender(IntentSender intentSender, in sendIntentSender() argument
144 intentSender.sendIntent(getApplicationContext(), /*code*/0, /*intent*/null, in sendIntentSender()
/cts/common/device-side/bedstead/nene/src/main/java/com/android/bedstead/nene/packages/
DPackages.java424 try (BlockingIntentSender intentSender = BlockingIntentSender.create()) { in install() argument
428 session.commit(intentSender.intentSender()); in install()
431 Intent intent = intentSender.await(); in install()
/cts/tests/tests/appop2/src/android/app/appops2/cts/
DAppOpsLoggingTest.kt125 PendingIntent.FLAG_UPDATE_CURRENT or PendingIntent.FLAG_MUTABLE).intentSender) in <lambda>()
/cts/tests/tests/packageinstaller/nopermission/src/android.packageinstaller.nopermission.cts/
DNoPermissionTests.kt129 session.commit(pendingIntent.intentSender) in <lambda>()
/cts/tests/tests/packageinstaller/install_appop_denied/src/android/packageinstaller/install_appop_denied/cts/
DPackageInstallerTestBase.kt152 session.commit(pendingIntent.intentSender) in <lambda>()
/cts/tests/tests/packageinstaller/install_appop_default/src/android/packageinstaller/install_appop_default/cts/
DPackageInstallerTestBase.kt152 session.commit(pendingIntent.intentSender) in <lambda>()
/cts/tests/tests/packageinstaller/packagescheme/src/android/packageinstaller/packagescheme/cts/
DPackageSchemeTestBase.kt106 ).intentSender in <lambda>()
/cts/tests/tests/content/src/android/content/pm/cts/
DPackageManagerTest.java2133 final IntentSender intentSender = mPackageManager.getLaunchIntentSenderForPackage( in testGetLaunchIntentSenderForPackage() local
2135 assertThat(intentSender.getCreatorPackage()).isEqualTo(PACKAGE_NAME); in testGetLaunchIntentSenderForPackage()
2136 assertThat(intentSender.getCreatorUid()).isEqualTo(mContext.getApplicationInfo().uid); in testGetLaunchIntentSenderForPackage()
2138 sendIntent(intentSender); in testGetLaunchIntentSenderForPackage()
2158 final IntentSender intentSender = mPackageManager.getLaunchIntentSenderForPackage( in testGetLaunchIntentSenderForPackage_noMainActivity() local
2160 assertThat(intentSender.getCreatorPackage()).isEqualTo(PACKAGE_NAME); in testGetLaunchIntentSenderForPackage_noMainActivity()
2161 assertThat(intentSender.getCreatorUid()).isEqualTo(mContext.getApplicationInfo().uid); in testGetLaunchIntentSenderForPackage_noMainActivity()
2163 sendIntent(intentSender); in testGetLaunchIntentSenderForPackage_noMainActivity()
2174 final IntentSender intentSender = mPackageManager.getLaunchIntentSenderForPackage( in testGetLaunchIntentSenderForPackage_packageNotExist() local
2176 assertThat(intentSender.getCreatorPackage()).isEqualTo(PACKAGE_NAME); in testGetLaunchIntentSenderForPackage_packageNotExist()
[all …]
DLauncherAppsTest.java373 IntentSender intentSender = in testGetMarketIntent() local
376 assertThat(intentSender).isNotNull(); in testGetMarketIntent()
/cts/tests/autofillservice/src/android/autofillservice/cts/testcore/
DInstrumentedAutoFillService.java558 public Replier setOnSave(IntentSender intentSender) { in setOnSave() argument
559 mOnSaveIntentSender = intentSender; in setOnSave()

12