Home
last modified time | relevance | path

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

/system/keymaster/
Dauthorization_set_test.cpp337 AuthorizationSet growable; in TEST() local
338 EXPECT_TRUE(growable.push_back(Authorization(TAG_ALGORITHM, KM_ALGORITHM_RSA))); in TEST()
339 EXPECT_EQ(1U, growable.size()); in TEST()
341 EXPECT_TRUE(growable.push_back(Authorization(TAG_PURPOSE, KM_PURPOSE_VERIFY))); in TEST()
342 EXPECT_EQ(2U, growable.size()); in TEST()
344 EXPECT_TRUE(growable.push_back(Authorization(TAG_PURPOSE, KM_PURPOSE_SIGN))); in TEST()
345 EXPECT_EQ(3U, growable.size()); in TEST()
347 EXPECT_TRUE(growable.push_back(Authorization(TAG_APPLICATION_ID, "data", 4))); in TEST()
348 EXPECT_EQ(4U, growable.size()); in TEST()
350 EXPECT_TRUE(growable.push_back(Authorization(TAG_APPLICATION_DATA, "some more data", 14))); in TEST()
[all …]