/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/hostsidetests/appsecurity/test-apps/DocumentClient/src/com/android/cts/documentclient/ |
D | MyActivity.java | 31 public final int resultCode; field in MyActivity.Result 34 public Result(int resultCode, Intent data) { in Result() argument 35 this.resultCode = resultCode; in Result() 50 protected void onActivityResult(int requestCode, int resultCode, Intent data) { in onActivityResult() argument 52 mResult.offer(new Result(resultCode, data), 5, TimeUnit.SECONDS); in onActivityResult()
|
/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/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/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/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/deviceadmin/src/android/deviceadmin/cts/ |
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/tests/app/src/android/app/cts/ |
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 | 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 | 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/sensors/base/ |
D | BaseSensorTestActivity.java | 172 protected void onActivityResult(int requestCode, int resultCode, Intent data) { in onActivityResult() argument 173 mActivityResultMultiplexedLatch.onActivityResult(requestCode, resultCode); in onActivityResult() 197 SensorTestDetails.ResultCode resultCode = testDetails.getResultCode(); in run() local 198 if (resultCode == SensorTestDetails.ResultCode.SKIPPED) { in run() 202 if (resultCode == SensorTestDetails.ResultCode.PASS) { in run() 430 SensorTestDetails.ResultCode resultCode = testDetails.getResultCode(); in setTestResult() local 431 switch(resultCode) { in setTestResult() 445 throw new IllegalStateException("Unknown ResultCode: " + resultCode); in setTestResult() 458 SensorTestDetails.ResultCode resultCode = testDetails.getResultCode(); in executeActivityTests() local 459 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/apps/CtsVerifier/src/com/android/cts/verifier/admin/ |
D | ScreenLockTestActivity.java | 80 protected void onActivityResult(int requestCode, int resultCode, Intent data) { in onActivityResult() argument 81 super.onActivityResult(requestCode, resultCode, data); in onActivityResult() 84 handleAddDeviceAdminResult(resultCode, data); in onActivityResult() 89 private void handleAddDeviceAdminResult(int resultCode, Intent data) { in handleAddDeviceAdminResult() argument 90 if (resultCode == RESULT_OK) { in handleAddDeviceAdminResult()
|
/cts/tests/tests/permission2/src/android/permission2/cts/ |
D | NoReceiveSmsPermissionTest.java | 141 private void handleResultCode(int resultCode, String action) { in handleResultCode() argument 142 if (resultCode == Activity.RESULT_OK) { in handleResultCode() 147 String reason = getErrorReason(resultCode); in handleResultCode() 165 private String getErrorReason(int resultCode) { in getErrorReason() argument 166 switch (resultCode) { in getErrorReason()
|
/cts/tests/tests/app.usage/src/android/app/usage/cts/ |
D | ActivityTransitionTest.java | 99 while (mActivity.resultCode == 0) { in testOnSharedElementsArrived() 134 public int resultCode; 142 protected void onReceiveResult(int resultCode, Bundle resultData) { 143 this.resultCode = resultCode;
|
D | ActivityTransitionActivity.java | 62 public int resultCode = 0; field in ActivityTransitionActivity 165 protected void onActivityResult(int requestCode, int resultCode, Intent data) { in onActivityResult() argument 167 super.onActivityResult(requestCode, resultCode, data); in onActivityResult() 168 this.resultCode = resultCode; in onActivityResult()
|
/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 | 44 protected void onActivityResult(int requestCode, int resultCode, Intent data) { in onActivityResult() argument 45 if (mResult.offer(resultCode) == false) { 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/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()
|
/cts/libs/deviceutil/src/android/cts/util/ |
D | CTSResult.java | 22 public void setResult(int resultCode); in setResult() argument
|
/cts/suite/cts/deviceTests/opengl/src/com/android/cts/opengl/reference/ |
D | GLReferenceActivity.java | 66 protected void onActivityResult(int requestCode, int resultCode, Intent data) { in onActivityResult() argument 68 if (resultCode == RESULT_OK) { in onActivityResult()
|
/cts/common/device-side/util/src/com/android/compatibility/common/util/ |
D | Result.java | 30 void setResult(int resultCode); in setResult() argument
|