Searched refs:InstallAttributesReader (Results 1 – 10 of 10) sorted by relevance
/external/libbrillo/install_attributes/ |
D | libinstallattributes.cc | 22 const char InstallAttributesReader::kAttrMode[] = "enterprise.mode"; 23 const char InstallAttributesReader::kDeviceModeConsumer[] = "consumer"; 24 const char InstallAttributesReader::kDeviceModeEnterprise[] = "enterprise"; 25 const char InstallAttributesReader::kDeviceModeEnterpriseAD[] = "enterprise_ad"; 26 const char InstallAttributesReader::kDeviceModeLegacyRetail[] = "kiosk"; 27 const char InstallAttributesReader::kDeviceModeConsumerKiosk[] = 30 InstallAttributesReader::InstallAttributesReader() in InstallAttributesReader() function in InstallAttributesReader 34 InstallAttributesReader::~InstallAttributesReader() { in ~InstallAttributesReader() 37 const std::string& InstallAttributesReader::GetAttribute( in GetAttribute() 52 bool InstallAttributesReader::IsLocked() { in IsLocked() [all …]
|
D | libinstallattributes.h | 19 class BRILLO_EXPORT InstallAttributesReader { 30 InstallAttributesReader(); 31 virtual ~InstallAttributesReader();
|
D | mock_install_attributes_reader.h | 14 class MockInstallAttributesReader : public InstallAttributesReader {
|
/external/libbrillo/policy/tests/ |
D | device_policy_impl_test.cc | 107 InstallAttributesReader::kDeviceModeEnterprise, true)); in TEST_F() 120 InitializePolicy(InstallAttributesReader::kDeviceModeEnterprise, in TEST_F() 134 InitializePolicy(InstallAttributesReader::kDeviceModeEnterpriseAD, in TEST_F() 148 InitializePolicy(InstallAttributesReader::kDeviceModeConsumer, in TEST_F() 161 InitializePolicy(InstallAttributesReader::kDeviceModeEnterprise, in TEST_F() 175 InitializePolicy(InstallAttributesReader::kDeviceModeEnterprise, in TEST_F() 189 InitializePolicy(InstallAttributesReader::kDeviceModeEnterprise, in TEST_F() 205 InitializePolicy(InstallAttributesReader::kDeviceModeEnterprise, in TEST_F() 222 InitializePolicy(InstallAttributesReader::kDeviceModeEnterpriseAD, in TEST_F() 241 InitializePolicy(InstallAttributesReader::kDeviceModeEnterprise, in TEST_F() [all …]
|
D | libpolicy_test.cc | 30 std::unique_ptr<InstallAttributesReader> install_attributes_reader, in CreateDevicePolicyImpl() 52 InstallAttributesReader::kDeviceModeEnterprise, true), in TEST() 212 InstallAttributesReader::kDeviceModeEnterprise, true), in TEST() 285 InstallAttributesReader::kDeviceModeEnterpriseAD, true), in TEST() 302 InstallAttributesReader::kDeviceModeEnterprise, true), in TEST() 347 InstallAttributesReader::kDeviceModeEnterprise, true)); in TEST() 356 InstallAttributesReader::kDeviceModeEnterpriseAD, true)); in TEST()
|
/external/libbrillo/policy/ |
D | libpolicy.cc | 22 install_attributes_reader_ = std::make_unique<InstallAttributesReader>(); in PolicyProvider() 33 install_attributes_reader_(std::make_unique<InstallAttributesReader>()) { 67 InstallAttributesReader::kAttrMode); in IsConsumerDevice() 68 return device_mode != InstallAttributesReader::kDeviceModeEnterprise && in IsConsumerDevice() 69 device_mode != InstallAttributesReader::kDeviceModeEnterpriseAD; in IsConsumerDevice() 80 std::unique_ptr<InstallAttributesReader> install_attributes_reader) { in SetInstallAttributesReaderForTesting()
|
D | libpolicy.h | 51 std::unique_ptr<InstallAttributesReader> install_attributes_reader); 56 std::unique_ptr<InstallAttributesReader> install_attributes_reader_;
|
D | device_policy_impl.cc | 211 InstallAttributesReader::kAttrMode); in IsEnterpriseEnrolled() 212 return device_mode == InstallAttributesReader::kDeviceModeEnterprise || in IsEnterpriseEnrolled() 213 device_mode == InstallAttributesReader::kDeviceModeEnterpriseAD; in IsEnterpriseEnrolled() 769 install_attributes_reader_ = std::make_unique<InstallAttributesReader>(); in LoadPolicyFromFile() 772 InstallAttributesReader::kAttrMode); in LoadPolicyFromFile() 773 if (mode == InstallAttributesReader::kDeviceModeEnterpriseAD) { in LoadPolicyFromFile()
|
D | device_policy_impl.h | 101 std::unique_ptr<InstallAttributesReader> install_attributes_reader) { in set_install_attributes_for_testing() 135 std::unique_ptr<InstallAttributesReader> install_attributes_reader_;
|
/external/libbrillo/install_attributes/tests/ |
D | libinstallattributes_test.cc | 13 class MockInstallAttributesReader : public InstallAttributesReader {
|