Home
last modified time | relevance | path

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

12

/frameworks/base/services/tests/servicestests/src/com/android/server/recoverysystem/
DRecoverySystemServiceTest.java250 IntentSender intentSender = mock(IntentSender.class); in requestLskf_reportMetrics() local
251 assertThat(mRecoverySystemService.requestLskf(FAKE_OTA_PACKAGE_NAME, intentSender), in requestLskf_reportMetrics()
261 IntentSender intentSender = mock(IntentSender.class); in requestLskf_success() local
262 assertThat(mRecoverySystemService.requestLskf(FAKE_OTA_PACKAGE_NAME, intentSender), in requestLskf_success()
274 verify(intentSender).sendIntent(any(), anyInt(), any(), any(), any()); in requestLskf_success()
281 IntentSender intentSender = mock(IntentSender.class); in requestLskf_subsequentRequestNotClearPrepared() local
282 assertThat(mRecoverySystemService.requestLskf(FAKE_OTA_PACKAGE_NAME, intentSender), in requestLskf_subsequentRequestNotClearPrepared()
285 verify(intentSender).sendIntent(any(), anyInt(), any(), any(), any()); in requestLskf_subsequentRequestNotClearPrepared()
294 IntentSender intentSender = mock(IntentSender.class); in requestLskf_requestedButNotPrepared() local
295 assertThat(mRecoverySystemService.requestLskf(FAKE_OTA_PACKAGE_NAME, intentSender), in requestLskf_requestedButNotPrepared()
[all …]
/frameworks/base/core/java/android/service/autofill/
DSaveCallback.java72 public void onSuccess(@NonNull IntentSender intentSender) { in onSuccess() argument
73 onSuccessInternal(Objects.requireNonNull(intentSender)); in onSuccess()
76 private void onSuccessInternal(@Nullable IntentSender intentSender) { in onSuccessInternal() argument
80 mCallback.onSuccess(intentSender); in onSuccessInternal()
DISaveCallback.aidl27 void onSuccess(in IntentSender intentSender); in onSuccess() argument
DIInlineSuggestionUiCallback.aidl36 void onStartIntentSender(in IntentSender intentSender); in onStartIntentSender() argument
DInlineSuggestionRenderService.java376 public final void startIntentSender(@NonNull IntentSender intentSender) {
379 mCallback.onStartIntentSender(intentSender);
/frameworks/base/apct-tests/perftests/utils/src/android/perftests/utils/
DTestPackageInstaller.java58 LocalBroadcastReceiver intentSender = new LocalBroadcastReceiver(mContext); in installPackage() local
81 session.commit(intentSender.getIntentSender(sessionId)); in installPackage()
85 Intent intent = intentSender.getIntentSenderResult(); in installPackage()
108 LocalBroadcastReceiver intentSender = new LocalBroadcastReceiver(mContext); in uninstall() local
110 packageInstaller.uninstall(mPackageName, intentSender.getIntentSender(mSessionId)); in uninstall()
111 int status = intentSender.getIntentSenderResult() in uninstall()
/frameworks/base/services/autofill/java/com/android/server/autofill/ui/
DRemoteInlineSuggestionUi.java261 private void handleOnStartIntentSender(IntentSender intentSender) { in handleOnStartIntentSender() argument
262 mRemoteInlineSuggestionViewConnector.onStartIntentSender(intentSender); in handleOnStartIntentSender()
297 public void onStartIntentSender(IntentSender intentSender) { in onStartIntentSender() argument
298 mHandler.post(() -> handleOnStartIntentSender(intentSender)); in onStartIntentSender()
DAutoFillUI.java99 void startIntentSenderAndFinishSession(IntentSender intentSender); in startIntentSenderAndFinishSession() argument
100 void startIntentSender(IntentSender intentSender, Intent intent); in startIntentSender() argument
303 public void startIntentSender(IntentSender intentSender) { in showFillUi()
305 mCallback.startIntentSenderAndFinishSession(intentSender); in showFillUi()
412 public void startIntentSender(IntentSender intentSender, Intent intent) { in showSaveUi()
413 callback.startIntentSender(intentSender, intent); in showSaveUi()
513 public void startIntentSender(IntentSender intentSender) { in showFillDialog()
514 mCallback.startIntentSenderAndFinishSession(intentSender); in showFillDialog()
DRemoteInlineSuggestionViewConnector.java130 public void onStartIntentSender(IntentSender intentSender) { in onStartIntentSender() argument
131 mStartIntentSenderFromClientApp.accept(intentSender); in onStartIntentSender()
DSaveUi.java101 void startIntentSender(IntentSender intentSender, Intent intent); in startIntentSender() argument
150 public void startIntentSender(IntentSender intentSender, Intent intent) { in startIntentSender() argument
155 mRealListener.startIntentSender(intentSender, intent); in startIntentSender()
/frameworks/base/tests/CompanionDeviceMultiDeviceTests/client/src/android/companion/multidevices/
DCallbackUtils.kt42 override fun onAssociationPending(intentSender: IntentSender) { in onAssociationPending()
43 this.pendingIntent = intentSender in onAssociationPending()
/frameworks/base/services/autofill/java/com/android/server/autofill/
DRemoteFillService.java88 @Nullable IntentSender intentSender); in onSaveRequestSuccess() argument
204 public void onSuccess(IntentSender intentSender) throws RemoteException { in onSuccess() argument
207 callback.onSuccess(intentSender); in onSuccess()
479 public void onSuccess(IntentSender intentSender) { in onSaveRequest()
480 save.complete(intentSender); in onSaveRequest()
DSecondaryProviderHandler.java84 @Nullable IntentSender intentSender) { in onSaveRequestSuccess() argument
DRemoteAugmentedAutofillService.java347 public void startIntentSender(IntentSender intentSender) { in maybeRequestShowInlineSuggestions()
349 client.startIntentSender(intentSender, new Intent()); in maybeRequestShowInlineSuggestions()
/frameworks/base/core/java/android/content/
DClipData.java275 public Builder setIntentSender(@Nullable IntentSender intentSender) { in setIntentSender() argument
276 if (intentSender != null && !intentSender.isImmutable()) { in setIntentSender()
279 mIntentSender = intentSender; in setIntentSender()
370 private Item(CharSequence text, String htmlText, Intent intent, IntentSender intentSender, in Item() argument
379 mIntentSender = intentSender; in Item()
1368 IntentSender intentSender = in.readTypedObject(IntentSender.CREATOR); in ClipData() local
1372 Item item = new Item(text, htmlText, intent, intentSender, uri); in ClipData()
/frameworks/base/services/core/java/com/android/server/recoverysystem/
DRecoverySystemService.java612 public boolean requestLskf(String packageName, IntentSender intentSender) { in requestLskf() argument
621 packageName, intentSender); in requestLskf()
627 sendPreparedForRebootIntentIfNeeded(intentSender); in requestLskf()
656 String packageName, IntentSender intentSender) { in updateRoRPreparationStateOnNewRequest() argument
672 mCallerPendingRequest.put(packageName, intentSender); in updateRoRPreparationStateOnNewRequest()
731 private void sendPreparedForRebootIntentIfNeeded(IntentSender intentSender) { in sendPreparedForRebootIntentIfNeeded() argument
732 if (intentSender != null) { in sendPreparedForRebootIntentIfNeeded()
734 intentSender.sendIntent(null, 0, null, null, null); in sendPreparedForRebootIntentIfNeeded()
/frameworks/base/services/core/java/com/android/server/pm/
DPackageArchiver.java197 @NonNull IntentSender intentSender, in requestArchive() argument
199 requestArchive(packageName, callerPackageName, /*flags=*/ 0, intentSender, userHandle); in requestArchive()
206 @NonNull IntentSender intentSender, in requestArchive() argument
210 Objects.requireNonNull(intentSender); in requestArchive()
254 intentSender, in requestArchive()
262 sendFailureStatus(intentSender, packageName, e.getMessage()); in requestArchive()
436 IntentSender intentSender = mLauncherIntentSenders.get(key); in getOrCreateLauncherListener() local
437 if (intentSender != null) { in getOrCreateLauncherListener()
438 return intentSender; in getOrCreateLauncherListener()
1195 for (IntentSender intentSender : unarchiveIntentSenders) { in notifyUnarchivalListener()
[all …]
/frameworks/base/core/java/android/appwidget/
DAppWidgetHost.java333 IntentSender intentSender = sService.createAppWidgetConfigIntentSender( in startAppWidgetConfigureActivityForResult() local
335 if (intentSender != null) { in startAppWidgetConfigureActivityForResult()
336 activity.startIntentSenderForResult(intentSender, requestCode, null, 0, 0, 0, in startAppWidgetConfigureActivityForResult()
/frameworks/base/apct-tests/perftests/packagemanager/src/android/os/
DPackageManagerPerfTest.java100 IntentSender intentSender = localIntentSender.getIntentSender(); in uninstallTestApp() local
101 mPackageInstaller.uninstall(packageName, intentSender); in uninstallTestApp()
/frameworks/base/core/java/android/view/autofill/
DIAutoFillManagerClient.aidl121 void startIntentSender(in IntentSender intentSender, in Intent intent); in startIntentSender() argument
/frameworks/base/packages/CredentialManager/src/com/android/credentialmanager/autofill/
DCredentialAutofillService.kt296 .setAuthentication(pendingIntent.intentSender) in <lambda>()
388 .setAuthentication(pendingIntent.intentSender) in <lambda>()
515 .setAuthentication(pendingIntent.intentSender) in <lambda>()
563 .setAuthentication(pendingIntent.intentSender) in <lambda>()
/frameworks/base/services/tests/PackageManagerServiceTests/host/test-apps/DeviceSide/src/com/android/server/pm/
DPackageInstallerSessionTest.kt110 session.commit(sender.intentSender) in <lambda>()
/frameworks/base/core/java/android/companion/
DCompanionDeviceManager.java348 public void onDeviceFound(@NonNull IntentSender intentSender) {} in onDeviceFound() argument
360 public void onAssociationPending(@NonNull IntentSender intentSender) { in onAssociationPending() argument
361 onDeviceFound(intentSender); in onAssociationPending()
775 IntentSender intentSender = pendingIntent.getIntentSender(); in requestNotificationAccess() local
777 mContext.startIntentSender(intentSender, null, 0, 0, 0, in requestNotificationAccess()
/frameworks/base/apct-tests/perftests/packagemanager/src/android/content/pm/
DPackageInstallerBenchmark.java193 IntentSender intentSender = localIntentSender.getIntentSender(); in uninstall() local
196 mPackageInstaller.uninstall(packageName, intentSender); in uninstall()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
DNotificationLockscreenUserManagerImpl.java230 final IntentSender intentSender = intent.getParcelableExtra(
233 if (intentSender != null) {
238 mContext.startIntentSender(intentSender, null, 0, 0, 0,

12