Lines Matching defs:auths
219 AuthorizationSet auths = sw_enforced();
220 EXPECT_GT(auths.SerializedSize(), 12U);
222 EXPECT_TRUE(contains(auths, TAG_PURPOSE, KM_PURPOSE_SIGN));
223 EXPECT_TRUE(contains(auths, TAG_PURPOSE, KM_PURPOSE_VERIFY));
224 EXPECT_TRUE(contains(auths, TAG_USER_ID, 7));
225 EXPECT_TRUE(contains(auths, TAG_USER_AUTH_TYPE, HW_AUTH_PASSWORD));
226 EXPECT_TRUE(contains(auths, TAG_AUTH_TIMEOUT, 300));
229 EXPECT_FALSE(contains(auths, TAG_ROOT_OF_TRUST));
230 EXPECT_FALSE(contains(auths, TAG_APPLICATION_ID));
231 EXPECT_FALSE(contains(auths, TAG_APPLICATION_DATA));
234 EXPECT_FALSE(contains(auths, TAG_PURPOSE, KM_PURPOSE_ENCRYPT));
235 EXPECT_FALSE(contains(auths, TAG_PURPOSE, KM_PURPOSE_DECRYPT));
236 EXPECT_FALSE(contains(auths, TAG_AUTH_TIMEOUT, 301));
239 EXPECT_TRUE(contains(auths, KM_TAG_CREATION_DATETIME));
242 EXPECT_FALSE(auths.Contains(TAG_OS_VERSION));
243 EXPECT_FALSE(auths.Contains(TAG_OS_PATCHLEVEL));
247 EXPECT_TRUE(contains(auths, TAG_OS_VERSION, kOsVersion));
248 EXPECT_TRUE(contains(auths, TAG_OS_PATCHLEVEL, kOsPatchLevel));