Home
last modified time | relevance | path

Searched refs:expectedResultCode (Results 1 – 5 of 5) sorted by relevance

/cts/tests/credentials/src/android/credentials/cts/unittests/selection/
DProviderPendingIntentResponseTest.java49 final int expectedResultCode = -1; in construction_success() local
54 expectedResultCode, expectedResultData); in construction_success()
56 assertThat(obj.getResultCode()).isEqualTo(expectedResultCode); in construction_success()
64 final int expectedResultCode = -1; in writeToParcel_success() local
69 expectedResultCode, expectedResultData); in writeToParcel_success()
73 assertThat(toObj.getResultCode()).isEqualTo(expectedResultCode); in writeToParcel_success()
/cts/tests/app/src/android/app/cts/
DInstrumentation_ActivityMonitorTest.java144 final int expectedResultCode = 1111; in testActivityMonitor_onStartActivityBlocks() local
147 new ActivityResult(expectedResultCode, new Intent(expectedAction))); in testActivityMonitor_onStartActivityBlocks()
159 expectedResultCode, resultCode); in testActivityMonitor_onStartActivityBlocks()
193 final int expectedResultCode = 1122; in testActivityMonitor_onStartActivityAndIntentFilter() local
197 new ActivityResult(expectedResultCode, new Intent(expectedAction)), in testActivityMonitor_onStartActivityAndIntentFilter()
211 expectedResultCode, resultCode); in testActivityMonitor_onStartActivityAndIntentFilter()
245 final int expectedResultCode = 2244; in testActivityMonitor_onStartActivityAndActivityClass() local
249 new ActivityResult(expectedResultCode, new Intent(expectedAction)), in testActivityMonitor_onStartActivityAndActivityClass()
263 expectedResultCode, resultCode); in testActivityMonitor_onStartActivityAndActivityClass()
/cts/tests/autofillservice/src/android/autofillservice/cts/activities/
DTrampolineForResultActivity.java51 public void assertResult(int expectedResultCode) throws Exception { in assertResult() argument
57 .isEqualTo(expectedResultCode); in assertResult()
/cts/tests/admin/src/android/admin/cts/
DDeviceAdminActivationTest.java280 private void assertWithTimeoutOnActivityResultInvokedWithResultCode(int expectedResultCode) { in assertWithTimeoutOnActivityResultInvokedWithResultCode() argument
287 assertEquals(expectedResultCode, (int) resultCodeCaptor.getValue()); in assertWithTimeoutOnActivityResultInvokedWithResultCode()
/cts/tests/tests/companion/uiautomation/src/android/companion/cts/uiautomation/
DUiAutomationTestBase.kt188 val expectedResultCode = if (userRejected) RESULT_USER_REJECTED else RESULT_CANCELED in <lambda>() constant
189 assertEquals(actual = resultCode, expected = expectedResultCode) in <lambda>()