Home
last modified time | relevance | path

Searched refs:policy_data_ (Results 1 – 2 of 2) sorted by relevance

/external/libbrillo/policy/
Ddevice_policy_impl.cc478 if (!policy_data_.has_username()) in GetOwner()
480 *owner = policy_data_.username(); in GetOwner()
615 if (policy_data_.has_management_mode()) in IsEnterpriseManaged()
616 return policy_data_.management_mode() == em::PolicyData::ENTERPRISE_MANAGED; in IsEnterpriseManaged()
619 return policy_data_.has_request_token(); in IsEnterpriseManaged()
700 if (!policy_data_.has_directory_api_id()) in GetDeviceDirectoryApiId()
703 *directory_api_id_out = policy_data_.directory_api_id(); in GetDeviceDirectoryApiId()
761 if (!policy_data_.ParseFromString(policy_.policy_data()) || in LoadPolicyFromFile()
762 !policy_data_.has_policy_value()) { in LoadPolicyFromFile()
785 if (!device_policy_.ParseFromString(policy_data_.policy_value())) { in LoadPolicyFromFile()
Ddevice_policy_impl.h95 policy_data_ = policy_data; in set_policy_data_for_testing()
137 enterprise_management::PolicyData policy_data_; variable