• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1<?xml version="1.0" encoding="utf-8"?>
2<!-- Copyright (C) 2016 The Android Open Source Project
3
4     Licensed under the Apache License, Version 2.0 (the "License");
5     you may not use this file except in compliance with the License.
6     You may obtain a copy of the License at
7
8          http://www.apache.org/licenses/LICENSE-2.0
9
10     Unless required by applicable law or agreed to in writing, software
11     distributed under the License is distributed on an "AS IS" BASIS,
12     WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13     See the License for the specific language governing permissions and
14     limitations under the License.
15-->
16
17<PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android"
18                  xmlns:settings="http://schemas.android.com/apk/res-auto"
19                  android:title="@string/enterprise_privacy_settings">
20
21    <PreferenceCategory android:key="exposure_category"
22                        android:order="200"
23                        android:title="@string/enterprise_privacy_exposure_category"
24                        android:contentDescription="@string/enterprise_privacy_exposure_category">
25        <Preference android:key="enterprise_privacy_enterprise_data"
26                    android:order="210"
27                    android:layout_height="wrap_content"
28                    android:title="@string/enterprise_privacy_enterprise_data"
29                    android:selectable="false"/>
30        <Preference android:key="enterprise_privacy_installed_packages"
31                    android:order="220"
32                    android:title="@string/enterprise_privacy_installed_packages"
33                    android:selectable="false"/>
34        <Preference android:key="enterprise_privacy_usage_stats"
35                    android:order="230"
36                    android:title="@string/enterprise_privacy_usage_stats"
37                    android:selectable="false"/>
38        <Preference android:key="network_logs"
39                    android:order="240"
40                    android:title="@string/enterprise_privacy_network_logs"
41                    android:selectable="false"/>
42        <Preference android:key="bug_reports"
43                    android:order="250"
44                    android:title="@string/enterprise_privacy_bug_reports"
45                    android:selectable="false"/>
46        <Preference android:key="security_logs"
47                    android:order="260"
48                    android:title="@string/enterprise_privacy_security_logs"
49                    android:selectable="false"/>
50    </PreferenceCategory>
51
52    <PreferenceCategory android:title="@string/enterprise_privacy_exposure_changes_category"
53                        android:order="300"
54                        android:key="exposure_changes_category">
55        <Preference android:fragment="com.android.settings.enterprise.ApplicationListFragment$EnterpriseInstalledPackages"
56                    android:order="310"
57                    android:key="number_enterprise_installed_packages"
58                    android:title="@string/enterprise_privacy_enterprise_installed_packages"/>
59        <Preference android:fragment="com.android.settings.enterprise.ApplicationListFragment$AdminGrantedPermissionLocation"
60                    android:order="320"
61                    android:key="enterprise_privacy_number_location_access_packages"
62                    android:title="@string/enterprise_privacy_location_access"/>
63        <Preference android:fragment="com.android.settings.enterprise.ApplicationListFragment$AdminGrantedPermissionMicrophone"
64                    android:order="330"
65                    android:key="enterprise_privacy_number_microphone_access_packages"
66                    android:title="@string/enterprise_privacy_microphone_access"/>
67        <Preference android:fragment="com.android.settings.enterprise.ApplicationListFragment$AdminGrantedPermissionCamera"
68                    android:order="340"
69                    android:key="enterprise_privacy_number_camera_access_packages"
70                    android:title="@string/enterprise_privacy_camera_access"/>
71        <Preference android:fragment="com.android.settings.enterprise.EnterpriseSetDefaultAppsListFragment"
72                    android:order="350"
73                    android:key="number_enterprise_set_default_apps"
74                    android:title="@string/enterprise_privacy_enterprise_set_default_apps"/>
75        <Preference android:key="always_on_vpn_primary_user"
76                    android:order="360"
77                    android:selectable="false"/>
78        <Preference android:key="always_on_vpn_managed_profile"
79                    android:order="370"
80                    android:title="@string/enterprise_privacy_always_on_vpn_work"
81                    android:selectable="false"/>
82        <Preference android:key="input_method"
83                    android:order="380"
84                    android:title="@string/enterprise_privacy_input_method"
85                    android:selectable="false"/>
86        <Preference android:key="global_http_proxy"
87                    android:order="390"
88                    android:title="@string/enterprise_privacy_global_http_proxy"
89                    android:selectable="false"/>
90        <Preference android:key="ca_certs_current_user"
91                    android:order="400"
92                    android:title="@string/enterprise_privacy_ca_certs_personal"
93                    android:selectable="false"/>
94        <Preference android:key="ca_certs_managed_profile"
95                    android:order="410"
96                    android:title="@string/enterprise_privacy_ca_certs_work"
97                    android:selectable="false"/>
98    </PreferenceCategory>
99
100    <PreferenceCategory android:key="device_access_category"
101                        android:order="500"
102                        android:title="@string/enterprise_privacy_device_access_category">
103        <Preference android:key="enterprise_privacy_lock_device"
104                    android:order="510"
105                    android:title="@string/enterprise_privacy_lock_device"
106                    android:selectable="false"/>
107        <Preference android:key="enterprise_privacy_wipe_device"
108                    android:order="520"
109                    android:title="@string/enterprise_privacy_wipe_device"
110                    android:selectable="false"/>
111        <Preference android:key="failed_password_wipe_current_user"
112                    android:order="530"
113                    android:title="@string/enterprise_privacy_failed_password_wipe_device"
114                    android:selectable="false"/>
115        <Preference android:key="failed_password_wipe_managed_profile"
116                    android:order="540"
117                    android:title="@string/enterprise_privacy_failed_password_wipe_work"
118                    android:selectable="false"/>
119    </PreferenceCategory>
120
121    <com.android.settingslib.widget.FooterPreference
122        android:key="enterprise_privacy_footer"
123        android:title="@string/enterprise_privacy_header"
124        android:selectable="false"
125        settings:searchable="false"/>
126</PreferenceScreen>
127