Home
last modified time | relevance | path

Searched refs:testProfile (Results 1 – 2 of 2) sorted by relevance

/hardware/interfaces/identity/aidl/vts/
DUtil.cpp103 for (const auto& testProfile : testProfiles) { in addAccessControlProfiles() local
106 cert.encodedCertificate = testProfile.readerCertificate; in addAccessControlProfiles()
107 int64_t secureUserId = testProfile.userAuthenticationRequired ? 66 : 0; in addAccessControlProfiles()
109 testProfile.id, cert, testProfile.userAuthenticationRequired, in addAccessControlProfiles()
110 testProfile.timeoutMillis, secureUserId, &profile); in addAccessControlProfiles()
115 << "test profile id = " << testProfile.id << endl; in addAccessControlProfiles()
116 EXPECT_EQ(testProfile.id, profile.id); in addAccessControlProfiles()
117 EXPECT_EQ(testProfile.readerCertificate, profile.readerCertificate.encodedCertificate); in addAccessControlProfiles()
118 EXPECT_EQ(testProfile.userAuthenticationRequired, profile.userAuthenticationRequired); in addAccessControlProfiles()
119 EXPECT_EQ(testProfile.timeoutMillis, profile.timeoutMillis); in addAccessControlProfiles()
[all …]
DVtsIWritableIdentityCredentialTests.cpp252 for (const auto& testProfile : testProfiles) { in TEST_P() local
255 cert.encodedCertificate = testProfile.readerCertificate; in TEST_P()
256 int64_t secureUserId = testProfile.userAuthenticationRequired ? 66 : 0; in TEST_P()
258 testProfile.id, cert, testProfile.userAuthenticationRequired, in TEST_P()
259 testProfile.timeoutMillis, secureUserId, &profile); in TEST_P()
267 << "test profile id = " << testProfile.id << endl; in TEST_P()
269 ASSERT_EQ(testProfile.id, profile.id); in TEST_P()
270 ASSERT_EQ(testProfile.readerCertificate, profile.readerCertificate.encodedCertificate); in TEST_P()
271 ASSERT_EQ(testProfile.userAuthenticationRequired, profile.userAuthenticationRequired); in TEST_P()
272 ASSERT_EQ(testProfile.timeoutMillis, profile.timeoutMillis); in TEST_P()
[all …]