Home
last modified time | relevance | path

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

/external/chromium_org/components/policy/core/common/
Dgenerate_policy_source_unittest.cc123 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()
Dschema_unittest.cc272 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 …]
Dschema.h154 Schema GetKnownProperty(const std::string& key) const;
Dconfiguration_policy_provider_test.cc181 chrome_schema.GetKnownProperty(test_keys::kKeyDictionary); in SetUp()
Dschema.cc1002 Schema Schema::GetKnownProperty(const std::string& key) const { in GetKnownProperty() function in policy::Schema
1040 Schema schema = GetKnownProperty(key); in GetProperty()
1049 Schema known_property = GetKnownProperty(key); in GetMatchingProperties()
/external/chromium_org/chrome/browser/extensions/api/storage/
Dsettings_apitest.cc459 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 …]
/external/chromium_org/chrome/browser/policy/
Dmanaged_bookmarks_policy_handler.cc24 chrome_schema.GetKnownProperty(key::kManagedBookmarks), in ManagedBookmarksPolicyHandler()
Dpolicy_prefs_browsertest.cc248 if (!chrome_schema.GetKnownProperty(policy_name).valid()) in PolicyTestCases()
/external/chromium_org/chrome/browser/chromeos/policy/
Dconfiguration_policy_handler_chromeos.cc359 chrome_schema.GetKnownProperty( in LoginScreenPowerManagementPolicyHandler()
397 chrome_schema.GetKnownProperty(key::kPowerManagementIdleSettings), in PowerManagementIdleSettingsPolicyHandler()
455 chrome_schema.GetKnownProperty(key::kScreenLockDelays), in ScreenLockDelayPolicyHandler()
Ddevice_policy_decoder_chromeos.cc70 .GetKnownProperty(policy_name); in DecodeJsonStringAndDropUnknownBySchema()
/external/chromium_org/components/policy/core/browser/
Dconfiguration_policy_handler.cc399 schema.GetKnownProperty(policy_name), in SimpleSchemaValidatingPolicyHandler()