HomeSort by relevance Sort by last modified time
    Searched defs:policy1 (Results 1 - 3 of 3) sorted by null

  /external/chromium/chrome/browser/chromeos/
plugin_selection_policy_unittest.cc 178 scoped_refptr<PluginSelectionPolicy> policy1 = new PluginSelectionPolicy; local
179 ASSERT_TRUE(policy1->InitFromFile(path));
180 EXPECT_TRUE(policy1->IsAllowed(GURL("http://www.foo.com/blah.html"),
182 EXPECT_FALSE(policy1->IsAllowed(GURL("http://www.bar.com/blah.html"),
184 EXPECT_FALSE(policy1->IsAllowed(GURL("http://www.baz.com/blah.html"),
186 EXPECT_TRUE(policy1->IsAllowed(GURL("http://www.baz.com/blah.html"),
  /external/chromium_org/components/policy/core/common/
policy_bundle_unittest.cc 151 PolicyMap policy1; local
153 &policy1, kPolicy1, 1u, POLICY_LEVEL_MANDATORY, POLICY_SCOPE_MACHINE);
155 .CopyFrom(policy1);
157 .CopyFrom(policy1);
159 .CopyFrom(policy1);
204 kExtension1)).Equals(policy1));
  /packages/apps/Email/tests/src/com/android/email/provider/
PolicyTests.java 72 Policy policy1 = new Policy(); local
73 SecurityPolicy.setAccountPolicy(mMockContext, account1, policy1, securitySyncKey);
125 Policy policy1 = new Policy(); local
126 policy1.mDontAllowAttachments = true;
127 SecurityPolicy.setAccountPolicy(mMockContext, acct, policy1, null);
153 Policy.setAttachmentFlagsForNewPolicy(mMockContext, acct, policy1);

Completed in 838 milliseconds