Searched refs:device_policy_ (Results 1 – 5 of 5) sorted by relevance
200 if (!device_policy_.has_device_policy_refresh_rate()) in GetPolicyRefreshRate()203 device_policy_.device_policy_refresh_rate().device_policy_refresh_rate()); in GetPolicyRefreshRate()209 if (!device_policy_.has_user_whitelist()) in GetUserWhitelist()211 const em::UserWhitelistProto& proto = device_policy_.user_whitelist(); in GetUserWhitelist()219 if (!device_policy_.has_guest_mode_enabled()) in GetGuestModeEnabled()222 device_policy_.guest_mode_enabled().guest_mode_enabled(); in GetGuestModeEnabled()227 if (!device_policy_.has_camera_enabled()) in GetCameraEnabled()229 *camera_enabled = device_policy_.camera_enabled().camera_enabled(); in GetCameraEnabled()234 if (!device_policy_.has_show_user_names()) in GetShowUserNames()236 *show_user_names = device_policy_.show_user_names().show_user_names(); in GetShowUserNames()[all …]
20 device_policy_ = std::make_unique<DevicePolicyImpl>(); in PolicyProvider()26 : device_policy_(std::move(device_policy)), in PolicyProvider()39 if (!device_policy_) in Reload()41 device_policy_is_loaded_ = device_policy_->LoadPolicy(); in Reload()55 return *device_policy_; in GetDevicePolicy()74 device_policy_ = std::move(device_policy); in SetDevicePolicyForTesting()
38 return device_policy_; in get_device_policy()101 device_policy_ = device_policy; in set_policy_for_testing()133 enterprise_management::ChromeDeviceSettingsProto device_policy_; variable
54 std::unique_ptr<DevicePolicy> device_policy_;
23 device_policy_.set_policy_for_testing(proto); in InitializePolicy()24 device_policy_.set_install_attributes_for_testing( in InitializePolicy()29 DevicePolicyImpl device_policy_; member in policy::DevicePolicyImplTest37 device_policy_.set_policy_data_for_testing(policy_data); in TEST_F()40 EXPECT_TRUE(device_policy_.GetOwner(&owner)); in TEST_F()50 device_policy_.set_policy_data_for_testing(policy_data); in TEST_F()53 EXPECT_TRUE(device_policy_.GetOwner(&owner)); in TEST_F()60 device_policy_.set_policy_data_for_testing(policy_data); in TEST_F()63 EXPECT_FALSE(device_policy_.GetOwner(&owner)); in TEST_F()71 device_policy_.set_policy_data_for_testing(policy_data); in TEST_F()[all …]