Home
last modified time | relevance | path

Searched refs:result2 (Results 1 – 11 of 11) 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/google/gfxstream/third-party/astc-encoder/Source/
Dastcenc_vecmathlib_avx2_8.h1107 __m256i result2 = _mm256_shuffle_epi8(t1.m, idxx); in vtable_8bt_32bi() local
1108 result = _mm256_xor_si256(result, result2); in vtable_8bt_32bi()
1123 __m256i result2 = _mm256_shuffle_epi8(t1.m, idxx); in vtable_8bt_32bi() local
1124 result = _mm256_xor_si256(result, result2); in vtable_8bt_32bi()
1127 result2 = _mm256_shuffle_epi8(t2.m, idxx); in vtable_8bt_32bi()
1128 result = _mm256_xor_si256(result, result2); in vtable_8bt_32bi()
1131 result2 = _mm256_shuffle_epi8(t3.m, idxx); in vtable_8bt_32bi()
1132 result = _mm256_xor_si256(result, result2); in vtable_8bt_32bi()
Dastcenc_vecmathlib_sse_4.h1112 __m128i result2 = _mm_shuffle_epi8(t1.m, idxx); in vtable_8bt_32bi() local
1113 result = _mm_xor_si128(result, result2); in vtable_8bt_32bi()
1140 __m128i result2 = _mm_shuffle_epi8(t1.m, idxx); in vtable_8bt_32bi() local
1141 result = _mm_xor_si128(result, result2); in vtable_8bt_32bi()
1144 result2 = _mm_shuffle_epi8(t2.m, idxx); in vtable_8bt_32bi()
1145 result = _mm_xor_si128(result, result2); in vtable_8bt_32bi()
1148 result2 = _mm_shuffle_epi8(t3.m, idxx); in vtable_8bt_32bi()
1149 result = _mm_xor_si128(result, result2); in vtable_8bt_32bi()
/hardware/interfaces/gatekeeper/aidl/vts/functional/
DVtsHalGatekeeperTargetTest.cpp387 Status result2 = doDeleteUser(); in TEST_P() local
388 int32_t retCode2 = getReturnStatusCode(result2); in TEST_P()
/hardware/interfaces/automotive/vehicle/aidl/impl/vhal/test/
DDefaultVehicleHalTest.cpp2011 SetValueResult result2 = { in TEST_F() local
2031 getHardware()->addSetValueResponses({result2, result3}); in TEST_F()
/hardware/broadcom/wlan/bcmdhd/wifi_hal/
Dwifi_hal.cpp800 ssize_t result2 = TEMP_FAILURE_RETRY(read(pfd[0].fd, buf, sizeof(buf))); in wifi_event_loop() local
801 ALOGE("Read after POLL returned %zd, error no = %d (%s)", result2, in wifi_event_loop()
/hardware/synaptics/wlan/synadhd/wifi_hal/
Dwifi_hal.cpp760 ssize_t result2 = TEMP_FAILURE_RETRY(read(pfd[0].fd, buf, sizeof(buf))); in wifi_event_loop() local
761 ALOGE("Read after POLL returned %zd, error no = %d (%s)", result2, in wifi_event_loop()
/hardware/broadcom/wlan/bcmdhd/halutil/
Dhalutil.cpp1202 const wifi_scan_result *result2 = *(const wifi_scan_result **)(p2); in compareScanResultsByRssi() local
1205 if (result1->rssi < result2->rssi) { in compareScanResultsByRssi()
1207 } else if (result1->rssi == result2->rssi) { in compareScanResultsByRssi()