Home
last modified time | relevance | path

Searched refs:resultReceiver (Results 1 – 25 of 161) sorted by relevance

1234567

/frameworks/base/services/companion/java/com/android/server/companion/association/
DAssociationRequestsProcessor.java243 @NonNull ResultReceiver resultReceiver, @Nullable MacAddress macAddress) { in processAssociationRequestApproval() argument
264 resultReceiver); in processAssociationRequestApproval()
270 @NonNull ResultReceiver resultReceiver) { in createAssociationAndNotifyApplication() argument
275 callback, resultReceiver); in createAssociationAndNotifyApplication()
286 @Nullable ResultReceiver resultReceiver) { in createAssociation() argument
296 maybeGrantRoleAndStoreAssociation(association, callback, resultReceiver); in createAssociation()
304 @Nullable ResultReceiver resultReceiver) { in maybeGrantRoleAndStoreAssociation() argument
314 sendCallbackAndFinish(association, callback, resultReceiver); in maybeGrantRoleAndStoreAssociation()
319 sendCallbackAndFinish(null, callback, resultReceiver); in maybeGrantRoleAndStoreAssociation()
360 @Nullable ResultReceiver resultReceiver) { in sendCallbackAndFinish() argument
[all …]
/frameworks/base/telecomm/java/com/android/internal/telecom/
DClientTransactionalServiceWrapper.java124 ReceiverWrapper(ResultReceiver resultReceiver) { in ReceiverWrapper() argument
125 mRepeaterReceiver = resultReceiver; in ReceiverWrapper()
232 public void onSetActive(String callId, ResultReceiver resultReceiver) {
233 handleCallEventCallback(ON_SET_ACTIVE, callId, resultReceiver);
237 public void onSetInactive(String callId, ResultReceiver resultReceiver) {
238 handleCallEventCallback(ON_SET_INACTIVE, callId, resultReceiver);
242 public void onAnswer(String callId, int videoState, ResultReceiver resultReceiver) {
243 handleCallEventCallback(ON_ANSWER, callId, resultReceiver, videoState);
248 ResultReceiver resultReceiver) {
249 handleCallEventCallback(ON_DISCONNECT, callId, resultReceiver, cause);
[all …]
/frameworks/layoutlib/bridge/src/android/view/inputmethod/
DInputMethodManager_Delegate.java50 ResultReceiver resultReceiver) { in showSoftInput() argument
56 ImeTracker.Token statsToken, int flags, ResultReceiver resultReceiver, int reason) { in showSoftInput() argument
68 IBinder windowToken, int flags, ResultReceiver resultReceiver) { in hideSoftInputFromWindow() argument
74 IBinder windowToken, int flags, ResultReceiver resultReceiver, int reason) { in hideSoftInputFromWindow() argument
/frameworks/base/core/java/android/credentials/selection/
DIntentFactory.java68 @NonNull ResultReceiver resultReceiver) { in createCredentialSelectorIntentForAutofill() argument
70 disabledProviderDataList, resultReceiver); in createCredentialSelectorIntentForAutofill()
99 @NonNull ResultReceiver resultReceiver) { in createCredentialSelectorIntentForCredMan() argument
101 disabledProviderDataList, resultReceiver); in createCredentialSelectorIntentForCredMan()
133 @NonNull ResultReceiver resultReceiver) { in createCredentialSelectorIntent() argument
135 enabledProviderDataList, disabledProviderDataList, resultReceiver).getIntent(); in createCredentialSelectorIntent()
165 @NonNull ResultReceiver resultReceiver) { in createCredentialSelectorIntentInternal() argument
173 Constants.EXTRA_RESULT_RECEIVER, toIpcFriendlyResultReceiver(resultReceiver)); in createCredentialSelectorIntentInternal()
283 T resultReceiver) { in toIpcFriendlyResultReceiver() argument
285 resultReceiver.writeToParcel(parcel, 0); in toIpcFriendlyResultReceiver()
/frameworks/base/core/java/android/os/health/
DSystemHealthManager.java77 public SynchronousResultReceiver resultReceiver; field in SystemHealthManager.PendingUidSnapshots
179 SynchronousResultReceiver resultReceiver; in takeUidSnapshots() local
182 resultReceiver = mPendingUidSnapshots.resultReceiver; in takeUidSnapshots()
185 mPendingUidSnapshots.resultReceiver = resultReceiver = in takeUidSnapshots()
188 mBatteryStats.takeUidSnapshotsAsync(uids, resultReceiver); in takeUidSnapshots()
197 result = resultReceiver.awaitResult(TAKE_UID_SNAPSHOT_TIMEOUT_MILLIS); in takeUidSnapshots()
202 if (mPendingUidSnapshots.resultReceiver == resultReceiver) { in takeUidSnapshots()
204 mPendingUidSnapshots.resultReceiver = null; in takeUidSnapshots()
/frameworks/base/services/tests/servicestests/src/com/android/server/devicepolicy/
DDpmMockContext.java341 BroadcastReceiver resultReceiver, Handler scheduler, int initialCode, in sendOrderedBroadcast() argument
343 spiedContext.sendOrderedBroadcast(intent, receiverPermission, resultReceiver, scheduler, in sendOrderedBroadcast()
349 BroadcastReceiver resultReceiver, Handler scheduler, int initialCode, in sendOrderedBroadcast() argument
351 spiedContext.sendOrderedBroadcast(intent, receiverPermission, options, resultReceiver, in sendOrderedBroadcast()
358 BroadcastReceiver resultReceiver, Handler scheduler, int initialCode, in sendOrderedBroadcast() argument
360 spiedContext.sendOrderedBroadcast(intent, receiverPermission, appOp, resultReceiver, in sendOrderedBroadcast()
396 String receiverPermission, BroadcastReceiver resultReceiver, Handler scheduler, in sendOrderedBroadcastAsUser() argument
399 intent, user, receiverPermission, AppOpsManager.OP_NONE, resultReceiver, in sendOrderedBroadcastAsUser()
405 String receiverPermission, int appOp, BroadcastReceiver resultReceiver, in sendOrderedBroadcastAsUser() argument
408 intent, user, receiverPermission, appOp, null, resultReceiver, in sendOrderedBroadcastAsUser()
[all …]
/frameworks/base/packages/CredentialManager/shared/src/com/android/credentialmanager/client/impl/
DCredentialManagerClientImpl.kt75 currentRequest.resultReceiver?.let { receiver -> in <lambda>()
119 resultReceiver = resultReceiver in <lambda>()
126 resultReceiver: ResultReceiver? in <lambda>()
128 if (requestToken != null && resultReceiver != null) { in <lambda>()
131 resultReceiver.send(cancelCode, resultData) in <lambda>()
/frameworks/base/packages/CredentialManager/shared/src/com/android/credentialmanager/model/
DRequest.kt28 open val resultReceiver: ResultReceiver? = null constant in com.android.credentialmanager.model.Request
52 override val resultReceiver: ResultReceiver?, constant in com.android.credentialmanager.model.Request.Get
54 ) : Request(token, resultReceiver)
/frameworks/base/core/java/android/view/inputmethod/
DInputMethod.java321 public default void showSoftInputWithToken(@ShowFlags int flags, ResultReceiver resultReceiver, in showSoftInputWithToken() argument
323 showSoftInput(flags, resultReceiver); in showSoftInputWithToken()
338 public void showSoftInput(@ShowFlags int flags, ResultReceiver resultReceiver); in showSoftInput() argument
359 public default void hideSoftInputWithToken(int flags, ResultReceiver resultReceiver, in hideSoftInputWithToken() argument
361 hideSoftInput(flags, resultReceiver); in hideSoftInputWithToken()
379 public void hideSoftInput(int flags, ResultReceiver resultReceiver); in hideSoftInput() argument
/frameworks/base/packages/CredentialManager/shared/src/com/android/credentialmanager/mapper/
DRequestGetMapper.kt23 import com.android.credentialmanager.ktx.resultReceiver
30 resultReceiver = resultReceiver, in Intent()
/frameworks/base/services/translation/java/com/android/server/translation/
DRemoteTranslationService.java89 IResultReceiver resultReceiver) { in onSessionCreated() argument
90 run((s) -> s.onCreateTranslationSession(translationContext, sessionId, resultReceiver)); in onSessionCreated()
95 @NonNull ResultReceiver resultReceiver) { in onTranslationCapabilitiesRequest() argument
96 run((s) -> s.onTranslationCapabilitiesRequest(sourceFormat, targetFormat, resultReceiver)); in onTranslationCapabilitiesRequest()
/frameworks/base/core/java/android/view/contentcapture/
DContentCaptureManager.java701 final SyncResultReceiver resultReceiver = new SyncResultReceiver(SYNC_CALLS_TIMEOUT_MS); in getServiceComponentName()
703 mService.getServiceComponentName(resultReceiver); in getServiceComponentName()
704 return resultReceiver.getParcelableResult(); in getServiceComponentName()
728 final SyncResultReceiver resultReceiver = new SyncResultReceiver(SYNC_CALLS_TIMEOUT_MS); in getServiceSettingsComponentName() local
730 service.getServiceSettingsActivity(resultReceiver); in getServiceSettingsComponentName()
731 final int resultCode = resultReceiver.getIntResult(); in getServiceSettingsComponentName()
733 throw new SecurityException(resultReceiver.getStringResult()); in getServiceSettingsComponentName()
735 return resultReceiver.getParcelableResult(); in getServiceSettingsComponentName()
789 final SyncResultReceiver resultReceiver = syncRun( in getContentCaptureConditions()
793 final ArrayList<ContentCaptureCondition> result = resultReceiver in getContentCaptureConditions()
[all …]
/frameworks/base/packages/CredentialManager/src/com/android/credentialmanager/
DCredentialManagerRepo.kt60 val resultReceiver: ResultReceiver? constant
103 resultReceiver = intent.getParcelableExtra(
202 sendCancellationCode(cancelCode, requestInfo?.token, resultReceiver) in onCancel()
222 resultReceiver?.send( in onOptionSelected()
289 resultReceiver: ResultReceiver? in sendCancellationCode()
291 if (requestToken != null && resultReceiver != null) { in sendCancellationCode()
295 resultReceiver.send(cancelCode, resultData) in sendCancellationCode()
/frameworks/base/core/java/android/service/translation/
DTranslationService.java123 @NonNull ResultReceiver resultReceiver) throws RemoteException {
127 resultReceiver));
336 int sessionId, IResultReceiver resultReceiver) { in handleOnCreateTranslationSession() argument
345 resultReceiver.send(STATUS_SYNC_CALL_FAIL, null); in handleOnCreateTranslationSession()
352 resultReceiver.send(STATUS_SYNC_CALL_SUCCESS, extras); in handleOnCreateTranslationSession()
364 @NonNull ResultReceiver resultReceiver) { in handleOnTranslationCapabilitiesRequest() argument
379 resultReceiver.send(STATUS_SYNC_CALL_SUCCESS, bundle); in handleOnTranslationCapabilitiesRequest()
/frameworks/base/services/core/java/com/android/server/inputmethod/
DZeroJankProxy.java179 @MotionEvent.ToolType int lastClickToolType, ResultReceiver resultReceiver, in showSoftInput() argument
189 resultReceiver, in showSoftInput()
191 sendResultReceiverFailure(resultReceiver); in showSoftInput()
200 ResultReceiver resultReceiver, @SoftInputShowHideReason int reason) { in hideSoftInput() argument
204 client, windowToken, statsToken, flags, resultReceiver, reason)) { in hideSoftInput()
205 sendResultReceiverFailure(resultReceiver); in hideSoftInput()
211 private void sendResultReceiverFailure(@Nullable ResultReceiver resultReceiver) { in sendResultReceiverFailure() argument
212 if (resultReceiver == null) { in sendResultReceiverFailure()
219 resultReceiver.send(isInputShown in sendResultReceiverFailure()
442 @NonNull ResultReceiver resultReceiver, @NonNull Binder self) { in onShellCommand() argument
[all …]
DDefaultImeVisibilityApplier.java82 @InputMethod.ShowFlags int showFlags, ResultReceiver resultReceiver, in performShowIme() argument
88 + ", " + showFlags + ", " + resultReceiver + ") for reason: " in performShowIme()
92 if (curMethod.showSoftInput(showInputToken, statsToken, showFlags, resultReceiver)) { in performShowIme()
110 ResultReceiver resultReceiver, @SoftInputShowHideReason int reason) { in performHideIme() argument
119 + ", " + resultReceiver + ") for reason: " in performHideIme()
123 if (curMethod.hideSoftInput(hideInputToken, statsToken, 0, resultReceiver)) { in performHideIme()
DImeVisibilityApplier.java43 @InputMethod.ShowFlags int showFlags, ResultReceiver resultReceiver, in performShowIme() argument
56 ResultReceiver resultReceiver, @SoftInputShowHideReason int reason) {} in performHideIme() argument
/frameworks/base/core/java/android/os/
DIPowerStatsService.aidl35 oneway void getSupportedPowerMonitors(in ResultReceiver resultReceiver); in getSupportedPowerMonitors() argument
38 in ResultReceiver resultReceiver); in getPowerMonitorReadings() argument
/frameworks/base/core/java/android/telephony/
DCellBroadcastIntents.java85 @Nullable BroadcastReceiver resultReceiver, @Nullable Handler scheduler, in sendSmsCbReceivedBroadcast() argument
95 receiverPermission, receiverAppOp, resultReceiver, scheduler, initialCode, in sendSmsCbReceivedBroadcast()
99 receiverAppOp, resultReceiver, scheduler, initialCode, null, null); in sendSmsCbReceivedBroadcast()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/screenshot/appclips/
DAppClipsActivityTest.java144 ResultReceiver resultReceiver = createResultReceiver((resultCode, data) -> { in screenshotDisplayed_userConsented_screenshotExportedSuccessfully() local
153 launchActivity(resultReceiver); in screenshotDisplayed_userConsented_screenshotExportedSuccessfully()
163 ResultReceiver resultReceiver = createResultReceiver((resultCode, data) -> { in screenshotDisplayed_userDeclined() local
171 launchActivity(resultReceiver); in screenshotDisplayed_userDeclined()
183 private void launchActivity(ResultReceiver resultReceiver) { in launchActivity() argument
185 .putExtra(AppClipsTrampolineActivity.EXTRA_RESULT_RECEIVER, resultReceiver) in launchActivity()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
DContextFixture.java499 BroadcastReceiver resultReceiver, Handler scheduler, int initialCode, in sendOrderedBroadcast() argument
502 if (resultReceiver != null) { in sendOrderedBroadcast()
504 mOrderedBroadcastReceivers.put(intent, resultReceiver); in sendOrderedBroadcast()
511 BroadcastReceiver resultReceiver, Handler scheduler, int initialCode, in sendOrderedBroadcast() argument
514 sendOrderedBroadcast(intent, receiverPermission, resultReceiver, scheduler, in sendOrderedBroadcast()
520 BroadcastReceiver resultReceiver, Handler scheduler, int initialCode, in sendOrderedBroadcast() argument
522 sendOrderedBroadcast(intent, receiverPermission, resultReceiver, scheduler, in sendOrderedBroadcast()
556 String receiverPermission, BroadcastReceiver resultReceiver, Handler scheduler, in sendOrderedBroadcastAsUser() argument
560 if (resultReceiver != null) { in sendOrderedBroadcastAsUser()
562 mOrderedBroadcastReceivers.put(intent, resultReceiver); in sendOrderedBroadcastAsUser()
[all …]
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DInboundSmsHandler.java1065 SmsBroadcastReceiver resultReceiver = tracker.getSmsBroadcastReceiver(this); in processMessagePart() local
1074 resultReceiver, in processMessagePart()
1079 int result = mWapPush.dispatchWapPdu(output.toByteArray(), resultReceiver, in processMessagePart()
1132 pdus, destPort, tracker, resultReceiver, true /* userUnlocked */, block); in processMessagePart()
1145 dispatchSmsDeliveryIntent(pdus, format, destPort, resultReceiver, in processMessagePart()
1162 byte[][] pdus, int destPort, SmsBroadcastReceiver resultReceiver, boolean block) { in processMessagePartWithUserLocked() argument
1170 pdus, destPort, tracker, resultReceiver, false /* userUnlocked */, in processMessagePartWithUserLocked()
1231 (pdus, destPort, tracker, resultReceiver, userUnlocked, block, remainingFilters) in createDefaultSmsFilters() argument
1235 pdus, destPort, tracker, tracker.getFormat(), resultReceiver, in createDefaultSmsFilters()
1251 (pdus, destPort, tracker, resultReceiver, userUnlocked, block, remainingFilters) in createDefaultSmsFilters() argument
[all …]
/frameworks/base/services/companion/java/com/android/server/companion/utils/
DUtils.java37 public static <T extends ResultReceiver> ResultReceiver prepareForIpc(T resultReceiver) { in prepareForIpc() argument
39 resultReceiver.writeToParcel(parcel, 0); in prepareForIpc()
/frameworks/base/core/java/android/content/
DContextWrapper.java573 @Nullable BroadcastReceiver resultReceiver, @Nullable Handler scheduler, in sendOrderedBroadcast() argument
576 resultReceiver, scheduler, initialCode, in sendOrderedBroadcast()
583 @Nullable BroadcastReceiver resultReceiver, @Nullable Handler scheduler, in sendOrderedBroadcast() argument
586 options, resultReceiver, scheduler, initialCode, in sendOrderedBroadcast()
594 @Nullable BroadcastReceiver resultReceiver, @Nullable Handler scheduler, in sendOrderedBroadcast() argument
597 resultReceiver, scheduler, initialCode, in sendOrderedBroadcast()
628 @Nullable String receiverPermission, @Nullable BroadcastReceiver resultReceiver, in sendOrderedBroadcastAsUser() argument
631 mBase.sendOrderedBroadcastAsUser(intent, user, receiverPermission, resultReceiver, in sendOrderedBroadcastAsUser()
639 @Nullable BroadcastReceiver resultReceiver, @Nullable Handler scheduler, in sendOrderedBroadcastAsUser() argument
641 mBase.sendOrderedBroadcastAsUser(intent, user, receiverPermission, appOp, resultReceiver, in sendOrderedBroadcastAsUser()
[all …]
/frameworks/base/packages/CredentialManager/wear/robotests/src/com/android/credentialmanager/
DCredentialSelectorUiStateGetMapperTest.kt102 resultReceiver = null, in On primary screen, just one account returns SingleEntry()
114 resultReceiver = null, in On primary screen, multiple accounts returns SingleEntryPerAccount()
133 resultReceiver = null, in On secondary screen, a MultipleEntry is returned()
151 resultReceiver = null, in Returned multiple entry is sorted by credentialType and lastUsedTimeMillis()

1234567