Searched refs:policy_data (Results 1 – 11 of 11) sorted by relevance
/external/libbrillo/policy/tests/ |
D | device_policy_impl_test.cc | 34 em::PolicyData policy_data; in TEST_F() local 35 policy_data.set_username("user@example.com"); in TEST_F() 36 policy_data.set_management_mode(em::PolicyData::ENTERPRISE_MANAGED); in TEST_F() 37 device_policy_.set_policy_data_for_testing(policy_data); in TEST_F() 46 em::PolicyData policy_data; in TEST_F() local 47 policy_data.set_username("user@example.com"); in TEST_F() 48 policy_data.set_management_mode(em::PolicyData::LOCAL_OWNER); in TEST_F() 49 policy_data.set_request_token("codepath-must-ignore-dmtoken"); in TEST_F() 50 device_policy_.set_policy_data_for_testing(policy_data); in TEST_F() 59 em::PolicyData policy_data; in TEST_F() local [all …]
|
D | policy_util_test.cc | 33 em::PolicyData policy_data; in TEST() local 34 policy_data.set_username("user@example.com"); in TEST() 35 policy_data.set_management_mode(em::PolicyData::LOCAL_OWNER); in TEST() 36 policy_data.set_request_token("codepath-must-ignore-dmtoken"); in TEST() 38 policy_data.SerializeToString(&policy_blob); in TEST()
|
/external/autotest/client/cros/enterprise/ |
D | enterprise_policy_utils.py | 24 policy_data = _get_pol_from_api(autotest_ext) 25 if not policy_data: 27 _reformat_policies(policy_data) 29 return policy_data 43 policy_data = autotest_ext.EvaluateJavaScript(new_promise, promise=True) 44 return policy_data
|
D | policy.py | 185 policy_data = self.get_policy_as_dict() 186 return "<POLICY DATA OBJECT> | {}".format(policy_data)
|
/external/autotest/client/cros/mock_policies/ |
D | create_blob.py | 191 policy_data = dm.PolicyData() 192 policy_data.policy_type = policy_type 193 policy_data.timestamp = int(time.time() * 1000) 194 policy_data.request_token = "DEV_TOKEN" 195 policy_data.policy_value = policy_value 196 policy_data.machine_name = "MEAN_MACHINE" 197 policy_data.public_key_version = 1 198 policy_data.username = username 199 policy_data.device_id = "1337_1D" 200 signed_data = policy_data.SerializeToString() [all …]
|
/external/toybox/toys/android/ |
D | load_policy.c | 24 char *policy_data = xmmap(0, policy_len, PROT_READ, MAP_PRIVATE, fd, 0); in load_policy_main() local 27 if (security_load_policy(policy_data, policy_len) < 0) in load_policy_main() 30 munmap(policy_data, policy_len); in load_policy_main()
|
/external/autotest/client/common_lib/cros/ |
D | policy.py | 60 data_proto.ParseFromString(response_proto.policy_data) 114 policy_proto.policy_data = policy
|
/external/libbrillo/policy/ |
D | device_policy_impl.h | 94 const enterprise_management::PolicyData& policy_data) { in set_policy_data_for_testing() argument 95 policy_data_ = policy_data; in set_policy_data_for_testing()
|
D | device_policy_impl.cc | 734 std::string policy_data = policy_.policy_data(); in VerifyPolicySignature() local 741 if (!VerifySignature(policy_data, policy_data_signature, public_key)) { in VerifyPolicySignature() 761 if (!policy_data_.ParseFromString(policy_.policy_data()) || in LoadPolicyFromFile()
|
/external/autotest/client/site_tests/login_UserPolicyKeys/ |
D | login_UserPolicyKeys.py | 104 policy_data = policy.build_policy_data() 107 policy_data)
|
/external/selinux/libsepol/src/ |
D | write.c | 54 struct policy_data { struct 456 struct policy_data *pd = ptr; in sens_write() 484 struct policy_data *pd = ptr; in cat_write() 663 struct policy_data *pd = ptr; in cond_write_bool() 866 struct policy_data *pd = ptr; in perm_write() 891 struct policy_data *pd = ptr; in common_write() 973 struct policy_data *pd = ptr; in class_write() 1073 struct policy_data *pd = ptr; in role_write() 1152 struct policy_data *pd = ptr; in type_write() 1230 struct policy_data *pd = ptr; in user_write() [all …]
|