Lines Matching refs:key_characteristics
68 KeyCharacteristics* key_characteristics) { in GenerateKey() argument
71 EXPECT_NE(key_characteristics, nullptr) in GenerateKey()
81 *key_characteristics = hidl_key_characteristics; in GenerateKey()
87 EXPECT_EQ(0U, (key_characteristics->softwareEnforced.size() + in GenerateKey()
88 key_characteristics->hardwareEnforced.size())); in GenerateKey()
99 KeyCharacteristics* key_characteristics) { in ImportKey() argument
107 *key_characteristics = hidl_key_characteristics; in ImportKey()
113 EXPECT_EQ(0U, (key_characteristics->softwareEnforced.size() + in ImportKey()
114 key_characteristics->hardwareEnforced.size())); in ImportKey()
194 KeyCharacteristics* key_characteristics) { in CheckGetCharacteristics() argument
197 GetCharacteristics(key_blob, client_id, app_data, key_characteristics)); in CheckGetCharacteristics()
199 EXPECT_GT(key_characteristics->hardwareEnforced.size(), 0); in CheckGetCharacteristics()
201 EXPECT_GT(key_characteristics->softwareEnforced.size(), 0); in CheckGetCharacteristics()
204 GetCharacteristics(key_blob, empty_buf, app_data, key_characteristics)); in CheckGetCharacteristics()
205 EXPECT_EQ(key_characteristics->hardwareEnforced.size(), 0); in CheckGetCharacteristics()
206 EXPECT_EQ(key_characteristics->softwareEnforced.size(), 0); in CheckGetCharacteristics()
209 GetCharacteristics(key_blob, client_id, empty_buf, key_characteristics)); in CheckGetCharacteristics()
210 EXPECT_EQ(key_characteristics->hardwareEnforced.size(), 0); in CheckGetCharacteristics()
211 EXPECT_EQ(key_characteristics->softwareEnforced.size(), 0); in CheckGetCharacteristics()
214 GetCharacteristics(key_blob, empty_buf, empty_buf, key_characteristics)); in CheckGetCharacteristics()
215 EXPECT_EQ(key_characteristics->hardwareEnforced.size(), 0); in CheckGetCharacteristics()
216 EXPECT_EQ(key_characteristics->softwareEnforced.size(), 0); in CheckGetCharacteristics()
221 KeyCharacteristics* key_characteristics) { in GetCharacteristics() argument
228 error = hidl_error, *key_characteristics = hidl_key_characteristics; in GetCharacteristics()
235 KeyCharacteristics* key_characteristics) { in GetCharacteristics() argument
237 return GetCharacteristics(key_blob, client_id, app_data, key_characteristics); in GetCharacteristics()