Home
last modified time | relevance | path

Searched refs:req1 (Results 1 – 4 of 4) sorted by relevance

/cts/tests/credentials/src/android/credentials/cts/unittests/service/
DGetCredentialRequestTest.java86 final GetCredentialRequest req1 = new GetCredentialRequest(mCallingAppInfo, in testWriteToParcel() local
89 final GetCredentialRequest req2 = TestUtils.cloneParcelable(req1); in testWriteToParcel()
90 assertThat(req1.getCredentialOptions().size()).isEqualTo( in testWriteToParcel()
92 for (int i = 0; i < req1.getCredentialOptions().size(); i++) { in testWriteToParcel()
93 CredentialOption req1Option = req1.getCredentialOptions().get(i); in testWriteToParcel()
94 CredentialOption req2Option = req1.getCredentialOptions().get(i); in testWriteToParcel()
103 final SigningInfo signing1 = req1.getCallingAppInfo().getSigningInfo(); in testWriteToParcel()
/cts/tests/credentials/src/android/credentials/cts/unittests/
DCreateCredentialRequestTest.java132 final CreateCredentialRequest req1 = new CreateCredentialRequest.Builder( in testWriteToParcel() local
138 final CreateCredentialRequest req2 = TestUtils.cloneParcelable(req1); in testWriteToParcel()
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()
144 req1.alwaysSendAppInfoToProvider()); in testWriteToParcel()
DClearCredentialStateRequestTest.java62 final ClearCredentialStateRequest req1 = new ClearCredentialStateRequest(data); in testWriteToParcel() local
63 final ClearCredentialStateRequest req2 = cloneParcelable(req1); in testWriteToParcel()
65 assertEquals(req2.getData(), req1.getData()); in testWriteToParcel()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/usb/device/
DUsbDeviceTestActivity.java1063 final UsbRequest req1 = new UsbRequest();
1064 runAndAssertException(() -> req1.initialize(null, in), NullPointerException.class);
1065 runAndAssertException(() -> req1.initialize(connection, null), NullPointerException.class);
1066 boolean isInited = req1.initialize(connection, in);
1068 runAndAssertException(() -> req1.queue(null, 0), NullPointerException.class);
1069 runAndAssertException(() -> req1.queue(ByteBuffer.allocate(1).asReadOnlyBuffer(), 1),
1071 req1.close();
1074 runAndAssertException(() -> req1.queue(ByteBuffer.allocate(1), 1),
1076 runAndAssertException(() -> req1.queue(ByteBuffer.allocateDirect(1), 1),
1179 final UsbRequest req1 = new UsbRequest(); in usbRequestTests() local
[all …]