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

  /external/chromium/chrome/browser/chromeos/
plugin_selection_policy_unittest.cc 88 FilePath policy_file = GetPolicyPath(name); local
89 size_t bytes_written = file_util::WriteFile(policy_file,
93 *path = policy_file;
99 FilePath policy_file(temp_dir_.path());
100 return policy_file.Append(FilePath(name));
  /external/chromium_org/components/policy/core/common/cloud/
user_cloud_policy_store_unittest.cc 42 new UserCloudPolicyStore(policy_file(), loop_.message_loop_proxy()));
62 base::FilePath policy_file() { function in class:policy::__anon7487::UserCloudPolicyStoreTest
118 ASSERT_TRUE(base::CreateDirectory(policy_file().DirName()));
121 ASSERT_EQ(size, file_util::WriteFile(policy_file(),
151 ASSERT_TRUE(base::CreateDirectory(policy_file().DirName()));
154 ASSERT_EQ(size, file_util::WriteFile(policy_file(),
204 ASSERT_TRUE(base::PathExists(policy_file()));
213 ASSERT_TRUE(!base::PathExists(policy_file()));
267 new UserCloudPolicyStore(policy_file(), loop_.message_loop_proxy()));
293 new UserCloudPolicyStore(policy_file(), loop_.message_loop_proxy()))
    [all...]
  /external/chromium_org/chrome/browser/chromeos/policy/
user_cloud_policy_store_chromeos_unittest.cc 72 policy_file()));
219 base::FilePath policy_file() { function in class:policy::__anon4461::UserCloudPolicyStoreChromeOSTest
408 ASSERT_NE(-1, file_util::WriteFile(policy_file(), data.c_str(), data.size()));
435 ASSERT_NE(-1, file_util::WriteFile(policy_file(), data.c_str(), data.size()));
485 ASSERT_NE(-1, file_util::WriteFile(policy_file(), data.c_str(), data.size()));
501 EXPECT_TRUE(base::PathExists(policy_file()));
515 EXPECT_FALSE(base::PathExists(policy_file()));
  /external/chromium_org/chrome/browser/policy/test/
local_policy_test_server.cc 128 base::FilePath policy_file = server_data_dir_.path().AppendASCII( local
131 return file_util::WriteFile(policy_file, policy.c_str(), policy.size()) ==
  /external/sepolicy/tools/
check_seapp.c 119 FILE *policy_file; /** file handle to the policy file */ member in struct:policy_info
146 .policy_file = NULL,
279 if (!pol.policy_file) {
605 pol.policy_file = fopen(pol.policy_file_name, "rb");
606 if (!pol.policy_file) {
625 sepol_policy_file_set_fp(pol.pf, pol.policy_file);
971 if (pol.policy_file) {
974 fclose(pol.policy_file);
  /external/libsepol/include/sepol/policydb/
policydb.h 642 typedef struct policy_file { struct
655 struct policy_file pf;
660 extern int policydb_read(policydb_t * p, struct policy_file *fp,
663 struct policy_file *fp);
665 extern int policydb_write(struct policydb *p, struct policy_file *pf);

Completed in 593 milliseconds