Home
last modified time | relevance | path

Searched refs:setResult (Results 1 – 25 of 45) sorted by relevance

12

/frameworks/base/core/tests/coretests/src/android/app/activity/
DSubActivityScreen.java85 setResult(RESULT_CANCELED, (new Intent()).setAction("Interrupted!")); in onResume()
98 setResult(RESULT_OK, res); in onResume()
115 setResult(RESULT_OK); in onActivityResult()
122 setResult(RESULT_CANCELED, (new Intent()).setAction( in onActivityResult()
129 setResult(RESULT_CANCELED, (new Intent()).setAction( in onActivityResult()
132 setResult(RESULT_CANCELED, (new Intent()).setAction( in onActivityResult()
135 setResult(RESULT_CANCELED, (new Intent()).setAction( in onActivityResult()
138 setResult(RESULT_CANCELED, (new Intent()).setAction( in onActivityResult()
144 setResult(RESULT_CANCELED, (new Intent()).setAction( in onActivityResult()
DClearTop.java43 setResult(RESULT_OK); in onNewIntent()
45 setResult(RESULT_CANCELED, new Intent().setAction( in onNewIntent()
DTestedActivity.java60 setResult(RESULT_OK);
71 setResult(RESULT_OK); in queueIdle()
DTestedScreen.java51 setResult(RESULT_OK, (new Intent()).setAction( in onCreate()
104 setResult(RESULT_OK);
121 setResult(RESULT_OK); in queueIdle()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/p2p/
DSupplicantP2pIfaceHal.java264 supplicantIface.setResult(status, iface); in initSupplicantP2pIface()
397 result.setResult(status, name); in getName()
425 result.setResult(mISupplicantP2pIface.registerCallback(receiver)); in registerCallback()
453 result.setResult(mISupplicantP2pIface.find(timeout)); in find()
473 result.setResult(mISupplicantP2pIface.stopFind()); in stopFind()
493 result.setResult(mISupplicantP2pIface.flush()); in flush()
514 result.setResult(mISupplicantP2pIface.flushServices()); in serviceFlush()
538 result.setResult(mISupplicantP2pIface.setPowerSave(groupIfName, enable)); in setPowerSave()
572 result.setResult(mISupplicantP2pIface.setGroupIdle(groupIfName, timeoutInSec)); in setGroupIdle()
600 result.setResult(mISupplicantP2pIface.setSsidPostfix( in setSsidPostfix()
[all …]
/frameworks/base/core/java/android/accounts/
DGrantCredentialsPermissionActivity.java58 setResult(Activity.RESULT_CANCELED); in onCreate()
72 setResult(Activity.RESULT_CANCELED); in onCreate()
82 setResult(Activity.RESULT_CANCELED); in onCreate()
165 setResult(RESULT_OK, result); in onClick()
171 setResult(RESULT_CANCELED); in onClick()
DChooseTypeAndAccountActivity.java324 setResult(Activity.RESULT_CANCELED); in onActivityResult()
379 setResult(Activity.RESULT_CANCELED); in onActivityResult()
412 setResult(Activity.RESULT_CANCELED); in run()
420 setResult(Activity.RESULT_OK, new Intent().putExtras(bundle)); in run()
453 setResult(Activity.RESULT_CANCELED); in setResultAndFinish()
460 setResult(Activity.RESULT_OK, new Intent().putExtras(bundle)); in setResultAndFinish()
DChooseAccountTypeActivity.java90 setResult(Activity.RESULT_OK, new Intent().putExtras(bundle)); in onCreate()
118 setResult(Activity.RESULT_OK, new Intent().putExtras(bundle)); in setResultAndFinish()
/frameworks/base/core/java/com/android/internal/app/
DConfirmUserCreationActivity.java111 setResult(UserManager.USER_CREATION_FAILED_NOT_PERMITTED); in checkUserCreationRequirements()
114 setResult(UserManager.USER_CREATION_FAILED_NO_MORE_USERS); in checkUserCreationRequirements()
126 setResult(RESULT_CANCELED); in onClick()
136 setResult(RESULT_OK); in onClick()
/frameworks/base/tests/TtsTests/src/com/android/speech/tts/
DMockableCheckVoiceData.java41 setResult(TextToSpeech.Engine.CHECK_VOICE_DATA_FAIL, returnVal); in onCreate()
54 setResult(TextToSpeech.Engine.CHECK_VOICE_DATA_PASS, returnVal); in onCreate()
/frameworks/support/samples/Support4Demos/src/com/example/android/supportv4/app/
DSendResult.java66 setResult(RESULT_OK, (new Intent()).setAction("Corky!"));
78 setResult(RESULT_OK, (new Intent()).setAction("Violet!"));
/frameworks/base/packages/SystemUI/src/com/android/systemui/media/
DMediaProjectionPermissionActivity.java88 setResult(RESULT_OK, getMediaProjectionIntent(mUid, mPackageName, in onCreate()
171 setResult(RESULT_OK, getMediaProjectionIntent( in onClick()
176 setResult(RESULT_CANCELED); in onClick()
/frameworks/base/services/core/java/com/android/server/am/
DAppErrorDialog.java148 setResult(msg.what);
157 setResult(FORCE_QUIT); in dismiss()
162 private void setResult(int result) { in setResult() method in AppErrorDialog
/frameworks/base/packages/VpnDialogs/src/com/android/vpndialogs/
DConfirmDialog.java57 setResult(RESULT_OK); in onCreate()
133 setResult(RESULT_OK); in onClick()
/frameworks/base/packages/CompanionDeviceManager/src/com/android/companiondevicemanager/
DDeviceChooserActivity.java92 setResult(RESULT_CANCELED); in cancel()
154 setResult(RESULT_OK, in onDeviceConfirmed()
/frameworks/support/fragment/tests/java/android/support/v4/app/test/
DFragmentResultActivity.java36 setResult(resultCode, intent); in onCreate()
/frameworks/base/services/tests/servicestests/src/com/android/server/accounts/
DAccountAuthenticatorDummyActivity.java39 setResult(RESULT_OK, result); in onCreate()
/frameworks/base/libs/hwui/thread/
DTask.h44 void setResult(T result) { in setResult() function
/frameworks/base/services/backup/java/com/android/server/backup/restore/
DRestoreEngine.java63 public void setResult(int result) { in setResult() method in RestoreEngine
DFullRestoreEngine.java182 setResult(RestoreEngine.TRANSPORT_FAILURE); in restoreOneFile()
499 setResult(RestoreEngine.TARGET_FAILURE); in restoreOneFile()
533 setResult(RestoreEngine.TRANSPORT_FAILURE); in restoreOneFile()
583 setResult(RestoreEngine.TARGET_FAILURE); in handleTimeout()
/frameworks/base/media/java/android/mtp/
DMtpPropertyList.java75 public void setResult(int result) { in setResult() method in MtpPropertyList
/frameworks/base/packages/SystemUI/src/com/android/systemui/
DSomnambulator.java49 setResult(RESULT_OK, resultIntent); in onStart()
/frameworks/base/tests/appwidgets/AppWidgetHostTest/src/com/android/tests/appwidgethost/
DTestAppWidgetConfigure.java50 setResult(RESULT_OK);
/frameworks/rs/tests/java_api/RsBLAS_Benchmark/src/com/example/android/rs/blasbenchmark/
DBlasBenchmark.java266 setResult(RESULT_OK, intent); in onBenchmarkFinish()
268 setResult(RESULT_CANCELED); in onBenchmarkFinish()
/frameworks/base/core/java/android/content/
DBroadcastReceiver.java164 public final void setResult(int code, String data, Bundle extras) { in setResult() method in BroadcastReceiver.PendingResult
523 public final void setResult(int code, String data, Bundle extras) { in setResult() method in BroadcastReceiver

12