Home
last modified time | relevance | path

Searched refs:resultCallback (Results 1 – 25 of 60) sorted by relevance

123

/frameworks/base/telephony/java/android/telephony/satellite/stub/
DSatelliteImplBase.java75 IIntegerConsumer resultCallback) throws RemoteException {
78 .requestSatelliteListeningEnabled(enable, timeout, resultCallback),
84 IIntegerConsumer resultCallback) throws RemoteException {
87 .enableCellularModemWhileSatelliteModeIsOn(enabled, resultCallback),
93 boolean isEmergency, IIntegerConsumer resultCallback) throws RemoteException {
97 enableSatellite, enableDemoMode, isEmergency, resultCallback),
102 public void requestIsSatelliteEnabled(IIntegerConsumer resultCallback,
106 .requestIsSatelliteEnabled(resultCallback, callback),
111 public void requestIsSatelliteSupported(IIntegerConsumer resultCallback,
115 .requestIsSatelliteSupported(resultCallback, callback),
[all …]
DISatellite.aidl69 in IIntegerConsumer resultCallback); in requestSatelliteListeningEnabled() argument
103 in boolean isEmergency, in IIntegerConsumer resultCallback); in requestSatelliteEnabled() argument
124 void requestIsSatelliteEnabled(in IIntegerConsumer resultCallback, in requestIsSatelliteEnabled() argument
146 void requestIsSatelliteSupported(in IIntegerConsumer resultCallback, in requestIsSatelliteSupported() argument
168 void requestSatelliteCapabilities(in IIntegerConsumer resultCallback, in requestSatelliteCapabilities() argument
188 void startSendingSatellitePointingInfo(in IIntegerConsumer resultCallback); in startSendingSatellitePointingInfo() argument
206 void stopSendingSatellitePointingInfo(in IIntegerConsumer resultCallback); in stopSendingSatellitePointingInfo() argument
232 in IIntegerConsumer resultCallback); in provisionSatelliteService() argument
255 void deprovisionSatelliteService(in String token, in IIntegerConsumer resultCallback); in deprovisionSatelliteService() argument
276 void requestIsSatelliteProvisioned(in IIntegerConsumer resultCallback, in requestIsSatelliteProvisioned() argument
[all …]
/frameworks/opt/telephony/src/java/com/android/internal/telephony/uicc/euicc/apdu/
DApduSender.java100 ApduSenderResultCallback resultCallback, in send() argument
114 resultCallback, handler); in send()
120 resultCallback, handler); in send()
138 resultCallback.onException( in send()
154 closeAndReturn(channel, null /* response */, requestException, resultCallback, in send()
158 sendCommand(builder.getCommands(), 0 /* index */, resultCallback, handler); in send()
173 ApduSenderResultCallback resultCallback, in sendCommand() argument
189 new ApduException(status), resultCallback, handler); in sendCommand()
195 && resultCallback.shouldContinueOnIntermediateResult( in sendCommand()
199 sendCommand(commands, index + 1, resultCallback, handler); in sendCommand()
[all …]
/frameworks/opt/telephony/src/java/com/android/internal/telephony/uicc/euicc/async/
DAsyncMessageInvocation.java45 Request request, AsyncResultCallback<Response> resultCallback, Handler handler) { in invoke() argument
47 sendRequestMessage(request, h.obtainMessage(0, resultCallback)); in invoke()
54 AsyncResultCallback<Response> resultCallback = in handleMessage() local
57 resultCallback.onResult(parseResult(result)); in handleMessage()
59 resultCallback.onException(t); in handleMessage()
/frameworks/base/core/java/android/service/resumeonreboot/
DResumeOnRebootService.java127 RemoteCallback resultCallback) throws RemoteException {
134 resultCallback.sendResult(bundle);
138 resultCallback.sendResult(bundle);
144 public void unwrap(byte[] wrappedBlob, RemoteCallback resultCallback)
151 resultCallback.sendResult(bundle);
155 resultCallback.sendResult(bundle);
DIResumeOnRebootService.aidl23 …id wrapSecret(in byte[] unwrappedBlob, in long lifeTimeInMillis, in RemoteCallback resultCallback); in wrapSecret() argument
24 oneway void unwrap(in byte[] wrappedBlob, in RemoteCallback resultCallback); in unwrap() argument
/frameworks/base/services/core/java/com/android/server/locksettings/
DResumeOnRebootServiceProvider.java178 resultCallback = in wrapBlob() local
181 mBinder.wrapSecret(unwrappedBlob, lifeTimeInMillis, new RemoteCallback(resultCallback)); in wrapBlob()
183 if (resultCallback.getResult().containsKey(ResumeOnRebootService.EXCEPTION_KEY)) { in wrapBlob()
184 throwTypedException(resultCallback.getResult().getParcelable( in wrapBlob()
187 return resultCallback.mResult.getByteArray(ResumeOnRebootService.WRAPPED_BLOB_KEY); in wrapBlob()
198 resultCallback = in unwrap() local
201 mBinder.unwrap(wrappedBlob, new RemoteCallback(resultCallback)); in unwrap()
203 if (resultCallback.getResult().containsKey(ResumeOnRebootService.EXCEPTION_KEY)) { in unwrap()
204 throwTypedException(resultCallback.getResult().getParcelable( in unwrap()
207 return resultCallback.getResult().getByteArray( in unwrap()
/frameworks/base/core/java/android/security/attestationverification/
DAttestationVerificationManager.java113 AndroidFuture<IVerificationResult> resultCallback = new AndroidFuture<>(); in verifyAttestation() local
114 resultCallback.thenAccept(result -> { in verifyAttestation()
122 resultCallback); in verifyAttestation()
178 AndroidFuture<Integer> resultCallback = new AndroidFuture<>(); in verifyToken() local
179 resultCallback.orTimeout(5, TimeUnit.SECONDS); in verifyToken()
181 mService.verifyToken(token, new ParcelDuration(usedMaximumAge), resultCallback); in verifyToken()
182 return resultCallback.get(); // block on result callback in verifyToken()
DIAttestationVerificationManagerService.aidl37 in AndroidFuture resultCallback); in verifyAttestation() argument
42 in AndroidFuture resultCallback); in verifyToken() argument
/frameworks/base/services/core/java/com/android/server/security/
DAttestationVerificationManagerService.java75 AndroidFuture resultCallback) throws RemoteException {
80 attestation, resultCallback);
89 AndroidFuture resultCallback) throws RemoteException {
92 resultCallback.complete(RESULT_UNKNOWN);
124 byte[] attestation, AndroidFuture<IVerificationResult> resultCallback) { in verifyAttestationForAllVerifiers() argument
148 resultCallback.complete(result); in verifyAttestationForAllVerifiers()
/frameworks/ex/camera2/extensions/sample/src/java/androidx/camera/extensions/impl/
DHdrImageCaptureExtenderImpl.java142 ProcessResultImpl resultCallback, Executor executor) { in getCaptureProcessor()
147 if (resultCallback != null) { in getCaptureProcessor()
148 process(results, resultCallback, executor); in getCaptureProcessor()
156 ProcessResultImpl resultCallback, Executor executor) { in getCaptureProcessor()
159 if ((resultCallback != null) && (result != null)) { in getCaptureProcessor()
220 executor.execute(() -> resultCallback.onCaptureCompleted( in getCaptureProcessor()
223 resultCallback.onCaptureProcessProgressed(100)); in getCaptureProcessor()
225 resultCallback.onCaptureCompleted(shutterTimestamp, in getCaptureProcessor()
227 resultCallback.onCaptureProcessProgressed(100); in getCaptureProcessor()
DCaptureProcessorImpl.java89 ProcessResultImpl resultCallback, Executor executor); in process() argument
115 ProcessResultImpl resultCallback, Executor executor); in processWithPostview() argument
DAutoImageCaptureExtenderImpl.java127 ProcessResultImpl resultCallback, Executor executor) { in getCaptureProcessor()
132 if (resultCallback != null) { in getCaptureProcessor()
133 process(results, resultCallback, executor); in getCaptureProcessor()
141 ProcessResultImpl resultCallback, Executor executor) { in getCaptureProcessor()
DHdrPreviewExtenderImpl.java160 ProcessResultImpl resultCallback, Executor executor) { in process() argument
161 if ((resultCallback != null) && (result != null)) { in process()
207 executor.execute(() -> resultCallback.onCaptureCompleted(shutterTimestamp, in process()
210 resultCallback.onCaptureCompleted(shutterTimestamp, captureResults); in process()
DNightImageCaptureExtenderImpl.java127 ProcessResultImpl resultCallback, Executor executor) { in getCaptureProcessor()
132 if (resultCallback != null) { in getCaptureProcessor()
133 process(results, resultCallback, executor); in getCaptureProcessor()
141 ProcessResultImpl resultCallback, Executor executor) { in getCaptureProcessor()
DBokehImageCaptureExtenderImpl.java133 ProcessResultImpl resultCallback, Executor executor) { in getCaptureProcessor()
170 if (resultCallback != null) { in getCaptureProcessor()
171 process(results, resultCallback, executor); in getCaptureProcessor()
179 ProcessResultImpl resultCallback, Executor executor) { in getCaptureProcessor()
182 if ((resultCallback != null) && (result != null)) { in getCaptureProcessor()
244 executor.execute(() -> resultCallback.onCaptureCompleted( in getCaptureProcessor()
247 resultCallback.onCaptureCompleted(shutterTimestamp, in getCaptureProcessor()
DBeautyImageCaptureExtenderImpl.java129 ProcessResultImpl resultCallback, Executor executor) { in getCaptureProcessor()
134 if (resultCallback != null) { in getCaptureProcessor()
135 process(results, resultCallback, executor); in getCaptureProcessor()
143 ProcessResultImpl resultCallback, Executor executor) { in getCaptureProcessor()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/domainselection/
DDomainSelectionConnectionTest.java178 IWwanSelectorResultCallback resultCallback = in testWwanSelectorCallbackOnRequestEmergencyNetworkScan() local
182 false, resultCallback); in testWwanSelectorCallbackOnRequestEmergencyNetworkScan()
206 verify(resultCallback).onComplete(eq(regResult)); in testWwanSelectorCallbackOnRequestEmergencyNetworkScan()
271 IWwanSelectorResultCallback resultCallback = in testWwanSelectorCallbackOnRequestEmergencyNetworkScanWithResetScan() local
275 true, resultCallback); in testWwanSelectorCallbackOnRequestEmergencyNetworkScanWithResetScan()
314 verify(resultCallback).onComplete(eq(regResult)); in testWwanSelectorCallbackOnRequestEmergencyNetworkScanWithResetScan()
342 IWwanSelectorResultCallback resultCallback = in testWwanSelectorCallbackOnRequestEmergencyNetworkScanWithResetScanDoneAndCancel() local
346 true, resultCallback); in testWwanSelectorCallbackOnRequestEmergencyNetworkScanWithResetScanDoneAndCancel()
402 IWwanSelectorResultCallback resultCallback = in testWwanSelectorCallbackOnRequestEmergencyNetworkScanWithResetScanAndCancel() local
406 true, resultCallback); in testWwanSelectorCallbackOnRequestEmergencyNetworkScanWithResetScanAndCancel()
[all …]
/frameworks/ex/camera2/extensions/stub/src/main/java/androidx/camera/extensions/impl/
DCaptureProcessorImpl.java89 ProcessResultImpl resultCallback, Executor executor); in process() argument
115 ProcessResultImpl resultCallback, Executor executor); in processWithPostview() argument
/frameworks/ex/camera2/extensions/advancedSample/src/java/androidx/camera/extensions/impl/
DCaptureProcessorImpl.java89 ProcessResultImpl resultCallback, Executor executor); in process() argument
115 ProcessResultImpl resultCallback, Executor executor); in processWithPostview() argument
/frameworks/base/packages/SystemUI/src/com/android/systemui/settings/
DUserTracker.kt93 fun onUserChanging(newUser: Int, userContext: Context, resultCallback: Runnable) { in addCallback()
95 resultCallback.run() in addCallback()
DUserTrackerImpl.kt230 notifySubscribers { callback, resultCallback -> in <lambda>() method
232 resultCallback.run() in <lambda>()
241 notifySubscribers { callback, resultCallback -> in <lambda>() method
242 callback.onUserChanging(newUserId, userContext, resultCallback) in <lambda>()
305 crossinline action: (UserTracker.Callback, resultCallback: Runnable) -> Unit in <lambda>()
/frameworks/base/services/tests/voiceinteractiontests/src/com/android/server/soundtrigger_middleware/
DSoundHw2CompatTest.java201 resultCallback = invocation.getArgument(3); in loadGenericModel_2_0()
204 resultCallback.onValues(0, handle); in loadGenericModel_2_0()
235 resultCallback = invocation.getArgument(3); in loadGenericModel_2_1()
238 resultCallback.onValues(0, handle); in loadGenericModel_2_1()
316 resultCallback = invocation.getArgument(3); in loadPhraseModel_2_0()
319 resultCallback.onValues(0, handle); in loadPhraseModel_2_0()
350 resultCallback = invocation.getArgument(3); in loadPhraseModel_2_1()
353 resultCallback.onValues(0, handle); in loadPhraseModel_2_1()
498 android.hardware.soundtrigger.V2_3.ISoundTriggerHw.getParameterCallback resultCallback = in testGetParameter()
502 resultCallback.onValues(0, 99); in testGetParameter()
[all …]
/frameworks/ex/camera2/extensions/service_based_sample/oem_library/src/java/androidx/camera/extensions/impl/serviceforward/
DForwardPreviewExtender.java257 ProcessResultImpl resultCallback, @Nullable Executor executor) { in process() argument
261 if (resultCallback != null) { in process()
272 resultCallback.onCaptureCompleted(shutterTimestamp, in process()
276 resultCallback.onCaptureCompleted(shutterTimestamp, in process()
/frameworks/ex/camera2/extensions/service_based_sample/extensions_service/src/com/android/oemextensions/
DImageCaptureExtenderImplStub.java79 IProcessResultImpl resultCallback) {
84 if (resultCallback != null) {
95 resultCallback.onCaptureCompleted(shutterTimestamp,

123