Home
last modified time | relevance | path

Searched refs:setResult (Results 1 – 25 of 32) 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/base/core/java/android/accounts/
DGrantCredentialsPermissionActivity.java62 setResult(Activity.RESULT_CANCELED); in onCreate()
76 setResult(Activity.RESULT_CANCELED); in onCreate()
86 setResult(Activity.RESULT_CANCELED); in onCreate()
165 setResult(RESULT_OK, result); in onClick()
171 setResult(RESULT_CANCELED); in onClick()
DChooseTypeAndAccountActivity.java305 setResult(Activity.RESULT_CANCELED); in onActivityResult()
358 setResult(Activity.RESULT_CANCELED); in onActivityResult()
391 setResult(Activity.RESULT_CANCELED); in run()
399 setResult(Activity.RESULT_OK, new Intent().putExtras(bundle)); in run()
412 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()
DChooseAccountActivity.java62 setResult(RESULT_CANCELED); in onCreate()
/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/base/packages/VpnDialogs/src/com/android/vpndialogs/
DConfirmDialog.java55 setResult(RESULT_OK); in onResume()
101 setResult(RESULT_OK); in onClick()
/frameworks/base/docs/html/training/basics/intents/
Dfilters.jd194 android.app.Activity#setResult(int,Intent) setResult()} to specify the result code and result {@link
202 setResult(Activity.RESULT_OK, result);
218 android.app.Activity#setResult(int) setResult()} and pass only a result code. For example:</p>
221 setResult(RESULT_COLOR_RED);
234 android.app.Activity#setResult(int,Intent) setResult()} if the intent that started your activity
237 the result you supply to {@link android.app.Activity#setResult(int,Intent) setResult()}; otherwise,
/frameworks/base/libs/hwui/thread/
DTask.h47 void setResult(T result) { in setResult() function
/frameworks/base/media/java/android/mtp/
DMtpPropertyList.java75 public void setResult(int result) { in setResult() method in MtpPropertyList
DMtpPropertyGroup.java363 result.setResult(MtpConstants.RESPONSE_INVALID_OBJECT_HANDLE); in getPropertyList()
383 result.setResult(MtpConstants.RESPONSE_INVALID_OBJECT_HANDLE); in getPropertyList()
421 result.setResult(MtpConstants.RESPONSE_INVALID_OBJECT_HANDLE); in getPropertyList()
/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/base/core/java/android/content/
DBroadcastReceiver.java326 public final void setResult(int code, String data, Bundle extras) { in setResult() method in BroadcastReceiver.PendingResult
657 public final void setResult(int code, String data, Bundle extras) { in setResult() method in BroadcastReceiver
/frameworks/base/tests/RenderScriptTests/ModelViewer/src/com/android/modelviewer/
DA3DSelector.java106 setResult(RESULT_OK, resultIntent); in onListItemClick()
/frameworks/base/tests/RenderScriptTests/SceneGraph/src/com/android/testapp/
DFileSelector.java106 setResult(RESULT_OK, resultIntent); in onListItemClick()
/frameworks/base/core/java/android/preference/
DPreferenceActivity.java608 setResult(RESULT_CANCELED); in onCreate()
615 setResult(RESULT_OK); in onCreate()
622 setResult(RESULT_OK); in onCreate()
1301 setResult(resultCode, resultData); in finishPreferencePanel()
/frameworks/base/libs/hwui/
DPathCache.cpp341 t->setResult(bitmap); in onProcess()
345 t->setResult(NULL); in onProcess()
/frameworks/base/docs/html/training/notepad/
Dnotepad-ex3.jd126 of <code>setResult()</code>:</p>
129 setResult(RESULT_OK);
162 setResult(RESULT_OK);
Dnotepad-ex2.jd498 setResult(RESULT_OK, mIntent);
503 <li>The <code>setResult()</code> method is used to set the result
558 setResult(RESULT_OK, mIntent);
/frameworks/base/core/java/android/webkit/
DCallbackProxy.java128 public synchronized void setResult(E result) { in setResult() method in CallbackProxy.ResultTransport
367 result.setResult(override); in handleMessage()
/frameworks/base/core/java/android/app/
DActivity.java3991 public final void setResult(int resultCode) { in setResult() method in Activity
4020 public final void setResult(int resultCode, Intent data) { in setResult() method in Activity

12