feat: SettingsLib验证通过-使用App module启用

This commit is contained in:
2024-12-09 16:04:49 +08:00
parent 1f18a59dab
commit a7f5c61005
1562 changed files with 181632 additions and 18 deletions

View File

@@ -0,0 +1,59 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
Copyright 2018 The Android Open Source Project
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->
<PreferenceScreen
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:settings="http://schemas.android.com/apk/res-auto"
android:title="@string/about_settings"
android:key="@string/psk_about_settings">
<com.android.car.ui.preference.CarUiPreference
android:fragment="com.android.car.settings.system.HardwareInfoFragment"
android:key="@string/pk_hardware_info"
android:title="@string/hardware_info"
settings:controller="com.android.car.settings.system.HardwareInfoPreferenceController"/>
<com.android.car.ui.preference.CarUiPreference
android:key="@string/pk_firmware_version"
android:title="@string/firmware_version"
settings:controller="com.android.car.settings.system.FirmwareVersionPreferenceController"
settings:showChevron="false"/>
<com.android.car.ui.preference.CarUiPreference
android:key="@string/pk_security_patch"
android:title="@string/security_patch"
settings:controller="com.android.car.settings.system.SecurityPatchPreferenceController"
settings:showChevron="false"/>
<com.android.car.ui.preference.CarUiPreference
android:key="@string/pk_kernel_version"
android:title="@string/kernel_version"
settings:controller="com.android.car.settings.system.KernelVersionPreferenceController"
settings:showChevron="false"/>
<com.android.car.ui.preference.CarUiPreference
android:key="@string/pk_build_number"
android:title="@string/build_number"
settings:controller="com.android.car.settings.system.BuildNumberPreferenceController"
settings:showChevron="false"/>
<Preference
android:key="@string/pk_regulatory_labels"
android:title="@string/regulatory_labels"
settings:controller="com.android.car.settings.system.RegulatoryInfoPreferenceController">
<intent android:action="android.settings.SHOW_REGULATORY_INFO"/>
</Preference>
<com.android.car.ui.preference.CarUiPreference
android:key="@string/pk_about_bluetooth_mac_address"
android:title="@string/bluetooth_mac_address"
settings:controller="com.android.car.settings.system.BluetoothMacAddressPreferenceController"
settings:showChevron="false"/>
</PreferenceScreen>

View File

@@ -0,0 +1,42 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
~ Copyright (C) 2021 The Android Open Source Project
~
~ Licensed under the Apache License, Version 2.0 (the "License");
~ you may not use this file except in compliance with the License.
~ You may obtain a copy of the License at
~
~ http://www.apache.org/licenses/LICENSE-2.0
~
~ Unless required by applicable law or agreed to in writing, software
~ distributed under the License is distributed on an "AS IS" BASIS,
~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
~ See the License for the specific language governing permissions and
~ limitations under the License.
-->
<PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:settings="http://schemas.android.com/apk/res-auto"
android:title="@string/accessibility_settings_title"
android:key="@string/psk_accessibility_settings">
<PreferenceCategory
android:key="@string/pk_screen_reader_settings_header"
android:title="@string/accessibility_settings_screen_reader_title"
settings:controller="com.android.car.settings.accessibility.ScreenReaderCategoryPreferenceController">
<Preference
android:fragment="com.android.car.settings.accessibility.ScreenReaderSettingsFragment"
android:key="@string/psk_screen_reader_settings"
android:icon="@drawable/ic_screen_reader_settings"
settings:controller="com.android.car.settings.accessibility.ScreenReaderSettingsPreferenceController"/>
</PreferenceCategory>
<PreferenceCategory
android:key="@string/pk_captions_settings_header"
android:title="@string/accessibility_settings_captions_title">
<Preference
android:fragment="com.android.car.settings.accessibility.CaptionsSettingsFragment"
android:key="@string/psk_captions_settings"
android:title="@string/captions_settings_title"
android:icon="@drawable/ic_video_settings"
settings:controller="com.android.car.settings.accessibility.CaptionSettingsPreferenceController"/>
</PreferenceCategory>
</PreferenceScreen>

View File

@@ -0,0 +1,38 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- Copyright (C) 2018 The Android Open Source Project
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->
<PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:settings="http://schemas.android.com/apk/res-auto"
android:key="@string/psk_account_details">
<com.android.car.ui.preference.CarUiTwoActionIconPreference
android:key="@string/pk_account_details"
android:selectable="false"
settings:controller="com.android.car.settings.accounts.AccountDetailsPreferenceController"
settings:secondaryActionIcon="@drawable/ic_delete"
settings:showChevron="false"/>
<com.android.car.settings.common.LogicalPreferenceGroup
android:key="@string/pk_account_settings"
settings:controller="com.android.car.settings.accounts.AccountDetailsSettingController">
<intent>
<extra android:name="com.android.settings.category"
android:value="com.android.settings.category.ia.account_detail"/>
</intent>
</com.android.car.settings.common.LogicalPreferenceGroup>
<Preference
android:key="@string/pk_account_sync"
android:title="@string/account_sync_title"
settings:controller="com.android.car.settings.accounts.AccountSyncPreferenceController"/>
</PreferenceScreen>

View File

@@ -0,0 +1,29 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- Copyright (C) 2018 The Android Open Source Project
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->
<PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:settings="http://schemas.android.com/apk/res-auto"
android:title="@string/account_sync_title"
android:key="@string/psk_account_sync_details">
<com.android.car.ui.preference.CarUiTwoActionIconPreference
android:key="@string/pk_account_details_with_sync"
android:selectable="false"
settings:controller="com.android.car.settings.accounts.AccountDetailsWithSyncStatusPreferenceController"
settings:showChevron="false"/>
<com.android.car.settings.common.LogicalPreferenceGroup
android:key="@string/pk_account_sync_details"
settings:controller="com.android.car.settings.accounts.AccountSyncDetailsPreferenceController"/>
</PreferenceScreen>

View File

@@ -0,0 +1,49 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
Copyright 2018 The Android Open Source Project
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->
<PreferenceScreen
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:settings="http://schemas.android.com/apk/res-auto"
android:title="@string/wifi_setup_add_network"
android:key="@string/psk_add_wifi">
<com.android.car.ui.preference.CarUiEditTextPreference
android:key="@string/pk_add_wifi_network_name"
android:persistent="false"
android:title="@string/wifi_ssid"
settings:controller="com.android.car.settings.wifi.NetworkNamePreferenceController"
settings:occupant_front_passenger="read"
settings:occupant_rear_passenger="read"
settings:showChevron="false"/>
<ListPreference
android:dialogTitle="@string/wifi_security"
android:key="@string/pk_add_wifi_security"
android:persistent="false"
android:title="@string/wifi_security"
settings:controller="com.android.car.settings.wifi.NetworkSecurityPreferenceController"
settings:occupant_front_passenger="read"
settings:occupant_rear_passenger="read"/>
<com.android.car.settings.wifi.NetworkNameRestrictedPasswordEditTextPreference
android:dialogTitle="@string/wifi_password"
android:key="@string/pk_add_wifi_password"
android:persistent="false"
android:summary="@string/default_password_summary"
android:title="@string/wifi_password"
settings:controller="com.android.car.settings.wifi.NetworkPasswordPreferenceController"
settings:occupant_front_passenger="read"
settings:occupant_rear_passenger="read"
settings:showChevron="false"/>
</PreferenceScreen>

View File

@@ -0,0 +1,36 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
Copyright 2019 The Android Open Source Project
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->
<PreferenceScreen
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:settings="http://schemas.android.com/apk/res-auto"
android:title="@string/app_data_usage"
android:key="@string/psk_app_data_usage">
<ListPreference
android:key="@string/pk_data_usage_usage_history"
android:title="@string/data_usage_usage_history_title"
android:dialogTitle="@string/data_usage_usage_history_title"
settings:controller="com.android.car.settings.datausage.DataUsageCyclePreferenceController"/>
<com.android.car.settings.common.DividerPreference/>
<com.android.car.ui.preference.CarUiPreference
android:key="@string/pk_data_usage_all_apps"
android:selectable="false"
settings:controller="com.android.car.settings.datausage.AppDataUsageTotalPreferenceController"/>
<com.android.car.settings.common.LogicalPreferenceGroup
android:key="@string/pk_app_data_usage_detail"
settings:controller="com.android.car.settings.datausage.AppDataUsagePreferenceController"/>
</PreferenceScreen>

View File

@@ -0,0 +1,49 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
Copyright 2021 The Android Open Source Project
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->
<PreferenceScreen
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:settings="http://schemas.android.com/apk/res-auto"
android:title="@string/app_data_usage_title"
android:key="@string/psk_app_specific_data_usage">
<com.android.car.settings.common.EntityHeaderPreference
android:key="@string/pk_app_specific_usage_title"
settings:controller="com.android.car.settings.datausage.AppSpecificDataUsageHeaderPreferenceController"
settings:searchable="false"/>
<com.android.car.settings.common.DividerPreference/>
<ListPreference
android:key="@string/pk_app_specific_usage_cycle"
android:title="@string/app_data_usage_usage_history_title"
android:dialogTitle="@string/app_data_usage_usage_history_title"
settings:controller="com.android.car.settings.datausage.AppSpecificDataUsageCyclePreferenceController"/>
<com.android.car.settings.common.SummaryPreference
android:key="@string/pk_app_specific_usage_total"
android:title="@string/app_data_usage_total_usage"
android:selectable="false"
settings:controller="com.android.car.settings.common.UpdateSummaryPreferenceController"/>
<com.android.car.settings.common.SummaryPreference
android:key="@string/pk_app_specific_usage_foreground"
android:title="@string/app_data_usage_foreground"
android:selectable="false"
settings:controller="com.android.car.settings.common.UpdateSummaryPreferenceController"/>
<com.android.car.settings.common.SummaryPreference
android:key="@string/pk_app_specific_usage_background"
android:title="@string/app_data_usage_background"
android:selectable="false"
settings:controller="com.android.car.settings.common.UpdateSummaryPreferenceController"/>
<com.android.car.settings.common.DividerPreference/>
</PreferenceScreen>

View File

@@ -0,0 +1,49 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- Copyright (C) 2019 The Android Open Source Project
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->
<PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:settings="http://schemas.android.com/apk/res-auto"
android:title="@string/storage_settings_title"
android:key="@string/psk_app_storage_settings_details">
<com.android.car.settings.common.EntityHeaderPreference
android:key="@string/pk_storage_application_details"
settings:controller="com.android.car.settings.storage.StorageApplicationPreferenceController"
settings:searchable="false"/>
<com.android.car.settings.common.ActionButtonsPreference
android:key="@string/pk_storage_application_action_buttons"
settings:controller="com.android.car.settings.storage.StorageApplicationActionButtonsPreferenceController"
settings:searchable="false"/>
<com.android.car.settings.storage.StorageAppDetailPreference
android:key="@string/pk_storage_application_size"
android:selectable="false"
android:title="@string/storage_application_size_label"
settings:controller="com.android.car.settings.storage.StorageApplicationSizePreferenceController"/>
<com.android.car.settings.storage.StorageAppDetailPreference
android:key="@string/pk_storage_application_data_size"
android:selectable="false"
android:title="@string/storage_data_size_label"
settings:controller="com.android.car.settings.storage.StorageApplicationUserDataPreferenceController"/>
<com.android.car.settings.storage.StorageAppDetailPreference
android:key="@string/pk_storage_application_cache_size"
android:selectable="false"
android:title="@string/storage_cache_size_label"
settings:controller="com.android.car.settings.storage.StorageApplicationCacheSizePreferenceController"/>
<com.android.car.settings.storage.StorageAppDetailPreference
android:key="@string/pk_storage_application_total_size"
android:selectable="false"
android:title="@string/storage_total_size_label"
settings:controller="com.android.car.settings.storage.StorageApplicationTotalSizePreferenceController"/>
</PreferenceScreen>

View File

@@ -0,0 +1,64 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
Copyright 2018 The Android Open Source Project
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->
<PreferenceScreen
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:settings="http://schemas.android.com/apk/res-auto"
android:title="@string/applications_settings"
android:key="@string/psk_application_details">
<com.android.car.settings.common.EntityHeaderPreference
android:key="@string/pk_application_details_app"
settings:controller="com.android.car.settings.applications.ApplicationPreferenceController"
settings:searchable="false"/>
<com.android.car.settings.common.ActionButtonsPreference
android:key="@string/pk_application_details_action_buttons"
settings:controller="com.android.car.settings.applications.ApplicationActionButtonsPreferenceController"
settings:searchable="false"/>
<Preference
android:key="@string/pk_all_services_settings"
android:title="@string/app_info_all_services_label"
android:summary="@string/summary_placeholder"
settings:controller=
"com.android.car.settings.applications.appinfo.AppAllServicesPreferenceController" />
<SwitchPreference
android:key="@string/pk_application_details_notifications"
android:title="@string/notifications_label"
settings:controller="com.android.car.settings.applications.NotificationsPreferenceController"/>
<Preference
android:key="@string/pk_application_details_permissions"
android:title="@string/permissions_label"
settings:controller="com.android.car.settings.applications.PermissionsPreferenceController"/>
<Preference
android:key="@string/pk_application_details_storage"
android:title="@string/storage_application_label"
settings:controller="com.android.car.settings.applications.StoragePreferenceController"/>
<SwitchPreference
android:key="@string/pk_application_details_prioritize_app_performance"
android:title="@string/prioritize_app_performance_label"
android:summary="@string/prioritize_app_performance_summary"
settings:controller=
"com.android.car.settings.applications.PrioritizeAppPerformancePreferenceController"/>
<SwitchPreference
android:key="@string/pk_hibernation_switch"
android:title="@string/unused_apps_switch"
settings:controller=
"com.android.car.settings.applications.appinfo.HibernationSwitchPreferenceController" />
<com.android.car.ui.preference.CarUiPreference
android:key="@string/pk_application_details_version"
settings:controller="com.android.car.settings.applications.VersionPreferenceController"
settings:showChevron="false"/>
</PreferenceScreen>

View File

@@ -0,0 +1,45 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
Copyright 2019 The Android Open Source Project
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->
<PreferenceScreen
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:settings="http://schemas.android.com/apk/res-auto"
android:title="@string/app_launch_title"
android:key="@string/psk_application_launch_settings">
<com.android.car.ui.preference.CarUiPreference
android:key="@string/pk_opening_links_app_details"
settings:controller="com.android.car.settings.applications.managedomainurls.ApplicationWithVersionPreferenceController"
settings:showChevron="false"/>
<PreferenceCategory android:title="@string/app_launch_domain_links_title">
<ListPreference
android:key="@string/pk_opening_links_app_details_state"
android:title="@string/app_launch_open_domain_urls_title"
android:summary="%s"
settings:controller="com.android.car.settings.applications.managedomainurls.AppLinkStatePreferenceController"/>
<com.android.car.ui.preference.CarUiPreference
android:key="@string/pk_opening_links_app_details_urls"
android:title="@string/app_launch_supported_domain_urls_title"
android:dependency="@string/pk_opening_links_app_details_state"
settings:controller="com.android.car.settings.applications.managedomainurls.DomainUrlsPreferenceController"
settings:showChevron="false"/>
</PreferenceCategory>
<PreferenceCategory android:title="@string/app_launch_other_defaults_title">
<Preference
android:key="@string/pk_opening_links_app_details_reset"
settings:controller="com.android.car.settings.applications.managedomainurls.ClearDefaultsPreferenceController"/>
</PreferenceCategory>
</PreferenceScreen>

View File

@@ -0,0 +1,32 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
Copyright 2018 The Android Open Source Project
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->
<PreferenceScreen
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:settings="http://schemas.android.com/apk/res-auto"
android:title="@string/applications_settings"
android:key="@string/psk_applications_settings">
<com.android.car.settings.common.ColoredSwitchPreference
android:key="@string/pk_all_applications_settings_hide_system_switch"
android:title="@string/hide_system_apps"
style="@style/ColoredSwitchPreferenceStyle"
settings:controller="com.android.car.settings.applications.HideSystemSwitchPreferenceController"
settings:searchable="false"/>
<com.android.car.settings.common.LogicalPreferenceGroup
android:key="@string/pk_all_applications_settings_list"
settings:controller="com.android.car.settings.applications.ApplicationsSettingsPreferenceController"/>
</PreferenceScreen>

View File

@@ -0,0 +1,83 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
Copyright 2019 The Android Open Source Project
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->
<PreferenceScreen
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:settings="http://schemas.android.com/apk/res-auto"
android:title="@string/apps_settings_title"
android:key="@string/psk_apps">
<Preference
android:fragment="com.android.car.settings.applications.ApplicationsSettingsFragment"
android:key="@string/pk_applications_settings_screen_entry"
android:title="@string/all_applications"
settings:controller="com.android.car.settings.applications.AllAppsPreferenceController"/>
<com.android.car.settings.common.LogicalPreferenceGroup
android:key="@string/pk_recent_apps_group"
settings:controller="com.android.car.settings.applications.RecentAppsGroupPreferenceController">
<PreferenceCategory
android:key="@string/pk_recent_apps_list"
android:title="@string/apps_recently_opened"
settings:controller="com.android.car.settings.applications.RecentAppsListPreferenceController"
settings:searchable="false"/>
<Preference
android:fragment="com.android.car.settings.applications.ApplicationsSettingsFragment"
android:key="@string/pk_recent_apps_view_all"
android:icon="@drawable/ic_apps"
settings:controller="com.android.car.settings.applications.RecentAppsViewAllPreferenceController"/>
<com.android.car.settings.common.DividerPreference/>
</com.android.car.settings.common.LogicalPreferenceGroup>
<com.android.car.settings.common.LogicalPreferenceGroup
android:key="@string/pk_personal_extra_settings"
settings:controller="com.android.car.settings.common.ExtraSettingsPreferenceController">
<intent>
<extra android:name="com.android.settings.category"
android:value="com.android.settings.category.ia.apps"/>
</intent>
</com.android.car.settings.common.LogicalPreferenceGroup>
<Preference
android:key="@string/pk_app_permissions_entry"
android:title="@string/apps_permission_manager_title"
android:summary="@string/app_permissions_summary"
settings:controller="com.android.car.settings.common.DefaultRestrictionsPreferenceController">
<intent android:action="android.intent.action.MANAGE_PERMISSIONS"/>
</Preference>
<Preference
android:key="@string/pk_default_applications_settings_entry"
android:title="@string/default_applications"
android:summary="@string/apps_default_apps_summary"
settings:controller="com.android.car.settings.common.DefaultRestrictionsPreferenceController">
<intent android:action="android.settings.MANAGE_DEFAULT_APPS_SETTINGS"/>
</Preference>
<Preference
android:key="@string/pk_hibernated_apps"
android:title="@string/unused_apps"
settings:controller=
"com.android.car.settings.applications.HibernatedAppsPreferenceController">
<intent android:action="android.intent.action.MANAGE_UNUSED_APPS"/>
</Preference>
<Preference
android:fragment="com.android.car.settings.applications.performance.PerformanceImpactingAppSettingsFragment"
android:key="@string/pk_performance_impacting_apps_entry"
android:title="@string/performance_impacting_apps"
settings:controller="com.android.car.settings.applications.PerfImpactingAppsEntryPreferenceController"/>
<Preference
android:fragment="com.android.car.settings.applications.specialaccess.SpecialAccessSettingsFragment"
android:key="@string/pk_special_access_entry"
android:title="@string/special_access"
android:summary="@string/apps_special_app_access_summary"
settings:controller="com.android.car.settings.common.DefaultRestrictionsPreferenceController"/>
</PreferenceScreen>

View File

@@ -0,0 +1,48 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
Copyright 2019 The Android Open Source Project
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->
<PreferenceScreen
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:settings="http://schemas.android.com/apk/res-auto"
android:title="@string/assistant_and_voice_setting_title"
android:key="@string/psk_assistant_and_voice_settings">
<com.android.car.ui.preference.CarUiTwoActionIconPreference
android:key="@string/pk_default_assist"
android:title="@string/assistant_and_voice_assistant_app_title"
settings:controller="com.android.car.settings.applications.defaultapps.DefaultAssistantPickerEntryPreferenceController"
settings:iconSpaceReserved="true"
settings:secondaryActionIcon="@drawable/ic_settings_gear"/>
<SwitchPreference
android:key="@string/pk_assist_use_text_context"
android:summary="@string/assist_access_context_summary"
android:title="@string/assist_access_context_title"
settings:controller="com.android.car.settings.applications.assist.TextContextPreferenceController"
settings:iconSpaceReserved="true"/>
<SwitchPreference
android:key="@string/pk_assist_use_screenshot"
android:summary="@string/assist_access_screenshot_summary"
android:title="@string/assist_access_screenshot_title"
settings:controller="com.android.car.settings.applications.assist.ScreenshotContextPreferenceController"
settings:iconSpaceReserved="true"/>
<com.android.car.ui.preference.CarUiTwoActionIconPreference
android:fragment="com.android.car.settings.applications.assist.DefaultVoiceInputPickerFragment"
android:key="@string/pk_default_voice_input"
android:title="@string/voice_input_settings_title"
settings:controller="com.android.car.settings.applications.assist.DefaultVoiceInputPickerEntryPreferenceController"
settings:iconSpaceReserved="true"
settings:secondaryActionIcon="@drawable/ic_settings_gear"/>
</PreferenceScreen>

View File

@@ -0,0 +1,41 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
Copyright 2018 The Android Open Source Project
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->
<PreferenceScreen
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:settings="http://schemas.android.com/apk/res-auto"
android:title="@string/bluetooth_settings_title"
android:key="@string/psk_bluetooth_device_details">
<com.android.car.settings.common.EntityHeaderPreference
android:key="@string/pk_bluetooth_device_name"
settings:controller="com.android.car.settings.bluetooth.BluetoothDeviceNamePreferenceController"
settings:selectable="true"
settings:searchable="false"/>
<com.android.car.settings.common.ActionButtonsPreference
android:key="@string/pk_bluetooth_device_action_buttons"
settings:controller="com.android.car.settings.bluetooth.BluetoothDeviceActionButtonsPreferenceController"
settings:searchable="false"/>
<PreferenceCategory
android:key="@string/pk_bluetooth_device_profiles"
android:title="@string/bluetooth_profiles"
settings:controller="com.android.car.settings.bluetooth.BluetoothDeviceProfilesPreferenceController"/>
<com.android.car.ui.preference.CarUiFooterPreference
android:icon="@drawable/ic_settings_about"
android:key="@string/pk_bluetooth_device_address"
android:selectable="false"
settings:controller="com.android.car.settings.bluetooth.BluetoothDeviceAddressPreferenceController"/>
</PreferenceScreen>

View File

@@ -0,0 +1,26 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
Copyright 2019 The Android Open Source Project
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->
<PreferenceScreen
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:settings="http://schemas.android.com/apk/res-auto"
android:title="@string/bluetooth_device_picker"
android:key="@string/psk_bluetooth_device_picker">
<com.android.car.settings.common.LogicalPreferenceGroup
android:key="@string/pk_bluetooth_device_picker"
settings:controller="com.android.car.settings.bluetooth.BluetoothDevicePickerPreferenceController"/>
</PreferenceScreen>

View File

@@ -0,0 +1,40 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
Copyright 2018 The Android Open Source Project
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->
<PreferenceScreen
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:settings="http://schemas.android.com/apk/res-auto"
android:title="@string/bluetooth_pair_new_device"
android:key="@string/psk_bluetooth_pairing_selection">
<com.android.car.ui.preference.CarUiPreference
android:key="@string/pk_bluetooth_name"
android:title="@string/bluetooth_name"
android:icon="@drawable/ic_car"
settings:controller="com.android.car.settings.bluetooth.BluetoothNamePreferenceController"
settings:showChevron="false"/>
<com.android.car.settings.common.SettingsPreferenceCategory
android:key="@string/pk_bluetooth_available_devices"
android:title="@string/bluetooth_available_devices"
settings:controller="com.android.car.settings.bluetooth.BluetoothUnbondedDevicesPreferenceController"
settings:showChevron="false"/>
<com.android.car.ui.preference.CarUiFooterPreference
android:icon="@drawable/ic_settings_about"
android:key="@string/pk_bluetooth_address"
android:selectable="false"
settings:controller="com.android.car.settings.bluetooth.BluetoothAddressPreferenceController"
settings:showChevron="false"/>
</PreferenceScreen>

View File

@@ -0,0 +1,50 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
Copyright 2018 The Android Open Source Project
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->
<PreferenceScreen
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:settings="http://schemas.android.com/apk/res-auto"
android:title="@string/connected_settings_title"
android:key="@string/psk_bluetooth_settings">
<com.android.car.settings.common.ColoredSwitchPreference
android:key="@string/pk_bluetooth_state_switch"
android:title="@string/bluetooth_toggle_title"
style="@style/ColoredSwitchPreferenceStyle"
settings:controller="com.android.car.settings.bluetooth.BluetoothStateSwitchPreferenceController"
settings:searchable="false"/>
<PreferenceCategory
android:key="@string/pk_bluetooth_paired_devices"
android:title="@string/bluetooth_paired_devices"
settings:controller="com.android.car.settings.bluetooth.BluetoothBondedDevicesPreferenceController"/>
<com.android.car.ui.preference.CarUiPreference
android:fragment="com.android.car.settings.bluetooth.BluetoothPairingSelectionFragment"
android:icon="@drawable/ic_add"
android:key="@string/pk_bluetooth_pair_new_device"
android:title="@string/bluetooth_pair_new_device"
settings:controller="com.android.car.settings.bluetooth.PairNewDevicePreferenceController"
settings:showChevron="false">
<intent android:action="android.car.settings.PAIR_DEVICE_SETTINGS" />
</com.android.car.ui.preference.CarUiPreference>
<com.android.car.settings.common.LogicalPreferenceGroup
android:key="@string/pk_bluetooth_extra_settings"
settings:controller="com.android.car.settings.common.ExtraSettingsPreferenceController">
<intent>
<extra android:name="com.android.settings.category"
android:value="com.android.settings.category.ia.connect"/>
</intent>
</com.android.car.settings.common.LogicalPreferenceGroup>
</PreferenceScreen>

View File

@@ -0,0 +1,62 @@
<!--
~ Copyright (C) 2024 The Android Open Source Project
~
~ Licensed under the Apache License, Version 2.0 (the "License");
~ you may not use this file except in compliance with the License.
~ You may obtain a copy of the License at
~
~ http://www.apache.org/licenses/LICENSE-2.0
~
~ Unless required by applicable law or agreed to in writing, software
~ distributed under the License is distributed on an "AS IS" BASIS,
~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
~ See the License for the specific language governing permissions and
~ limitations under the License.
-->
<PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:settings="http://schemas.android.com/apk/res-auto"
android:key="@string/pk_camera_access"
android:title="@string/camera_access_settings_title">
<PreferenceCategory
android:key="@string/pk_camera_access_radio_group"
android:title="@string/camera_access_radio_group_title"
settings:controller=
"com.android.car.settings.privacy.CameraAccessRadioGroupPreferenceController"/>
<com.android.car.ui.preference.CarUiFooterPreference
android:key="@string/pk_camera_access_disclaimer"
android:summary="@string/camera_access_disclaimer_summary"
android:icon="@drawable/ic_settings_about"
android:selectable="false"/>
<com.android.car.settings.common.LogicalPreferenceGroup
android:key="@string/pk_camera_helpful_apps_group"
settings:controller=
"com.android.car.settings.privacy.CameraHelpfulAppsPreferenceController">
<com.android.car.settings.common.DividerPreference/>
<Preference
android:key="@string/pk_camera_helpful_apps_list"
android:title="@string/camera_helpful_apps_list_title"
android:summary="@string/camera_helpful_apps_list_summary"
android:selectable="false"/>
<com.android.car.settings.common.LogicalPreferenceGroup
android:key="@string/pk_camera_helpful_apps_policy"/>
</com.android.car.settings.common.LogicalPreferenceGroup>
<com.android.car.settings.common.LogicalPreferenceGroup
android:key="@string/pk_camera_required_apps_group"
settings:controller=
"com.android.car.settings.privacy.CameraRequiredAppsPreferenceController">
<com.android.car.settings.common.DividerPreference/>
<Preference
android:key="@string/pk_camera_required_apps_list"
android:title="@string/camera_required_apps_list_title"
android:summary="@string/camera_required_apps_list_summary"
android:selectable="false"/>
<com.android.car.settings.common.LogicalPreferenceGroup
android:key="@string/pk_camera_required_apps_policy"/>
</com.android.car.settings.common.LogicalPreferenceGroup>
<com.android.car.ui.preference.CarUiFooterPreference
android:key="@string/pk_camera_privacy_policy_info"
android:summary="@string/camera_privacy_policy_info_summary"
android:icon="@drawable/ic_settings_about"
android:selectable="false"/>
</PreferenceScreen>

View File

@@ -0,0 +1,26 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
~ Copyright (C) 2022 The Android Open Source Project
~
~ Licensed under the Apache License, Version 2.0 (the "License");
~ you may not use this file except in compliance with the License.
~ You may obtain a copy of the License at
~
~ http://www.apache.org/licenses/LICENSE-2.0
~
~ Unless required by applicable law or agreed to in writing, software
~ distributed under the License is distributed on an "AS IS" BASIS,
~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
~ See the License for the specific language governing permissions and
~ limitations under the License.
-->
<PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:settings="http://schemas.android.com/apk/res-auto"
android:key="@string/psk_camera_recent_requests"
android:title="@string/camera_settings_recent_requests_title">
<com.android.car.settings.common.LogicalPreferenceGroup
android:key="@string/pk_camera_recent_requests"
settings:controller=
"com.android.car.settings.privacy.CameraRecentAccessViewAllPreferenceController"/>
</PreferenceScreen>

View File

@@ -0,0 +1,40 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
~ Copyright (C) 2021 The Android Open Source Project
~
~ Licensed under the Apache License, Version 2.0 (the "License");
~ you may not use this file except in compliance with the License.
~ You may obtain a copy of the License at
~
~ http://www.apache.org/licenses/LICENSE-2.0
~
~ Unless required by applicable law or agreed to in writing, software
~ distributed under the License is distributed on an "AS IS" BASIS,
~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
~ See the License for the specific language governing permissions and
~ limitations under the License.
-->
<PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:settings="http://schemas.android.com/apk/res-auto"
android:title="@string/captions_settings_title"
android:key="@string/psk_captions_settings">
<com.android.car.settings.common.ColoredSwitchPreference
android:key="@string/pk_show_captions_switch"
android:title="@string/show_captions_toggle_title"
style="@style/ColoredSwitchPreferenceStyle"
settings:controller="com.android.car.settings.accessibility.ShowCaptionsSwitchPreferenceController"
settings:searchable="false"/>
<PreferenceCategory
android:key="@string/pk_captions_settings_style_subheader"
android:title="@string/captions_settings_style_header">
<ListPreference
android:key="@string/pk_captions_size_settings_entry"
android:title="@string/captions_text_size_title"
settings:controller="com.android.car.settings.accessibility.CaptionsTextSizeListPreferenceController"/>
<ListPreference
android:key="@string/pk_captions_style_settings_entry"
android:title="@string/captions_text_style_title"
settings:controller="com.android.car.settings.accessibility.CaptionsTextStyleListPreferenceController"/>
</PreferenceCategory>
</PreferenceScreen>

View File

@@ -0,0 +1,138 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
Copyright 2018 The Android Open Source Project
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->
<!--
Defines all possible items on car volume settings UI, keyed by usage.
This enables the CarSettings UI to associate VolumeGroups surfaced by
CarAudioManager.getVolumeGroupCount with renderable assets (ie: title, icon)
for presentation.
Order matters in this configuration. If one volume group contains multiple
audio usages, the first one appears in this file would be picked to be
presented on UI.
When overriding this configuration, please consult also the
car_volume_groups.xml, which is read by car audio service.
-->
<carVolumeItems xmlns:car="http://schemas.android.com/apk/res-auto">
<item
car:icon="@drawable/car_ic_phone_volume"
car:mute_icon="@drawable/car_ic_phone_volume_mute"
car:titleText="@*android:string/volume_call"
car:usage="voice_communication"/>
<item
car:icon="@drawable/car_ic_phone_volume"
car:mute_icon="@drawable/car_ic_phone_volume_mute"
car:titleText="@*android:string/volume_call"
car:usage="voice_communication_signalling"/>
<item
car:icon="@*android:drawable/ic_audio_media"
car:mute_icon="@*android:drawable/ic_audio_media_mute"
car:titleText="@*android:string/volume_music"
car:usage="media"/>
<item
car:icon="@*android:drawable/ic_audio_media"
car:mute_icon="@*android:drawable/ic_audio_media_mute"
car:titleText="@*android:string/volume_music"
car:usage="game"/>
<item
car:icon="@*android:drawable/ic_audio_alarm"
car:mute_icon="@*android:drawable/ic_audio_alarm_mute"
car:titleText="@*android:string/volume_alarm"
car:usage="alarm"/>
<item
car:icon="@drawable/car_ic_navigation"
car:mute_icon="@drawable/car_ic_navigation_mute"
car:titleText="@string/navi_volume_title"
car:usage="assistance_navigation_guidance"/>
<item
car:icon="@*android:drawable/ic_audio_ring_notif"
car:mute_icon="@*android:drawable/ic_audio_ring_notif_mute"
car:titleText="@*android:string/volume_ringtone"
car:usage="notification_ringtone"/>
<item
car:icon="@*android:drawable/ic_audio_vol"
car:mute_icon="@*android:drawable/ic_audio_vol_mute"
car:titleText="@*android:string/volume_unknown"
car:usage="assistant"/>
<item
car:icon="@*android:drawable/ic_audio_ring_notif"
car:mute_icon="@*android:drawable/ic_audio_ring_notif_mute"
car:titleText="@*android:string/volume_notification"
car:usage="notification"/>
<item
car:icon="@*android:drawable/ic_audio_ring_notif"
car:mute_icon="@*android:drawable/ic_audio_ring_notif_mute"
car:titleText="@*android:string/volume_notification"
car:usage="notification_communication_request"/>
<item
car:icon="@*android:drawable/ic_audio_ring_notif"
car:mute_icon="@*android:drawable/ic_audio_ring_notif_mute"
car:titleText="@*android:string/volume_notification"
car:usage="notification_communication_instant"/>
<item
car:icon="@*android:drawable/ic_audio_ring_notif"
car:mute_icon="@*android:drawable/ic_audio_ring_notif_mute"
car:titleText="@*android:string/volume_notification"
car:usage="notification_communication_delayed"/>
<item
car:icon="@*android:drawable/ic_audio_ring_notif"
car:mute_icon="@*android:drawable/ic_audio_ring_notif_mute"
car:titleText="@*android:string/volume_notification"
car:usage="notification_event"/>
<item
car:icon="@*android:drawable/ic_audio_ring_notif"
car:mute_icon="@*android:drawable/ic_audio_ring_notif_mute"
car:titleText="@*android:string/volume_notification"
car:usage="assistance_accessibility"/>
<item
car:icon="@*android:drawable/ic_audio_vol"
car:mute_icon="@*android:drawable/ic_audio_vol_mute"
car:titleText="@*android:string/volume_unknown"
car:usage="assistance_sonification"/>
<item
car:icon="@*android:drawable/ic_audio_vol"
car:mute_icon="@*android:drawable/ic_audio_vol_mute"
car:titleText="@*android:string/volume_unknown"
car:usage="unknown"/>
<item
car:icon="@*android:drawable/ic_audio_vol"
car:mute_icon="@*android:drawable/ic_audio_vol_mute"
car:titleText="@*android:string/volume_unknown"
car:usage="call_assistant"/>
<item
car:icon="@*android:drawable/ic_audio_vol"
car:mute_icon="@*android:drawable/ic_audio_vol_mute"
car:titleText="@*android:string/volume_unknown"
car:usage="emergency"/>
<item
car:icon="@*android:drawable/ic_audio_vol"
car:mute_icon="@*android:drawable/ic_audio_vol_mute"
car:titleText="@*android:string/volume_unknown"
car:usage="safety"/>
<item
car:icon="@*android:drawable/ic_audio_vol"
car:mute_icon="@*android:drawable/ic_audio_vol_mute"
car:titleText="@*android:string/volume_unknown"
car:usage="vehicle_status"/>
<item
car:icon="@*android:drawable/ic_audio_vol"
car:mute_icon="@*android:drawable/ic_audio_vol_mute"
car:titleText="@*android:string/volume_unknown"
car:usage="announcement"/>
</carVolumeItems>

View File

@@ -0,0 +1,23 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- Copyright (C) 2018 The Android Open Source Project
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->
<PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:settings="http://schemas.android.com/apk/res-auto"
android:key="@string/psk_child_locale_picker">
<com.android.car.settings.common.LogicalPreferenceGroup
android:key="@string/pk_child_locale_picker"
settings:controller="com.android.car.settings.language.ChildLocalePickerPreferenceController"/>
</PreferenceScreen>

View File

@@ -0,0 +1,31 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- Copyright (C) 2018 The Android Open Source Project
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->
<PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:settings="http://schemas.android.com/apk/res-auto"
android:title="@string/add_account_title"
android:key="@string/psk_choose_account">
<com.android.car.settings.common.LogicalPreferenceGroup
android:key="@string/pk_add_account"
settings:controller="com.android.car.settings.accounts.ChooseAccountPreferenceController"/>
<com.android.car.ui.preference.CarUiFooterPreference
android:key="@string/pk_add_account_enterprise_disclosure_footer"
android:selectable="false"
settings:searchable="false"
android:icon="@drawable/ic_settings_about"
settings:controller="com.android.car.settings.enterprise.EnterpriseDisclosurePreferenceController"/>
</PreferenceScreen>

View File

@@ -0,0 +1,39 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
Copyright 2018 The Android Open Source Project
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->
<PreferenceScreen
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:settings="http://schemas.android.com/apk/res-auto"
android:title="@string/lock_settings_picker_title"
android:key="@string/psk_choose_lock_type">
<Preference
android:key="@string/pk_no_lock"
android:title="@string/security_lock_none"
settings:controller="com.android.car.settings.security.NoLockPreferenceController"/>
<Preference
android:key="@string/pk_pattern_lock"
android:title="@string/security_lock_pattern"
settings:controller="com.android.car.settings.security.PatternLockPreferenceController"/>
<Preference
android:key="@string/pk_pin_lock"
android:title="@string/security_lock_pin"
settings:controller="com.android.car.settings.security.PinLockPreferenceController"/>
<Preference
android:key="@string/pk_password_lock"
android:title="@string/security_lock_password"
settings:controller="com.android.car.settings.security.PasswordLockPreferenceController"/>
</PreferenceScreen>

View File

@@ -0,0 +1,26 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
Copyright 2018 The Android Open Source Project
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->
<PreferenceScreen
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:settings="http://schemas.android.com/apk/res-auto"
android:title="@string/choose_new_admin_label"
android:key="@string/psk_choose_new_admin">
<com.android.car.settings.common.LogicalPreferenceGroup
android:key="@string/pk_choose_new_admin"
settings:controller="com.android.car.settings.profiles.ChooseNewAdminPreferenceController"/>
</PreferenceScreen>

View File

@@ -0,0 +1,29 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
~ Copyright (C) 2021 The Android Open Source Project
~
~ Licensed under the Apache License, Version 2.0 (the "License");
~ you may not use this file except in compliance with the License.
~ You may obtain a copy of the License at
~
~ http://www.apache.org/licenses/LICENSE-2.0
~
~ Unless required by applicable law or agreed to in writing, software
~ distributed under the License is distributed on an "AS IS" BASIS,
~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
~ See the License for the specific language governing permissions and
~ limitations under the License.
-->
<PreferenceScreen
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:settings="http://schemas.android.com/apk/res-auto"
android:key="@string/psk_data_usage_set_threshold">
<com.android.car.settings.datausage.DataUsageEditTextPreference
android:key="@string/pk_data_usage_edit_text"
settings:controller="com.android.car.settings.datausage.DataUsageEditTextPreferenceController"/>
<com.android.car.settings.common.LogicalPreferenceGroup
android:key="@string/pk_data_usage_radio_group"
settings:controller="com.android.car.settings.datausage.DataUsageUnitPreferenceController">
</com.android.car.settings.common.LogicalPreferenceGroup>
</PreferenceScreen>

View File

@@ -0,0 +1,55 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
Copyright 2019 The Android Open Source Project
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->
<PreferenceScreen
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:settings="http://schemas.android.com/apk/res-auto"
android:title="@string/data_warning_limit_title"
android:key="@string/psk_data_warning_and_limit">
<ListPreference
android:key="@string/pk_data_usage_cycle"
android:title="@string/mobile_data_usage"
settings:controller="com.android.car.settings.datausage.CycleResetDayOfMonthPickerPreferenceController"/>
<com.android.car.settings.common.DividerPreference/>
<com.android.car.settings.common.LogicalPreferenceGroup
android:key="@string/pk_data_warning_group"
settings:controller="com.android.car.settings.datausage.DataWarningPreferenceController">
<SwitchPreference
android:key="@string/pk_data_set_warning"
android:title="@string/set_data_warning"/>
<Preference
android:key="@string/pk_data_warning"
android:title="@string/data_warning"/>
</com.android.car.settings.common.LogicalPreferenceGroup>
<com.android.car.settings.common.DividerPreference/>
<com.android.car.settings.common.LogicalPreferenceGroup
android:key="@string/pk_data_limit_group"
settings:controller="com.android.car.settings.datausage.DataLimitPreferenceController">
<SwitchPreference
android:key="@string/pk_data_set_limit"
android:title="@string/set_data_limit"/>
<Preference
android:key="@string/pk_data_limit"
android:title="@string/data_limit"/>
</com.android.car.settings.common.LogicalPreferenceGroup>
<com.android.car.settings.common.DividerPreference/>
<com.android.car.ui.preference.CarUiFooterPreference
android:key="@string/pk_data_usage_footer"
android:summary="@string/data_usage_settings_footer"
android:icon="@drawable/ic_settings_about"
android:selectable="false"/>
</PreferenceScreen>

View File

@@ -0,0 +1,62 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
Copyright 2018 The Android Open Source Project
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->
<PreferenceScreen
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:settings="http://schemas.android.com/apk/res-auto"
android:title="@string/date_and_time_settings_title"
android:key="@string/psk_datetime_settings">
<SwitchPreference
android:key="@string/pk_auto_datetime_switch"
android:title="@string/date_time_auto"
settings:controller="com.android.car.settings.datetime.AutoDatetimeTogglePreferenceController"
settings:occupant_front_passenger="read"
settings:occupant_rear_passenger="read"/>
<SwitchPreference
android:key="@string/pk_auto_timezone_switch"
android:title="@string/zone_auto"
settings:controller="com.android.car.settings.datetime.AutoTimeZoneTogglePreferenceController"
settings:occupant_front_passenger="read"
settings:occupant_rear_passenger="read"/>
<Preference
android:fragment="com.android.car.settings.datetime.DatePickerFragment"
android:key="@string/pk_date_picker_entry"
android:title="@string/date_time_set_date"
settings:controller="com.android.car.settings.datetime.DatePickerPreferenceController"
settings:occupant_front_passenger="read"
settings:occupant_rear_passenger="read"/>
<Preference
android:fragment="com.android.car.settings.datetime.TimePickerFragment"
android:key="@string/pk_time_picker_entry"
android:title="@string/date_time_set_time"
settings:controller="com.android.car.settings.datetime.TimePickerPreferenceController"
settings:occupant_front_passenger="read"
settings:occupant_rear_passenger="read"/>
<Preference
android:fragment="com.android.car.settings.datetime.TimeZonePickerScreenFragment"
android:key="@string/pk_timezone_picker_screen_entry"
android:title="@string/date_time_set_timezone"
settings:controller="com.android.car.settings.datetime.TimeZonePickerPreferenceController"
settings:occupant_front_passenger="read"
settings:occupant_rear_passenger="read"/>
<SwitchPreference
android:key="@string/pk_use_24hour_switch"
android:title="@string/date_time_24hour"
settings:controller="com.android.car.settings.datetime.TimeFormatTogglePreferenceController"
settings:occupant_front_passenger="read"
settings:occupant_rear_passenger="read"/>
</PreferenceScreen>

View File

@@ -0,0 +1,26 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
Copyright 2019 The Android Open Source Project
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->
<PreferenceScreen
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:settings="http://schemas.android.com/apk/res-auto"
android:title="@string/autofill_settings_title"
android:key="@string/psk_default_autofill_picker">
<com.android.car.settings.common.LogicalPreferenceGroup
android:key="@string/pk_default_autofill_options"
settings:controller="com.android.car.settings.applications.defaultapps.DefaultAutofillPickerPreferenceController"/>
</PreferenceScreen>

View File

@@ -0,0 +1,26 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
Copyright 2019 The Android Open Source Project
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->
<PreferenceScreen
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:settings="http://schemas.android.com/apk/res-auto"
android:title="@string/voice_input_settings_title"
android:key="@string/psk_default_voice_input_picker">
<com.android.car.settings.common.LogicalPreferenceGroup
android:key="@string/pk_default_voice_input_options"
settings:controller="com.android.car.settings.applications.assist.DefaultVoiceInputPickerPreferenceController"/>
</PreferenceScreen>

View File

@@ -0,0 +1,31 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
Copyright 2018 The Android Open Source Project
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->
<PreferenceScreen
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:settings="http://schemas.android.com/apk/res-auto"
android:title="@string/developer_options_settings"
android:key="@string/psk_developer_options">
<PreferenceCategory
android:title="@string/debug_debugging_category">
<SwitchPreference
android:key="@string/pk_usb_debugging_toggle"
android:title="@string/enable_adb"
android:summary="@string/enable_adb_summary"
settings:controller="com.android.car.settings.development.debugging.EnableAdbPreferenceController"/>
</PreferenceCategory>
</PreferenceScreen>

View File

@@ -0,0 +1,53 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- Copyright (C) 2021 The Android Open Source Project
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->
<PreferenceScreen
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:settings="http://schemas.android.com/apk/res-auto"
android:title="@string/device_admin_add_title"
android:key="@string/psk_device_admin_add">
<SwitchPreference
android:key="@string/pk_device_admin_add_header"
settings:controller="com.android.car.settings.enterprise.DeviceAdminAddHeaderPreferenceController"
settings:searchable="false"/>
<com.android.car.settings.common.DividerPreference/>
<com.android.car.ui.preference.CarUiPreference
android:key="@string/pk_device_admin_add_explanation"
android:selectable="false"
settings:singleLineTitle="false"
settings:controller="com.android.car.settings.enterprise.DeviceAdminAddExplanationPreferenceController"
settings:searchable="false"/>
<com.android.car.ui.preference.CarUiPreference
android:key="@string/pk_device_admin_add_warning"
android:selectable="false"
settings:singleLineTitle="false"
settings:controller="com.android.car.settings.enterprise.DeviceAdminAddWarningPreferenceController"
settings:showChevron="false"/>
<com.android.car.ui.preference.CarUiPreference
android:key="@string/pk_device_admin_add_policies"
android:selectable="false"
settings:singleLineTitle="false"
settings:controller="com.android.car.settings.enterprise.DeviceAdminAddPoliciesPreferenceController"
settings:showChevron="false"/>
<com.android.car.ui.preference.CarUiPreference
android:key="@string/pk_device_admin_add_support"
android:selectable="false"
settings:singleLineTitle="false"
settings:controller="com.android.car.settings.enterprise.DeviceAdminAddSupportPreferenceController"
settings:showChevron="false"/>
</PreferenceScreen>

View File

@@ -0,0 +1,37 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
~ Copyright (C) 2021 The Android Open Source Project
~
~ Licensed under the Apache License, Version 2.0 (the "License");
~ you may not use this file except in compliance with the License.
~ You may obtain a copy of the License at
~
~ http://www.apache.org/licenses/LICENSE-2.0
~
~ Unless required by applicable law or agreed to in writing, software
~ distributed under the License is distributed on an "AS IS" BASIS,
~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
~ See the License for the specific language governing permissions and
~ limitations under the License.
-->
<PreferenceScreen
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:settings="http://schemas.android.com/apk/res-auto"
android:title="@string/manage_device_admin"
android:key="@string/psk_device_admin_apps">
<Preference
android:key="@string/pk_device_admin_apps_description"
android:summary="@string/device_admin_apps_description"
android:selectable="false"/>
<com.android.car.settings.common.DividerPreference/>
<PreferenceCategory
android:key="@string/pk_device_admin_activated_apps"
android:title="@string/device_admin_activated_apps"
settings:controller="com.android.car.settings.enterprise.DeviceAdminActivatedAppsPreferenceController"/>
<com.android.car.settings.common.DividerPreference/>
<PreferenceCategory
android:key="@string/pk_device_admin_deactivated_apps"
android:title="@string/device_admin_deactivated_apps"
settings:controller="com.android.car.settings.enterprise.DeviceAdminDeactivatedAppsPreferenceController"/>
</PreferenceScreen>

View File

@@ -0,0 +1,47 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
Copyright 2018 The Android Open Source Project
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->
<PreferenceScreen
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:settings="http://schemas.android.com/apk/res-auto"
android:title="@string/display_settings"
android:key="@string/psk_display_settings">
<com.android.car.settings.common.SeekBarPreference
android:key="@string/pk_brightness_level"
android:title="@string/brightness"
settings:controller="com.android.car.settings.display.BrightnessLevelPreferenceController"
settings:showSeekBarValue="false"/>
<SwitchPreference
android:key="@string/pk_adaptive_brightness_switch"
android:summary="@string/auto_brightness_summary"
android:title="@string/auto_brightness_title"
settings:controller="com.android.car.settings.display.AdaptiveBrightnessTogglePreferenceController"/>
<com.android.car.settings.common.DividerPreference/>
<Preference
android:fragment="com.android.car.settings.datetime.DatetimeSettingsFragment"
android:key="@string/pk_date_time_settings_entry"
android:title="@string/date_and_time_settings_title"
settings:controller="com.android.car.settings.common.DefaultRestrictionsPreferenceController"/>
<com.android.car.settings.common.LogicalPreferenceGroup
android:key="@string/pk_display_extra_settings"
settings:controller="com.android.car.settings.common.ExtraSettingsPreferenceController">
<intent>
<extra android:name="com.android.settings.category"
android:value="com.android.settings.category.ia.display"/>
</intent>
</com.android.car.settings.common.LogicalPreferenceGroup>
</PreferenceScreen>

View File

@@ -0,0 +1,35 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
~ Copyright (C) 2021 The Android Open Source Project
~
~ Licensed under the Apache License, Version 2.0 (the "License");
~ you may not use this file except in compliance with the License.
~ You may obtain a copy of the License at
~
~ http://www.apache.org/licenses/LICENSE-2.0
~
~ Unless required by applicable law or agreed to in writing, software
~ distributed under the License is distributed on an "AS IS" BASIS,
~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
~ See the License for the specific language governing permissions and
~ limitations under the License
-->
<PreferenceScreen
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:settings="http://schemas.android.com/apk/res-auto"
android:title="@string/settings_label"
android:key="@string/psk_enterprise_privacy_list_camera_access_packages">
<com.android.car.settings.common.LogicalPreferenceGroup
android:key="@string/pk_enterprise_privacy_camera_access_package"
settings:controller="com.android.car.settings.enterprise.AdminGrantedCameraPermissionApplicationListPreferenceController"/>
<com.android.car.settings.common.DividerPreference/>
<com.android.car.ui.preference.CarUiFooterPreference
android:key="@string/pk_enterprise_privacy_camera_access_package_footer"
android:summary="@string/enterprise_privacy_apps_count_estimation_info"
android:icon="@drawable/ic_settings_about"
android:selectable="false"/>
</PreferenceScreen>

View File

@@ -0,0 +1,35 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
~ Copyright (C) 2021 The Android Open Source Project
~
~ Licensed under the Apache License, Version 2.0 (the "License");
~ you may not use this file except in compliance with the License.
~ You may obtain a copy of the License at
~
~ http://www.apache.org/licenses/LICENSE-2.0
~
~ Unless required by applicable law or agreed to in writing, software
~ distributed under the License is distributed on an "AS IS" BASIS,
~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
~ See the License for the specific language governing permissions and
~ limitations under the License
-->
<PreferenceScreen
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:settings="http://schemas.android.com/apk/res-auto"
android:title="@string/settings_label"
android:key="@string/psk_enterprise_privacy_list_location_access_packages">
<com.android.car.settings.common.LogicalPreferenceGroup
android:key="@string/pk_enterprise_privacy_location_access_package"
settings:controller="com.android.car.settings.enterprise.AdminGrantedLocationPermissionsApplicationListPreferenceController"/>
<com.android.car.settings.common.DividerPreference/>
<com.android.car.ui.preference.CarUiFooterPreference
android:key="@string/pk_enterprise_privacy_location_access_package_footer"
android:summary="@string/enterprise_privacy_apps_count_estimation_info"
android:icon="@drawable/ic_settings_about"
android:selectable="false"/>
</PreferenceScreen>

View File

@@ -0,0 +1,35 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
~ Copyright (C) 2021 The Android Open Source Project
~
~ Licensed under the Apache License, Version 2.0 (the "License");
~ you may not use this file except in compliance with the License.
~ You may obtain a copy of the License at
~
~ http://www.apache.org/licenses/LICENSE-2.0
~
~ Unless required by applicable law or agreed to in writing, software
~ distributed under the License is distributed on an "AS IS" BASIS,
~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
~ See the License for the specific language governing permissions and
~ limitations under the License
-->
<PreferenceScreen
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:settings="http://schemas.android.com/apk/res-auto"
android:title="@string/settings_label"
android:key="@string/psk_enterprise_privacy_list_microphone_access_packages">
<com.android.car.settings.common.LogicalPreferenceGroup
android:key="@string/pk_enterprise_privacy_microphone_access_package"
settings:controller="com.android.car.settings.enterprise.AdminGrantedMicrophonePermissionApplicationListPreferenceController"/>
<com.android.car.settings.common.DividerPreference/>
<com.android.car.ui.preference.CarUiFooterPreference
android:key="@string/pk_enterprise_privacy_microphone_access_package_footer"
android:summary="@string/enterprise_privacy_apps_count_estimation_info"
android:icon="@drawable/ic_settings_about"
android:selectable="false"/>
</PreferenceScreen>

View File

@@ -0,0 +1,35 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
~ Copyright (C) 2021 The Android Open Source Project
~
~ Licensed under the Apache License, Version 2.0 (the "License");
~ you may not use this file except in compliance with the License.
~ You may obtain a copy of the License at
~
~ http://www.apache.org/licenses/LICENSE-2.0
~
~ Unless required by applicable law or agreed to in writing, software
~ distributed under the License is distributed on an "AS IS" BASIS,
~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
~ See the License for the specific language governing permissions and
~ limitations under the License.
-->
<PreferenceScreen
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:settings="http://schemas.android.com/apk/res-auto"
android:title="@string/settings_label"
android:key="@string/psk_enterprise_privacy_list_installed_packages">
<com.android.car.settings.common.LogicalPreferenceGroup
android:key="@string/pk_enterprise_privacy_installed_packages"
settings:controller="com.android.car.settings.enterprise.EnterpriseInstalledPackagesListPreferenceController"/>
<com.android.car.settings.common.DividerPreference/>
<com.android.car.ui.preference.CarUiFooterPreference
android:key="@string/pk_enterprise_privacy_installed_packages_footer"
android:summary="@string/enterprise_privacy_apps_count_estimation_info"
android:icon="@drawable/ic_settings_about"
android:selectable="false"/>
</PreferenceScreen>

View File

@@ -0,0 +1,120 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
~ Copyright (C) 2021 The Android Open Source Project
~
~ Licensed under the Apache License, Version 2.0 (the "License");
~ you may not use this file except in compliance with the License.
~ You may obtain a copy of the License at
~
~ http://www.apache.org/licenses/LICENSE-2.0
~
~ Unless required by applicable law or agreed to in writing, software
~ distributed under the License is distributed on an "AS IS" BASIS,
~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
~ See the License for the specific language governing permissions and
~ limitations under the License.
-->
<PreferenceScreen
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:settings="http://schemas.android.com/apk/res-auto"
android:title="@string/enterprise_privacy_settings"
android:key="@string/psk_enterprise_privacy_settings">
<PreferenceCategory android:key="@string/psk_enterprise_privacy_exposure_category"
android:title="@string/enterprise_privacy_exposure_category"
android:contentDescription="@string/enterprise_privacy_exposure_category">
<com.android.car.ui.preference.CarUiPreference
android:key="@string/pk_enterprise_privacy_exposure_desc"
android:selectable="false"
android:title="@string/enterprise_privacy_exposure_desc"
settings:singleLineTitle="false"
settings:showChevron="false"/>
<!-- TODO(b/206155858): figure out why it doesn't have a title -->
<Preference android:key="@string/pk_enterprise_privacy_network_logs"
settings:controller="com.android.car.settings.enterprise.NetworkLogsPreferenceController"
android:title="@string/enterprise_privacy_network_logs"
android:selectable="false"/>
<Preference android:key="@string/pk_enterprise_privacy_bug_reports"
settings:controller="com.android.car.settings.enterprise.BugReportsPreferenceController"
android:icon="@drawable/ic_bugreport"
android:title="@string/enterprise_privacy_bug_reports"
android:selectable="false"/>
<Preference android:key="@string/pk_enterprise_privacy_security_logs"
settings:controller="com.android.car.settings.enterprise.SecurityLogsPreferenceController"
android:title="@string/enterprise_privacy_security_logs"
android:selectable="false"/>
</PreferenceCategory>
<com.android.car.settings.common.DividerPreference/>
<PreferenceCategory android:title="@string/enterprise_privacy_exposure_changes_category"
android:key="@string/psk_enterprise_privacy_exposure_changes_category">
<Preference
android:fragment="com.android.car.settings.enterprise.ApplicationListFragment$EnterpriseInstalledPackages"
settings:controller="com.android.car.settings.enterprise.EnterpriseInstalledPackagesPreferenceController"
android:key="@string/pk_enterprise_privacy_number_enterprise_installed_packages"
android:icon="@drawable/ic_apps"
android:title="@string/enterprise_privacy_enterprise_installed_packages"/>
<Preference
android:fragment="com.android.car.settings.enterprise.ApplicationListFragment$AdminGrantedLocationPermissions"
settings:controller="com.android.car.settings.enterprise.AdminGrantedLocationPermissionsPreferenceController"
android:key="@string/pk_enterprise_privacy_number_location_access_packages"
android:title="@string/enterprise_privacy_location_access"/>
<Preference
android:fragment="com.android.car.settings.enterprise.ApplicationListFragment$AdminGrantedMicrophonePermission"
settings:controller="com.android.car.settings.enterprise.AdminGrantedMicrophonePermissionPreferenceController"
android:key="@string/pk_enterprise_privacy_number_microphone_access_packages"
android:title="@string/enterprise_privacy_microphone_access"/>
<Preference
android:fragment="com.android.car.settings.enterprise.ApplicationListFragment$AdminGrantedCameraPermission"
settings:controller="com.android.car.settings.enterprise.AdminGrantedCameraPermissionPreferenceController"
android:key="@string/pk_enterprise_privacy_number_camera_access_packages"
android:title="@string/enterprise_privacy_camera_access"/>
<Preference
android:fragment="com.android.car.settings.enterprise.EnterpriseSetDefaultAppsListFragment"
android:icon="@drawable/ic_apps"
settings:controller="com.android.car.settings.enterprise.EnterpriseSetDefaultAppsPreferenceController"
android:key="@string/pk_enterprise_privacy_number_enterprise_set_default_apps"
android:title="@string/enterprise_privacy_enterprise_set_default_apps"/>
<!-- TODO(b/206155695): figure out why it doesn't have a title -->
<Preference android:key="@string/pk_enterprise_privacy_always_on_vpn_primary_user"
settings:controller="com.android.car.settings.enterprise.AlwaysOnVpnCurrentUserPreferenceController"
android:selectable="false"/>
<Preference android:key="@string/pk_enterprise_privacy_input_method"
settings:controller="com.android.car.settings.enterprise.ImePreferenceController"
android:title="@string/enterprise_privacy_input_method"
android:selectable="false"/>
<Preference android:key="@string/pk_enterprise_privacy_global_http_proxy"
settings:controller="com.android.car.settings.enterprise.GlobalHttpProxyPreferenceController"
android:title="@string/enterprise_privacy_global_http_proxy"
android:selectable="false"/>
<Preference android:key="@string/pk_enterprise_privacy_ca_certs_current_user"
settings:controller="com.android.car.settings.enterprise.CaCertsCurrentUserPreferenceController"
android:title="@string/enterprise_privacy_ca_certs_personal"
android:selectable="false"/>
</PreferenceCategory>
<com.android.car.settings.common.DividerPreference/>
<PreferenceCategory android:key="@string/psk_enterprise_privacy_device_access_category"
android:title="@string/enterprise_privacy_device_access_category">
<com.android.car.ui.preference.CarUiPreference
android:key="@string/pk_enterprise_privacy_device_access_desc"
android:selectable="false"
android:title="@string/enterprise_privacy_device_access_desc"
settings:singleLineTitle="false"
settings:showChevron="false"/>
<Preference android:key="@string/pk_enterprise_privacy_failed_password_wipe_current_user"
settings:controller="com.android.car.settings.enterprise.FailedPasswordWipeCurrentUserPreferenceController"
android:title="@string/enterprise_privacy_failed_password_wipe_device"
android:selectable="false"/>
</PreferenceCategory>
<com.android.car.settings.common.DividerPreference/>
<com.android.car.ui.preference.CarUiFooterPreference
android:key="@string/pk_enterprise_privacy_header"
android:summary="@string/enterprise_privacy_header"
android:icon="@drawable/ic_settings_about"
android:selectable="false"/>
</PreferenceScreen>

View File

@@ -0,0 +1,25 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
~ Copyright (C) 2021 The Android Open Source Project
~
~ Licensed under the Apache License, Version 2.0 (the "License");
~ you may not use this file except in compliance with the License.
~ You may obtain a copy of the License at
~
~ http://www.apache.org/licenses/LICENSE-2.0
~
~ Unless required by applicable law or agreed to in writing, software
~ distributed under the License is distributed on an "AS IS" BASIS,
~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
~ See the License for the specific language governing permissions and
~ limitations under the License
-->
<PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:settings="http://schemas.android.com/apk/res-auto"
android:title="@string/settings_label">
<com.android.car.settings.common.LogicalPreferenceGroup
android:key="@string/pk_enterprise_privacy_list_enterprise_set_default_apps"
settings:controller="com.android.car.settings.enterprise.EnterpriseSetDefaultAppsListPreferenceController"/>
</PreferenceScreen>

View File

@@ -0,0 +1,30 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
Copyright 2019 The Android Open Source Project
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->
<PreferenceScreen
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:settings="http://schemas.android.com/apk/res-auto"
android:title="@string/factory_reset_confirm_title"
android:key="@string/psk_factory_reset_confirm">
<com.android.car.ui.preference.CarUiPreference
android:key="@string/pk_factory_reset_confirm_desc"
android:selectable="false"
android:title="@string/factory_reset_confirm_desc"
settings:controller="com.android.car.settings.common.DefaultRestrictionsPreferenceController"
settings:singleLineTitle="false"
settings:showChevron="false"/>
</PreferenceScreen>

View File

@@ -0,0 +1,47 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
Copyright 2019 The Android Open Source Project
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->
<PreferenceScreen
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:settings="http://schemas.android.com/apk/res-auto"
android:title="@string/factory_reset_title"
android:key="@string/psk_factory_reset">
<com.android.car.ui.preference.CarUiPreference
android:key="@string/pk_factory_reset_desc"
android:selectable="false"
android:title="@string/factory_reset_desc"
settings:controller="com.android.car.settings.common.DefaultRestrictionsPreferenceController"
settings:singleLineTitle="false"
settings:showChevron="false"/>
<com.android.car.settings.common.LogicalPreferenceGroup
android:key="@string/pk_factory_reset_account_list"
android:selectable="false"
android:title="@string/factory_reset_accounts"
settings:controller="com.android.car.settings.system.FactoryResetAccountsPreferenceController"/>
<Preference
android:key="@string/pk_factory_reset_other_profiles_present"
android:selectable="false"
android:title="@string/factory_reset_other_users_present"
settings:controller="com.android.car.settings.system.FactoryResetOtherProfilesPresentPreferenceController"
settings:singleLineTitle="false"/>
<CheckBoxPreference
android:defaultValue="true"
android:key="@string/pk_factory_reset_reset_esim"
android:summary="@string/reset_esim_desc"
android:title="@string/reset_esim_title"
settings:controller="com.android.car.settings.system.FactoryResetEsimPreferenceController"/>
</PreferenceScreen>

View File

@@ -0,0 +1,21 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
Copyright 2018 The Android Open Source Project
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->
<paths>
<!-- Offer access to files under Context.getCacheDir() -->
<cache-path name="my_cache"/>
</paths>

View File

@@ -0,0 +1,35 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
Copyright (C) 2019 The Android Open Source Project
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->
<PreferenceScreen
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:settings="http://schemas.android.com/apk/res-auto"
android:title="@string/hardware_info"
android:key="@string/psk_hardware_info">
<Preference
android:key="pk_hardware_info_device_model"
android:title="@string/model_info"
settings:controller="com.android.car.settings.system.hardwareinfo.DeviceModelPreferenceController"/>
<Preference
android:key="pk_hardware_info_device_serial"
android:title="@string/status_serial_number"
settings:controller="com.android.car.settings.system.hardwareinfo.SerialNumberPreferenceController"/>
<Preference
android:key="pk_hardware_info_device_revision"
android:title="@string/hardware_revision"
settings:controller="com.android.car.settings.system.hardwareinfo.HardwareRevisionPreferenceController"/>
</PreferenceScreen>

View File

@@ -0,0 +1,129 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
Copyright 2018 The Android Open Source Project
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->
<PreferenceScreen
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:settings="http://schemas.android.com/apk/res-auto"
android:title="@string/settings_label"
android:key="@string/psk_homepage">
<!-- TODO: Re-enable once more suggestion use cases are supported.
<com.android.car.settings.common.LogicalPreferenceGroup
android:key="@string/pk_suggestions"
settings:controller="com.android.car.settings.suggestions.SuggestionsPreferenceController"/>
-->
<com.android.car.settings.common.TopLevelPreference
android:fragment="com.android.car.settings.bluetooth.BluetoothSettingsFragment"
android:icon="@drawable/ic_top_level_bluetooth"
android:key="@string/pk_bluetooth_settings_entry"
android:title="@string/connected_settings_title"
settings:controller="com.android.car.settings.bluetooth.BluetoothEntryPreferenceController"/>
<com.android.car.settings.common.TopLevelPreference
android:fragment="com.android.car.settings.network.NetworkAndInternetFragment"
android:icon="@drawable/ic_top_level_network_and_internet"
android:key="@string/pk_network_and_internet_entry"
android:title="@string/network_and_internet"
settings:controller="com.android.car.settings.common.DefaultRestrictionsPreferenceController"/>
<com.android.car.settings.common.LogicalPreferenceGroup
android:key="@string/pk_wireless_extra_settings"
settings:controller="com.android.car.settings.common.ExtraSettingsPreferenceController">
<intent>
<extra android:name="com.android.settings.category"
android:value="com.android.settings.category.wireless"/>
</intent>
</com.android.car.settings.common.LogicalPreferenceGroup>
<com.android.car.settings.common.TopLevelPreference
android:fragment="com.android.car.settings.notifications.NotificationsFragment"
android:icon="@drawable/ic_top_level_notifications"
android:key="@string/pk_notifications_settings_entry"
android:title="@string/notifications_label"
settings:controller="com.android.car.settings.common.DefaultRestrictionsPreferenceController"/>
<com.android.car.settings.common.TopLevelPreference
android:fragment="com.android.car.settings.sound.SoundSettingsFragment"
android:icon="@drawable/ic_top_level_sound"
android:key="@string/pk_sound_settings_entry"
android:title="@string/sound_settings"
settings:controller="com.android.car.settings.common.DefaultRestrictionsPreferenceController"/>
<com.android.car.settings.common.TopLevelPreference
android:fragment="com.android.car.settings.display.DisplaySettingsFragment"
android:icon="@drawable/ic_top_level_display"
android:key="@string/pk_display_settings_entry"
android:title="@string/display_settings"
settings:controller="com.android.car.settings.common.DefaultRestrictionsPreferenceController"/>
<com.android.car.settings.common.TopLevelPreference
android:icon="@drawable/ic_top_level_profiles_and_accounts"
android:key="@string/pk_profiles_and_accounts_settings_entry"
android:title="@string/profiles_and_accounts_settings_title"
settings:controller="com.android.car.settings.profiles.ProfilesEntryPreferenceController"/>
<com.android.car.settings.common.TopLevelPreference
android:fragment="com.android.car.settings.location.LocationSettingsFragment"
android:icon="@drawable/ic_top_level_location"
android:key="@string/pk_location_settings_entry"
android:title="@string/location_settings_title"
settings:controller="com.android.car.settings.common.DefaultRestrictionsPreferenceController"/>
<com.android.car.settings.common.TopLevelPreference
android:fragment="com.android.car.settings.privacy.PrivacySettingsFragment"
android:icon="@drawable/ic_top_level_privacy"
android:key="@string/pk_privacy_settings_entry"
android:title="@string/privacy_settings_title"
settings:controller="com.android.car.settings.common.DefaultRestrictionsPreferenceController"/>
<com.android.car.settings.common.TopLevelPreference
android:fragment="com.android.car.settings.accessibility.AccessibilitySettingsFragment"
android:icon="@drawable/ic_top_level_accessibility"
android:key="@string/pk_accessibility_settings_entry"
android:title="@string/accessibility_settings_title"
settings:controller="com.android.car.settings.common.DefaultRestrictionsPreferenceController"/>
<com.android.car.settings.common.TopLevelPreference
android:fragment="com.android.car.settings.security.SecuritySettingsFragment"
android:icon="@drawable/ic_top_level_security"
android:key="@string/pk_security_settings_entry"
android:title="@string/security_settings_title"
settings:controller="com.android.car.settings.security.SecurityEntryPreferenceController"/>
<com.android.car.settings.common.TopLevelPreference
android:fragment="com.android.car.settings.applications.AppsFragment"
android:icon="@drawable/ic_top_level_applications"
android:key="@string/pk_apps_settings_entry"
android:title="@string/apps_settings_title"
settings:controller="com.android.car.settings.common.DefaultRestrictionsPreferenceController"/>
<com.android.car.settings.common.TopLevelPreference
android:fragment="com.android.car.settings.applications.assist.AssistantAndVoiceFragment"
android:icon="@drawable/ic_top_level_assistant_and_voice"
android:key="@string/pk_assistant_and_voice_settings_entry"
android:title="@string/assistant_and_voice_setting_title"
settings:controller="com.android.car.settings.common.DefaultRestrictionsPreferenceController"/>
<com.android.car.settings.common.TopLevelPreference
android:fragment="com.android.car.settings.system.SystemSettingsFragment"
android:icon="@drawable/ic_top_level_system"
android:key="@string/pk_system_settings_entry"
android:title="@string/system_setting_title"
settings:controller="com.android.car.settings.common.DefaultRestrictionsPreferenceController"/>
<com.android.car.settings.common.LogicalPreferenceGroup
android:key="@string/pk_device_extra_settings"
settings:controller="com.android.car.settings.common.ExtraSettingsPreferenceController">
<intent>
<extra android:name="com.android.settings.category"
android:value="com.android.settings.category.ia.device"/>
</intent>
</com.android.car.settings.common.LogicalPreferenceGroup>
<com.android.car.settings.common.LogicalPreferenceGroup
android:key="@string/pk_personal_extra_settings"
settings:controller="com.android.car.settings.common.ExtraSettingsPreferenceController">
<intent>
<extra android:name="com.android.settings.category"
android:value="com.android.settings.category.personal"/>
</intent>
</com.android.car.settings.common.LogicalPreferenceGroup>
</PreferenceScreen>

View File

@@ -0,0 +1,30 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- Copyright (C) 2019 The Android Open Source Project
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->
<PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:settings="http://schemas.android.com/apk/res-auto"
android:title="@string/keyboard_settings"
android:key="@string/psk_keyboard">
<com.android.car.settings.common.LogicalPreferenceGroup
android:key="@string/pk_enabled_keyboards"
settings:controller="com.android.car.settings.inputmethod.EnabledKeyboardPreferenceController"/>
<Preference
android:fragment="com.android.car.settings.inputmethod.KeyboardManagementFragment"
android:icon="@drawable/ic_add"
android:key="@string/pk_manage_keyboard"
android:title="@string/manage_keyboard"
settings:controller="com.android.car.settings.common.DefaultRestrictionsPreferenceController"/>
</PreferenceScreen>

View File

@@ -0,0 +1,25 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
Copyright 2019 The Android Open Source Project
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->
<PreferenceScreen
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:settings="http://schemas.android.com/apk/res-auto"
android:title="@string/manage_keyboard"
android:key="@string/psk_keyboard_management">
<com.android.car.settings.common.LogicalPreferenceGroup
android:key="@string/pk_keyboard_management"
settings:controller="com.android.car.settings.inputmethod.KeyboardManagementPreferenceController"/>
</PreferenceScreen>

View File

@@ -0,0 +1,26 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- Copyright (C) 2018 The Android Open Source Project
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->
<PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:settings="http://schemas.android.com/apk/res-auto"
android:title="@string/language_settings"
android:key="@string/psk_language_picker">
<com.android.car.settings.common.LogicalPreferenceGroup
android:key="@string/pk_language_picker"
settings:controller="com.android.car.settings.language.LanguagePickerPreferenceController"
settings:occupant_front_passenger="read"
settings:occupant_rear_passenger="read"/>
</PreferenceScreen>

View File

@@ -0,0 +1,59 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- Copyright (C) 2018 The Android Open Source Project
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->
<PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:settings="http://schemas.android.com/apk/res-auto"
android:title="@string/languages_and_input_settings"
android:key="@string/psk_languages_and_input">
<Preference
android:fragment="com.android.car.settings.language.LanguagePickerFragment"
android:icon="@drawable/ic_translate"
android:key="@string/pk_language_settings_entry"
android:title="@string/language_settings"
settings:controller="com.android.car.settings.language.LanguageSettingsEntryPreferenceController"
settings:occupant_front_passenger="read"
settings:occupant_rear_passenger="read"/>
<com.android.car.ui.preference.CarUiTwoActionIconPreference
android:fragment="com.android.car.settings.applications.defaultapps.DefaultAutofillPickerFragment"
android:key="@string/pk_autofill_picker_entry"
android:summary="@string/app_list_preference_none"
android:title="@string/autofill_settings_title"
settings:controller="com.android.car.settings.applications.defaultapps.DefaultAutofillPickerEntryPreferenceController"
settings:iconSpaceReserved="true"
settings:secondaryActionIcon="@drawable/ic_settings_gear"/>
<Preference
android:fragment="com.android.car.settings.inputmethod.KeyboardFragment"
android:key="@string/pk_keyboard_entry"
android:title="@string/keyboard_settings"
settings:controller="com.android.car.settings.inputmethod.KeyboardPreferenceController"
settings:iconSpaceReserved="true"
settings:searchable="false"/>
<Preference
android:fragment="com.android.car.settings.tts.TextToSpeechOutputFragment"
android:key="@string/pk_tts_settings_entry"
android:title="@string/text_to_speech_settings"
settings:controller="com.android.car.settings.common.DefaultRestrictionsPreferenceController"
settings:iconSpaceReserved="true"
settings:searchable="false"/>
<com.android.car.settings.common.LogicalPreferenceGroup
android:key="@string/pk_language_and_input_extra_settings"
settings:controller="com.android.car.settings.common.ExtraSettingsPreferenceController">
<intent>
<extra android:name="com.android.settings.category"
android:value="com.android.settings.category.ia.language"/>
</intent>
</com.android.car.settings.common.LogicalPreferenceGroup>
</PreferenceScreen>

View File

@@ -0,0 +1,41 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
Copyright 2018 The Android Open Source Project
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->
<PreferenceScreen
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:settings="http://schemas.android.com/apk/res-auto"
android:title="@string/legal_information"
android:key="@string/psk_legal_information">
<!-- Terms and conditions -->
<Preference
android:key="terms"
android:title="@string/terms_title"
settings:controller="com.android.car.settings.system.legal.TermsPreferenceController"/>
<!-- System WebView License information -->
<Preference
android:key="@string/pk_system_license_entry"
android:title="@string/webview_license_title"
settings:controller="com.android.car.settings.system.legal.WebViewLicensePreferenceController"/>
<Preference
android:key="@string/pk_third_party_license_entry"
android:title="@string/settings_license_activity_title"
settings:controller="com.android.car.settings.system.legal.ThirdPartyLicensePreferenceController"/>
</PreferenceScreen>

View File

@@ -0,0 +1,52 @@
<!--
~ Copyright (C) 2021 The Android Open Source Project
~
~ Licensed under the Apache License, Version 2.0 (the "License");
~ you may not use this file except in compliance with the License.
~ You may obtain a copy of the License at
~
~ http://www.apache.org/licenses/LICENSE-2.0
~
~ Unless required by applicable law or agreed to in writing, software
~ distributed under the License is distributed on an "AS IS" BASIS,
~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
~ See the License for the specific language governing permissions and
~ limitations under the License.
-->
<PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:settings="http://schemas.android.com/apk/res-auto"
android:key="@string/pk_location_access"
android:title="@string/location_access_settings_title">
<com.android.car.settings.common.ColoredSwitchPreference
android:key="@string/pk_location_state_switch"
android:title="@string/location_toggle_title"
android:summary="@string/location_toggle_summary"
style="@style/ColoredSwitchPreferenceStyle"
settings:controller="com.android.car.settings.location.LocationStateSwitchPreferenceController"
settings:searchable="false"/>
<com.android.car.ui.preference.CarUiSwitchPreference
android:key="@string/pk_adas_location_state_switch"
android:title="@string/adas_location_toggle_title"
android:summary="@string/adas_location_toggle_summary"
settings:controller="com.android.car.settings.location.AdasLocationSwitchPreferenceController"
settings:searchable="true"/>
<com.android.car.ui.preference.CarUiFooterPreference
android:key="@string/pk_location_access_disclaimer"
android:summary="@string/location_access_disclaimer_summary"
android:icon="@drawable/ic_settings_about"
android:selectable="false"/>
<com.android.car.settings.common.DividerPreference/>
<PreferenceCategory
android:key="@string/pk_location_adas_apps_list"
android:title="@string/location_adas_apps_list_title"
android:selectable="false"/>
<com.android.car.settings.common.LogicalPreferenceGroup
android:key="@string/pk_location_driver_assistance_privacy_policy_group"
settings:controller="com.android.car.settings.location.AdasPrivacyPolicyDisclosurePreferenceController"/>
<com.android.car.ui.preference.CarUiFooterPreference
android:key="@string/pk_location_adas_app_info"
android:summary="@string/location_adas_app_info_summary"
android:icon="@drawable/ic_settings_about"
android:selectable="false"/>
</PreferenceScreen>

View File

@@ -0,0 +1,24 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
~ Copyright (C) 2022 The Android Open Source Project
~
~ Licensed under the Apache License, Version 2.0 (the "License");
~ you may not use this file except in compliance with the License.
~ You may obtain a copy of the License at
~
~ http://www.apache.org/licenses/LICENSE-2.0
~
~ Unless required by applicable law or agreed to in writing, software
~ distributed under the License is distributed on an "AS IS" BASIS,
~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
~ See the License for the specific language governing permissions and
~ limitations under the License.
-->
<PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:settings="http://schemas.android.com/apk/res-auto"
android:key="@string/psk_location_recently_accessed"
android:title="@string/location_settings_recently_accessed_title">
<com.android.car.settings.common.LogicalPreferenceGroup
android:key="@string/pk_location_recently_accessed"
settings:controller="com.android.car.settings.location.LocationRecentAccessViewAllPreferenceController"/>
</PreferenceScreen>

View File

@@ -0,0 +1,69 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
Copyright 2018 The Android Open Source Project
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->
<PreferenceScreen
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:settings="http://schemas.android.com/apk/res-auto"
android:title="@string/location_settings_title"
android:key="@string/psk_location_settings">
<Preference
android:key="@string/pk_location_access_fragment"
android:fragment="com.android.car.settings.location.LocationAccessFragment"
android:title="@string/location_access_settings_title"
android:summary="@string/location_access_settings_summary"
settings:controller="com.android.car.settings.location.LocationAccessPreferenceController"
settings:occupant_front_passenger="hidden"
settings:occupant_rear_passenger="hidden"/>
<com.android.car.settings.common.ColoredSwitchPreference
android:key="@string/pk_location_state_switch"
android:title="@string/location_toggle_title"
android:summary="@string/location_toggle_summary"
style="@style/ColoredSwitchPreferenceStyle"
settings:controller="com.android.car.settings.location.LocationStateSwitchOuterPreferenceController"
settings:searchable="false"/>
<Preference
android:key="@string/pk_location_app_permissions"
android:title="@string/location_settings_app_permissions_title"
android:summary="@string/location_settings_app_permissions_summary"
settings:controller="com.android.car.settings.common.DefaultRestrictionsPreferenceController">
<intent android:action="android.intent.action.MANAGE_PERMISSION_APPS">
<extra android:name="android.intent.extra.PERMISSION_NAME"
android:value="android.permission-group.LOCATION"/>
</intent>
</Preference>
<com.android.car.settings.common.DividerPreference
android:key="@string/pk_location_divider"
settings:controller="com.android.car.settings.common.DefaultRestrictionsPreferenceController"
/>
<PreferenceCategory
android:key="@string/pk_location_recent_accesses_category"
android:title="@string/location_recently_accessed"
settings:controller="com.android.car.settings.location.LocationRecentAccessesPreferenceController">
<com.android.car.settings.common.DividerPreference
android:order="999"/>
</PreferenceCategory>
<PreferenceCategory
android:key="@string/pk_location_services"
android:title="@string/location_settings_services_title"
settings:controller="com.android.car.settings.location.LocationServicesPreferenceController"/>
<com.android.car.ui.preference.CarUiFooterPreference
android:key="@string/pk_location_access_disclaimer"
android:summary="@string/location_access_disclaimer_summary"
android:selectable="false"
settings:controller="com.android.car.settings.location.LocationAccessDisclaimerPreferenceController"/>
</PreferenceScreen>

View File

@@ -0,0 +1,27 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
Copyright 2019 The Android Open Source Project
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->
<PreferenceScreen
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:settings="http://schemas.android.com/apk/res-auto"
android:title="@string/app_launch_domain_links_title"
android:key="@string/psk_manage_domain_urls">
<PreferenceCategory
android:key="@string/pk_opening_links_options"
android:title="@string/domain_url_section_title"
settings:controller="com.android.car.settings.applications.managedomainurls.DomainAppPreferenceController"/>
</PreferenceScreen>

View File

@@ -0,0 +1,25 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
~ Copyright (C) 2021 The Android Open Source Project
~
~ Licensed under the Apache License, Version 2.0 (the "License");
~ you may not use this file except in compliance with the License.
~ You may obtain a copy of the License at
~
~ http://www.apache.org/licenses/LICENSE-2.0
~
~ Unless required by applicable law or agreed to in writing, software
~ distributed under the License is distributed on an "AS IS" BASIS,
~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
~ See the License for the specific language governing permissions and
~ limitations under the License.
-->
<PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:settings="http://schemas.android.com/apk/res-auto"
android:key="@string/psk_microphone_recent_requests"
android:title="@string/microphone_settings_recent_requests_title">
<com.android.car.settings.common.LogicalPreferenceGroup
android:key="@string/pk_microphone_recent_requests"
settings:controller="com.android.car.settings.privacy.MicrophoneRecentAccessViewAllPreferenceController"/>
</PreferenceScreen>

View File

@@ -0,0 +1,49 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
Copyright 2019 The Android Open Source Project
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->
<PreferenceScreen
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:settings="http://schemas.android.com/apk/res-auto"
android:title="@string/mobile_network_settings"
android:key="@string/psk_mobile_network">
<com.android.car.settings.datausage.DataUsageSummaryPreference
android:key="@string/pk_data_usage_summary"
settings:controller="com.android.car.settings.datausage.DataUsageSummaryPreferenceController"
android:selectable="false"
settings:singleLineTitle="false"/>
<com.android.car.settings.common.DividerPreference/>
<SwitchPreference
android:key="@string/pk_mobile_data_toggle"
android:summary="@string/mobile_network_toggle_summary"
android:title="@string/mobile_network_toggle_title"
settings:controller="com.android.car.settings.network.MobileDataTogglePreferenceController"/>
<SwitchPreference
android:key="@string/pk_mobile_roaming_toggle"
android:summary="@string/roaming_summary"
android:title="@string/roaming_title"
settings:controller="com.android.car.settings.network.RoamingPreferenceController"/>
<Preference
android:key="@string/pk_app_data_usage"
android:title="@string/app_data_usage"
settings:controller="com.android.car.settings.datausage.DataUsagePreferenceController"/>
<Preference
android:fragment="com.android.car.settings.datausage.DataWarningAndLimitFragment"
android:key="@string/pk_data_warning_and_limit"
android:title="@string/data_warning_limit_title"
settings:controller="com.android.car.settings.datausage.DataWarningAndLimitPreferenceController"
settings:searchable="false"/>
</PreferenceScreen>

View File

@@ -0,0 +1,32 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
Copyright 2019 The Android Open Source Project
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->
<PreferenceScreen
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:settings="http://schemas.android.com/apk/res-auto"
android:title="@string/mobile_network_settings"
android:key="@string/psk_mobile_network_list">
<com.android.car.settings.common.LogicalPreferenceGroup
android:key="@string/pk_mobile_network_list"
settings:controller="com.android.car.settings.network.MobileNetworkListPreferenceController"/>
<Preference
android:icon="@drawable/ic_add"
android:key="@string/pk_mobile_network_list_add_more"
android:title="@string/mobile_network_list_add_more"
android:visibility="gone"
settings:controller="com.android.car.settings.network.AddMobileNetworkPreferenceController"/>
</PreferenceScreen>

View File

@@ -0,0 +1,37 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
Copyright 2019 The Android Open Source Project
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->
<PreferenceScreen
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:settings="http://schemas.android.com/apk/res-auto"
android:title="@string/modify_system_settings_title"
android:key="@string/psk_modify_system_settings">
<com.android.car.settings.common.ColoredSwitchPreference
android:key="@string/pk_modify_system_settings_hide_system_switch"
android:title="@string/hide_system_apps"
style="@style/ColoredSwitchPreferenceStyle"
settings:controller="com.android.car.settings.applications.HideSystemSwitchPreferenceController"
settings:searchable="false"/>
<com.android.car.ui.preference.CarUiPreference
android:key="@string/pk_modify_system_settings_description"
android:selectable="false"
android:summary="@string/modify_system_settings_description"
settings:showChevron="false"/>
<com.android.car.settings.common.LogicalPreferenceGroup
android:key="@string/pk_modify_system_settings"
settings:controller="com.android.car.settings.applications.specialaccess.AppOpsPreferenceController"/>
</PreferenceScreen>

View File

@@ -0,0 +1,86 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
Copyright 2018 The Android Open Source Project
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->
<PreferenceScreen
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:settings="http://schemas.android.com/apk/res-auto"
android:title="@string/network_and_internet"
android:key="@string/psk_network_and_internet">
<com.android.car.ui.preference.CarUiTwoActionSwitchPreference
android:fragment="com.android.car.settings.wifi.WifiTetherFragment"
android:key="@string/pk_wifi_tether_settings_entry"
android:title="@string/hotspot_settings_title"
android:icon="@drawable/ic_wifi_tethering"
settings:controller="com.android.car.settings.wifi.WifiTetherPreferenceController"
settings:occupant_front_passenger="read"
settings:occupant_rear_passenger="read"
settings:searchable="false"/>
<com.android.car.ui.preference.CarUiTwoActionSwitchPreference
android:icon="@drawable/ic_settings_cellular"
android:key="@string/pk_mobile_network_settings_entry"
android:title="@string/mobile_network_settings"
settings:controller="com.android.car.settings.network.MobileNetworkEntryPreferenceController"
settings:searchable="false"/>
<com.android.car.settings.common.LogicalPreferenceGroup
android:key="@string/pk_wifi_entry_group"
settings:controller="com.android.car.settings.wifi.WifiEntryGroupPreferenceController">
<com.android.car.settings.common.DividerPreference/>
<com.android.car.settings.common.ColoredSwitchPreference
android:key="@string/pk_wifi_entry_state_switch"
android:title="@string/wifi_settings"
android:summary="@string/wifi_network_state_switch_subtitle"
style="@style/ColoredSwitchPreferenceStyle"
settings:controller="com.android.car.settings.wifi.WifiStateSwitchPreferenceController"
settings:occupant_front_passenger="read"
settings:occupant_rear_passenger="read"
settings:searchable="false"/>
<com.android.car.settings.common.LogicalPreferenceGroup
android:key="@string/pk_limited_wifi_list"
settings:controller="com.android.car.settings.wifi.LimitedWifiEntryListPreferenceController"
settings:occupant_front_passenger="read"
settings:occupant_rear_passenger="read"
settings:searchable="false"/>
<Preference
android:fragment="com.android.car.settings.wifi.WifiSettingsFragment"
android:key="@string/pk_wifi_settings_entry"
android:title="@string/network_and_internet_join_other_network_title"
settings:controller="com.android.car.settings.common.DefaultRestrictionsPreferenceController"
settings:occupant_front_passenger="read"
settings:occupant_rear_passenger="read"
settings:searchable="false"/>
<com.android.car.settings.common.DividerPreference/>
<Preference
android:fragment="com.android.car.settings.wifi.preferences.WifiPreferencesFragment"
android:key="@string/pk_wifi_preferences"
android:title="@string/wifi_preferences_title"
android:summary="@string/wifi_wakeup"
settings:controller="com.android.car.settings.common.DefaultRestrictionsPreferenceController"
settings:occupant_front_passenger="read"
settings:occupant_rear_passenger="read"
settings:searchable="false"/>
</com.android.car.settings.common.LogicalPreferenceGroup>
<com.android.car.settings.common.LogicalPreferenceGroup
android:key="@string/pk_network_and_internet_extra_settings"
settings:controller="com.android.car.settings.common.ExtraSettingsPreferenceController"
settings:occupant_front_passenger="read"
settings:occupant_rear_passenger="read">
<intent>
<extra android:name="com.android.settings.category"
android:value="com.android.settings.category.ia.wireless"/>
</intent>
</com.android.car.settings.common.LogicalPreferenceGroup>
</PreferenceScreen>

View File

@@ -0,0 +1,26 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
Copyright 2019 The Android Open Source Project
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->
<PreferenceScreen
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:settings="http://schemas.android.com/apk/res-auto"
android:title="@string/notification_access_title"
android:key="@string/psk_notification_access">
<com.android.car.settings.common.LogicalPreferenceGroup
android:key="@string/pk_notification_access"
settings:controller="com.android.car.settings.applications.specialaccess.NotificationAccessPreferenceController"/>
</PreferenceScreen>

View File

@@ -0,0 +1,31 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
~ Copyright (C) 2021 The Android Open Source Project
~
~ Licensed under the Apache License, Version 2.0 (the "License");
~ you may not use this file except in compliance with the License.
~ You may obtain a copy of the License at
~
~ http://www.apache.org/licenses/LICENSE-2.0
~
~ Unless required by applicable law or agreed to in writing, software
~ distributed under the License is distributed on an "AS IS" BASIS,
~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
~ See the License for the specific language governing permissions and
~ limitations under the License.
-->
<PreferenceScreen
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:settings="http://schemas.android.com/apk/res-auto"
android:title="@string/notifications_label"
android:key="@string/psk_notifications">
<PreferenceCategory
android:key="@string/pk_notifications_settings_recently_sent"
android:title="@string/notifications_recently_sent"
settings:controller="com.android.car.settings.notifications.RecentNotificationsAppsPreferenceController"/>
<PreferenceCategory
android:key="@string/pk_notifications_settings_all_apps"
android:title="@string/notifications_all_apps"
settings:controller="com.android.car.settings.notifications.NotificationsAppListPreferenceController"/>
</PreferenceScreen>

View File

@@ -0,0 +1,31 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
~ Copyright (C) 2022 The Android Open Source Project
~
~ Licensed under the Apache License, Version 2.0 (the "License");
~ you may not use this file except in compliance with the License.
~ You may obtain a copy of the License at
~
~ http://www.apache.org/licenses/LICENSE-2.0
~
~ Unless required by applicable law or agreed to in writing, software
~ distributed under the License is distributed on an "AS IS" BASIS,
~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
~ See the License for the specific language governing permissions and
~ limitations under the License.
-->
<PreferenceScreen
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:settings="http://schemas.android.com/apk/res-auto"
android:title="@string/performance_impacting_apps"
android:key="@string/psk_performance_impact_apps_settings">
<com.android.car.ui.preference.CarUiPreference
android:key="@string/pk_performance_impacting_apps_description"
android:selectable="false"
android:summary="@string/performance_impacting_apps_description"
settings:showChevron="false"/>
<com.android.car.settings.common.LogicalPreferenceGroup
android:key="@string/pk_performance_impacting_apps_settings"
settings:controller="com.android.car.settings.applications.performance.PerfImpactingAppsPreferenceController"/>
</PreferenceScreen>

View File

@@ -0,0 +1,24 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- Copyright (C) 2019 The Android Open Source Project
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->
<PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:settings="http://schemas.android.com/apk/res-auto"
android:title="@string/text_to_speech_preferred_engine_settings"
android:key="@string/psk_preferred_engine">
<com.android.car.settings.common.LogicalPreferenceGroup
android:key="pk_tts_preferred_engine_options"
settings:controller="com.android.car.settings.tts.PreferredEngineOptionsPreferenceController"/>
</PreferenceScreen>

View File

@@ -0,0 +1,30 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
Copyright 2019 The Android Open Source Project
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->
<PreferenceScreen
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:settings="http://schemas.android.com/apk/res-auto"
android:title="@string/premium_sms_access_title"
android:key="@string/psk_premium_sms_access">
<Preference
android:key="@string/pk_premium_sms_access_description"
android:selectable="false"
android:summary="@string/premium_sms_access_description"/>
<com.android.car.settings.common.LogicalPreferenceGroup
android:key="@string/pk_premium_sms_access"
settings:controller="com.android.car.settings.applications.specialaccess.PremiumSmsAccessPreferenceController"/>
</PreferenceScreen>

View File

@@ -0,0 +1,55 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
Copyright 2022 The Android Open Source Project
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->
<PreferenceScreen
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:settings="http://schemas.android.com/apk/res-auto"
android:title="@string/camera_settings_title"
android:key="@string/psk_camera_settings">
<Preference
android:key="@string/pk_camera_access_fragment"
android:fragment="com.android.car.settings.privacy.CameraAccessFragment"
android:title="@string/camera_access_settings_title"
android:summary="@string/camera_access_settings_summary"
settings:controller="com.android.car.settings.privacy.CameraAccessPreferenceController"/>
<com.android.car.settings.common.ColoredSwitchPreference
android:key="@string/pk_camera_state_switch"
android:title="@string/camera_toggle_title"
android:summary="@string/camera_toggle_summary"
style="@style/ColoredSwitchPreferenceStyle"
settings:controller=
"com.android.car.settings.privacy.CameraTogglePreferenceController"
settings:searchable="false"/>
<PreferenceCategory
android:key="@string/pk_camera_recent_accesses_category"
android:title="@string/camera_recently_accessed"
settings:controller=
"com.android.car.settings.privacy.CameraRecentAccessesPreferenceController">
<com.android.car.settings.common.DividerPreference
android:order="999"/>
</PreferenceCategory>
<Preference
android:key="@string/pk_camera_manage_permissions"
android:title="@string/camera_manage_permissions"
settings:controller=
"com.android.car.settings.privacy.ManageCameraPermissionsPreferenceController">
<intent android:action="android.intent.action.MANAGE_PERMISSION_APPS">
<extra android:name="android.intent.extra.PERMISSION_NAME"
android:value="android.permission-group.CAMERA"/>
</intent>
</Preference>
</PreferenceScreen>

View File

@@ -0,0 +1,46 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
Copyright 2021 The Android Open Source Project
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->
<PreferenceScreen
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:settings="http://schemas.android.com/apk/res-auto"
android:title="@string/microphone_settings_title"
android:key="@string/psk_microphone_settings">
<com.android.car.settings.common.ColoredSwitchPreference
android:key="@string/pk_microphone_state_switch"
android:title="@string/microphone_toggle_title"
android:summary="@string/microphone_toggle_summary"
style="@style/ColoredSwitchPreferenceStyle"
settings:controller="com.android.car.settings.privacy.MicTogglePreferenceController"
settings:searchable="false"/>
<PreferenceCategory
android:key="@string/pk_microphone_recent_accesses_category"
android:title="@string/microphone_recently_accessed"
settings:controller="com.android.car.settings.privacy.MicrophoneRecentAccessesPreferenceController">
<com.android.car.settings.common.DividerPreference
android:order="999"/>
</PreferenceCategory>
<Preference
android:key="@string/pk_microphone_manage_permissions"
android:title="@string/microphone_manage_permissions"
settings:controller="com.android.car.settings.privacy.ManageMicPermissionsPreferenceController">
<intent android:action="android.intent.action.MANAGE_PERMISSION_APPS">
<extra android:name="android.intent.extra.PERMISSION_NAME"
android:value="android.permission-group.MICROPHONE"/>
</intent>
</Preference>
</PreferenceScreen>

View File

@@ -0,0 +1,84 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
Copyright 2020 The Android Open Source Project
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->
<PreferenceScreen
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:settings="http://schemas.android.com/apk/res-auto"
android:title="@string/privacy_settings_title"
android:key="@string/psk_privacy_settings">
<Preference
android:fragment="com.android.car.settings.privacy.MicrophoneSettingsFragment"
android:key="@string/pk_mute_mic_switch"
android:title="@string/mute_mic_title"
android:summary="@string/mute_mic_summary"
android:icon="@drawable/privacy_mic"
settings:controller="com.android.car.settings.privacy.MicPreferenceController"/>
<Preference
android:fragment="com.android.car.settings.privacy.CameraSettingsFragment"
android:key="@string/pk_mute_camera_switch"
android:title="@string/mute_camera_title"
android:summary="@string/mute_camera_summary"
android:icon="@drawable/privacy_camera"
settings:controller="com.android.car.settings.privacy.CameraPreferenceController"/>
<Preference
android:fragment="com.android.car.settings.location.LocationSettingsFragment"
android:key="@string/pk_location_settings_entry"
android:title="@string/location_settings_title"
android:summary="@string/privacy_location_summary"
android:icon="@drawable/privacy_location"
settings:controller="com.android.car.settings.common.DefaultRestrictionsPreferenceController"/>
<Preference
android:key="@string/pk_privacy_manage_perms"
android:title="@string/app_permissions"
android:summary="@string/app_permissions_summary"
android:icon="@drawable/privacy_app_permissions"
settings:controller="com.android.car.settings.common.DefaultRestrictionsPreferenceController">
<intent android:action="android.permission.action.REVIEW_PERMISSION_DECISIONS"/>
</Preference>
<Preference
android:fragment="com.android.car.settings.privacy.VehicleDataFragment"
android:key="@string/pk_vehicle_data"
android:summary="@string/vehicle_data_summary"
android:title="@string/vehicle_data_title"
android:icon="@drawable/privacy_vehicle_data"
settings:controller="com.android.car.settings.common.DefaultRestrictionsPreferenceController"/>
<com.android.car.settings.common.LogicalPreferenceGroup
android:key="@string/pk_privacy_extra_settings"
settings:controller="com.android.car.settings.common.ExtraSettingsPreferenceController">
<intent>
<extra android:name="com.android.settings.category"
android:value="com.android.settings.category.ia.privacy"/>
</intent>
</com.android.car.settings.common.LogicalPreferenceGroup>
<!-- NOTE: must be multi-line as it uses the app label, whose size is undefined -->
<Preference
android:key="@string/pk_privacy_work_policy"
android:title="@string/work_policy_privacy_settings_no_org_name"
android:summary="@string/work_policy_privacy_settings_summary"
android:icon="@drawable/ic_corp_icon"
settings:controller="com.android.car.settings.enterprise.WorkPolicyInfoPreferenceController"
settings:singleLineTitle="false">
</Preference>
</PreferenceScreen>

View File

@@ -0,0 +1,70 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- Copyright (C) 2018 The Android Open Source Project
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->
<PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:settings="http://schemas.android.com/apk/res-auto"
android:title="@string/profiles_and_accounts_settings_title"
android:key="@string/psk_profile_details">
<com.android.car.settings.common.EntityHeaderPreference
android:key="@string/pk_profile_details_header"
android:selectable="false"
settings:controller="com.android.car.settings.profiles.ProfileDetailsHeaderPreferenceController"
settings:searchable="false"/>
<com.android.car.settings.common.ActionButtonsPreference
android:key="@string/pk_profile_details_action_buttons"
settings:controller="com.android.car.settings.profiles.ProfileDetailsActionButtonsPreferenceController"
settings:searchable="false"/>
<com.android.car.settings.common.LogicalPreferenceGroup
android:key="@string/pk_account_group"
settings:controller="com.android.car.settings.accounts.AccountGroupPreferenceController">
<PreferenceCategory
android:key="@string/pk_account_list"
android:title="@string/account_list_title"
settings:controller="com.android.car.settings.accounts.AccountListPreferenceController"
settings:searchable="false"/>
<com.android.car.ui.preference.CarUiPreference
android:key="@string/pk_account_settings_add"
android:title="@string/user_add_account_menu"
android:icon="@drawable/ic_add"
settings:controller="com.android.car.settings.accounts.AddAccountPreferenceController"
settings:showChevron="false"/>
<com.android.car.settings.common.DividerPreference/>
<SwitchPreference
android:key="@string/pk_account_auto_sync"
android:title="@string/account_auto_sync_title"
android:summary="@string/account_auto_sync_summary"
settings:controller="com.android.car.settings.accounts.AccountAutoSyncPreferenceController"/>
<com.android.car.settings.common.DividerPreference/>
<com.android.car.settings.common.LogicalPreferenceGroup
android:key="@string/pk_accounts_extra_settings"
settings:controller="com.android.car.settings.common.ExtraSettingsPreferenceController">
<intent android:action="com.android.settings.action.EXTRA_SETTINGS">
<extra android:name="com.android.settings.category"
android:value="com.android.settings.category.ia.accounts"/>
</intent>
</com.android.car.settings.common.LogicalPreferenceGroup>
</com.android.car.settings.common.LogicalPreferenceGroup>
<com.android.car.ui.preference.CarUiPreference
android:key="@string/pk_profile_details_delete"
android:title="@string/delete_this_profile_text"
settings:controller="com.android.car.settings.profiles.ProfileDetailsDeletePreferenceController"
settings:showChevron="false"/>
<com.android.car.ui.preference.CarUiPreference
android:key="@string/pk_profile_details_end_session"
android:title="@*android:string/global_action_logout"
settings:controller="com.android.car.settings.profiles.ProfileDetailsEndSessionPreferenceController"
settings:showChevron="false"/>
</PreferenceScreen>

View File

@@ -0,0 +1,32 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- Copyright (C) 2018 The Android Open Source Project
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->
<PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:settings="http://schemas.android.com/apk/res-auto"
android:key="@string/psk_profile_details_permissions">
<com.android.car.settings.common.EntityHeaderPreference
android:key="@string/pk_profile_details_permissions_header"
android:selectable="false"
settings:controller="com.android.car.settings.profiles.ProfileDetailsHeaderPreferenceController"
settings:searchable="false"/>
<com.android.car.settings.common.ActionButtonsPreference
android:key="@string/pk_profile_details_permissions_action_buttons"
settings:controller="com.android.car.settings.profiles.ProfileDetailsActionButtonsPreferenceController"
settings:searchable="false"/>
<com.android.car.settings.common.LogicalPreferenceGroup
android:key="@string/pk_profile_permissions"
settings:controller="com.android.car.settings.profiles.PermissionsPreferenceController"/>
</PreferenceScreen>

View File

@@ -0,0 +1,30 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
Copyright 2018 The Android Open Source Project
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->
<PreferenceScreen
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:settings="http://schemas.android.com/apk/res-auto"
android:title="@string/manage_other_profiles_button_text"
android:key="@string/psk_profiles_list">
<com.android.car.settings.common.LogicalPreferenceGroup
android:key="@string/pk_profiles_list"
settings:controller="com.android.car.settings.profiles.ProfilesListPreferenceController"/>
<com.android.car.ui.preference.CarUiPreference
android:key="@string/pk_add_profile"
settings:controller="com.android.car.settings.profiles.AddProfilePreferenceController"
settings:showChevron="false"/>
</PreferenceScreen>

View File

@@ -0,0 +1,25 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- Copyright (C) 2018 The Android Open Source Project
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->
<PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:settings="http://schemas.android.com/apk/res-auto"
android:title="@string/reset_app_pref_title"
android:key="@string/psk_reset_app_pref">
<com.android.car.ui.preference.CarUiPreference
android:selectable="false"
android:title="@string/reset_app_pref_desc"
settings:singleLineTitle="false"/>
</PreferenceScreen>

View File

@@ -0,0 +1,25 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- Copyright (C) 2018 The Android Open Source Project
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->
<PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:settings="http://schemas.android.com/apk/res-auto"
android:title="@string/reset_network_confirm_title"
android:key="@string/psk_reset_network_confirm">
<Preference
android:selectable="false"
android:title="@string/reset_network_confirm_desc"
settings:singleLineTitle="false"/>
</PreferenceScreen>

View File

@@ -0,0 +1,40 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
Copyright 2018 The Android Open Source Project
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->
<PreferenceScreen
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:settings="http://schemas.android.com/apk/res-auto"
android:title="@string/reset_network_title"
android:key="@string/psk_reset_network">
<com.android.car.ui.preference.CarUiPreference
android:key="@string/pk_reset_network_items"
android:selectable="false"
android:title="@string/reset_network_desc"
settings:controller="com.android.car.settings.system.ResetNetworkItemsPreferenceController"
settings:singleLineTitle="false"
settings:showChevron="false"/>
<CheckBoxPreference
android:key="@string/pk_reset_esim"
android:summary="@string/reset_esim_desc"
android:title="@string/reset_esim_title"
settings:controller="com.android.car.settings.system.ResetEsimPreferenceController"/>
<ListPreference
android:key="@string/pk_reset_network_subscription"
android:title="@string/reset_network_select"
android:widgetLayout="@layout/dropdown_preference_widget"
settings:controller="com.android.car.settings.system.ResetNetworkSubscriptionPreferenceController"/>
</PreferenceScreen>

View File

@@ -0,0 +1,44 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
Copyright 2018 The Android Open Source Project
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->
<PreferenceScreen
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:settings="http://schemas.android.com/apk/res-auto"
android:title="@string/reset_options_title"
android:key="@string/psk_reset_options">
<Preference
android:key="@string/pk_restart_infotainment_system"
android:title="@string/restart_infotainment_system_title"
settings:controller="com.android.car.settings.system.RestartSystemPreferenceController">
</Preference>
<Preference
android:fragment="com.android.car.settings.system.ResetNetworkFragment"
android:key="@string/pk_reset_network"
android:title="@string/reset_network_title"
settings:controller="com.android.car.settings.system.ResetNetworkEntryPreferenceController"/>
<Preference
android:fragment="com.android.car.settings.system.ResetAppPrefFragment"
android:key="@string/pk_reset_app_pref"
android:title="@string/reset_app_pref_title"
settings:controller="com.android.car.settings.common.DefaultRestrictionsPreferenceController"/>
<Preference
android:fragment="com.android.car.settings.system.FactoryResetFragment"
android:key="@string/pk_factory_reset"
android:title="@string/factory_reset_title"
android:summary="@string/factory_reset_summary"
settings:controller="com.android.car.settings.system.FactoryResetEntryPreferenceController"/>
</PreferenceScreen>

View File

@@ -0,0 +1,25 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
~ Copyright (C) 2021 The Android Open Source Project
~
~ Licensed under the Apache License, Version 2.0 (the "License");
~ you may not use this file except in compliance with the License.
~ You may obtain a copy of the License at
~
~ http://www.apache.org/licenses/LICENSE-2.0
~
~ Unless required by applicable law or agreed to in writing, software
~ distributed under the License is distributed on an "AS IS" BASIS,
~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
~ See the License for the specific language governing permissions and
~ limitations under the License.
-->
<PreferenceScreen
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:settings="http://schemas.android.com/apk/res-auto"
android:key="@string/psk_sound_ringtone_picker">
<com.android.car.settings.common.LogicalPreferenceGroup
android:key="@string/pk_ringtone_picker"
settings:controller="com.android.car.settings.sound.RingtonePickerPreferenceController"/>
</PreferenceScreen>

View File

@@ -0,0 +1,34 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
~ Copyright (C) 2021 The Android Open Source Project
~
~ Licensed under the Apache License, Version 2.0 (the "License");
~ you may not use this file except in compliance with the License.
~ You may obtain a copy of the License at
~
~ http://www.apache.org/licenses/LICENSE-2.0
~
~ Unless required by applicable law or agreed to in writing, software
~ distributed under the License is distributed on an "AS IS" BASIS,
~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
~ See the License for the specific language governing permissions and
~ limitations under the License.
-->
<PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:settings="http://schemas.android.com/apk/res-auto"
android:key="@string/psk_screen_reader_settings">
<com.android.car.settings.common.ColoredSwitchPreference
android:key="@string/pk_screen_reader_enabled_switch"
style="@style/ColoredSwitchPreferenceStyle"
settings:controller="com.android.car.settings.accessibility.ScreenReaderEnabledSwitchPreferenceController"
settings:searchable="false"/>
<Preference
android:key="@string/pk_screen_reader_settings_intent"
android:title="@string/screen_reader_description_title"
settings:controller="com.android.car.settings.accessibility.ScreenReaderSettingsIntentPreferenceController"/>
<Preference
android:key="@string/pk_screen_reader_description_subheader"
settings:controller="com.android.car.settings.accessibility.ScreenReaderSettingsSubheaderPreferenceController"
android:selectable="false"/>
</PreferenceScreen>

View File

@@ -0,0 +1,62 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
Copyright 2018 The Android Open Source Project
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->
<PreferenceScreen
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:settings="http://schemas.android.com/apk/res-auto"
android:title="@string/security_settings_title"
android:key="@string/psk_security_settings">
<Preference
android:icon="@drawable/ic_lock"
android:key="@string/pk_choose_lock_type"
android:title="@string/security_profile_lock_title"
settings:controller="com.android.car.settings.security.ChooseLockTypePreferenceController"/>
<com.android.car.ui.preference.CarUiPreference
android:key="@string/pk_credentials_reset"
android:summary="@string/credentials_reset_summary"
android:title="@string/credentials_reset"
settings:controller="com.android.car.settings.security.CredentialsResetPreferenceController"
settings:showChevron="false">
<intent
android:action="com.android.credentials.RESET"
android:targetPackage="com.android.car.settings"/>
</com.android.car.ui.preference.CarUiPreference>
<com.android.car.settings.common.LogicalPreferenceGroup
android:key="@string/pk_system_extra_settings"
settings:controller="com.android.car.settings.common.ExtraSettingsPreferenceController">
<intent>
<extra android:name="com.android.settings.category"
android:value="com.android.settings.category.ia.security"/>
</intent>
</com.android.car.settings.common.LogicalPreferenceGroup>
<Preference
android:icon="@drawable/ic_corp_icon"
android:key="@string/pk_enterprise_privacy_settings"
android:title="@string/enterprise_privacy_settings"
android:summary="@string/empty_placeholder"
android:fragment="com.android.car.settings.enterprise.EnterprisePrivacySettingsFragment"
settings:controller=
"com.android.car.settings.enterprise.EnterprisePrivacySettingsPreferenceController" />
<Preference
android:icon="@drawable/ic_storage_apps"
android:key="@string/pk_manage_device_admin_settings"
android:title="@string/manage_device_admin"
android:summary="@string/empty_placeholder"
android:fragment="com.android.car.settings.enterprise.DeviceAdminAppsFragment"
settings:controller=
"com.android.car.settings.enterprise.ManageDeviceAdminPreferenceController" />
</PreferenceScreen>

View File

@@ -0,0 +1,55 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
Copyright 2018 The Android Open Source Project
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->
<PreferenceScreen
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:settings="http://schemas.android.com/apk/res-auto"
android:title="@string/sound_settings"
android:key="@string/psk_sound_settings">
<ListPreference
android:key="@string/pk_audio_destination"
settings:controller="com.android.car.settings.sound.AudioRouteSelectorController"/>
<com.android.car.settings.common.LogicalPreferenceGroup
android:key="@string/pk_volume_settings"
settings:controller="com.android.car.settings.sound.VolumeSettingsPreferenceController"/>
<com.android.car.settings.sound.RingtonePreference
android:key="@string/pk_default_ringtone"
android:ringtoneType="ringtone"
android:title="@string/ringtone_title"
android:summary="@string/empty_placeholder"
settings:controller="com.android.car.settings.sound.RingtonePreferenceController"/>
<com.android.car.settings.sound.RingtonePreference
android:key="@string/pk_default_notification"
android:ringtoneType="notification"
android:title="@string/notification_ringtone_title"
android:summary="@string/empty_placeholder"
settings:controller="com.android.car.settings.sound.RingtonePreferenceController"/>
<com.android.car.settings.sound.RingtonePreference
android:key="@string/pk_default_alarm"
android:ringtoneType="alarm"
android:title="@string/alarm_ringtone_title"
android:summary="@string/empty_placeholder"
settings:controller="com.android.car.settings.sound.RingtonePreferenceController"/>
<com.android.car.settings.common.LogicalPreferenceGroup
android:key="@string/pk_sounds_extra_settings"
settings:controller="com.android.car.settings.common.ExtraSettingsPreferenceController">
<intent>
<extra android:name="com.android.settings.category"
android:value="com.android.settings.category.ia.sound"/>
</intent>
</com.android.car.settings.common.LogicalPreferenceGroup>
</PreferenceScreen>

View File

@@ -0,0 +1,52 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
Copyright 2019 The Android Open Source Project
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->
<PreferenceScreen
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:settings="http://schemas.android.com/apk/res-auto"
android:title="@string/special_access"
android:key="@string/psk_special_access">
<Preference
android:fragment="com.android.car.settings.applications.specialaccess.ModifySystemSettingsFragment"
android:key="@string/pk_modify_system_settings_entry"
android:title="@string/modify_system_settings_title"
settings:controller="com.android.car.settings.common.DefaultRestrictionsPreferenceController"/>
<Preference
android:fragment="com.android.car.settings.applications.specialaccess.NotificationAccessFragment"
android:key="@string/pk_notification_access_entry"
android:title="@string/notification_access_title"
settings:controller="com.android.car.settings.common.DefaultRestrictionsPreferenceController"/>
<Preference
android:fragment="com.android.car.settings.applications.specialaccess.PremiumSmsAccessFragment"
android:key="@string/pk_premium_sms_access_entry"
android:title="@string/premium_sms_access_title"
settings:controller="com.android.car.settings.applications.specialaccess.PremiumSmsAccessEntryPreferenceController"/>
<Preference
android:fragment="com.android.car.settings.applications.specialaccess.UsageAccessFragment"
android:key="@string/pk_usage_access_entry"
android:title="@string/usage_access_title"
settings:controller="com.android.car.settings.common.DefaultRestrictionsPreferenceController"/>
<Preference
android:fragment="com.android.car.settings.applications.specialaccess.WifiControlFragment"
android:key="@string/pk_wifi_control_entry"
android:title="@string/wifi_control_title"
settings:controller="com.android.car.settings.common.DefaultRestrictionsPreferenceController"/>
<Preference
android:key="@string/pk_more_special_access"
android:title="@string/more_special_access_title"
settings:controller="com.android.car.settings.applications.specialaccess.MoreSpecialAccessPreferenceController"/>
</PreferenceScreen>

View File

@@ -0,0 +1,32 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
Copyright 2019 The Android Open Source Project
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->
<PreferenceScreen
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:settings="http://schemas.android.com/apk/res-auto"
android:title="@string/storage_music_audio"
android:key="@string/psk_storage_media_category_detail">
<com.android.car.settings.common.ColoredSwitchPreference
android:key="@string/pk_storage_music_audio_details_hide_system_switch"
android:title="@string/hide_system_apps"
style="@style/ColoredSwitchPreferenceStyle"
settings:controller="com.android.car.settings.applications.HideSystemSwitchPreferenceController"
settings:searchable="false"/>
<com.android.car.settings.common.LogicalPreferenceGroup
android:key="@string/pk_storage_music_audio_details"
settings:controller="com.android.car.settings.storage.StorageMediaCategoryDetailPreferenceController"/>
</PreferenceScreen>

View File

@@ -0,0 +1,32 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
Copyright 2019 The Android Open Source Project
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->
<PreferenceScreen
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:settings="http://schemas.android.com/apk/res-auto"
android:title="@string/storage_other_apps"
android:key="@string/psk_storage_other_category_detail">
<com.android.car.settings.common.ColoredSwitchPreference
android:key="@string/pk_storage_other_apps_details_hide_system_switch"
android:title="@string/hide_system_apps"
style="@style/ColoredSwitchPreferenceStyle"
settings:controller="com.android.car.settings.applications.HideSystemSwitchPreferenceController"
settings:searchable="false"/>
<com.android.car.settings.common.LogicalPreferenceGroup
android:key="@string/pk_storage_other_apps_details"
settings:controller="com.android.car.settings.storage.StorageApplicationListPreferenceController"/>
</PreferenceScreen>

View File

@@ -0,0 +1,46 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- Copyright (C) 2019 The Android Open Source Project
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->
<PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:settings="http://schemas.android.com/apk/res-auto"
android:title="@string/storage_settings_title"
android:key="@string/psk_storage_settings">
<com.android.car.settings.common.ProgressBarPreference
android:icon="@drawable/ic_media_stream"
android:key="@string/pk_storage_music_audio"
android:layout="@layout/progress_bar_preference"
android:title="@string/storage_music_audio"
settings:controller="com.android.car.settings.storage.StorageMediaCategoryPreferenceController"/>
<com.android.car.settings.common.ProgressBarPreference
android:fragment="com.android.car.settings.storage.StorageOtherCategoryDetailFragment"
android:icon="@drawable/ic_storage_apps"
android:key="@string/pk_storage_other_apps"
android:layout="@layout/progress_bar_preference"
android:title="@string/storage_other_apps"
settings:controller="com.android.car.settings.storage.StorageOtherCategoryPreferenceController"/>
<com.android.car.settings.common.ProgressBarPreference
android:icon="@drawable/ic_folder"
android:key="@string/pk_storage_files"
android:layout="@layout/progress_bar_preference"
android:title="@string/storage_files"
settings:controller="com.android.car.settings.storage.StorageFileCategoryPreferenceController"/>
<com.android.car.settings.common.ProgressBarPreference
android:icon="@drawable/ic_system_update"
android:key="@string/pk_storage_system"
android:layout="@layout/progress_bar_preference"
android:title="@string/storage_system"
settings:controller="com.android.car.settings.storage.StorageSystemCategoryPreferenceController"/>
</PreferenceScreen>

View File

@@ -0,0 +1,92 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
Copyright 2018 The Android Open Source Project
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->
<PreferenceScreen
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:settings="http://schemas.android.com/apk/res-auto"
android:title="@string/system_setting_title"
android:key="@string/psk_system_settings">
<Preference
android:icon="@drawable/ic_system_update"
android:key="@string/pk_system_update_settings"
android:title="@string/system_update_settings_title"
settings:controller="com.android.car.settings.system.SystemUpdatePreferenceController">
<intent android:action="android.settings.SYSTEM_UPDATE_SETTINGS"/>
</Preference>
<Preference
android:fragment="com.android.car.settings.language.LanguagesAndInputFragment"
android:key="@string/pk_languages_and_input_settings"
android:icon="@drawable/ic_language"
android:title="@string/languages_and_input_settings"
settings:controller="com.android.car.settings.common.DefaultRestrictionsPreferenceController"
settings:searchable="false"/>
<Preference
android:fragment="com.android.car.settings.units.UnitsSettingsFragment"
android:icon="@drawable/ic_units"
android:key="@string/pk_units_settings_entry"
android:title="@string/units_settings"
settings:controller="com.android.car.settings.common.DefaultRestrictionsPreferenceController"/>
<Preference
android:fragment="com.android.car.settings.datetime.DatetimeSettingsFragment"
android:key="@string/pk_date_time_settings_entry"
android:icon="@drawable/ic_date_time"
android:title="@string/date_and_time_settings_title"
settings:controller="com.android.car.settings.common.DefaultRestrictionsPreferenceController"/>
<Preference
android:fragment="com.android.car.settings.storage.StorageSettingsFragment"
android:icon="@drawable/ic_storage"
android:key="@string/pk_storage_settings_entry"
android:title="@string/storage_settings_title"
settings:controller="com.android.car.settings.common.DefaultRestrictionsPreferenceController"/>
<Preference
android:fragment="com.android.car.settings.system.AboutSettingsFragment"
android:icon="@drawable/ic_settings_about"
android:key="@string/pk_about_settings_entry"
android:title="@string/about_settings"
settings:controller="com.android.car.settings.system.AboutSettingsEntryPreferenceController"
settings:searchable="false"/>
<Preference
android:fragment="com.android.car.settings.system.LegalInformationFragment"
android:icon="@drawable/ic_settings_about"
android:key="@string/pk_legal_information_entry"
android:title="@string/legal_information"
settings:controller="com.android.car.settings.common.DefaultRestrictionsPreferenceController"
settings:searchable="false"/>
<Preference
android:fragment="com.android.car.settings.system.ResetOptionsFragment"
android:icon="@drawable/ic_restore"
android:key="@string/pk_reset_options_entry"
android:summary="@string/reset_options_summary"
android:title="@string/reset_options_title"
settings:controller="com.android.car.settings.common.DefaultRestrictionsPreferenceController"
settings:searchable="false"/>
<Preference
android:icon="@drawable/ic_settings_development"
android:key="@string/pk_developer_options_entry"
android:title="@string/developer_options_settings"
settings:controller="com.android.car.settings.system.DeveloperOptionsEntryPreferenceController">
<intent android:action="android.settings.APPLICATION_DEVELOPMENT_SETTINGS"/>
</Preference>
<com.android.car.settings.common.LogicalPreferenceGroup
android:key="@string/pk_system_extra_settings"
settings:controller="com.android.car.settings.common.ExtraSettingsPreferenceController">
<intent>
<extra android:name="com.android.settings.category"
android:value="com.android.settings.category.ia.system"/>
</intent>
</com.android.car.settings.common.LogicalPreferenceGroup>
</PreferenceScreen>

View File

@@ -0,0 +1,47 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- Copyright (C) 2019 The Android Open Source Project
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->
<PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:settings="http://schemas.android.com/apk/res-auto"
android:title="@string/text_to_speech_settings"
android:key="@string/psk_text_to_speech_output">
<com.android.car.ui.preference.CarUiTwoActionIconPreference
android:fragment="com.android.car.settings.tts.PreferredEngineFragment"
android:key="@string/pk_tts_preferred_engine_entry"
android:title="@string/text_to_speech_preferred_engine_settings"
settings:controller="com.android.car.settings.tts.PreferredEngineEntryPreferenceController"
settings:secondaryActionIcon="@drawable/ic_settings_gear"/>
<com.android.car.settings.common.LogicalPreferenceGroup
android:key="@string/pk_tts_playback_group"
settings:controller="com.android.car.settings.tts.TtsPlaybackPreferenceController">
<!-- Currently disabled in TtsPlaybackPreferenceController -->
<ListPreference
android:key="@string/pk_tts_default_language"
android:persistent="false"
android:summary="@string/tts_default_lang_summary"
android:title="@string/tts_default_lang_title"/>
<com.android.car.settings.common.SeekBarPreference
android:key="@string/pk_tts_speech_rate"
android:title="@string/tts_speech_rate"/>
<com.android.car.settings.common.SeekBarPreference
android:key="@string/pk_tts_pitch"
android:title="@string/tts_pitch"/>
<com.android.car.ui.preference.CarUiPreference
android:key="@string/pk_tts_reset"
android:title="@string/tts_reset"
settings:showChevron="false"/>
</com.android.car.settings.common.LogicalPreferenceGroup>
</PreferenceScreen>

View File

@@ -0,0 +1,26 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
Copyright 2018 The Android Open Source Project
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->
<PreferenceScreen
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:settings="http://schemas.android.com/apk/res-auto"
android:title="@string/date_time_set_timezone_title"
android:key="@string/psk_timezone_picker_screen">
<com.android.car.settings.common.LogicalPreferenceGroup
android:key="@string/pk_timezone_picker_screen"
settings:controller="com.android.car.settings.datetime.TimeZonePickerScreenPreferenceController"/>
</PreferenceScreen>

View File

@@ -0,0 +1,63 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- Copyright (C) 2019 The Android Open Source Project
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->
<PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:settings="http://schemas.android.com/apk/res-auto"
android:title="@string/units_settings"
android:key="@string/psk_units">
<ListPreference
android:key="@string/pk_units_speed"
android:title="@string/units_speed_title"
android:dialogTitle="@string/units_speed_title"
settings:controller="com.android.car.settings.units.UnitsSpeedPreferenceController"/>
<ListPreference
android:key="@string/pk_units_distance"
android:title="@string/units_distance_title"
android:dialogTitle="@string/units_distance_title"
settings:controller="com.android.car.settings.units.UnitsDistancePreferenceController"/>
<ListPreference
android:key="@string/pk_units_fuel_consumption"
android:title="@string/units_fuel_consumption_title"
android:dialogTitle="@string/units_fuel_consumption_title"
settings:controller="com.android.car.settings.units.UnitsFuelConsumptionPreferenceController"/>
<ListPreference
android:key="@string/pk_units_energy_consumption"
android:title="@string/units_energy_consumption_title"
android:dialogTitle="@string/units_energy_consumption_title"
settings:controller="com.android.car.settings.units.UnitsEnergyConsumptionPreferenceController"/>
<ListPreference
android:key="@string/pk_units_temperature"
android:title="@string/units_temperature_title"
android:dialogTitle="@string/units_temperature_title"
settings:controller="com.android.car.settings.units.UnitsTemperaturePreferenceController"/>
<ListPreference
android:key="@string/pk_units_volume"
android:title="@string/units_volume_title"
android:dialogTitle="@string/units_volume_title"
settings:controller="com.android.car.settings.units.UnitsVolumePreferenceController"/>
<ListPreference
android:key="@string/pk_units_pressure"
android:title="@string/units_pressure_title"
android:dialogTitle="@string/units_pressure_title"
settings:controller="com.android.car.settings.units.UnitsPressurePreferenceController"/>
</PreferenceScreen>

View File

@@ -0,0 +1,36 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
Copyright 2019 The Android Open Source Project
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->
<PreferenceScreen
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:settings="http://schemas.android.com/apk/res-auto"
android:title="@string/usage_access_title"
android:key="@string/psk_usage_access">
<com.android.car.settings.common.ColoredSwitchPreference
android:key="@string/pk_usage_access_hide_system_switch"
android:title="@string/hide_system_apps"
style="@style/ColoredSwitchPreferenceStyle"
settings:controller="com.android.car.settings.applications.HideSystemSwitchPreferenceController"
settings:searchable="false"/>
<Preference
android:key="@string/pk_usage_access_description"
android:selectable="false"
android:summary="@string/usage_access_description"/>
<com.android.car.settings.common.LogicalPreferenceGroup
android:key="@string/pk_usage_access"
settings:controller="com.android.car.settings.applications.specialaccess.AppOpsPreferenceController"/>
</PreferenceScreen>

View File

@@ -0,0 +1,37 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
Copyright 2021 The Android Open Source Project
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->
<PreferenceScreen
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:settings="http://schemas.android.com/apk/res-auto"
android:title="@string/privacy_vehicle_data_title"
android:key="@string/psk_vehicle_data">
<Preference
android:key="@string/pk_vehicle_data_delete_profile"
android:title="@string/vehicle_data_delete_user_title"
android:summary="@string/vehicle_data_delete_user_summary"
settings:controller="com.android.car.settings.privacy.DeleteUserPreferenceController"/>
<Preference
android:fragment="com.android.car.settings.system.FactoryResetFragment"
android:key="@string/pk_factory_reset"
android:title="@string/factory_reset_title"
android:summary="@string/factory_reset_summary"
settings:controller="com.android.car.settings.system.FactoryResetEntryPreferenceController"/>
</PreferenceScreen>

View File

@@ -0,0 +1,40 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
Copyright 2019 The Android Open Source Project
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->
<PreferenceScreen
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:settings="http://schemas.android.com/apk/res-auto"
android:title="@string/wifi_control_title"
android:key="@string/psk_wifi_control">
<com.android.car.settings.common.ColoredSwitchPreference
android:key="@string/pk_wifi_control_hide_system_switch"
android:title="@string/hide_system_apps"
style="@style/ColoredSwitchPreferenceStyle"
settings:controller="com.android.car.settings.applications.HideSystemSwitchPreferenceController"
settings:occupant_front_passenger="read"
settings:occupant_rear_passenger="read"
settings:searchable="false"/>
<Preference
android:key="@string/pk_wifi_control_description"
android:selectable="false"
android:summary="@string/wifi_control_description"/>
<com.android.car.settings.common.LogicalPreferenceGroup
android:key="@string/pk_wifi_control"
settings:controller="com.android.car.settings.applications.specialaccess.WifiControlPreferenceController"
settings:occupant_front_passenger="read"
settings:occupant_rear_passenger="read"/>
</PreferenceScreen>

View File

@@ -0,0 +1,95 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
Copyright 2018 The Android Open Source Project
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->
<PreferenceScreen
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:settings="http://schemas.android.com/apk/res-auto"
android:title="@string/wifi_network_detail"
android:key="@string/psk_wifi_detail">
<com.android.car.settings.common.EntityHeaderPreference
android:key="@string/pk_wifi_details_header"
settings:controller="com.android.car.settings.wifi.details.WifiDetailsHeaderPreferenceController"
settings:searchable="false"/>
<com.android.car.settings.common.ActionButtonsPreference
android:key="@string/pk_wifi_details_action_buttons"
settings:controller="com.android.car.settings.wifi.details.WifiDetailsActionButtonsPreferenceController"
settings:searchable="false"/>
<!-- General Details Category -->
<com.android.car.settings.common.LogicalPreferenceGroup>
<com.android.car.settings.wifi.details.WifiDetailsPreference
android:key="@string/pk_wifi_signal_strength"
android:selectable="false"
android:title="@string/wifi_signal_strength"
settings:controller="com.android.car.settings.wifi.details.WifiSignalStrengthPreferenceController"/>
<com.android.car.settings.wifi.details.WifiDetailsPreference
android:key="@string/pk_wifi_frequency"
android:selectable="false"
android:title="@string/wifi_frequency"
settings:controller="com.android.car.settings.wifi.details.WifiFrequencyPreferenceController"/>
<com.android.car.settings.wifi.details.WifiDetailsPreference
android:key="@string/pk_wifi_security"
android:selectable="false"
android:title="@string/wifi_security"
settings:controller="com.android.car.settings.wifi.details.WifiSecurityPreferenceController"/>
</com.android.car.settings.common.LogicalPreferenceGroup>
<!-- Ip Details Category -->
<PreferenceCategory
android:title="@string/wifi_network_detail">
<com.android.car.settings.wifi.details.WifiDetailsPreference
android:key="@string/pk_wifi_mac_address"
android:selectable="false"
android:title="@string/wifi_mac_address"
settings:controller="com.android.car.settings.wifi.details.WifiMacAddressPreferenceController"/>
<com.android.car.settings.wifi.details.WifiDetailsPreference
android:key="@string/pk_wifi_ip"
android:selectable="false"
android:title="@string/wifi_ip_address"
settings:controller="com.android.car.settings.wifi.details.WifiIpAddressPreferenceController"/>
<com.android.car.settings.wifi.details.WifiDetailsPreference
android:key="@string/pk_wifi_gateway"
android:selectable="false"
android:title="@string/wifi_gateway"
settings:controller="com.android.car.settings.wifi.details.WifiGatewayPreferenceController"/>
<com.android.car.settings.wifi.details.WifiDetailsPreference
android:key="@string/pk_wifi_subnet_mask"
android:selectable="false"
android:title="@string/wifi_subnet_mask"
settings:controller="com.android.car.settings.wifi.details.WifiSubnetPreferenceController"/>
<com.android.car.settings.wifi.details.WifiDetailsPreference
android:key="@string/pk_wifi_dns"
android:selectable="false"
android:title="@string/wifi_dns"
settings:controller="com.android.car.settings.wifi.details.WifiDnsPreferenceController"/>
<com.android.car.settings.wifi.details.WifiDetailsPreference
android:key="@string/pk_wifi_link_speed"
android:selectable="false"
android:title="@string/wifi_speed"
settings:controller="com.android.car.settings.wifi.details.WifiLinkSpeedPreferenceController"/>
</PreferenceCategory>
<!-- IPv6 Details -->
<PreferenceCategory
android:selectable="false"
android:title="@string/wifi_details_ipv6_address_header">
<com.android.car.ui.preference.CarUiPreference
android:key="@string/pk_wifi_ipv6"
android:selectable="false"
settings:controller="com.android.car.settings.wifi.details.WifiIpv6AddressPreferenceController"
settings:showChevron="false"/>
</PreferenceCategory>
</PreferenceScreen>

View File

@@ -0,0 +1,49 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- Copyright (C) 2018 The Android Open Source Project
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->
<PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:settings="http://schemas.android.com/apk/res-auto"
android:title="@string/wifi_settings"
android:key="@string/psk_wifi_list">
<com.android.car.settings.common.ColoredSwitchPreference
android:key="@string/pk_wifi_state_switch"
android:title="@string/wifi_settings"
style="@style/ColoredSwitchPreferenceStyle"
settings:controller="com.android.car.settings.wifi.WifiStateSwitchPreferenceController"
settings:occupant_front_passenger="read"
settings:occupant_rear_passenger="read"
settings:searchable="false"/>
<com.android.car.ui.preference.CarUiPreference
android:key="@string/pk_wifi_status"
settings:controller="com.android.car.settings.wifi.WifiStatusPreferenceController"
settings:occupant_front_passenger="read"
settings:occupant_rear_passenger="read"
settings:showChevron="false"/>
<com.android.car.settings.common.LogicalPreferenceGroup
android:key="@string/pk_wifi_list"
settings:controller="com.android.car.settings.wifi.WifiEntryListPreferenceController"
settings:occupant_front_passenger="read"
settings:occupant_rear_passenger="read"/>
<com.android.car.ui.preference.CarUiPreference
android:fragment="com.android.car.settings.wifi.AddWifiFragment"
android:icon="@drawable/ic_add"
android:key="@string/pk_add_wifi"
android:title="@string/wifi_setup_add_network"
settings:controller="com.android.car.settings.wifi.AddWifiPreferenceController"
settings:occupant_front_passenger="read"
settings:occupant_rear_passenger="read"
settings:showChevron="false"/>
</PreferenceScreen>

View File

@@ -0,0 +1,38 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
Copyright 2019 The Android Open Source Project
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->
<PreferenceScreen
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:settings="http://schemas.android.com/apk/res-auto"
android:title="@string/wifi_preferences_title"
android:key="@string/psk_wifi_preferences">
<SwitchPreference
android:key="@string/pk_enable_wifi_wakeup"
android:title="@string/wifi_wakeup"
android:icon="@drawable/ic_settings_auto_wifi"
android:summary="@string/wifi_wakeup_summary"
settings:controller="com.android.car.settings.wifi.preferences.WifiWakeupTogglePreferenceController"
settings:occupant_front_passenger="read"
settings:occupant_rear_passenger="read"/>
<SwitchPreference
android:key="@string/pk_wifi_cellular_fallback"
android:summary="@string/wifi_cellular_fallback_summary"
android:title="@string/wifi_cellular_fallback_title"
settings:controller="com.android.car.settings.wifi.preferences.CellularFallbackTogglePreferenceController"
settings:occupant_front_passenger="read"
settings:occupant_rear_passenger="read"/>
</PreferenceScreen>

View File

@@ -0,0 +1,74 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- Copyright (C) 2019 The Android Open Source Project
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->
<PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:settings="http://schemas.android.com/apk/res-auto"
android:title="@string/tether_settings_title_all"
android:key="@string/psk_wifi_tether">
<com.android.car.settings.common.ColoredSwitchPreference
android:key="@string/pk_wifi_tether_state_switch"
android:title="@string/wifi_hotspot_switch_title"
style="@style/ColoredSwitchPreferenceStyle"
settings:occupant_front_passenger="read"
settings:occupant_rear_passenger="read"
settings:controller="com.android.car.settings.wifi.WifiTetherStateSwitchPreferenceController"
settings:searchable="false"/>
<com.android.car.settings.wifi.preferences.WifiTetherQrCodePreference
android:key="@string/pk_wifi_tether_qr_code"
android:selectable="false"
settings:controller="com.android.car.settings.wifi.WifiTetherQrCodePreferenceController"
settings:showChevron="false"/>
<com.android.car.settings.common.ValidatedEditTextPreference
android:key="@string/pk_wifi_tether_name"
android:title="@string/wifi_hotspot_name_title"
settings:occupant_front_passenger="read"
settings:occupant_rear_passenger="read"
settings:controller="com.android.car.settings.wifi.WifiTetherNamePreferenceController"
settings:showChevron="false"/>
<com.android.car.settings.common.ValidatedEditTextPreference
android:key="@string/pk_wifi_tether_password"
android:title="@string/wifi_hotspot_password_title"
android:persistent="false"
settings:occupant_front_passenger="read"
settings:occupant_rear_passenger="read"
settings:controller="com.android.car.settings.wifi.WifiTetherPasswordPreferenceController"
settings:showChevron="false"/>
<com.android.car.settings.common.DividerPreference/>
<SwitchPreference
android:key="@string/pk_wifi_tether_auto_off"
android:title="@string/wifi_hotspot_auto_off_title"
android:summary="@string/wifi_hotspot_auto_off_summary"
android:persistent="false"
settings:occupant_front_passenger="read"
settings:occupant_rear_passenger="read"
settings:controller="com.android.car.settings.wifi.WifiTetherAutoOffPreferenceController"/>
<ListPreference
android:key="@string/pk_wifi_tether_security"
android:title="@string/wifi_hotspot_security_title"
android:dialogTitle="@string/wifi_hotspot_security_title"
android:persistent="false"
settings:occupant_front_passenger="read"
settings:occupant_rear_passenger="read"
settings:controller="com.android.car.settings.wifi.WifiTetherSecurityPreferenceController"/>
<ListPreference
android:key="@string/pk_wifi_tether_ap_band"
android:title="@string/wifi_hotspot_ap_band_title"
android:dialogTitle="@string/wifi_hotspot_ap_band_title"
android:persistent="false"
settings:occupant_front_passenger="read"
settings:occupant_rear_passenger="read"
settings:controller="com.android.car.settings.wifi.WifiTetherApBandPreferenceController"/>
</PreferenceScreen>