Home
last modified time | relevance | path

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

/system/keymaster/tests/
Dauthorization_set_test.cpp346 AuthorizationSet growable; in TEST() local
347 EXPECT_TRUE(growable.push_back(Authorization(TAG_ALGORITHM, KM_ALGORITHM_RSA))); in TEST()
348 EXPECT_EQ(1U, growable.size()); in TEST()
350 EXPECT_TRUE(growable.push_back(Authorization(TAG_PURPOSE, KM_PURPOSE_VERIFY))); in TEST()
351 EXPECT_EQ(2U, growable.size()); in TEST()
353 EXPECT_TRUE(growable.push_back(Authorization(TAG_PURPOSE, KM_PURPOSE_SIGN))); in TEST()
354 EXPECT_EQ(3U, growable.size()); in TEST()
356 EXPECT_TRUE(growable.push_back(Authorization(TAG_APPLICATION_ID, "data", 4))); in TEST()
357 EXPECT_EQ(4U, growable.size()); in TEST()
359 EXPECT_TRUE(growable.push_back(Authorization(TAG_APPLICATION_DATA, "some more data", 14))); in TEST()
[all …]