Lines Matching refs:proto
148 const enterprise_management::UserWhitelistProto& proto = in GetUserWhitelist() local
151 for (int i = 0; i < proto.user_whitelist_size(); i++) in GetUserWhitelist()
152 user_whitelist->push_back(proto.user_whitelist(i)); in GetUserWhitelist()
204 const enterprise_management::DeviceReportingProto& proto = in GetReportVersionInfo() local
206 if (!proto.has_report_version_info()) in GetReportVersionInfo()
209 *report_version_info = proto.report_version_info(); in GetReportVersionInfo()
218 const enterprise_management::DeviceReportingProto& proto = in GetReportActivityTimes() local
220 if (!proto.has_report_activity_times()) in GetReportActivityTimes()
223 *report_activity_times = proto.report_activity_times(); in GetReportActivityTimes()
231 const enterprise_management::DeviceReportingProto& proto = in GetReportBootMode() local
233 if (!proto.has_report_boot_mode()) in GetReportBootMode()
236 *report_boot_mode = proto.report_boot_mode(); in GetReportBootMode()
254 const enterprise_management::ReleaseChannelProto& proto = in GetReleaseChannel() local
256 if (!proto.has_release_channel()) in GetReleaseChannel()
259 *release_channel = proto.release_channel(); in GetReleaseChannel()
268 const enterprise_management::ReleaseChannelProto& proto = in GetReleaseChannelDelegated() local
270 if (!proto.has_release_channel_delegated()) in GetReleaseChannelDelegated()
273 *release_channel_delegated = proto.release_channel_delegated(); in GetReleaseChannelDelegated()
282 const enterprise_management::AutoUpdateSettingsProto& proto = in GetUpdateDisabled() local
284 if (!proto.has_update_disabled()) in GetUpdateDisabled()
287 *update_disabled = proto.update_disabled(); in GetUpdateDisabled()
296 const enterprise_management::AutoUpdateSettingsProto& proto = in GetTargetVersionPrefix() local
298 if (!proto.has_target_version_prefix()) in GetTargetVersionPrefix()
301 *target_version_prefix = proto.target_version_prefix(); in GetTargetVersionPrefix()
310 const enterprise_management::AutoUpdateSettingsProto& proto = in GetScatterFactorInSeconds() local
312 if (!proto.has_scatter_factor_in_seconds()) in GetScatterFactorInSeconds()
315 *scatter_factor_in_seconds = proto.scatter_factor_in_seconds(); in GetScatterFactorInSeconds()
324 const enterprise_management::AutoUpdateSettingsProto& proto = in GetAllowedConnectionTypesForUpdate() local
326 if (proto.allowed_connection_types_size() <= 0) in GetAllowedConnectionTypesForUpdate()
329 for (int i = 0; i < proto.allowed_connection_types_size(); i++) { in GetAllowedConnectionTypesForUpdate()
330 std::string type = DecodeConnectionType(proto.allowed_connection_types(i)); in GetAllowedConnectionTypesForUpdate()
342 const enterprise_management::DeviceOpenNetworkConfigurationProto& proto = in GetOpenNetworkConfiguration() local
344 if (!proto.has_open_network_configuration()) in GetOpenNetworkConfiguration()
347 *open_network_configuration = proto.open_network_configuration(); in GetOpenNetworkConfiguration()
368 const enterprise_management::AutoUpdateSettingsProto& proto = in GetHttpDownloadsEnabled() local
371 if (!proto.has_http_downloads_enabled()) in GetHttpDownloadsEnabled()
374 *http_downloads_enabled = proto.http_downloads_enabled(); in GetHttpDownloadsEnabled()
382 const enterprise_management::AutoUpdateSettingsProto& proto = in GetAuP2PEnabled() local
385 if (!proto.has_p2p_enabled()) in GetAuP2PEnabled()
388 *au_p2p_enabled = proto.p2p_enabled(); in GetAuP2PEnabled()