Home
last modified time | relevance | path

Searched refs:sendResult (Results 1 – 25 of 30) sorted by relevance

12

/cts/hostsidetests/devicepolicy/app/CertInstaller/src/com/android/cts/certinstaller/
DCertInstallerReceiver.java95 sendResult(context, true, null); in onReceive()
98 sendResult(context, false, e); in onReceive()
107 sendResult(context, !dpm.hasCaCertInstalled(null, certBuffer), null); in onReceive()
110 sendResult(context, false, e); in onReceive()
115 sendResult(context, containsCertificate(dpm.getInstalledCaCerts(null), certBuffer), in onReceive()
119 sendResult(context, false, e); in onReceive()
141 sendResult(context, dpm.installKeyPair(null, privatekey, certificate, alias), in onReceive()
145 sendResult(context, false, e); in onReceive()
150 sendResult(context, !esid.isEmpty(), null); in onReceive()
153 sendResult(context, false, e); in onReceive()
[all …]
/cts/tests/tests/appenumeration/app/source/src/android/appenumeration/cts/query/
DTestActivity.java182 remoteCallback.sendResult(new Bundle()); in handleIntent()
267 remoteCallback.sendResult(result); in sendGetInstalledAccessibilityServicePackages()
274 callback.sendResult(null); in onCommandReady()
289 remoteCallback.sendResult(result); in awaitPackageBroadcast()
305 final Runnable sendResult = () -> { in awaitSuspendedPackagesBroadcast() local
308 remoteCallback.sendResult(result); in awaitSuspendedPackagesBroadcast()
321 sendResult.run(); in awaitSuspendedPackagesBroadcast()
325 mainHandler.postDelayed(() -> sendResult.run(), token, timeoutMs); in awaitSuspendedPackagesBroadcast()
343 remoteCallback.sendResult(result); in awaitLauncherAppsCallback()
394 remoteCallback.sendResult(result); in awaitLauncherAppsCallback()
[all …]
/cts/tests/tests/media/src/android/media/cts/
DStubMediaBrowserService.java101 result.sendResult(mediaItems); in onLoadChildren()
108 result.sendResult(null); in onLoadChildren()
110 result.sendResult(mChildrenMap.get(parentMediaId)); in onLoadChildren()
125 result.sendResult(new MediaItem(new MediaDescription.Builder() in onLoadItem()
146 mPendingLoadChildrenResult.sendResult(Collections.<MediaItem>emptyList()); in sendDelayedNotifyChildrenChanged()
154 mPendingLoadItemResult.sendResult(new MediaItem(new MediaDescription.Builder() in sendDelayedItemLoaded()
/cts/tests/app/StorageDelegator/src/com/android/test/storagedelegator/
DStorageDelegator.java68 sendResult(result); in onCreate()
72 void sendResult(Bundle result) { in sendResult() method in StorageDelegator
73 getIntent().<RemoteCallback>getParcelableExtra(EXTRA_CALLBACK).sendResult(result); in sendResult()
/cts/tests/tests/telephony/TestSmsRetrieverApp/src/android/telephony/cts/smsretriever/
DMainActivity.java62 sendResult(result); in onCreate()
73 public void sendResult(Bundle result) { in sendResult() method in MainActivity
74 getIntent().<RemoteCallback>getParcelableExtra("callback").sendResult(result); in sendResult()
/cts/tests/tests/voiceinteraction/testapp/src/android/voiceinteraction/testapp/
DDirectActionsActivity.java82 callBack.sendResult(result); in onResume()
117 cancelCallback::sendResult)); in onPerformDirectAction()
149 callback.sendResult(result); in detectDestroyedInteractor()
157 callback.sendResult(result); in invalidateDirectActions()
165 callback.sendResult(result); in doFinish()
/cts/tests/tests/assist/common/src/android/assist/common/
DBaseRemoteCallbackActivity.java44 callback.sendResult(bundle); in notify()
69 remoteCallback.sendResult(bundle); in registerReceivingCallback()
/cts/tests/tests/voiceinteraction/service/src/android/voiceinteraction/service/
DDirectActionsSession.java94 callback.sendResult(result); in onShow()
131 callback.sendResult(result); in executeWithAssist()
133 callback.sendResult(result); in executeWithAssist()
/cts/tests/tests/assist/src/android/assist/cts/
DLifecycleTest.java102 m3pActivityCallback.sendResult(bundle); in testLayerDoesNotTriggerLifecycleMethods()
126 m3pActivityCallback.sendResult(bundle); in testNoUiLayerDoesNotTriggerLifecycleMethods()
DTextViewTest.java92 m3pActivityCallback.sendResult(bundle); in scrollTestApp()
/cts/tests/tests/permission/AppThatRunsRationaleTests/src/android/permission/cts/appthatrunsrationaletests/
DTestActivity.java40 cb.sendResult(res); in onCreate()
/cts/tests/framework/base/windowmanager/src/android/server/wm/
DStartActivityAsUserActivity.java40 cb.sendResult(result); in onCreate()
/cts/tests/tests/assist/service/src/android/assist/service/
DMainInteractionSession.java75 mRemoteCallback.sendResult(bundle); in onCreate()
145 mRemoteCallback.sendResult(bundle); in onShow()
244 mRemoteCallback.sendResult(bundle); in maybeBroadcastResults()
DMainInteractionService.java74 mRemoteCallback.sendResult(bundle); in notify()
/cts/hostsidetests/ui/appA/src/android/taskswitching/appa/
DAppAActivity.java54 getIntent().<RemoteCallback>getParcelableExtra("callback").sendResult(null); in onResume()
/cts/hostsidetests/ui/appB/src/android/taskswitching/appb/
DAppBActivity.java54 getIntent().<RemoteCallback>getParcelableExtra("callback").sendResult(null); in onResume()
/cts/tests/tests/permission5/BlamedPermissionApp/src/android/permission5/cts/blamed/
DBringToForegroundActivity.kt45 callback?.sendResult(result) in onCreate()
/cts/tests/tests/telephony/TestSmsApp22/src/android/telephony/cts/sms23/
DMainActivity.java44 getIntent().<RemoteCallback>getParcelableExtra("callback").sendResult(result); in onCreate()
/cts/tests/tests/app.usage/src/android/app/usage/cts/
DActivityTransitionActivity.java157 private void sendResult() { in sendResult() method in ActivityTransitionActivity
178 sendResult(); in startTest()
191 sendResult(); in startTest()
/cts/tests/tests/telephony/TestFinancialSmsApp/src/android/telephony/cts/financialsms/
DMainActivity.java53 getIntent().<RemoteCallback>getParcelableExtra("callback").sendResult(result); in onCreate()
/cts/hostsidetests/appsecurity/test-apps/SessionInspector/src/com/android/cts/sessioninspector/
DSessionInspectorActivity.java70 remoteCallback.sendResult(result); in onCreate()
/cts/tests/tests/telephony/TestSmsApp/src/android/telephony/cts/sms/
DMainActivity.java66 getIntent().<RemoteCallback>getParcelableExtra("callback").sendResult(result); in onRequestPermissionsResult()
/cts/common/device-side/bedstead/dpmwrapper/src/main/java/com/android/bedstead/dpmwrapper/
DDeviceOwnerHelper.java117 sendResult(receiver, result); in runManagerMethod()
266 private static void sendResult(BroadcastReceiver receiver, Object result) { in sendResult() method in DeviceOwnerHelper
/cts/tests/tests/security/src/android/security/cts/
DCVE_2021_0339.java117 cb.sendResult(res); // update callback in test in onActivityResult()
/cts/tests/tests/voiceinteraction/src/android/voiceinteraction/cts/
DDirectActionsTest.java222 mControl.sendResult(command); in executeCommand()
319 mControl.sendResult(command); in executeRemoteCommand()

12