/cts/apps/CtsVerifier/src/com/android/cts/verifier/sensors/reporting/ |
D | SensorTestDetails.java | 44 public SensorTestDetails(String name, ResultCode resultCode) { in SensorTestDetails() argument 45 this(name, resultCode, null /* summary */); in SensorTestDetails() 48 public SensorTestDetails(String name, ResultCode resultCode, String summary) { in SensorTestDetails() argument 50 mResultCode = resultCode; in SensorTestDetails() 60 ResultCode resultCode = ResultCode.PASS; in SensorTestDetails() local 62 resultCode = ResultCode.FAIL; in SensorTestDetails() 64 resultCode = ResultCode.SKIPPED; in SensorTestDetails() 68 mResultCode = resultCode; in SensorTestDetails() 81 ResultCode resultCode = ResultCode.FAIL; in SensorTestDetails() local 83 resultCode = ResultCode.INTERRUPTED; in SensorTestDetails() [all …]
|
/cts/tests/tests/gameservice/src/android/service/games/testing/ |
D | GetResultActivity.java | 28 public final int resultCode; field in GetResultActivity.Result 31 public Result(int requestCode, int resultCode, Intent data) { in Result() argument 33 this.resultCode = resultCode; in Result() 40 protected void onActivityResult(int requestCode, int resultCode, Intent data) { in onActivityResult() argument 41 mResult.offer(new Result(requestCode, resultCode, data)); in onActivityResult()
|
/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/app/app/src/android/app/stubs/ |
D | GetResultActivity.java | 32 public final int resultCode; field in GetResultActivity.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 sResult.offer(new Result(requestCode, resultCode, data), 5, TimeUnit.SECONDS); in onActivityResult()
|
D | ActivityMonitorTestActivity.java | 36 protected void onActivityResult(int requestCode, int resultCode, Intent data) { in onActivityResult() argument 38 mListener.onActivityResult(requestCode, resultCode, data); in onActivityResult() 57 void onActivityResult(int requestCode, int resultCode, Intent data); in onActivityResult() argument
|
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()
|
/cts/tests/tests/os/src/android/os/cts/ |
D | ResultReceiverTest.java | 35 int resultCode = 1; in testResultReceiver() local 36 sender.send(resultCode, bundle); in testResultReceiver() 38 assertEquals(resultCode, sender.getResultCode()); in testResultReceiver() 61 protected void onReceiveResult(int resultCode, Bundle resultData) { in onReceiveResult() argument 62 super.onReceiveResult(resultCode, resultData); in onReceiveResult() 64 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/scopedstorage/libs/ScopedStorageTestLib/src/android/scopedstorage/cts/lib/ |
D | GetResultActivity.java | 32 public final int resultCode; field in GetResultActivity.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 sResult.offer(new Result(requestCode, resultCode, data), 5, TimeUnit.SECONDS); in onActivityResult()
|
/cts/tests/PhotoPicker/src/android/photopicker/cts/ |
D | GetResultActivity.java | 32 public final int resultCode; field in GetResultActivity.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 sResult.offer(new Result(requestCode, resultCode, data), 5, TimeUnit.SECONDS); in onActivityResult()
|
/cts/tests/providerui/src/android/providerui/cts/ |
D | GetResultActivity.java | 32 public final int resultCode; field in GetResultActivity.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 sResult.offer(new Result(requestCode, resultCode, data), 5, TimeUnit.SECONDS); in onActivityResult()
|
/cts/hostsidetests/devicepolicy/app/IntentSender/src/com/android/cts/intent/sender/ |
D | IntentSenderActivity.java | 44 public final int resultCode; field in IntentSenderActivity.Result 47 public Result(int resultCode, Intent data) { in Result() argument 48 this.resultCode = resultCode; in Result() 62 protected void onActivityResult(int requestCode, int resultCode, Intent data) { in onActivityResult() argument 64 + ", resultCode=" + resultCode); in onActivityResult() 65 if (resultCode == Activity.RESULT_OK) { in onActivityResult() 67 mResult.offer(new Result(resultCode, data), 5, TimeUnit.SECONDS); in onActivityResult()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/ |
D | AbstractTestListActivity.java | 74 protected final void onActivityResult(int requestCode, int resultCode, Intent data) { in onActivityResult() argument 75 super.onActivityResult(requestCode, resultCode, data); in onActivityResult() 76 handleActivityResult(requestCode, resultCode, data); in onActivityResult() 80 protected void handleActivityResult(int requestCode, int resultCode, Intent data) { in handleActivityResult() argument 83 handleLaunchTestResult(resultCode, data); in handleActivityResult() 101 protected void handleLaunchTestResult(int resultCode, Intent data) { in handleLaunchTestResult() argument 107 if (resultCode == RESULT_OK) { in handleLaunchTestResult() 116 TestResult testResult = TestResult.fromActivityResult(resultCode, data); in handleLaunchTestResult() 123 resultCode, data, DisplayMode.FOLDED.toString())); in handleLaunchTestResult() 125 resultCode, data, DisplayMode.UNFOLDED.toString())); in handleLaunchTestResult()
|
/cts/tests/sensor/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 | 38 void onActivityResult(int requestCode, int resultCode, Intent data); in onActivityResult() argument 62 protected void onActivityResult(int requestCode, int resultCode, Intent data) { in onActivityResult() argument 63 Log.d(TAG, "onActivityResult(): requestCode=" + requestCode + ", resultCode=" + resultCode in onActivityResult() 66 mOnActivityResultListener.onActivityResult(requestCode, resultCode, data); in onActivityResult() 70 super.onActivityResult(requestCode, resultCode, data); in onActivityResult()
|
/cts/hostsidetests/appsecurity/test-apps/UsePermissionDiffCert/src/com/android/cts/usespermissiondiffcertapp/ |
D | GetResultActivity.java | 38 public final int resultCode; field in GetResultActivity.Result 41 public Result(int requestCode, int resultCode, Intent data) { in Result() argument 43 this.resultCode = resultCode; in Result() 67 protected void onActivityResult(int requestCode, int resultCode, Intent data) { in onActivityResult() argument 70 mResult.offer(new Result(requestCode, resultCode, data), 5, TimeUnit.SECONDS); in onActivityResult()
|
/cts/tests/tests/telephony/current/src/android/telephony/euicc/cts/ |
D | EuiccTestResolutionActivity.java | 59 protected void onActivityResult(int requestCode, int resultCode, Intent data) { in onActivityResult() argument 60 super.onActivityResult(requestCode, resultCode, data); in onActivityResult() 63 resultCode == RESULT_OK ? RESULT_CODE_TEST_PASSED : RESULT_CODE_TEST_FAILED); in onActivityResult() 102 private void sendCallbackAndFinish(int resultCode) { in sendCallbackAndFinish() argument 105 mCallbackIntent.send(resultCode); in sendCallbackAndFinish()
|
/cts/tests/tests/gameservice/CtsGameServiceStartActivityVerifier/src/android/service/games/cts/startactivityverifier/ |
D | MainActivity.java | 40 int resultCode; in onCreate() 42 resultCode = Integer.parseInt(resultCodeEditable.getText().toString()); in onCreate() 50 setResult(resultCode); in onCreate() 54 setResult(resultCode, data); in onCreate()
|
/cts/tests/tests/security/src/android/security/cts/ |
D | StartForFutureActivity.kt | 33 override fun onActivityResult(requestCode: Int, resultCode: Int, data: Intent?) { in onActivityResult() 34 super.onActivityResult(requestCode, resultCode, data) in onActivityResult() 35 future!!.complete(Instrumentation.ActivityResult(resultCode, data)) in onActivityResult()
|
/cts/hostsidetests/devicepolicy/app/DeviceOwner/src/com/android/cts/deviceowner/ |
D | PrivateDnsPolicyTest.java | 75 int resultCode = mDevicePolicyManager.setGlobalPrivateDnsModeOpportunistic(getWho()); in callSetGlobalPrivateDnsOpportunisticModeExpectingResult() local 81 expectedResult, resultCode), in callSetGlobalPrivateDnsOpportunisticModeExpectingResult() 82 expectedResult, resultCode); in callSetGlobalPrivateDnsOpportunisticModeExpectingResult() 91 int resultCode = mDevicePolicyManager.setGlobalPrivateDnsModeSpecifiedHost( in callSetGlobalPrivateDnsHostModeExpectingResult() local 98 privateDnsHost, expectedResult, resultCode), in callSetGlobalPrivateDnsHostModeExpectingResult() 99 expectedResult, resultCode); in callSetGlobalPrivateDnsHostModeExpectingResult()
|
/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/tests/wifi/src/android/net/wifi/cts/ |
D | WaitForResultActivity.java | 65 protected void onActivityResult(int requestCode, int resultCode, @Nullable Intent data) { in onActivityResult() argument 67 if (resultCode != RESULT_OK) { in onActivityResult() 79 super.onActivityResult(requestCode, resultCode, data); in onActivityResult() 108 public void onReceiveResult(int resultCode, Bundle data) { in startServiceToWaitForResult() 110 mStatus = resultCode == 1; in startServiceToWaitForResult()
|
/cts/tests/tests/attributionsource/src/android/attributionsource/cts/ |
D | AttributionSourceActivity.kt | 46 protected override fun onActivityResult(requestCode: Int, resultCode: Int, data: Intent) { in onActivityResult() 48 super.onActivityResult(requestCode, resultCode, data) in onActivityResult() 50 Log.i(TAG, "Received result " + resultCode + ", finishing activity") in onActivityResult() 51 setResult(resultCode) in onActivityResult()
|
/cts/tests/autofillservice/src/android/autofillservice/cts/activities/ |
D | TrampolineForResultActivity.java | 61 protected void onActivityResult(int requestCode, int resultCode, Intent data) { in onActivityResult() argument 62 Log.d(TAG, "onActivityResult(): req=" + requestCode + ", res=" + resultCode); in onActivityResult() 64 mActualResultCode = resultCode; in onActivityResult()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/sensors/base/ |
D | BaseSensorTestActivity.java | 196 protected void onActivityResult(int requestCode, int resultCode, Intent data) { in onActivityResult() argument 197 mActivityResultMultiplexedLatch.onActivityResult(requestCode, resultCode); in onActivityResult() 220 SensorTestDetails.ResultCode resultCode = testDetails.getResultCode(); in run() local 221 if (resultCode == SensorTestDetails.ResultCode.SKIPPED) { in run() 225 if (resultCode == SensorTestDetails.ResultCode.PASS) { in run() 488 SensorTestDetails.ResultCode resultCode = testDetails.getResultCode(); in setTestResult() local 489 switch (resultCode) { in setTestResult() 504 throw new IllegalStateException("Unknown ResultCode: " + resultCode); in setTestResult() 517 SensorTestDetails.ResultCode resultCode = testDetails.getResultCode(); in executeActivityTests() local 518 if (resultCode == SensorTestDetails.ResultCode.PASS) { in executeActivityTests() [all …]
|