Home
last modified time | relevance | path

Searched refs:requestResult (Results 1 – 25 of 27) sorted by relevance

12

/frameworks/opt/net/ims/src/java/com/android/ims/rcs/uce/request/
DSubscribeRequestCoordinator.java245 RequestResult requestResult = sRequestErrorCreator.createRequestResult(taskId, response, in handleRequestError() local
247 moveRequestToFinishedCollection(taskId, requestResult); in handleRequestError()
267 RequestResult requestResult = sCommandErrorCreator.createRequestResult(taskId, response, in handleCommandError() local
269 moveRequestToFinishedCollection(taskId, requestResult); in handleCommandError()
295 RequestResult requestResult = handleNetworkResponseFailed(request); in handleNetworkResponse() local
309 moveRequestToFinishedCollection(request.getTaskId(), requestResult); in handleNetworkResponse() local
317 RequestResult requestResult = null; in handleNetworkResponseFailed() local
330 requestResult = sNetworkRespSuccessfulCreator.createRequestResult(taskId, response, in handleNetworkResponseFailed()
344 requestResult = sNetworkRespErrorCreator.createRequestResult(taskId, response, in handleNetworkResponseFailed()
347 return requestResult; in handleNetworkResponseFailed()
[all …]
DOptionsRequestCoordinator.java188 RequestResult requestResult = sRequestErrorCreator.createRequestResult(taskId, response); in handleRequestError() local
189 moveRequestToFinishedCollection(taskId, requestResult); in handleRequestError()
210 RequestResult requestResult = sCommandErrorCreator.createRequestResult(taskId, response); in handleCommandError() local
211 moveRequestToFinishedCollection(taskId, requestResult); in handleCommandError()
240 RequestResult requestResult = sNetworkRespCreator.createRequestResult(taskId, response); in handleNetworkResponse() local
241 moveRequestToFinishedCollection(taskId, requestResult); in handleNetworkResponse()
275 RequestResult requestResult = sNotNeedRequestFromNetworkCreator.createRequestResult(taskId, in handleNoNeedRequestFromNetwork() local
277 moveRequestToFinishedCollection(taskId, requestResult); in handleNoNeedRequestFromNetwork()
293 RequestResult requestResult = sRequestTimeoutCreator.createRequestResult(taskId, in handleRequestTimeout() local
295 moveRequestToFinishedCollection(taskId, requestResult); in handleRequestTimeout()
DOptionsRequest.java159 int requestResult = RcsContactUceCapability.REQUEST_RESULT_FOUND; in getContactCapabilities() local
165 requestResult = RcsContactUceCapability.REQUEST_RESULT_NOT_ONLINE; in getContactCapabilities()
170 requestResult = RcsContactUceCapability.REQUEST_RESULT_NOT_FOUND; in getContactCapabilities()
173 requestResult = RcsContactUceCapability.REQUEST_RESULT_NOT_FOUND; in getContactCapabilities()
180 optionsBuilder.setRequestResult(requestResult); in getContactCapabilities()
DRemoteOptionsCoordinator.java149 RequestResult requestResult = sRemoteResponseCreator.createRequestResult(taskId, response); in handleRemoteRequestDone() local
150 moveRequestToFinishedCollection(taskId, requestResult); in handleRemoteRequestDone()
DUceRequestCoordinator.java254 protected void moveRequestToFinishedCollection(Long taskId, RequestResult requestResult) { in moveRequestToFinishedCollection() argument
257 mFinishedRequests.put(taskId, requestResult); in moveRequestToFinishedCollection()
/frameworks/base/media/java/android/media/audiopolicy/
DIAudioPolicyCallback.aidl26 void notifyAudioFocusGrant(in AudioFocusInfo afi, int requestResult); in notifyAudioFocusGrant() argument
29 void notifyAudioFocusRequest(in AudioFocusInfo afi, int requestResult); in notifyAudioFocusRequest() argument
DAudioPolicy.java905 public void onAudioFocusGrant(AudioFocusInfo afi, int requestResult) {} in onAudioFocusGrant() argument
916 public void onAudioFocusRequest(AudioFocusInfo afi, int requestResult) {} in onAudioFocusRequest() argument
961 public void notifyAudioFocusGrant(AudioFocusInfo afi, int requestResult) {
962 sendMsg(MSG_FOCUS_GRANT, afi, requestResult);
965 + afi.getClientId() + "reqRes=" + requestResult);
977 public void notifyAudioFocusRequest(AudioFocusInfo afi, int requestResult) {
978 sendMsg(MSG_FOCUS_REQUEST, afi, requestResult);
/frameworks/opt/net/ims/src/java/com/android/ims/rcs/uce/presence/pidfparser/
DRcsContactUceCapabilityWrapper.java50 public RcsContactUceCapabilityWrapper(@NonNull Uri contact, int sourceType, int requestResult) { in RcsContactUceCapabilityWrapper() argument
53 mRequestResult = requestResult; in RcsContactUceCapabilityWrapper()
DPidfParserUtils.java301 int requestResult = (Arrays.stream(REQUEST_RESULT_REASON_NOT_FOUND) in getTerminatedCapability() local
308 contact, RcsContactUceCapability.SOURCE_TYPE_NETWORK, requestResult); in getTerminatedCapability()
/frameworks/base/services/tests/servicestests/src/com/android/server/recoverysystem/
DRecoverySystemServiceTestable.java114 public void reportRebootEscrowPreparationMetrics(int uid, int requestResult, in reportRebootEscrowPreparationMetrics() argument
116 mIMetricsReporter.reportRebootEscrowPreparationMetrics(uid, requestResult, in reportRebootEscrowPreparationMetrics()
185 void reportRebootEscrowPreparationMetrics(int uid, int requestResult, in reportRebootEscrowPreparationMetrics() argument
/frameworks/base/telephony/java/android/telephony/ims/
DRcsContactUceCapability.java147 public @NonNull OptionsBuilder setRequestResult(@RequestResult int requestResult) { in setRequestResult() argument
148 mCapabilities.mRequestResult = requestResult; in setRequestResult()
196 @RequestResult int requestResult) { in PresenceBuilder() argument
199 mCapabilities.mRequestResult = requestResult; in PresenceBuilder()
/frameworks/base/media/java/android/media/
DIAudioFocusDispatcher.aidl29 void dispatchFocusResultFromExtPolicy(int requestResult, String clientId); in dispatchFocusResultFromExtPolicy() argument
DAudioManager.java4073 public void dispatchFocusResultFromExtPolicy(int requestResult, String clientId) {
4079 focusReceiver.notifyResult(requestResult);
4552 return focusReceiver.requestResult(); in requestAudioFocus()
4591 int requestResult() { return mFocusRequestResult; } in requestResult() method in AudioManager.BlockingFocusResultReceiver
4593 void notifyResult(int requestResult) { in notifyResult() argument
4596 mFocusRequestResult = requestResult; in notifyResult()
4669 @FocusRequestResult int requestResult, @NonNull AudioPolicy ap) { in setFocusRequestResult() argument
4678 service.setFocusRequestResultFromExtPolicy(afi, requestResult, ap.cb()); in setFocusRequestResult()
DIAudioService.aidl297 oneway void setFocusRequestResultFromExtPolicy(in AudioFocusInfo afi, int requestResult, in setFocusRequestResultFromExtPolicy() argument
/frameworks/base/core/java/com/android/internal/view/
DIInlineSuggestionsRequestCallback.aidl52 void onInputMethodShowInputRequested(boolean requestResult); in onInputMethodShowInputRequested() argument
/frameworks/opt/net/ims/tests/src/com/android/ims/rcs/uce/request/
DRemoteOptionsCoordinatorTest.java107 int requestResult = RcsContactUceCapability.REQUEST_RESULT_FOUND; in getContactUceCapability() local
110 mContact, RcsContactUceCapability.SOURCE_TYPE_NETWORK, requestResult); in getContactUceCapability()
DSubscribeCoordinatorTest.java278 int requestResult = RcsContactUceCapability.REQUEST_RESULT_FOUND; in getContactUceCapability() local
281 mContact, RcsContactUceCapability.SOURCE_TYPE_NETWORK, requestResult); in getContactUceCapability()
287 int requestResult = RcsContactUceCapability.REQUEST_RESULT_FOUND; in getContactUceCapability() local
290 mContact, RcsContactUceCapability.SOURCE_TYPE_NETWORK, requestResult); in getContactUceCapability()
DOptionsCoordinatorTest.java153 int requestResult = RcsContactUceCapability.REQUEST_RESULT_FOUND; in getContactUceCapability() local
156 mContact, RcsContactUceCapability.SOURCE_TYPE_NETWORK, requestResult); in getContactUceCapability()
/frameworks/base/services/core/java/com/android/server/audio/
DMediaFocusControl.java720 void notifyExtPolicyFocusGrant_syncAf(AudioFocusInfo afi, int requestResult) { in notifyExtPolicyFocusGrant_syncAf() argument
724 pcb.notifyAudioFocusGrant(afi, requestResult); in notifyExtPolicyFocusGrant_syncAf()
800 void setFocusRequestResultFromExtPolicy(AudioFocusInfo afi, int requestResult) { in setFocusRequestResultFromExtPolicy() argument
807 if (requestResult == AudioManager.AUDIOFOCUS_REQUEST_FAILED) { in setFocusRequestResultFromExtPolicy()
813 fr.dispatchFocusResultFromExtPolicy(requestResult); in setFocusRequestResultFromExtPolicy()
1107 final int requestResult = pushBelowLockedFocusOwnersAndPropagate(nfr); in requestAudioFocus() local
1108 if (requestResult != AudioManager.AUDIOFOCUS_REQUEST_FAILED) { in requestAudioFocus()
1109 notifyExtPolicyFocusGrant_syncAf(nfr.toAudioFocusInfo(), requestResult); in requestAudioFocus() local
1111 return requestResult; in requestAudioFocus()
DFocusRequester.java517 void dispatchFocusResultFromExtPolicy(int requestResult) { in dispatchFocusResultFromExtPolicy() argument
526 Log.v(TAG, "dispatching result" + requestResult + " to " + mClientId); in dispatchFocusResultFromExtPolicy()
529 fd.dispatchFocusResultFromExtPolicy(requestResult, mClientId); in dispatchFocusResultFromExtPolicy()
/frameworks/base/core/java/android/inputmethodservice/
DInlineSuggestionSessionController.java158 void notifyOnShowInputRequested(boolean requestResult) { in notifyOnShowInputRequested() argument
162 mSession.getRequestCallback().onInputMethodShowInputRequested(requestResult); in notifyOnShowInputRequested()
/frameworks/base/services/autofill/java/com/android/server/autofill/
DAutofillInlineSuggestionsRequestSession.java417 public void onInputMethodShowInputRequested(boolean requestResult) throws RemoteException { in onInputMethodShowInputRequested() argument
419 Slog.v(TAG, "onInputMethodShowInputRequested() received: " + requestResult); in onInputMethodShowInputRequested()
/frameworks/base/services/core/java/com/android/server/recoverysystem/
DRecoverySystemService.java346 @ResumeOnRebootActionsOnRequest int requestResult, int requestedClientCount) { in reportRebootEscrowPreparationMetrics() argument
348 requestResult, requestedClientCount); in reportRebootEscrowPreparationMetrics()
535 private void reportMetricsOnRequestLskf(String packageName, int requestResult) { in reportMetricsOnRequestLskf() argument
548 mInjector.reportRebootEscrowPreparationMetrics(uid, requestResult, pendingRequestCount); in reportMetricsOnRequestLskf()
/frameworks/layoutlib/bridge/src/android/media/
DAudioManager.java325 public void setFocusRequestResult(AudioFocusInfo afi, int requestResult, AudioPolicy ap) { } in setFocusRequestResult() argument
/frameworks/base/services/core/java/com/android/server/inputmethod/
DInputMethodManagerService.java2303 public void onInputMethodShowInputRequested(boolean requestResult) throws RemoteException { in onInputMethodShowInputRequested() argument
2304 mCallback.onInputMethodShowInputRequested(requestResult); in onInputMethodShowInputRequested()

12