Home
last modified time | relevance | path

Searched refs:intentSender (Results 1 – 25 of 33) 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.java375 public final void startIntentSender(@NonNull IntentSender intentSender) {
378 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.java260 private void handleOnStartIntentSender(IntentSender intentSender) { in handleOnStartIntentSender() argument
261 mRemoteInlineSuggestionViewConnector.onStartIntentSender(intentSender); in handleOnStartIntentSender()
296 public void onStartIntentSender(IntentSender intentSender) { in onStartIntentSender() argument
297 mHandler.post(() -> handleOnStartIntentSender(intentSender)); in onStartIntentSender()
DAutoFillUI.java95 void startIntentSenderAndFinishSession(IntentSender intentSender); in startIntentSenderAndFinishSession() argument
96 void startIntentSender(IntentSender intentSender, Intent intent); in startIntentSender() argument
280 public void startIntentSender(IntentSender intentSender) { in showFillUi()
282 mCallback.startIntentSenderAndFinishSession(intentSender); in showFillUi()
379 public void startIntentSender(IntentSender intentSender, Intent intent) { in showSaveUi()
380 callback.startIntentSender(intentSender, intent); in showSaveUi()
454 public void startIntentSender(IntentSender intentSender) { in showFillDialog()
455 mCallback.startIntentSenderAndFinishSession(intentSender); in showFillDialog()
DRemoteInlineSuggestionViewConnector.java123 public void onStartIntentSender(IntentSender intentSender) { in onStartIntentSender() argument
124 mStartIntentSenderFromClientApp.accept(intentSender); in onStartIntentSender()
DSaveUi.java97 void startIntentSender(IntentSender intentSender, Intent intent); in startIntentSender() argument
146 public void startIntentSender(IntentSender intentSender, Intent intent) { in startIntentSender() argument
151 mRealListener.startIntentSender(intentSender, intent); in startIntentSender()
DInlineSuggestionFactory.java193 public void startIntentSender(IntentSender intentSender) { in createInlineSuggestionTooltip()
DInlineFillUi.java331 void startIntentSender(@NonNull IntentSender intentSender); in startIntentSender() argument
/frameworks/base/core/java/android/companion/
DCompanionDeviceManager.java239 public void onDeviceFound(@NonNull IntentSender intentSender) {} in onDeviceFound() argument
251 public void onAssociationPending(@NonNull IntentSender intentSender) { in onAssociationPending() argument
252 onDeviceFound(intentSender); in onAssociationPending()
502 IntentSender intentSender = mService in requestNotificationAccess() local
505 mContext.startIntentSender(intentSender, null, 0, 0, 0); in requestNotificationAccess()
/frameworks/base/services/autofill/java/com/android/server/autofill/
DRemoteFillService.java72 @Nullable IntentSender intentSender); in onSaveRequestSuccess() argument
208 public void onSuccess(IntentSender intentSender) { in onSaveRequest()
209 save.complete(intentSender); in onSaveRequest()
DRemoteAugmentedAutofillService.java346 public void startIntentSender(IntentSender intentSender) { in maybeRequestShowInlineSuggestions()
348 client.startIntentSender(intentSender, new Intent()); in maybeRequestShowInlineSuggestions()
DSession.java1353 @Nullable IntentSender intentSender) {
1364 .setType(intentSender == null ? MetricsEvent.TYPE_SUCCESS : MetricsEvent.TYPE_OPEN);
1366 if (intentSender != null) {
1368 startIntentSenderAndFinishSession(intentSender);
1597 public void startIntentSenderAndFinishSession(IntentSender intentSender) {
1598 startIntentSender(intentSender, null);
1603 public void startIntentSender(IntentSender intentSender, Intent intent) {
1616 this, intentSender, intent));
1665 private void doStartIntentSender(IntentSender intentSender, Intent intent) {
1668 mClient.startIntentSender(intentSender, intent);
[all …]
/frameworks/base/services/core/java/com/android/server/recoverysystem/
DRecoverySystemService.java552 public boolean requestLskf(String packageName, IntentSender intentSender) { in requestLskf() argument
561 packageName, intentSender); in requestLskf()
567 sendPreparedForRebootIntentIfNeeded(intentSender); in requestLskf()
596 String packageName, IntentSender intentSender) { in updateRoRPreparationStateOnNewRequest() argument
612 mCallerPendingRequest.put(packageName, intentSender); in updateRoRPreparationStateOnNewRequest()
671 private void sendPreparedForRebootIntentIfNeeded(IntentSender intentSender) { in sendPreparedForRebootIntentIfNeeded() argument
672 if (intentSender != null) { in sendPreparedForRebootIntentIfNeeded()
674 intentSender.sendIntent(null, 0, null, null, null); in sendPreparedForRebootIntentIfNeeded()
/frameworks/base/core/java/android/appwidget/
DAppWidgetHost.java316 IntentSender intentSender = sService.createAppWidgetConfigIntentSender( in startAppWidgetConfigureActivityForResult() local
318 if (intentSender != null) { in startAppWidgetConfigureActivityForResult()
319 activity.startIntentSenderForResult(intentSender, requestCode, null, 0, 0, 0, in startAppWidgetConfigureActivityForResult()
/frameworks/base/core/java/android/view/autofill/
DIAutoFillManagerClient.aidl109 void startIntentSender(in IntentSender intentSender, in Intent intent); in startIntentSender() argument
/frameworks/base/services/tests/PackageManagerServiceTests/host/test-apps/DeviceSide/src/com/android/server/pm/
DPackageInstallerSessionTest.kt110 session.commit(sender.intentSender) in <lambda>()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
DNotificationLockscreenUserManagerImpl.java153 final IntentSender intentSender = intent.getParcelableExtra(
156 if (intentSender != null) {
158 mContext.startIntentSender(intentSender, null, 0, 0, 0);
/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/core/tests/PackageInstallerSessions/src/android/content/pm/
DPackageSessionTests.kt82 … PendingIntent.FLAG_UPDATE_CURRENT or PendingIntent.FLAG_MUTABLE_UNAUDITED).intentSender in <lambda>()
/frameworks/base/core/java/android/provider/
DDocumentsProvider.java1152 final IntentSender intentSender = createWebLinkIntent(documentId, options); in callUnchecked() local
1154 out.putParcelable(DocumentsContract.EXTRA_RESULT, intentSender); in callUnchecked()
/frameworks/base/core/java/android/os/
DRecoverySystem.java734 @NonNull String updateToken, @Nullable IntentSender intentSender) throws IOException { in prepareForUnattendedUpdate() argument
746 if (!rs.requestLskf(context.getPackageName(), intentSender)) { in prepareForUnattendedUpdate()

12