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

1 2 3 4 5 6

  /cts/libs/deviceutil/src/android/cts/util/
CTSResult.java 22 public void setResult(int resultCode);
  /cts/common/device-side/util/src/com/android/compatibility/common/util/
Result.java 28 * @param resultCode The test result, either {@code RESULT_OK} or {@code RESULT_FAIL}.
30 void setResult(int resultCode);
  /cts/apps/CtsVerifier/src/com/android/cts/verifier/sensors/reporting/
SensorTestDetails.java 32 private final ResultCode mResultCode;
35 public enum ResultCode {
42 public SensorTestDetails(String name, ResultCode resultCode) {
43 this(name, resultCode, null /* summary */);
46 public SensorTestDetails(String name, ResultCode resultCode, String summary) {
48 mResultCode = resultCode;
58 ResultCode resultCode = ResultCode.PASS
    [all...]
  /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 45 protected void onActivityResult(int requestCode, int resultCode, Intent data) {
46 super.onActivityResult(requestCode, resultCode, data);
49 handleLaunchTestResult(resultCode, data);
63 private void handleLaunchTestResult(int resultCode, Intent data) {
64 if (resultCode == RESULT_OK) {
65 TestResult testResult = TestResult.fromActivityResult(resultCode, data);
  /cts/hostsidetests/appsecurity/test-apps/DocumentClient/src/com/android/cts/documentclient/
MyActivity.java 31 public final int resultCode;
34 public Result(int resultCode, Intent data) {
35 this.resultCode = resultCode;
50 protected void onActivityResult(int requestCode, int resultCode, Intent data) {
52 mResult.offer(new Result(resultCode, data), 5, TimeUnit.SECONDS);
  /cts/tests/tests/os/src/android/os/cts/
ResultReceiverTest.java 33 int resultCode = 1;
34 sender.send(resultCode, bundle);
36 assertEquals(resultCode, sender.getResultCode());
59 protected void onReceiveResult(int resultCode, Bundle resultData) {
60 super.onReceiveResult(resultCode, resultData);
62 mResultCode = resultCode;
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;
  /cts/hostsidetests/devicepolicy/app/IntentSender/src/com/android/cts/intent/sender/
IntentSenderActivity.java 42 public final int resultCode;
45 public Result(int resultCode, Intent data) {
46 this.resultCode = resultCode;
58 protected void onActivityResult(int requestCode, int resultCode, Intent data) {
59 if (resultCode == Activity.RESULT_OK) {
61 mResult.offer(new Result(resultCode, data), 5, TimeUnit.SECONDS);
  /cts/tests/tests/hardware/src/android/hardware/cts/helpers/
ActivityResultMultiplexedLatch.java 55 return mEntry.resultCode;
73 public volatile int resultCode;
103 public void onActivityResult(int requestCode, int resultCode) {
112 entry.resultCode = resultCode;
  /cts/hostsidetests/devicepolicy/app/ManagedProfile/src/com/android/cts/managedprofile/
TestActivity.java 47 protected void onActivityResult(int requestCode, int resultCode, Intent data) {
49 if (resultCode != RESULT_OK) {
50 Log.w(TAG, "Activity returned error code: " + resultCode);
  /cts/tests/app/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;
CTSActivityTestCaseBase.java 36 public void setResult(int resultCode) {
39 mSync.mResult = resultCode;
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;
  /cts/hostsidetests/net/app/src/com/android/cts/net/hostside/
MyActivity.java 44 protected void onActivityResult(int requestCode, int resultCode, Intent data) {
45 if (mResult.offer(resultCode) == false) {
  /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);
  /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));
RedirectMain.java 61 protected void onActivityResult(int requestCode, int resultCode,
66 if (resultCode == RESULT_CANCELED) {
80 if (resultCode != RESULT_CANCELED) {
  /development/samples/SupportLeanbackDemos/src/com/example/android/leanback/
SearchActivity.java 57 protected void onActivityResult(int requestCode, int resultCode, Intent data) {
59 " resultCode=" + resultCode +
61 if (requestCode == REQUEST_SPEECH && resultCode == RESULT_OK) {
  /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) {
  /external/chromium_org/extensions/test/data/api_test/dns/api/
background.js 7 chrome.test.assertEq(0, resolveInfo.resultCode);
16 chrome.test.assertEq(0, resolveInfo.resultCode);
26 chrome.test.assertEq(-105, resolveInfo.resultCode);
  /developers/build/prebuilts/gradle/AppRestrictionEnforcer/Application/src/main/java/com/example/android/apprestrictionenforcer/
SetupProfileFragment.java 90 public void onActivityResult(int requestCode, int resultCode, Intent data) {
92 if (resultCode == Activity.RESULT_OK) {
99 super.onActivityResult(requestCode, resultCode, data);
  /developers/build/prebuilts/gradle/BasicManagedProfile/Application/src/main/java/com/example/android/basicmanagedprofile/
SetupProfileFragment.java 88 public void onActivityResult(int requestCode, int resultCode, Intent data) {
90 if (resultCode == Activity.RESULT_OK) {
97 super.onActivityResult(requestCode, resultCode, data);
  /developers/samples/android/admin/AppRestrictionEnforcer/Application/src/main/java/com/example/android/apprestrictionenforcer/
SetupProfileFragment.java 90 public void onActivityResult(int requestCode, int resultCode, Intent data) {
92 if (resultCode == Activity.RESULT_OK) {
99 super.onActivityResult(requestCode, resultCode, data);
  /developers/samples/android/admin/BasicManagedProfile/Application/src/main/java/com/example/android/basicmanagedprofile/
SetupProfileFragment.java 88 public void onActivityResult(int requestCode, int resultCode, Intent data) {
90 if (resultCode == Activity.RESULT_OK) {
97 super.onActivityResult(requestCode, resultCode, data);

Completed in 1243 milliseconds

1 2 3 4 5 6