HomeSort by relevance Sort by last modified time
    Searched full:resultcode (Results 1 - 25 of 273) sorted by null

1 2 3 4 5 6 7 8 91011

  /frameworks/base/core/java/android/os/
ResultReceiver.java 37 MyRunnable(int resultCode, Bundle resultData) {
38 mResultCode = resultCode;
48 public void send(int resultCode, Bundle resultData) {
50 mHandler.post(new MyRunnable(resultCode, resultData));
52 onReceiveResult(resultCode, resultData);
71 * @param resultCode Arbitrary result code to deliver, as defined by you.
74 public void send(int resultCode, Bundle resultData) {
77 mHandler.post(new MyRunnable(resultCode, resultData));
79 onReceiveResult(resultCode, resultData);
86 mReceiver.send(resultCode, resultData)
    [all...]
  /cts/apps/CtsVerifier/src/com/android/cts/verifier/
AbstractTestListActivity.java 44 protected void onActivityResult(int requestCode, int resultCode, Intent data) {
45 super.onActivityResult(requestCode, resultCode, data);
48 handleLaunchTestResult(resultCode, data);
56 private void handleLaunchTestResult(int resultCode, Intent data) {
57 if (resultCode == RESULT_OK) {
58 TestResult testResult = TestResult.fromActivityResult(resultCode, data);
  /cts/tests/tests/os/src/android/os/cts/
ResultReceiverTest.java 66 int resultCode = 1;
67 sender.send(resultCode, bundle);
69 assertEquals(resultCode, sender.getResultCode());
92 protected void onReceiveResult(int resultCode, Bundle resultData) {
93 super.onReceiveResult(resultCode, resultData);
95 mResultCode = resultCode;
  /frameworks/base/core/java/android/app/
IInstrumentationWatcher.aidl 26 void instrumentationStatus(in ComponentName name, int resultCode,
28 void instrumentationFinished(in ComponentName name, int resultCode,
ActivityGroup.java 111 void dispatchActivityResult(String who, int requestCode, int resultCode,
118 + ", resCode=" + resultCode + ", data=" + data
122 act.onActivityResult(requestCode, resultCode, data);
126 super.dispatchActivityResult(who, requestCode, resultCode, data);
  /frameworks/base/services/java/com/android/server/am/
ActivityResult.java 30 int requestCode, int resultCode, Intent data) {
31 super(resultWho, requestCode, resultCode, data);
  /cts/tools/host/src/com/android/cts/
DeviceObserver.java 35 * @param resultCode the result code of installation.
37 void notifyInstallingComplete(final int resultCode);
42 * @param resultCode the result code of uninstallation.
44 void notifyUninstallingComplete(final int resultCode);
  /frameworks/base/telephony/java/com/android/internal/telephony/cat/
ResultException.java 26 private ResultCode mResult;
29 public ResultException(ResultCode result) {
53 public ResultException(ResultCode result, int additionalInfo) {
65 public ResultCode result() {
CatResponseMessage.java 21 ResultCode resCode = ResultCode.OK;
31 public void setResultCode(ResultCode resCode) {
BerTlv.java 84 ResultCode.CMD_DATA_NOT_UNDERSTOOD);
89 ResultCode.CMD_DATA_NOT_UNDERSTOOD);
98 throw new ResultException(ResultCode.REQUIRED_VALUES_MISSING);
100 throw new ResultException(ResultCode.CMD_DATA_NOT_UNDERSTOOD);
105 throw new ResultException(ResultCode.CMD_DATA_NOT_UNDERSTOOD);
ResultCode.java 27 public enum ResultCode {
166 ResultCode(int code) {
178 public static ResultCode fromInt(int value) {
179 for (ResultCode r : ResultCode.values()) {
ValueParser.java 50 throw new ResultException(ResultCode.CMD_DATA_NOT_UNDERSTOOD);
73 throw new ResultException(ResultCode.REQUIRED_VALUES_MISSING);
96 throw new ResultException(ResultCode.CMD_DATA_NOT_UNDERSTOOD);
124 throw new ResultException(ResultCode.CMD_DATA_NOT_UNDERSTOOD);
147 throw new ResultException(ResultCode.CMD_DATA_NOT_UNDERSTOOD);
169 throw new ResultException(ResultCode.CMD_DATA_NOT_UNDERSTOOD);
201 throw new ResultException(ResultCode.CMD_DATA_NOT_UNDERSTOOD);
259 throw new ResultException(ResultCode.CMD_DATA_NOT_UNDERSTOOD);
284 throw new ResultException(ResultCode.CMD_DATA_NOT_UNDERSTOOD);
325 throw new ResultException(ResultCode.CMD_DATA_NOT_UNDERSTOOD)
    [all...]
  /cts/tests/src/android/app/cts/
ActivityTestsBase.java 87 public void activityFinished(int resultCode, Intent data, RuntimeException where) {
88 finishWithResult(resultCode, data, where);
113 public void finishWithResult(int resultCode, Intent data) {
116 finishWithResult(resultCode, data, where);
119 public void finishWithResult(int resultCode, Intent data, RuntimeException where) {
121 mResultCode = resultCode;
ActivityManagerMemoryClassLaunchActivity.java 56 protected void onActivityResult(int requestCode, int resultCode, Intent data) {
57 super.onActivityResult(requestCode, resultCode, data);
60 mChildResult = resultCode;
CTSResult.java 22 public void setResult(int resultCode);
  /frameworks/base/core/tests/coretests/src/android/app/activity/
ActivityTestsBase.java 87 public void activityFinished(int resultCode, Intent data, RuntimeException where) {
88 finishWithResult(resultCode, data, where);
112 public void finishWithResult(int resultCode, Intent data) {
115 finishWithResult(resultCode, data, where);
118 public void finishWithResult(int resultCode, Intent data, RuntimeException where) {
121 mResultCode = resultCode;
SubActivityScreen.java 108 protected void onActivityResult(int requestCode, int resultCode,
112 // + " res=" + resultCode);
121 if (resultCode != RESULT_CANCELED) {
123 "Incorrect result code returned: " + resultCode));
128 if (resultCode != RESULT_OK) {
130 "Incorrect result code returned: " + resultCode));
  /packages/apps/Camera/src/com/android/camera/
ActivityBase.java 100 protected void setResultEx(int resultCode) {
101 mResultCodeForTesting = resultCode;
102 setResult(resultCode);
105 protected void setResultEx(int resultCode, Intent data) {
106 mResultCodeForTesting = resultCode;
108 setResult(resultCode, data);
  /packages/apps/Gallery2/src/com/android/gallery3d/app/
ActivityState.java 44 public int resultCode = Activity.RESULT_CANCELED;
71 protected void setStateResult(int resultCode, Intent data) {
73 mResult.resultCode = resultCode;
83 protected void onStateResult(int requestCode, int resultCode, Intent data) {
124 onStateResult(entry.requestCode, entry.resultCode, entry.resultData);
  /frameworks/base/tests/appwidgets/AppWidgetHostTest/src/com/android/tests/appwidgethost/
AppWidgetHostActivity.java 99 void handleAppWidgetPickResult(int resultCode, Intent intent) {
104 if (resultCode == RESULT_OK) {
119 void handleAppWidgetConfigureResult(int resultCode, Intent data) {
121 Log.d(TAG, "resultCode=" + resultCode + " appWidgetId=" + appWidgetId);
126 if (resultCode == RESULT_OK) {
147 protected void onActivityResult(int requestCode, int resultCode, Intent data) {
150 handleAppWidgetPickResult(resultCode, data);
153 handleAppWidgetConfigureResult(resultCode, data);
  /cts/tests/tests/app/src/android/app/cts/
CTSActivityTestCaseBase.java 35 public void setResult(int resultCode) {
38 mSync.mResult = resultCode;
  /cts/apps/CtsVerifier/src/com/android/cts/verifier/admin/
ScreenLockTestActivity.java 80 protected void onActivityResult(int requestCode, int resultCode, Intent data) {
81 super.onActivityResult(requestCode, resultCode, data);
84 handleAddDeviceAdminResult(resultCode, data);
89 private void handleAddDeviceAdminResult(int resultCode, Intent data) {
90 if (resultCode == RESULT_OK) {
  /packages/apps/Gallery/src/com/android/camera/
PhotoAppWidgetConfigure.java 74 protected void onActivityResult(int requestCode, int resultCode,
76 if (resultCode == RESULT_OK && mAppWidgetId != -1) {
82 resultCode = Activity.RESULT_OK;
94 resultCode = Activity.RESULT_CANCELED;
100 setResult(resultCode, resultValue);
  /packages/apps/Phone/tests/src/com/android/phone/tests/
OtaspTestActivity.java 90 int resultCode = intent.getIntExtra(OtaUtils.EXTRA_OTASP_RESULT_CODE,
92 Log.i(LOG_TAG, " - resultCode = " + resultCode);
95 switch (resultCode) {
106 resultString = "Unexpected code: " + resultCode;
136 protected void onActivityResult(int requestCode, int resultCode, Intent data) {
138 + " result " + resultCode + " data " + data);
162 // Also, resultCode will be RESULT_CANCELED (= 0) if the
166 switch (resultCode) {
183 Log.i(LOG_TAG, "==> onActivityResult: unknown result: " + resultCode);
    [all...]
  /cts/apps/CtsVerifier/src/com/android/cts/verifier/bluetooth/
ConnectionAccessClientActivity.java 90 protected void onActivityResult(int requestCode, int resultCode, Intent data) {
91 super.onActivityResult(requestCode, resultCode, data);
94 if (resultCode == RESULT_OK) {
103 if (resultCode == RESULT_OK) {

Completed in 1873 milliseconds

1 2 3 4 5 6 7 8 91011