/cts/tests/tests/identity/src/android/security/identity/cts/ |
D | ProvisioningTest.java | 606 ResultData rd = credential.getEntries( in testProvisionAndRetrieve() local 612 Collection<String> resultNamespaces = rd.getNamespaces(); in testProvisionAndRetrieve() 615 assertEquals(12, rd.getEntryNames("org.iso.18013-5.2019").size()); in testProvisionAndRetrieve() 618 assertEquals("Alan", Util.getStringEntry(rd, ns, "First name")); in testProvisionAndRetrieve() 619 assertEquals("Turing", Util.getStringEntry(rd, ns, "Last name")); in testProvisionAndRetrieve() 620 assertEquals("Maida Vale, London, England", Util.getStringEntry(rd, ns, "Home address")); in testProvisionAndRetrieve() 621 assertEquals("19120623", Util.getStringEntry(rd, ns, "Birth date")); in testProvisionAndRetrieve() 622 assertEquals(true, Util.getBooleanEntry(rd, ns, "Cryptanalyst")); in testProvisionAndRetrieve() 624 Util.getBytestringEntry(rd, ns, "Portrait image")); in testProvisionAndRetrieve() 625 assertEquals(180, Util.getIntegerEntry(rd, ns, "Height")); in testProvisionAndRetrieve() [all …]
|
D | UserAuthTest.java | 220 ResultData rd; in doTestUserAuth() local 227 rd = credential.getEntries( in doTestUserAuth() 232 resultNamespaces = rd.getNamespaces(); in doTestUserAuth() 235 entryNames = rd.getEntryNames("org.iso.18013-5.2019"); in doTestUserAuth() 240 rd.getStatus("org.iso.18013-5.2019", "Accessible to all (0)")); in doTestUserAuth() 242 rd.getStatus("org.iso.18013-5.2019", "Accessible to auth-with-10-sec-timeout (1)")); in doTestUserAuth() 244 Util.getStringEntry(rd, "org.iso.18013-5.2019", "Accessible to all (0)")); in doTestUserAuth() 246 rd.getEntry("org.iso.18013-5.2019", "Accessible to auth-with-10-sec-timeout (1)")); in doTestUserAuth() 261 rd = credential.getEntries(Util.createItemsRequest(entriesToRequest, null), in doTestUserAuth() 265 resultNamespaces = rd.getNamespaces(); in doTestUserAuth() [all …]
|
D | ReaderAuthTest.java | 278 ResultData rd; in readerAuth() local 292 rd = retrieveForReader(credential, eKeyPair, readerKeyPairA, certChainForA, requestMessage, in readerAuth() 294 resultNamespaces = rd.getNamespaces(); in readerAuth() 297 entryNames = rd.getRetrievedEntryNames("org.iso.18013-5.2019"); in readerAuth() 301 assertEquals(STATUS_OK, rd.getStatus("org.iso.18013-5.2019", "Accessible to A")); in readerAuth() 302 assertEquals(STATUS_OK, rd.getStatus("org.iso.18013-5.2019", "Accessible to A or B")); in readerAuth() 303 assertEquals(STATUS_READER_AUTHENTICATION_FAILED, rd.getStatus("org.iso.18013-5.2019", in readerAuth() 305 assertEquals(STATUS_READER_AUTHENTICATION_FAILED, rd.getStatus("org.iso.18013-5.2019", in readerAuth() 325 rd = retrieveForReader(credential, eKeyPair, readerKeyPairA, certChainForA, in readerAuth() 327 resultNamespaces = rd.getNamespaces(); in readerAuth() [all …]
|
D | DynamicAuthTest.java | 93 ResultData rd = credential.getEntries( in dynamicAuthTest() local 98 byte[] resultCbor = rd.getAuthenticatedData(); in dynamicAuthTest() 124 rd = credential.getEntries( in dynamicAuthTest() 215 rd = credential.getEntries( in dynamicAuthTest() 243 rd = credential.getEntries( in dynamicAuthTest() 248 resultCbor = rd.getAuthenticatedData(); in dynamicAuthTest() 285 assertArrayEquals(expectedMac, rd.getMessageAuthenticationCode()); in dynamicAuthTest() 289 assertArrayEquals(new byte[]{42, 43, 44}, rd.getStaticAuthenticationData()); in dynamicAuthTest() 299 rd = credential.getEntries( in dynamicAuthTest() 304 assertArrayEquals(new byte[]{43, 44, 45}, rd.getStaticAuthenticationData()); in dynamicAuthTest() [all …]
|
D | NoSessionEncryptionTest.java | 114 CredentialDataResult rd = session.getCredentialData( in noSessionEncryption() local 122 byte[] resultCbor = rd.getDeviceNameSpaces(); in noSessionEncryption() 143 assertNull(rd.getDeviceMac()); in noSessionEncryption() 152 byte[] signature = rd.getDeviceSignature(); in noSessionEncryption()
|
D | MultiDocumentPresentationTest.java | 153 CredentialDataResult rd = session.getCredentialData( in checkPresentation() local 163 byte[] resultCbor = rd.getDeviceNameSpaces(); in checkPresentation() 201 assertArrayEquals(expectedMac, rd.getDeviceMac()); in checkPresentation() 205 byte[] signature = rd.getDeviceSignature(); in checkPresentation() 213 rd.getDeviceSignature(); in checkPresentation()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/security/ |
D | IdentityCredentialAuthentication.java | 143 ResultData rd = credential.getEntries( in getFooAndCheckNotRetrievable() local 148 if (rd.getStatus("org.iso.18013-5.2019", "Foo") in getFooAndCheckNotRetrievable() 159 ResultData rd = credential.getEntries( in getFooAndCheckRetrievable() local 164 if (rd.getStatus("org.iso.18013-5.2019", "Foo") != ResultData.STATUS_OK) { in getFooAndCheckRetrievable()
|
D | IdentityCredentialAuthenticationMultiDocument.java | 172 CredentialDataResult rd = session.getCredentialData( in getFooStatus() local 177 return rd.getIssuerSignedEntries().getStatus("org.iso.18013-5.2019", "Foo"); in getFooStatus()
|
/cts/apps/CameraITS/tests/scene5/ |
D | test_lens_shading_and_color_uniformity.py | 97 for rd in cu_test_failed: 99 'uniformity: %.3f', rd['position'], rd['uniformity_r_g'], 100 rd['uniformity_b_g'])
|
/cts/tests/tests/security/res/raw/ |
D | cve_2018_13925.ts | 4005 …��L�F�UZ�tif5>ߪߵt��P���^��D��k�� h����>�R����Y Ts�SQ5 �P��YWD�2`���2rd�\$RV�6�i=u�#���[LG… 10678 ���l��t�ן{�l'rd� ��=�
|
D | cve_2019_2244.ts | 4007 …��L�F�UZ�tif5>ߪߵt��P���^��D��k�� h����>�R����Y Ts�SQ5 �P��YWD�2`���2rd�\$RV�6�i=u�#���[LG… 10684 ���l��t�ן{�l'rd� ��=�
|
D | cve_2019_2245.ts | 10578 ���l��t�ן{�l'rd� ��=�
|