Home
last modified time | relevance | path

Searched refs:req2 (Results 1 – 7 of 7) sorted by relevance

/cts/tests/credentials/src/android/credentials/cts/unittests/
DCreateCredentialRequestTest.java138 final CreateCredentialRequest req2 = TestUtils.cloneParcelable(req1); in testWriteToParcel() local
139 assertThat(req2.getType()).isEqualTo(req1.getType()); in testWriteToParcel()
140 assertEquals(req2.getCredentialData(), req1.getCredentialData()); in testWriteToParcel()
141 assertEquals(req2.getCandidateQueryData(), req1.getCandidateQueryData()); in testWriteToParcel()
142 assertThat(req2.isSystemProviderRequired()).isEqualTo((req1.isSystemProviderRequired())); in testWriteToParcel()
143 assertThat(req2.alwaysSendAppInfoToProvider()).isEqualTo( in testWriteToParcel()
DGetCredentialRequestTest.java121 final GetCredentialRequest req2 = TestUtils.cloneParcelable(req); in testWriteToParcel() local
122 TestUtils.assertEquals(req2.getData(), req.getData()); in testWriteToParcel()
124 for (int i = 0; i < req2.getCredentialOptions().size(); i++) { in testWriteToParcel()
125 TestUtils.assertEquals(req2.getCredentialOptions().get(i), in testWriteToParcel()
DClearCredentialStateRequestTest.java63 final ClearCredentialStateRequest req2 = cloneParcelable(req1); in testWriteToParcel() local
65 assertEquals(req2.getData(), req1.getData()); in testWriteToParcel()
DUnregisterCredentialDescriptionRequestTest.java66 final UnregisterCredentialDescriptionRequest req2 = TestUtils.cloneParcelable(req); in testWriteToParcel_shouldSucceed() local
69 List<CredentialDescription> options2 = req2.getCredentialDescriptions().stream().toList(); in testWriteToParcel_shouldSucceed()
DRegisterCredentialDescriptionRequestTest.java65 final RegisterCredentialDescriptionRequest req2 = TestUtils.cloneParcelable(req); in testWriteToParcel_shouldSucceed() local
68 List<CredentialDescription> options2 = req2.getCredentialDescriptions().stream().toList(); in testWriteToParcel_shouldSucceed()
/cts/tests/credentials/src/android/credentials/cts/unittests/service/
DGetCredentialRequestTest.java89 final GetCredentialRequest req2 = TestUtils.cloneParcelable(req1); in testWriteToParcel() local
91 req2.getCredentialOptions().size()); in testWriteToParcel()
104 final SigningInfo signing2 = req2.getCallingAppInfo().getSigningInfo(); in testWriteToParcel()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/usb/device/
DUsbDeviceTestActivity.java1197 UsbRequest req2 = new UsbRequest(); in usbRequestTests() local
1198 isInited = req2.initialize(connection, in); in usbRequestTests()
1200 isInited = req2.initialize(connection, out); in usbRequestTests()
1202 req2.close(); in usbRequestTests()
1205 req2 = new UsbRequest(); in usbRequestTests()
1206 req2.close(); in usbRequestTests()
1208 req2.initialize(connection, in); in usbRequestTests()
1209 req2.close(); in usbRequestTests()
1210 req2.close(); in usbRequestTests()