Lines Matching refs:device_policy_
217 if (!device_policy_.has_device_policy_refresh_rate()) in GetPolicyRefreshRate()
220 device_policy_.device_policy_refresh_rate().device_policy_refresh_rate()); in GetPolicyRefreshRate()
226 if (!device_policy_.has_user_whitelist()) in GetUserWhitelist()
228 const em::UserWhitelistProto& proto = device_policy_.user_whitelist(); in GetUserWhitelist()
236 if (!device_policy_.has_guest_mode_enabled()) in GetGuestModeEnabled()
239 device_policy_.guest_mode_enabled().guest_mode_enabled(); in GetGuestModeEnabled()
244 if (!device_policy_.has_camera_enabled()) in GetCameraEnabled()
246 *camera_enabled = device_policy_.camera_enabled().camera_enabled(); in GetCameraEnabled()
251 if (!device_policy_.has_show_user_names()) in GetShowUserNames()
253 *show_user_names = device_policy_.show_user_names().show_user_names(); in GetShowUserNames()
258 if (!device_policy_.has_data_roaming_enabled()) in GetDataRoamingEnabled()
261 device_policy_.data_roaming_enabled().data_roaming_enabled(); in GetDataRoamingEnabled()
266 if (!device_policy_.has_allow_new_users()) in GetAllowNewUsers()
268 *allow_new_users = device_policy_.allow_new_users().allow_new_users(); in GetAllowNewUsers()
273 if (!device_policy_.has_metrics_enabled()) in GetMetricsEnabled()
275 *metrics_enabled = device_policy_.metrics_enabled().metrics_enabled(); in GetMetricsEnabled()
280 if (!device_policy_.has_device_reporting()) in GetReportVersionInfo()
283 const em::DeviceReportingProto& proto = device_policy_.device_reporting(); in GetReportVersionInfo()
293 if (!device_policy_.has_device_reporting()) in GetReportActivityTimes()
296 const em::DeviceReportingProto& proto = device_policy_.device_reporting(); in GetReportActivityTimes()
305 if (!device_policy_.has_device_reporting()) in GetReportBootMode()
308 const em::DeviceReportingProto& proto = device_policy_.device_reporting(); in GetReportBootMode()
318 if (!device_policy_.has_ephemeral_users_enabled()) in GetEphemeralUsersEnabled()
321 device_policy_.ephemeral_users_enabled().ephemeral_users_enabled(); in GetEphemeralUsersEnabled()
326 if (!device_policy_.has_release_channel()) in GetReleaseChannel()
329 const em::ReleaseChannelProto& proto = device_policy_.release_channel(); in GetReleaseChannel()
339 if (!device_policy_.has_release_channel()) in GetReleaseChannelDelegated()
342 const em::ReleaseChannelProto& proto = device_policy_.release_channel(); in GetReleaseChannelDelegated()
354 if (!device_policy_.has_auto_update_settings()) in GetUpdateDisabled()
358 device_policy_.auto_update_settings(); in GetUpdateDisabled()
371 if (!device_policy_.has_auto_update_settings()) in GetTargetVersionPrefix()
375 device_policy_.auto_update_settings(); in GetTargetVersionPrefix()
385 if (!device_policy_.has_auto_update_settings()) in GetRollbackToTargetVersion()
389 device_policy_.auto_update_settings(); in GetRollbackToTargetVersion()
403 if (device_policy_.has_auto_update_settings()) { in GetRollbackAllowedMilestones()
405 device_policy_.auto_update_settings(); in GetRollbackAllowedMilestones()
425 if (!device_policy_.has_auto_update_settings()) in GetScatterFactorInSeconds()
429 device_policy_.auto_update_settings(); in GetScatterFactorInSeconds()
442 if (!device_policy_.has_auto_update_settings()) in GetAllowedConnectionTypesForUpdate()
446 device_policy_.auto_update_settings(); in GetAllowedConnectionTypesForUpdate()
460 if (!device_policy_.has_open_network_configuration()) in GetOpenNetworkConfiguration()
464 device_policy_.open_network_configuration(); in GetOpenNetworkConfiguration()
486 if (!device_policy_.has_auto_update_settings()) in GetHttpDownloadsEnabled()
490 device_policy_.auto_update_settings(); in GetHttpDownloadsEnabled()
500 if (!device_policy_.has_auto_update_settings()) in GetAuP2PEnabled()
504 device_policy_.auto_update_settings(); in GetAuP2PEnabled()
515 if (!device_policy_.has_allow_kiosk_app_control_chrome_version()) in GetAllowKioskAppControlChromeVersion()
519 device_policy_.allow_kiosk_app_control_chrome_version(); in GetAllowKioskAppControlChromeVersion()
531 if (!device_policy_.has_usb_detachable_whitelist()) in GetUsbDetachableWhitelist()
534 device_policy_.usb_detachable_whitelist(); in GetUsbDetachableWhitelist()
550 if (!device_policy_.has_auto_update_settings()) in GetDeviceUpdateStagingSchedule()
554 device_policy_.auto_update_settings(); in GetDeviceUpdateStagingSchedule()
582 if (!device_policy_.has_device_local_accounts()) in GetAutoLaunchedKioskAppId()
586 device_policy_.device_local_accounts(); in GetAutoLaunchedKioskAppId()
623 if (!device_policy_.has_device_second_factor_authentication()) in GetSecondFactorAuthenticationMode()
627 device_policy_.device_second_factor_authentication(); in GetSecondFactorAuthenticationMode()
642 if (!device_policy_.has_auto_update_settings()) { in GetDisallowedTimeIntervals()
647 device_policy_.auto_update_settings(); in GetDisallowedTimeIntervals()
686 if (!IsEnterpriseEnrolled() || !device_policy_.has_auto_update_settings()) in GetDeviceQuickFixBuildToken()
690 device_policy_.auto_update_settings(); in GetDeviceQuickFixBuildToken()
785 if (!device_policy_.ParseFromString(policy_data_.policy_value())) { in LoadPolicyFromFile()