1<?xml version="1.0" encoding="utf-8"?> 2<!-- 3 ~ Copyright (C) 2021 The Android Open Source Project 4 ~ 5 ~ Licensed under the Apache License, Version 2.0 (the "License"); 6 ~ you may not use this file except in compliance with the License. 7 ~ You may obtain a copy of the License at 8 ~ 9 ~ http://www.apache.org/licenses/LICENSE-2.0 10 ~ 11 ~ Unless required by applicable law or agreed to in writing, software 12 ~ distributed under the License is distributed on an "AS IS" BASIS, 13 ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 14 ~ See the License for the specific language governing permissions and 15 ~ limitations under the License. 16 --> 17 18<PreferenceScreen 19 xmlns:android="http://schemas.android.com/apk/res/android" 20 xmlns:settings="http://schemas.android.com/apk/res-auto" 21 android:title="@string/enterprise_privacy_settings" 22 android:key="@string/psk_enterprise_privacy_settings"> 23 24<!-- TODO(b/206022572): preferences below were copied mostly "as-is" from phone, they need to be 25 polished for automotive (for example, adding dividers, removing order, etc...) --> 26 27 <PreferenceCategory android:key="@string/psk_enterprise_privacy_exposure_category" 28 android:order="200" 29 android:title="@string/enterprise_privacy_exposure_category" 30 android:contentDescription="@string/enterprise_privacy_exposure_category"> 31 <Preference android:key="@string/pk_enterprise_privacy_enterprise_data" 32 android:order="210" 33 android:layout_height="wrap_content" 34 android:title="@string/enterprise_privacy_enterprise_data" 35 android:selectable="false"/> 36 <Preference android:key="@string/pk_enterprise_privacy_installed_packages" 37 android:order="220" 38 android:title="@string/enterprise_privacy_installed_packages" 39 android:selectable="false"/> 40 <Preference android:key="@string/pk_enterprise_privacy_usage_stats" 41 android:order="230" 42 android:title="@string/enterprise_privacy_usage_stats" 43 android:selectable="false"/> 44 <!-- TODO(b/206155858): figure out why it doesn't have a title --> 45 <Preference android:key="@string/pk_enterprise_privacy_network_logs" 46 settings:controller="com.android.car.settings.enterprise.NetworkLogsPreferenceController" 47 android:order="240" 48 android:title="@string/enterprise_privacy_network_logs" 49 android:selectable="false"/> 50 <Preference android:key="@string/pk_enterprise_privacy_bug_reports" 51 settings:controller="com.android.car.settings.enterprise.BugReportsPreferenceController" 52 android:order="250" 53 android:title="@string/enterprise_privacy_bug_reports" 54 android:selectable="false"/> 55 <Preference android:key="@string/pk_enterprise_privacy_security_logs" 56 settings:controller="com.android.car.settings.enterprise.SecurityLogsPreferenceController" 57 android:order="260" 58 android:title="@string/enterprise_privacy_security_logs" 59 android:selectable="false"/> 60 </PreferenceCategory> 61 62 <PreferenceCategory android:title="@string/enterprise_privacy_exposure_changes_category" 63 android:order="300" 64 android:key="@string/psk_enterprise_privacy_exposure_changes_category"> 65 <Preference 66 settings:controller="com.android.car.settings.enterprise.EnterpriseInstalledPackagesPreferenceController" 67 android:order="310" 68 android:key="@string/pk_enterprise_privacy_number_enterprise_installed_packages" 69 android:title="@string/enterprise_privacy_enterprise_installed_packages"/> 70 <Preference 71 settings:controller="com.android.car.settings.enterprise.AdminGrantedLocationPermissionsPreferenceController" 72 android:order="320" 73 android:key="@string/pk_enterprise_privacy_number_location_access_packages" 74 android:title="@string/enterprise_privacy_location_access"/> 75 <Preference 76 settings:controller="com.android.car.settings.enterprise.AdminGrantedMicrophonePermissionPreferenceController" 77 android:order="330" 78 android:key="@string/pk_enterprise_privacy_number_microphone_access_packages" 79 android:title="@string/enterprise_privacy_microphone_access"/> 80 <Preference 81 settings:controller="com.android.car.settings.enterprise.AdminGrantedCameraPermissionPreferenceController" 82 android:order="340" 83 android:key="@string/pk_enterprise_privacy_number_camera_access_packages" 84 android:title="@string/enterprise_privacy_camera_access"/> 85 <Preference 86 settings:controller="com.android.car.settings.enterprise.EnterpriseSetDefaultAppsPreferenceController" 87 android:order="350" 88 android:key="@string/pk_enterprise_privacy_number_enterprise_set_default_apps" 89 android:title="@string/enterprise_privacy_enterprise_set_default_apps"/> 90 91 <!-- TODO(b/206155695): figure out why it doesn't have a title --> 92 <Preference android:key="@string/pk_enterprise_privacy_always_on_vpn_primary_user" 93 settings:controller="com.android.car.settings.enterprise.AlwaysOnCurrentUserPreferenceController" 94 android:order="360" 95 android:selectable="false"/> 96 97 <Preference android:key="@string/pk_enterprise_privacy_input_method" 98 settings:controller="com.android.car.settings.enterprise.ImePreferenceController" 99 android:order="380" 100 android:title="@string/enterprise_privacy_input_method" 101 android:selectable="false"/> 102 <Preference android:key="@string/pk_enterprise_privacy_global_http_proxy" 103 settings:controller="com.android.car.settings.enterprise.GlobalHttpProxyPreferenceController" 104 android:order="390" 105 android:title="@string/enterprise_privacy_global_http_proxy" 106 android:selectable="false"/> 107 <Preference android:key="@string/pk_enterprise_privacy_ca_certs_current_user" 108 settings:controller="com.android.car.settings.enterprise.CaCertsCurrentUserPreferenceController" 109 android:order="400" 110 android:title="@string/enterprise_privacy_ca_certs_personal" 111 android:selectable="false"/> 112 </PreferenceCategory> 113 114 <PreferenceCategory android:key="@string/psk_enterprise_privacy_device_access_category" 115 android:order="500" 116 android:title="@string/enterprise_privacy_device_access_category"> 117 <Preference android:key="@string/pk_enterprise_privacy_lock_device" 118 android:order="510" 119 android:title="@string/enterprise_privacy_lock_device" 120 android:selectable="false"/> 121 <Preference android:key="@string/pk_enterprise_privacy_wipe_device" 122 settings:controller="com.android.car.settings.enterprise.WipeDevicePreferenceController" 123 android:order="520" 124 android:title="@string/enterprise_privacy_wipe_device" 125 android:selectable="false"/> 126 <Preference android:key="@string/pk_enterprise_privacy_failed_password_wipe_current_user" 127 settings:controller="com.android.car.settings.enterprise.FailedPasswordWipeCurrentUserPreferenceController" 128 android:order="530" 129 android:title="@string/enterprise_privacy_failed_password_wipe_device" 130 android:selectable="false"/> 131 </PreferenceCategory> 132 133 <com.android.settingslib.widget.FooterPreference 134 android:key="@string/pk_enterprise_privacy_header" 135 android:title="@string/enterprise_privacy_header" 136 android:selectable="false" 137 settings:searchable="false"/> 138</PreferenceScreen> 139