HomeSort by relevance Sort by last modified time
    Searched refs:resultCode (Results 1 - 25 of 330) sorted by null

1 2 3 4 5 6 7 8 91011>>

  /cts/libs/deviceutil/src/android/app/cts/
CTSResult.java 22 public void setResult(int resultCode);
  /packages/apps/Camera/src/com/android/camera/
ProxyLauncher.java 37 protected void onActivityResult(int requestCode, int resultCode, Intent data) {
38 super.onActivityResult(requestCode, resultCode, data);
39 if (resultCode == RESULT_CANCELED) {
40 resultCode = RESULT_USER_CANCELED;
42 setResult(resultCode, data);
  /packages/apps/Camera2/src/com/android/camera/
ProxyLauncher.java 37 protected void onActivityResult(int requestCode, int resultCode, Intent data) {
38 super.onActivityResult(requestCode, resultCode, data);
39 if (resultCode == RESULT_CANCELED) {
40 resultCode = RESULT_USER_CANCELED;
42 setResult(resultCode, data);
  /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...]
  /frameworks/base/core/java/android/app/
IInstrumentationWatcher.aidl 26 void instrumentationStatus(in ComponentName name, int resultCode,
28 void instrumentationFinished(in ComponentName name, int resultCode,
  /frameworks/testing/uiautomator/instrumentation/testrunner-src/com/android/uiautomator/testrunner/
IAutomationSupport.java 31 * @param resultCode
35 public void sendStatus(int resultCode, Bundle status);
InstrumentationAutomationSupport.java 37 public void sendStatus(int resultCode, Bundle status) {
38 mInstrumentation.sendStatus(resultCode, status);
  /frameworks/testing/uiautomator/library/testrunner-src/com/android/uiautomator/testrunner/
IAutomationSupport.java 31 * @param resultCode
35 public void sendStatus(int resultCode, Bundle status);
  /frameworks/base/core/java/com/android/internal/os/
IResultReceiver.aidl 24 void send(int resultCode, in Bundle resultData);
  /frameworks/base/services/java/com/android/server/am/
ActivityResult.java 30 int requestCode, int resultCode, Intent data) {
31 super(resultWho, requestCode, resultCode, data);
  /external/robolectric/src/test/java/com/xtremelabs/robolectric/shadows/
ResultReceiverTest.java 20 assertEquals(5, testResultReceiver.resultCode);
25 int resultCode;
33 protected void onReceiveResult(int resultCode, Bundle resultData) {
34 this.resultCode = resultCode;
  /cts/tests/deviceadmin/src/android/deviceadmin/cts/
CtsDeviceAdminActivationTestActivity.java 33 void onActivityResult(int requestCode, int resultCode, Intent data);
56 protected void onActivityResult(int requestCode, int resultCode, Intent data) {
58 mOnActivityResultListener.onActivityResult(requestCode, resultCode, data);
62 super.onActivityResult(requestCode, resultCode, data);
  /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 34 int resultCode = 1;
35 sender.send(resultCode, bundle);
37 assertEquals(resultCode, sender.getResultCode());
60 protected void onReceiveResult(int resultCode, Bundle resultData) {
61 super.onReceiveResult(resultCode, resultData);
63 mResultCode = resultCode;
  /cts/tests/src/android/app/cts/
ActivityManagerMemoryClassLaunchActivity.java 56 protected void onActivityResult(int requestCode, int resultCode, Intent data) {
57 super.onActivityResult(requestCode, resultCode, data);
60 mChildResult = resultCode;
  /cts/tests/tests/app/src/android/app/cts/
CTSActivityTestCaseBase.java 35 public void setResult(int resultCode) {
38 mSync.mResult = resultCode;
  /frameworks/base/core/java/android/content/
IIntentReceiver.aidl 30 void performReceive(in Intent intent, int resultCode, String data,
  /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);
  /external/chromium_org/chrome/browser/extensions/api/dns/
dns_apitest.cc 70 int resultCode;
71 EXPECT_TRUE(value->GetInteger("resultCode", &resultCode));
72 EXPECT_EQ(net::OK, resultCode);
97 int resultCode;
98 EXPECT_TRUE(value->GetInteger("resultCode", &resultCode));
99 EXPECT_EQ(net::OK, resultCode);
  /packages/apps/LegacyCamera/src/com/android/camera/
ActivityBase.java 109 protected void setResultEx(int resultCode) {
110 mResultCodeForTesting = resultCode;
111 setResult(resultCode);
114 protected void setResultEx(int resultCode, Intent data) {
115 mResultCodeForTesting = resultCode;
117 setResult(resultCode, data);
  /cts/tools/cts-holo-generation/src/com/android/cts/holo_capture/
CaptureActivity.java 47 protected void onActivityResult(int requestCode, int resultCode, Intent data) {
48 Log.i(TAG, "onActivityResult req:" + requestCode + " res:" + resultCode);
  /external/robolectric/src/main/java/com/xtremelabs/robolectric/shadows/
ShadowResultReceiver.java 19 public void send(int resultCode, android.os.Bundle resultData) {
23 onReceiveResult.invoke(realResultReceiver, resultCode, resultData);
  /packages/services/Telephony/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...]
  /packages/apps/Settings/src/com/android/settings/inputmethod/
UserDictionaryAddWordActivity.java 75 private void reportBackToCaller(final int resultCode, final Bundle result) {
83 m.what = resultCode;
98 final int resultCode = mContents.apply(this, parameters);
99 reportBackToCaller(resultCode, parameters);
  /development/samples/ApiDemos/src/com/example/android/apis/app/
ReceiveResult.java 104 * @param resultCode From sending activity as per setResult().
108 protected void onActivityResult(int requestCode, int resultCode,
118 // This is a standard resultCode that is sent back if the
121 if (resultCode == RESULT_CANCELED) {
128 text.append(Integer.toString(resultCode));

Completed in 601 milliseconds

1 2 3 4 5 6 7 8 91011>>