/cts/apps/CtsVerifier/src/com/android/cts/verifier/sensors/reporting/ |
D | SensorTestDetails.java | 42 public SensorTestDetails(String name, ResultCode resultCode) { in SensorTestDetails() argument 43 this(name, resultCode, null /* summary */); in SensorTestDetails() 46 public SensorTestDetails(String name, ResultCode resultCode, String summary) { in SensorTestDetails() argument 48 mResultCode = resultCode; in SensorTestDetails() 58 ResultCode resultCode = ResultCode.PASS; in SensorTestDetails() local 60 resultCode = ResultCode.FAIL; in SensorTestDetails() 62 resultCode = ResultCode.SKIPPED; in SensorTestDetails() 66 mResultCode = resultCode; in SensorTestDetails() 79 ResultCode resultCode = ResultCode.FAIL; in SensorTestDetails() local 81 resultCode = ResultCode.INTERRUPTED; in SensorTestDetails() [all …]
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/location/reporting/ |
D | GnssTestDetails.java | 40 public GnssTestDetails(String name, ResultCode resultCode) { in GnssTestDetails() argument 41 this(name, resultCode, null /* summary */); in GnssTestDetails() 44 public GnssTestDetails(String name, ResultCode resultCode, String summary) { in GnssTestDetails() argument 46 mResultCode = resultCode; in GnssTestDetails() 56 ResultCode resultCode = ResultCode.PASS; in GnssTestDetails() local 58 resultCode = ResultCode.FAIL; in GnssTestDetails() 60 resultCode = ResultCode.SKIPPED; in GnssTestDetails() 64 mResultCode = resultCode; in GnssTestDetails() 77 ResultCode resultCode = ResultCode.FAIL; in GnssTestDetails() local 79 resultCode = ResultCode.INTERRUPTED; in GnssTestDetails() [all …]
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/ |
D | AbstractTestListActivity.java | 47 protected final void onActivityResult(int requestCode, int resultCode, Intent data) { in onActivityResult() argument 48 super.onActivityResult(requestCode, resultCode, data); in onActivityResult() 49 handleActivityResult(requestCode, resultCode, data); in onActivityResult() 53 protected void handleActivityResult(int requestCode, int resultCode, Intent data) { in handleActivityResult() argument 56 handleLaunchTestResult(resultCode, data); in handleActivityResult() 74 protected void handleLaunchTestResult(int resultCode, Intent data) { in handleLaunchTestResult() argument 75 if (resultCode == RESULT_OK) { in handleLaunchTestResult() 76 TestResult testResult = TestResult.fromActivityResult(resultCode, data); in handleLaunchTestResult()
|
/cts/hostsidetests/appsecurity/test-apps/DocumentClient/src/com/android/cts/documentclient/ |
D | MyActivity.java | 32 public final int resultCode; field in MyActivity.Result 35 public Result(int requestCode, int resultCode, Intent data) { in Result() argument 37 this.resultCode = resultCode; in Result() 52 protected void onActivityResult(int requestCode, int resultCode, Intent data) { in onActivityResult() argument 54 mResult.offer(new Result(requestCode, resultCode, data), 5, TimeUnit.SECONDS); in onActivityResult()
|
/cts/tests/tests/os/src/android/os/cts/ |
D | ResultReceiverTest.java | 33 int resultCode = 1; in testResultReceiver() local 34 sender.send(resultCode, bundle); in testResultReceiver() 36 assertEquals(resultCode, sender.getResultCode()); in testResultReceiver() 59 protected void onReceiveResult(int resultCode, Bundle resultData) { in onReceiveResult() argument 60 super.onReceiveResult(resultCode, resultData); in onReceiveResult() 62 mResultCode = resultCode; in onReceiveResult()
|
D | ActivityTestsBase.java | 87 public void activityFinished(int resultCode, Intent data, RuntimeException where) { in activityFinished() argument 88 finishWithResult(resultCode, data, where); in activityFinished() 113 public void finishWithResult(int resultCode, Intent data) { in finishWithResult() argument 116 finishWithResult(resultCode, data, where); in finishWithResult() 119 public void finishWithResult(int resultCode, Intent data, RuntimeException where) { in finishWithResult() argument 121 mResultCode = resultCode; in finishWithResult()
|
/cts/hostsidetests/devicepolicy/app/IntentSender/src/com/android/cts/intent/sender/ |
D | IntentSenderActivity.java | 42 public final int resultCode; field in IntentSenderActivity.Result 45 public Result(int resultCode, Intent data) { in Result() argument 46 this.resultCode = resultCode; in Result() 58 protected void onActivityResult(int requestCode, int resultCode, Intent data) { in onActivityResult() argument 59 if (resultCode == Activity.RESULT_OK) { in onActivityResult() 61 mResult.offer(new Result(resultCode, data), 5, TimeUnit.SECONDS); in onActivityResult()
|
/cts/tests/tests/hardware/src/android/hardware/cts/helpers/ |
D | ActivityResultMultiplexedLatch.java | 55 return mEntry.resultCode; in await() 73 public volatile int resultCode; field in ActivityResultMultiplexedLatch.Entry 103 public void onActivityResult(int requestCode, int resultCode) { in onActivityResult() argument 112 entry.resultCode = resultCode; in onActivityResult()
|
/cts/tests/admin/app/src/android/admin/app/ |
D | CtsDeviceAdminActivationTestActivity.java | 33 void onActivityResult(int requestCode, int resultCode, Intent data); in onActivityResult() argument 56 protected void onActivityResult(int requestCode, int resultCode, Intent data) { in onActivityResult() argument 58 mOnActivityResultListener.onActivityResult(requestCode, resultCode, data); in onActivityResult() 62 super.onActivityResult(requestCode, resultCode, data); in onActivityResult()
|
/cts/hostsidetests/devicepolicy/app/ManagedProfile/src/com/android/cts/managedprofile/ |
D | TestActivity.java | 47 protected void onActivityResult(int requestCode, int resultCode, Intent data) { in onActivityResult() argument 49 if (resultCode != RESULT_OK) { in onActivityResult() 50 Log.w(TAG, "Activity returned error code: " + resultCode); in onActivityResult()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/sensors/base/ |
D | BaseSensorTestActivity.java | 174 protected void onActivityResult(int requestCode, int resultCode, Intent data) { in onActivityResult() argument 175 mActivityResultMultiplexedLatch.onActivityResult(requestCode, resultCode); in onActivityResult() 199 SensorTestDetails.ResultCode resultCode = testDetails.getResultCode(); in run() local 200 if (resultCode == SensorTestDetails.ResultCode.SKIPPED) { in run() 204 if (resultCode == SensorTestDetails.ResultCode.PASS) { in run() 432 SensorTestDetails.ResultCode resultCode = testDetails.getResultCode(); in setTestResult() local 433 switch(resultCode) { in setTestResult() 447 throw new IllegalStateException("Unknown ResultCode: " + resultCode); in setTestResult() 460 SensorTestDetails.ResultCode resultCode = testDetails.getResultCode(); in executeActivityTests() local 461 if (resultCode == SensorTestDetails.ResultCode.PASS) { in executeActivityTests() [all …]
|
D | SensorCtsVerifierTestActivity.java | 104 SensorTestDetails.ResultCode resultCode = testDetails.getResultCode(); in executeTest() local 105 switch(resultCode) { in executeTest() 118 throw new IllegalStateException("Unknown ResultCode: " + resultCode); in executeTest()
|
/cts/tests/app/app/src/android/app/stubs/ |
D | ActivityTestsBase.java | 87 public void activityFinished(int resultCode, Intent data, RuntimeException where) { in activityFinished() argument 88 finishWithResult(resultCode, data, where); in activityFinished() 113 public void finishWithResult(int resultCode, Intent data) { in finishWithResult() argument 116 finishWithResult(resultCode, data, where); in finishWithResult() 119 public void finishWithResult(int resultCode, Intent data, RuntimeException where) { in finishWithResult() argument 121 mResultCode = resultCode; in finishWithResult()
|
D | ActivityManagerMemoryClassLaunchActivity.java | 56 protected void onActivityResult(int requestCode, int resultCode, Intent data) { in onActivityResult() argument 57 super.onActivityResult(requestCode, resultCode, data); in onActivityResult() 60 mChildResult = resultCode; in onActivityResult()
|
D | CTSActivityTestCaseBase.java | 36 public void setResult(int resultCode) { in setResult() argument 39 mSync.mResult = resultCode; in setResult()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/location/base/ |
D | BaseGnssTestActivity.java | 155 protected void onActivityResult(int requestCode, int resultCode, Intent data) { in onActivityResult() argument 156 mActivityResultMultiplexedLatch.onActivityResult(requestCode, resultCode); in onActivityResult() 179 GnssTestDetails.ResultCode resultCode = testDetails.getResultCode(); in run() local 180 if (resultCode == GnssTestDetails.ResultCode.SKIPPED) { in run() 184 if (resultCode == GnssTestDetails.ResultCode.PASS) { in run() 338 GnssTestDetails.ResultCode resultCode = testDetails.getResultCode(); in setTestResult() local 339 switch(resultCode) { in setTestResult() 353 throw new IllegalStateException("Unknown ResultCode: " + resultCode); in setTestResult() 366 GnssTestDetails.ResultCode resultCode = testDetails.getResultCode(); in executeActivityTests() local 367 if (resultCode == GnssTestDetails.ResultCode.PASS) { in executeActivityTests()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/admin/ |
D | ScreenLockTestActivity.java | 81 protected void onActivityResult(int requestCode, int resultCode, Intent data) { in onActivityResult() argument 82 super.onActivityResult(requestCode, resultCode, data); in onActivityResult() 85 handleAddDeviceAdminResult(resultCode, data); in onActivityResult() 90 private void handleAddDeviceAdminResult(int resultCode, Intent data) { in handleAddDeviceAdminResult() argument 91 if (resultCode == RESULT_OK) { in handleAddDeviceAdminResult()
|
/cts/tests/tests/permission2/src/android/permission2/cts/ |
D | NoReceiveSmsPermissionTest.java | 145 private void handleResultCode(int resultCode, String action) { in handleResultCode() argument 146 if (resultCode == Activity.RESULT_OK) { in handleResultCode() 151 String reason = getErrorReason(resultCode); in handleResultCode() 169 private String getErrorReason(int resultCode) { in getErrorReason() argument 170 switch (resultCode) { in getErrorReason()
|
/cts/tools/cts-holo-generation/src/com/android/cts/holo_capture/ |
D | CaptureActivity.java | 47 protected void onActivityResult(int requestCode, int resultCode, Intent data) { in onActivityResult() argument 48 Log.i(TAG, "onActivityResult req:" + requestCode + " res:" + resultCode); in onActivityResult()
|
/cts/hostsidetests/net/app/src/com/android/cts/net/hostside/ |
D | MyActivity.java | 40 protected void onActivityResult(int requestCode, int resultCode, Intent data) { in onActivityResult() argument 41 if (mResult.offer(resultCode) == false) { in onActivityResult()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/bluetooth/ |
D | ConnectionAccessClientActivity.java | 90 protected void onActivityResult(int requestCode, int resultCode, Intent data) { in onActivityResult() argument 91 super.onActivityResult(requestCode, resultCode, data); in onActivityResult() 94 if (resultCode == RESULT_OK) { in onActivityResult() 103 if (resultCode == RESULT_OK) { in onActivityResult()
|
D | BluetoothToggleActivity.java | 97 protected void onActivityResult(int requestCode, int resultCode, Intent data) { in onActivityResult() argument 98 super.onActivityResult(requestCode, resultCode, data); in onActivityResult() 101 boolean enabledBluetooth = RESULT_OK == resultCode; in onActivityResult()
|
/cts/tests/tests/media/src/android/media/cts/ |
D | ResourceManagerStubActivity.java | 59 protected void onActivityResult(int requestCode, int resultCode, Intent data) { in onActivityResult() argument 60 Log.d(TAG, "Activity " + requestCode + " finished with resultCode " + resultCode); in onActivityResult() 61 mResults[requestCode] = (resultCode == RESULT_OK); in onActivityResult()
|
/cts/tests/openglperf2/src/android/opengl2/cts/reference/ |
D | GLReferenceActivity.java | 65 protected void onActivityResult(int requestCode, int resultCode, Intent data) { in onActivityResult() argument 67 if (resultCode == RESULT_OK) { in onActivityResult()
|
/cts/tests/tests/app.usage/src/android/app/usage/cts/ |
D | ActivityTransitionActivity.java | 70 public int resultCode = 0; field in ActivityTransitionActivity 222 protected void onActivityResult(int requestCode, int resultCode, Intent data) { in onActivityResult() argument 223 super.onActivityResult(requestCode, resultCode, data); in onActivityResult() 224 this.resultCode = resultCode; in onActivityResult()
|