Home
last modified time | relevance | path

Searched refs:resultCode (Results 1 – 25 of 96) sorted by relevance

1234

/frameworks/base/core/java/android/os/
DResultReceiver.java44 MyRunnable(int resultCode, Bundle resultData) { in MyRunnable() argument
45 mResultCode = resultCode; in MyRunnable()
55 public void send(int resultCode, Bundle resultData) { in send() argument
57 mHandler.post(new MyRunnable(resultCode, resultData)); in send()
59 onReceiveResult(resultCode, resultData); in send()
81 public void send(int resultCode, Bundle resultData) { in send() argument
84 mHandler.post(new MyRunnable(resultCode, resultData)); in send()
86 onReceiveResult(resultCode, resultData); in send()
93 mReceiver.send(resultCode, resultData); in send()
106 protected void onReceiveResult(int resultCode, Bundle resultData) { in onReceiveResult() argument
/frameworks/base/tests/appwidgets/AppWidgetHostTest/src/com/android/tests/appwidgethost/
DAppWidgetHostActivity.java99 void handleAppWidgetPickResult(int resultCode, Intent intent) { in handleAppWidgetPickResult() argument
104 if (resultCode == RESULT_OK) { in handleAppWidgetPickResult()
119 void handleAppWidgetConfigureResult(int resultCode, Intent data) { in handleAppWidgetConfigureResult() argument
121 Log.d(TAG, "resultCode=" + resultCode + " appWidgetId=" + appWidgetId); in handleAppWidgetConfigureResult()
126 if (resultCode == RESULT_OK) { in handleAppWidgetConfigureResult()
147 protected void onActivityResult(int requestCode, int resultCode, Intent data) { in onActivityResult() argument
150 handleAppWidgetPickResult(resultCode, data); in onActivityResult()
153 handleAppWidgetConfigureResult(resultCode, data); in onActivityResult()
/frameworks/base/core/tests/coretests/src/android/app/activity/
DSubActivityScreen.java108 protected void onActivityResult(int requestCode, int resultCode, in onActivityResult() argument
121 if (resultCode != RESULT_CANCELED) { in onActivityResult()
123 "Incorrect result code returned: " + resultCode)); in onActivityResult()
128 if (resultCode != RESULT_OK) { in onActivityResult()
130 "Incorrect result code returned: " + resultCode)); in onActivityResult()
DActivityTestsBase.java87 public void activityFinished(int resultCode, Intent data, RuntimeException where) { in activityFinished() argument
88 finishWithResult(resultCode, data, where); in activityFinished()
112 public void finishWithResult(int resultCode, Intent data) { in finishWithResult() argument
115 finishWithResult(resultCode, data, where); in finishWithResult()
118 public void finishWithResult(int resultCode, Intent data, RuntimeException where) { in finishWithResult() argument
121 mResultCode = resultCode; in finishWithResult()
DLaunchpadActivity.java69 public void activityFinished(int resultCode, Intent data, in activityFinished() argument
339 protected void onActivityResult(int requestCode, int resultCode, in onActivityResult() argument
344 finishWithResult(resultCode, data); in onActivityResult()
349 finishWithResult(resultCode, data); in onActivityResult()
452 private void finishWithResult(int resultCode, Intent data) { in finishWithResult() argument
453 setTestResult(resultCode, data); in finishWithResult()
457 private void setTestResult(int resultCode, Intent data) { in setTestResult() argument
460 mResultCode = resultCode; in setTestResult()
DIntentSenderTest.java49 int resultCode, String resultData, Bundle resultExtras) { in testRegisteredReceivePermissionDenied()
76 int resultCode, String resultData, Bundle resultExtras) { in testLocalReceivePermissionDenied()
/frameworks/base/core/java/android/app/
DActivityGroup.java111 void dispatchActivityResult(String who, int requestCode, int resultCode, in dispatchActivityResult() argument
122 act.onActivityResult(requestCode, resultCode, data); in dispatchActivityResult()
126 super.dispatchActivityResult(who, requestCode, resultCode, data); in dispatchActivityResult()
DIInstrumentationWatcher.aidl26 void instrumentationStatus(in ComponentName name, int resultCode, in instrumentationStatus() argument
28 void instrumentationFinished(in ComponentName name, int resultCode, in instrumentationFinished() argument
DResultInfo.java32 public ResultInfo(String resultWho, int requestCode, int resultCode, in ResultInfo() argument
36 mResultCode = resultCode; in ResultInfo()
/frameworks/webview/chromium/java/com/android/webview/chromium/
DFileChooserParamsAdapter.java30 public static Uri[] parseFileChooserResult(int resultCode, Intent intent) { in parseFileChooserResult() argument
31 if (resultCode == Activity.RESULT_CANCELED) { in parseFileChooserResult()
34 Uri result = intent == null || resultCode != Activity.RESULT_OK ? null in parseFileChooserResult()
/frameworks/base/cmds/uiautomator/instrumentation/testrunner-src/com/android/uiautomator/testrunner/
DInstrumentationAutomationSupport.java37 public void sendStatus(int resultCode, Bundle status) { in sendStatus() argument
38 mInstrumentation.sendStatus(resultCode, status); in sendStatus()
/frameworks/base/services/core/java/com/android/server/am/
DActivityResult.java29 int requestCode, int resultCode, Intent data) { in ActivityResult() argument
30 super(resultWho, requestCode, resultCode, data); in ActivityResult()
DBroadcastQueue.java247 r.resultCode, r.resultData, r.resultExtras, r.ordered, r.userId, in processCurBroadcastLocked()
275 finishReceiverLocked(br, br.resultCode, br.resultData, in sendPendingBroadcastsLocked()
304 finishReceiverLocked(r, r.resultCode, r.resultData, in skipCurrentReceiverLocked()
314 finishReceiverLocked(r, r.resultCode, r.resultData, in skipCurrentReceiverLocked()
345 public boolean finishReceiverLocked(BroadcastRecord r, int resultCode, in finishReceiverLocked() argument
366 r.resultCode = resultCode; in finishReceiverLocked()
424 Intent intent, int resultCode, String data, Bundle extras, in performReceiveLocked() argument
431 app.thread.scheduleRegisteredReceiver(receiver, intent, resultCode, in performReceiveLocked()
438 receiver.performReceive(intent, resultCode, data, extras, ordered, in performReceiveLocked()
522 new Intent(r.intent), r.resultCode, r.resultData, in deliverToRegisteredReceiverLocked()
[all …]
DBroadcastRecord.java59 int resultCode; // current result code value. field in BroadcastRecord
118 if (resultTo != null || resultCode != -1 || resultData != null) { in dump()
120 pw.print(" resultCode="); pw.print(resultCode); in dump()
194 resultCode = _resultCode; in BroadcastRecord()
/frameworks/opt/photoviewer/appcompat/src/com/android/ex/photo/
DPhotoViewActivity.java111 protected void onActivityResult(int requestCode, int resultCode, Intent data) { in onActivityResult() argument
112 super.onActivityResult(requestCode, resultCode, data); in onActivityResult()
113 mController.onActivityResult(requestCode, resultCode, data); in onActivityResult()
/frameworks/opt/photoviewer/activity/src/com/android/ex/photo/
DPhotoViewActivity.java111 protected void onActivityResult(int requestCode, int resultCode, Intent data) { in onActivityResult() argument
112 super.onActivityResult(requestCode, resultCode, data); in onActivityResult()
113 mController.onActivityResult(requestCode, resultCode, data); in onActivityResult()
/frameworks/support/tests/java/android/support/tests/
DGrantActivity.java39 protected void onActivityResult(int requestCode, int resultCode, Intent data) { in onActivityResult() argument
40 if (requestCode == 12 && resultCode == RESULT_OK) { in onActivityResult()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/cdma/
DCdmaServiceCategoryProgramHandler.java128 int resultCode = getResultCode();
129 if ((resultCode != Activity.RESULT_OK) && (resultCode != Intents.RESULT_SMS_HANDLED)) {
130 loge("SCP results error: result code = " + resultCode);
/frameworks/base/cmds/uiautomator/library/testrunner-src/com/android/uiautomator/testrunner/
DUiAutomatorTestRunner.java70 public void sendStatus(int resultCode, Bundle status) {
71 mWatcher.instrumentationStatus(null, resultCode, status);
186 public void instrumentationStatus(ComponentName name, int resultCode, Bundle results) { in instrumentationStatus() argument
202 System.out.println("INSTRUMENTATION_STATUS_CODE: " + resultCode); in instrumentationStatus()
209 public void instrumentationFinished(ComponentName name, int resultCode, Bundle results) { in instrumentationFinished() argument
225 System.out.println("INSTRUMENTATION_CODE: " + resultCode); in instrumentationFinished()
/frameworks/base/core/java/android/os/storage/
DIMountService.java1055 int resultCode = mountVolume(mountPoint); in onTransact() local
1057 reply.writeInt(resultCode); in onTransact()
1111 int resultCode = createSecureContainer(id, sizeMb, fstype, key, ownerUid, in onTransact() local
1114 reply.writeInt(resultCode); in onTransact()
1121 int resultCode = finalizeSecureContainer(id); in onTransact() local
1123 reply.writeInt(resultCode); in onTransact()
1132 int resultCode = destroySecureContainer(id, force); in onTransact() local
1134 reply.writeInt(resultCode); in onTransact()
1147 int resultCode = mountSecureContainer(id, key, ownerUid, readOnly); in onTransact() local
1149 reply.writeInt(resultCode); in onTransact()
[all …]
/frameworks/base/tests/RenderScriptTests/SceneGraph/src/com/android/testapp/
DTestApp.java96 public void onActivityResult(int requestCode, int resultCode, Intent data) { in onActivityResult() argument
97 if (resultCode == RESULT_OK) { in onActivityResult()
/frameworks/base/tests/RenderScriptTests/ModelViewer/src/com/android/modelviewer/
DSimpleModel.java97 public void onActivityResult(int requestCode, int resultCode, Intent data) { in onActivityResult() argument
98 if (resultCode == RESULT_OK) { in onActivityResult()
/frameworks/base/docs/html/tools/help/uiautomator/
DIAutomationSupport.jd32 …><a href="#sendStatus(int, android.os.Bundle)">sendStatus</a></span>(int resultCode, Bundle status)
75 <span class="normal">(int resultCode, Bundle status)</span>
/frameworks/base/core/java/android/content/
DIntentSender.java100 int resultCode, String resultData, Bundle resultExtras); in onSendFinished() argument
117 public void performReceive(Intent intent, int resultCode, String data, in performReceive() argument
120 mResultCode = resultCode; in performReceive()
/frameworks/base/core/java/android/preference/
DPreferenceFragment.java240 public void onActivityResult(int requestCode, int resultCode, Intent data) { in onActivityResult() argument
241 super.onActivityResult(requestCode, resultCode, data); in onActivityResult()
243 mPreferenceManager.dispatchActivityResult(requestCode, resultCode, data); in onActivityResult()

1234