1<?xml version="1.0" encoding="utf-8"?> 2<!-- Copyright (C) 2019 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 18 xmlns:android="http://schemas.android.com/apk/res/android" 19 xmlns:settings="http://schemas.android.com/apk/res-auto" 20 android:title="@string/encryption_and_credential_settings_title" 21 android:key="encryption_and_credentials_screen"> 22 23 <PreferenceCategory 24 android:key="encryption_and_credentials_status_category" 25 android:title="@string/crypt_keeper_settings_title"> 26 27 <Preference 28 android:key="encryption_and_credentials_encryption_status" 29 android:title="@string/crypt_keeper_encrypt_title" 30 android:fragment="com.android.car.developeroptions.security.CryptKeeperSettings" 31 android:summary="@string/summary_placeholder" /> 32 33 </PreferenceCategory> 34 35 <PreferenceCategory 36 android:key="credentials_management" 37 android:title="@string/credentials_title" 38 android:persistent="false" 39 android:order="100"> 40 41 <com.android.settingslib.RestrictedPreference 42 android:key="credential_storage_type" 43 android:title="@string/credential_storage_type" 44 android:summary="@string/summary_placeholder" 45 settings:userRestriction="no_config_credentials" /> 46 47 <Preference 48 android:key="trusted_credentials" 49 android:title="@string/trusted_credentials" 50 android:summary="@string/trusted_credentials_summary" 51 android:fragment="com.android.car.developeroptions.TrustedCredentialsSettings" /> 52 53 <com.android.settingslib.RestrictedPreference 54 android:key="user_credentials" 55 android:title="@string/user_credentials" 56 android:summary="@string/user_credentials_summary" 57 android:fragment="com.android.car.developeroptions.UserCredentialsSettings" 58 settings:userRestriction="no_config_credentials" /> 59 60 <com.android.settingslib.RestrictedPreference 61 android:key="credentials_install" 62 android:title="@string/credentials_install" 63 android:summary="@string/credentials_install_summary" 64 settings:userRestriction="no_config_credentials"> 65 66 <intent 67 android:action="android.credentials.INSTALL" 68 android:targetPackage="com.android.certinstaller" 69 android:targetClass="com.android.certinstaller.CertInstallerMain" /> 70 71 </com.android.settingslib.RestrictedPreference> 72 73 <com.android.settingslib.RestrictedPreference 74 android:key="credentials_reset" 75 android:title="@string/credentials_reset" 76 android:summary="@string/credentials_reset_summary" 77 settings:userRestriction="no_config_credentials"> 78 79 <intent 80 android:action="com.android.credentials.RESET" 81 android:targetPackage="com.android.car.developeroptions" /> 82 83 </com.android.settingslib.RestrictedPreference> 84 85 </PreferenceCategory> 86 87</PreferenceScreen> 88