Searched refs:testProfile (Results 1 – 2 of 2) sorted by relevance
/hardware/interfaces/identity/aidl/vts/ |
D | VtsIdentityTestUtils.cpp | 95 for (const auto& testProfile : testProfiles) { in addAccessControlProfiles() local 98 cert.encodedCertificate = testProfile.readerCertificate; in addAccessControlProfiles() 99 int64_t secureUserId = testProfile.userAuthenticationRequired ? 66 : 0; in addAccessControlProfiles() 101 testProfile.id, cert, testProfile.userAuthenticationRequired, in addAccessControlProfiles() 102 testProfile.timeoutMillis, secureUserId, &profile); in addAccessControlProfiles() 107 << "test profile id = " << testProfile.id << endl; in addAccessControlProfiles() 108 EXPECT_EQ(testProfile.id, profile.id); in addAccessControlProfiles() 109 EXPECT_EQ(testProfile.readerCertificate, profile.readerCertificate.encodedCertificate); in addAccessControlProfiles() 110 EXPECT_EQ(testProfile.userAuthenticationRequired, profile.userAuthenticationRequired); in addAccessControlProfiles() 111 EXPECT_EQ(testProfile.timeoutMillis, profile.timeoutMillis); in addAccessControlProfiles() [all …]
|
D | VtsIWritableIdentityCredentialTests.cpp | 244 for (const auto& testProfile : testProfiles) { in TEST_P() local 247 cert.encodedCertificate = testProfile.readerCertificate; in TEST_P() 248 int64_t secureUserId = testProfile.userAuthenticationRequired ? 66 : 0; in TEST_P() 250 testProfile.id, cert, testProfile.userAuthenticationRequired, in TEST_P() 251 testProfile.timeoutMillis, secureUserId, &profile); in TEST_P() 259 << "test profile id = " << testProfile.id << endl; in TEST_P() 261 ASSERT_EQ(testProfile.id, profile.id); in TEST_P() 262 ASSERT_EQ(testProfile.readerCertificate, profile.readerCertificate.encodedCertificate); in TEST_P() 263 ASSERT_EQ(testProfile.userAuthenticationRequired, profile.userAuthenticationRequired); in TEST_P() 264 ASSERT_EQ(testProfile.timeoutMillis, profile.timeoutMillis); in TEST_P() [all …]
|