Home
last modified time | relevance | path

Searched refs:result2 (Results 1 – 5 of 5) sorted by relevance

/hardware/interfaces/keymaster/4.0/vts/functional/
DVerificationTokenTest.cpp100 auto result2 = verifyAuthorization( in TEST_P() local
102 ASSERT_TRUE(result2.callSuccessful); in TEST_P()
104 EXPECT_EQ(ErrorCode::OK, result2.error); in TEST_P()
105 EXPECT_EQ(2U, result2.token.challenge); in TEST_P()
106 EXPECT_EQ(SecLevel(), result2.token.securityLevel); in TEST_P()
107 EXPECT_EQ(0U, result2.token.parametersVerified.size()) in TEST_P()
118 auto km_time_delta = result2.token.timestamp - result1.token.timestamp; in TEST_P()
127 ASSERT_EQ(result1.token.mac.size(), result2.token.mac.size()); in TEST_P()
129 memcmp(result1.token.mac.data(), result2.token.mac.data(), result1.token.mac.size())); in TEST_P()
160 auto result2 = in TEST_P() local
[all …]
DHmacKeySharingTest.cpp123 auto result2 = getHmacSharingParameters(keymaster()); in TEST_P() local
124 EXPECT_EQ(ErrorCode::OK, result2.error); in TEST_P()
126 ASSERT_EQ(result1.params.seed, result2.params.seed) in TEST_P()
128 ASSERT_EQ(result1.params.nonce, result2.params.nonce) in TEST_P()
/hardware/interfaces/security/secureclock/aidl/vts/functional/
DSecureClockAidlTest.cpp122 auto result2 = getTimestampToken(2 /* challenge */); in TEST_P() local
124 EXPECT_EQ(ErrorCode::OK, result2.error); in TEST_P()
125 EXPECT_EQ(2U, result2.token.challenge); in TEST_P()
126 EXPECT_GT(result2.token.timestamp.milliSeconds, 0U); in TEST_P()
127 EXPECT_EQ(32U, result2.token.mac.size()); in TEST_P()
136 EXPECT_GE(result2.token.timestamp.milliSeconds, result1.token.timestamp.milliSeconds); in TEST_P()
138 result2.token.timestamp.milliSeconds - result1.token.timestamp.milliSeconds; in TEST_P()
142 ASSERT_EQ(result1.token.mac.size(), result2.token.mac.size()); in TEST_P()
144 memcmp(result1.token.mac.data(), result2.token.mac.data(), result1.token.mac.size())); in TEST_P()
163 auto result2 = getTimestampToken(1 /* challenge */); in TEST_P() local
[all …]
/hardware/interfaces/security/sharedsecret/aidl/vts/functional/
DSharedSecretAidlTest.cpp146 auto result2 = getSharedSecretParameters(sharedSecret); in TEST_F() local
147 EXPECT_EQ(ErrorCode::OK, result2.error); in TEST_F()
148 ASSERT_EQ(result1.params.seed, result2.params.seed) in TEST_F()
150 ASSERT_EQ(result1.params.nonce, result2.params.nonce) in TEST_F()
/hardware/broadcom/wlan/bcmdhd/wifi_hal/
Dwifi_hal.cpp748 ssize_t result2 = TEMP_FAILURE_RETRY(read(pfd[0].fd, buf, sizeof(buf))); in wifi_event_loop() local
749 ALOGE("Read after POLL returned %zd, error no = %d (%s)", result2, in wifi_event_loop()