Home
last modified time | relevance | path

Searched refs:install_attributes_reader_ (Results 1 – 4 of 4) sorted by relevance

/external/libbrillo/policy/
Dlibpolicy.cc22 install_attributes_reader_ = std::make_unique<InstallAttributesReader>(); in PolicyProvider()
33 install_attributes_reader_(std::make_unique<InstallAttributesReader>()) {
63 if (!install_attributes_reader_->IsLocked()) in IsConsumerDevice()
66 const std::string& device_mode = install_attributes_reader_->GetAttribute( in IsConsumerDevice()
81 install_attributes_reader_ = std::move(install_attributes_reader); in SetInstallAttributesReaderForTesting()
Ddevice_policy_impl.cc206 DCHECK(install_attributes_reader_); in IsEnterpriseEnrolled()
207 if (!install_attributes_reader_->IsLocked()) in IsEnterpriseEnrolled()
210 const std::string& device_mode = install_attributes_reader_->GetAttribute( in IsEnterpriseEnrolled()
768 if (!install_attributes_reader_) { in LoadPolicyFromFile()
769 install_attributes_reader_ = std::make_unique<InstallAttributesReader>(); in LoadPolicyFromFile()
771 const std::string& mode = install_attributes_reader_->GetAttribute( in LoadPolicyFromFile()
Ddevice_policy_impl.h102 install_attributes_reader_ = std::move(install_attributes_reader); in set_install_attributes_for_testing()
135 std::unique_ptr<InstallAttributesReader> install_attributes_reader_; variable
Dlibpolicy.h56 std::unique_ptr<InstallAttributesReader> install_attributes_reader_; variable