/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/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 | 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/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/appsecurity/test-apps/MediaStorageApp/src/com/android/cts/mediastorageapp/ |
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 | 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() 60 protected void onActivityResult(int requestCode, int resultCode, Intent data) { in onActivityResult() argument 62 + ", resultCode=" + resultCode); in onActivityResult() 63 if (resultCode == Activity.RESULT_OK) { in onActivityResult() 65 mResult.offer(new Result(resultCode, data), 5, TimeUnit.SECONDS); in onActivityResult()
|
/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/apps/CtsVerifier/src/com/android/cts/verifier/ |
D | AbstractTestListActivity.java | 64 protected final void onActivityResult(int requestCode, int resultCode, Intent data) { in onActivityResult() argument 65 super.onActivityResult(requestCode, resultCode, data); in onActivityResult() 66 handleActivityResult(requestCode, resultCode, data); in onActivityResult() 70 protected void handleActivityResult(int requestCode, int resultCode, Intent data) { in handleActivityResult() argument 73 handleLaunchTestResult(resultCode, data); in handleActivityResult() 91 protected void handleLaunchTestResult(int resultCode, Intent data) { in handleLaunchTestResult() argument 97 if (resultCode == RESULT_OK) { in handleLaunchTestResult() 102 TestResult testResult = TestResult.fromActivityResult(resultCode, data); in handleLaunchTestResult()
|
/cts/tests/tests/telephony/current/src/android/telephony/euicc/cts/ |
D | EuiccTestResolutionActivity.java | 58 protected void onActivityResult(int requestCode, int resultCode, Intent data) { in onActivityResult() argument 59 super.onActivityResult(requestCode, resultCode, data); in onActivityResult() 62 resultCode == RESULT_OK ? RESULT_CODE_TEST_PASSED : RESULT_CODE_TEST_FAILED); in onActivityResult() 99 private void sendCallbackAndFinish(int resultCode) { in sendCallbackAndFinish() argument 102 mCallbackIntent.send(resultCode); in sendCallbackAndFinish()
|
/cts/hostsidetests/devicepolicy/app/DeviceOwner/src/com/android/cts/deviceowner/ |
D | PrivateDnsPolicyTest.java | 74 int resultCode = mDevicePolicyManager.setGlobalPrivateDnsModeOpportunistic(getWho()); in callSetGlobalPrivateDnsOpportunisticModeExpectingResult() local 80 expectedResult, resultCode), in callSetGlobalPrivateDnsOpportunisticModeExpectingResult() 81 expectedResult, resultCode); in callSetGlobalPrivateDnsOpportunisticModeExpectingResult() 90 int resultCode = mDevicePolicyManager.setGlobalPrivateDnsModeSpecifiedHost( in callSetGlobalPrivateDnsHostModeExpectingResult() local 97 privateDnsHost, expectedResult, resultCode), in callSetGlobalPrivateDnsHostModeExpectingResult() 98 expectedResult, resultCode); in callSetGlobalPrivateDnsHostModeExpectingResult()
|
/cts/tests/tests/permission3/src/android/permission3/cts/ |
D | StartForFutureActivity.kt | 32 override fun onActivityResult(requestCode: Int, resultCode: Int, data: Intent?) { in onActivityResult() 33 super.onActivityResult(requestCode, resultCode, data) in onActivityResult() 35 future.complete(Instrumentation.ActivityResult(resultCode, data)) in onActivityResult()
|
/cts/hostsidetests/devicepolicy/app/CrossProfileTestApps/CrossProfileAppsTest/src/com/android/cts/crossprofileappstest/ |
D | CrossProfileResultCheckerActivity.java | 62 protected void onActivityResult(int requestCode, int resultCode, Intent data) { in onActivityResult() argument 63 super.onActivityResult(requestCode, resultCode, data); in onActivityResult() 64 if (resultCode != CrossProfileResultReturnerActivity.RESULT_CODE) { in onActivityResult() 65 throw new IllegalStateException("Unknown result code: " + resultCode); 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/tests/role/CtsRoleTestApp/src/android/app/role/cts/app/ |
D | ChangeDefaultDialerActivity.java | 44 protected void onActivityResult(int requestCode, int resultCode, Intent data) { in onActivityResult() argument 46 setResult(resultCode, data); in onActivityResult() 49 super.onActivityResult(requestCode, resultCode, data); in onActivityResult()
|
D | RequestRoleActivity.java | 45 protected void onActivityResult(int requestCode, int resultCode, Intent data) { in onActivityResult() argument 47 setResult(resultCode, data); in onActivityResult() 50 super.onActivityResult(requestCode, resultCode, data); in onActivityResult()
|
D | ChangeDefaultSmsActivity.java | 44 protected void onActivityResult(int requestCode, int resultCode, Intent data) { in onActivityResult() argument 46 setResult(resultCode, data); in onActivityResult() 49 super.onActivityResult(requestCode, resultCode, data); in onActivityResult()
|
/cts/tests/tests/role/src/android/app/role/cts/ |
D | WaitForResultActivity.java | 53 protected void onActivityResult(int requestCode, int resultCode, @Nullable Intent data) { in onActivityResult() argument 55 mResultCode = resultCode; in onActivityResult() 59 super.onActivityResult(requestCode, resultCode, data); in onActivityResult()
|
/cts/tests/tests/wifi/src/android/net/wifi/cts/ |
D | WaitForResultActivity.java | 69 protected void onActivityResult(int requestCode, int resultCode, @Nullable Intent data) { in onActivityResult() argument 71 assertThat(resultCode).isEqualTo(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/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()
|