Searched refs:GetKnownProperty (Results 1 – 11 of 11) sorted by relevance
123 subschema = schema.GetKnownProperty(key::kPowerManagementIdleSettings); in TEST()126 EXPECT_TRUE(IsSameSchema(subschema.GetKnownProperty("AC"), in TEST()127 subschema.GetKnownProperty("Battery"))); in TEST()129 subschema = schema.GetKnownProperty(key::kDeviceLoginScreenPowerManagement); in TEST()132 EXPECT_TRUE(IsSameSchema(subschema.GetKnownProperty("AC"), in TEST()133 subschema.GetKnownProperty("Battery"))); in TEST()
272 schema = schema.GetKnownProperty("sub"); in TEST()431 EXPECT_FALSE(schema.GetKnownProperty("").valid()); in TEST()432 EXPECT_FALSE(schema.GetKnownProperty("xyz").valid()); in TEST()445 EXPECT_FALSE(schema.GetKnownProperty("").valid()); in TEST()446 EXPECT_FALSE(schema.GetKnownProperty("xyz").valid()); in TEST()447 EXPECT_TRUE(schema.GetKnownProperty("Boolean").valid()); in TEST()463 EXPECT_FALSE(schema.GetKnownProperty("").valid()); in TEST()464 EXPECT_FALSE(schema.GetKnownProperty("xyz").valid()); in TEST()477 Schema sub = schema.GetKnownProperty(kExpectedKeys[i].expected_key); in TEST()999 Schema parent = schema.GetKnownProperty("bookmarks"); in TEST()[all …]
154 Schema GetKnownProperty(const std::string& key) const;
181 chrome_schema.GetKnownProperty(test_keys::kKeyDictionary); in SetUp()
1002 Schema Schema::GetKnownProperty(const std::string& key) const { in GetKnownProperty() function in policy::Schema1040 Schema schema = GetKnownProperty(key); in GetProperty()1049 Schema known_property = GetKnownProperty(key); in GetMatchingProperties()
459 ASSERT_TRUE(schema->GetKnownProperty("string-policy").valid()); in IN_PROC_BROWSER_TEST_F()461 schema->GetKnownProperty("string-policy").type()); in IN_PROC_BROWSER_TEST_F()462 ASSERT_TRUE(schema->GetKnownProperty("int-policy").valid()); in IN_PROC_BROWSER_TEST_F()464 schema->GetKnownProperty("int-policy").type()); in IN_PROC_BROWSER_TEST_F()465 ASSERT_TRUE(schema->GetKnownProperty("double-policy").valid()); in IN_PROC_BROWSER_TEST_F()467 schema->GetKnownProperty("double-policy").type()); in IN_PROC_BROWSER_TEST_F()468 ASSERT_TRUE(schema->GetKnownProperty("boolean-policy").valid()); in IN_PROC_BROWSER_TEST_F()470 schema->GetKnownProperty("boolean-policy").type()); in IN_PROC_BROWSER_TEST_F()472 policy::Schema list = schema->GetKnownProperty("list-policy"); in IN_PROC_BROWSER_TEST_F()478 policy::Schema dict = schema->GetKnownProperty("dict-policy"); in IN_PROC_BROWSER_TEST_F()[all …]
24 chrome_schema.GetKnownProperty(key::kManagedBookmarks), in ManagedBookmarksPolicyHandler()
248 if (!chrome_schema.GetKnownProperty(policy_name).valid()) in PolicyTestCases()
359 chrome_schema.GetKnownProperty( in LoginScreenPowerManagementPolicyHandler()397 chrome_schema.GetKnownProperty(key::kPowerManagementIdleSettings), in PowerManagementIdleSettingsPolicyHandler()455 chrome_schema.GetKnownProperty(key::kScreenLockDelays), in ScreenLockDelayPolicyHandler()
70 .GetKnownProperty(policy_name); in DecodeJsonStringAndDropUnknownBySchema()
399 schema.GetKnownProperty(policy_name), in SimpleSchemaValidatingPolicyHandler()