Home
last modified time | relevance | path

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

123

/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/lib/src/android/appenumeration/cts/
DTestActivity.java216 remoteCallback.sendResult(new Bundle()); in handleIntent()
467 remoteCallback.sendResult(result); in sendGetInstalledAccessibilityServicePackages()
475 callback.sendResult(null); in onCommandReady()
490 remoteCallback.sendResult(result); in awaitPackageBroadcast()
515 remoteCallback.sendResult(result); in awaitPackageRestartedBroadcast()
520 mainHandler.postDelayed(() -> remoteCallback.sendResult(result), token, timeoutMs); in awaitPackageRestartedBroadcast()
528 final Runnable sendResult = () -> { in awaitSuspendedPackagesBroadcast() local
531 remoteCallback.sendResult(result); in awaitSuspendedPackagesBroadcast()
544 sendResult.run(); in awaitSuspendedPackagesBroadcast()
548 mainHandler.postDelayed(() -> sendResult.run(), token, timeoutMs); in awaitSuspendedPackagesBroadcast()
[all …]
/cts/tests/tests/media/bettertogether/src/android/media/bettertogether/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/tests/telephony/TestSmsRetrieverApp/src/android/telephony/cts/smsretriever/
DMainActivity.java55 sendResult(result); in onCreate()
66 public void sendResult(Bundle result) { in sendResult() method in MainActivity
67 getIntent().<RemoteCallback>getParcelableExtra("callback").sendResult(result); in sendResult()
/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/voiceinteraction/testapp/src/android/voiceinteraction/testapp/
DDirectActionsActivity.java95 callBack.sendResult(result); in onResume()
130 cancelCallback::sendResult)); in onPerformDirectAction()
162 callback.sendResult(result); in detectDestroyedInteractor()
170 callback.sendResult(result); in invalidateDirectActions()
178 callback.sendResult(result); in getPackageName()
191 callback.sendResult(result); in getPackageInfo()
201 callback.sendResult(result); in getPackageInfo()
209 callback.sendResult(result); in doFinish()
DTestVisibleActivity.java86 callBack.sendResult(result); in onResume()
112 callback.sendResult(result); in doFinish()
119 callback.sendResult(result); in doCrash()
/cts/tests/app/app/src/android/app/stubs/
DBootCompletedFgs.java64 sendResult(true); in onStartCommand()
67 sendResult(false); in onStartCommand()
72 private void sendResult(boolean success) { in sendResult() method in BootCompletedFgs
/cts/tests/tests/assist/common/src/android/assist/common/
DBaseRemoteCallbackActivity.java44 callback.sendResult(bundle); in notify()
69 remoteCallback.sendResult(bundle); in registerReceivingCallback()
/cts/common/device-side/util-axt/src/com/android/compatibility/common/util/concurrentuser/
DConcurrentUserActivityBase.java69 callback.sendResult(replyBundle);
88 callback.sendResult(reply); in onCreate()
/cts/tests/tests/app.usage/TestApp1/src/android/app/usage/cts/test1/
DTestBroadcastReceiver.java35 remoteCallback.sendResult(null); in onReceive()
DSomeActivity.java48 remoteCallback.sendResult(null); in onResume()
/cts/tests/tests/security/testdata/src/android/security/cts/packageinstallertestapp/
DBackgroundReceiver.java116 remoteCallback.sendResult(result); in sendError()
121 remoteCallback.sendResult(result); in sendSuccess()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/managedprovisioning/
DScreenshotCaptureActivity.java67 mCallback.sendResult(result); in onCreate()
115 mCallback.sendResult(result); in onActivityResult()
/cts/tests/framework/base/windowmanager/src/android/server/wm/activity/
DStartActivityAsUserActivity.java40 cb.sendResult(result); in onCreate()
/cts/hostsidetests/devicepolicy/app/SimpleApp/src/com/android/cts/launcherapps/simpleapp/
DSimpleActivityImmediateExit.java57 mRemoteCallback.sendResult(result); in onStop()
/cts/tests/tests/assist/src/android/assist/cts/
DLifecycleTest.java102 m3pActivityCallback.sendResult(bundle); in testLayerDoesNotTriggerLifecycleMethods()
126 m3pActivityCallback.sendResult(bundle); in testNoUiLayerDoesNotTriggerLifecycleMethods()
/cts/tests/tests/attributionsource/BlamedPermissionApp/src/android/attributionsource/cts/blamed/
DBringToForegroundActivity.kt44 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/hostsidetests/ui/appB/src/android/taskswitching/appb/
DAppBActivity.java54 getIntent().<RemoteCallback>getParcelableExtra("callback").sendResult(null); in onResume()
/cts/hostsidetests/ui/appA/src/android/taskswitching/appa/
DAppAActivity.java54 getIntent().<RemoteCallback>getParcelableExtra("callback").sendResult(null); in onResume()
/cts/tests/tests/telephony/TestFinancialSmsApp/src/android/telephony/cts/financialsms/
DMainActivity.java53 getIntent().<RemoteCallback>getParcelableExtra("callback").sendResult(result); in onCreate()
/cts/hostsidetests/securitybulletin/test-apps/CVE-2021-0963/src/android/security/cts/CVE_2021_0963/
DPocActivity.java57 cb.sendResult(res); in sendTestResult()
/cts/tests/inputmethod/testapp/src/android/view/inputmethod/ctstestapp/
DReplyReceivingInputConnection.java69 mRemoteCallback.sendResult(b); in performPrivateCommand()
/cts/tests/tests/security/src/android/security/cts/CVE_2022_20358/
DPocSyncService.java72 mCb.sendResult(res); in onPerformSync()

123