1<?xml version="1.0" encoding="utf-8"?>
2<!-- Copyright (C) 2022 The Android Open Source Project
3     Licensed under the Apache License, Version 2.0 (the "License");
4     you may not use this file except in compliance with the License.
5     You may obtain a copy of the License at
6          http://www.apache.org/licenses/LICENSE-2.0
7     Unless required by applicable law or agreed to in writing, software
8     distributed under the License is distributed on an "AS IS" BASIS,
9     WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
10     See the License for the specific language governing permissions and
11     limitations under the License.
12-->
13
14<!-- These values can be used to control CarService stack behavior/features on individual devices.
15     These can be overridden by OEM's by using an RRO overlay app.
16     See CarServiceOverlay*.apk for sample overlay apps.
17     For Static RROs: Based on the target, define priority in this range
18     Android                  1 - 999
19     SOC vendor            1000 - 1999
20     Supplier              2000 - 4999
21     Car OEM               5000 - 7999
22     For Dynamic RROs: Use ro.android.car.carservice.overlay.packages system property to define
23     dynamic RROs. Currently it is recommended to use only one dynamic RRO for CarService
24     resource overlay.
25     -->
26<resources xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2">
27    <overlayable name="CarServiceCustomization">
28        <!-- START VENDOR CUSTOMIZATION -->
29        <policy type="product|system|vendor|odm|oem">
30          <!-- Params from config.xml that can be overlaid -->
31          <item type="bool" name="audioUseDynamicRouting"/>
32          <item type="bool" name="audioUseCoreVolume"/>
33          <item type="bool" name="audioUseCoreRouting"/>
34          <item type="bool" name="audioUseCarVolumeGroupMuting"/>
35          <item type="bool" name="audioUseHalDuckingSignals"/>
36          <item type="integer" name="audioVolumeAdjustmentContextsVersion"/>
37          <item type="bool" name="audioPersistMasterMuteState"/>
38          <item type="integer" name="audioVolumeKeyEventTimeoutMs"/>
39          <item type="bool" name="audioUseCarVolumeGroupEvent"/>
40          <item type="bool" name="audioUseFadeManagerConfiguration"/>
41          <item type="bool" name="audioUseMinMaxActivationVolume"/>
42          <item type="bool" name="audioUseIsolatedAudioFocusForDynamicDevices"/>
43          <item type="bool" name="audioEnableVolumeKeyEventsToDynamicDevices"/>
44          <item type="bool" name="displayOffMuteLockAllAudio"/>
45          <item type="bool" name="useDefaultBluetoothConnectionPolicy"/>
46          <item type="bool" name="useDefaultBluetoothPowerPolicy"/>
47          <item type="string" name="instrumentClusterRendererService" translatable="false"/>
48          <item type="string" name="config_clusterHomeActivity" translatable="false"/>
49          <item type="integer" name="config_clusterHomeServiceMode"/>
50          <item type="string" name="rotaryService" translatable="false"/>
51          <item type="bool" name="enableActivityBlockingForSafety"/>
52          <item type="string" name="activityBlockingActivity" translatable="false"/>
53          <item type="string" name="continuousBlankActivity" translatable="false"/>
54          <item type="string" name="activityAllowlist" translatable="false"/>
55          <item type="string" name="systemActivityAllowlist" translatable="false"/>
56          <item type="string" name="activityDenylist" translatable="false"/>
57          <item type="array" name="allowedAppInstallSources" translatable="false"/>
58          <item type="string" name="defaultHomeActivity" translatable="false"/>
59          <item type="integer" name="vmsHalClientMetricsProperty"/>
60          <item type="array" name="vmsPublisherSystemClients" translatable="false"/>
61          <item type="array" name="vmsPublisherUserClients" translatable="false"/>
62          <item type="integer" name="millisecondsBeforeRebindToVmsPublisher"/>
63          <item type="integer" name="acceptableHoursPerOnePercentFlashWear"/>
64          <item type="integer" name="uptimeHoursIntervalBetweenUptimeDataWrite"/>
65          <item type="string" name="activityHandlerForFlashWearChanges" translatable="false"/>
66          <item type="integer" name="ioStatsRefreshRateSeconds"/>
67          <item type="integer" name="ioStatsNumSamplesToStore"/>
68          <item type="integer" name="acceptableWrittenKBytesPerSample"/>
69          <item type="integer" name="acceptableFsyncCallsPerSample"/>
70          <item type="integer" name="maxExcessiveIoSamplesInWindow"/>
71          <item type="integer" name="watchdogUserPackageSettingsResetDays" />
72          <item type="integer" name="recurringResourceOverusePeriodInDays"/>
73          <item type="integer" name="recurringResourceOveruseTimes"/>
74          <item type="integer" name="uidIoUsageSummaryTopCount"/>
75          <item type="integer" name="ioUsageSummaryMinSystemTotalWrittenBytes"/>
76          <item type="string" name="intentReceiverForUnacceptableIoMetrics" translatable="false"/>
77          <item type="string" name="eMmcLifetimeFilePath" translatable="false"/>
78          <item type="string" name="eMmcEolFilePath" translatable="false"/>
79          <item type="integer" name="fastPairModelId"/>
80          <item type="string" name="fastPairAntiSpoofKey" translatable="false"/>
81          <item type="bool" name="fastPairAutomaticAcceptance"/>
82          <item type="integer" name="maxGarageModeRunningDurationInSecs"/>
83          <item type="array" name="config_earlyStartupServices" translatable="false"/>
84          <item type="string" name="config_projectionConsentActivity" translatable="false"/>
85          <item type="integer" name="config_projectionActivityDisplayId"/>
86          <item type="array" name="config_projectionActivityLaunchBounds"/>
87          <item type="integer" name="config_projectionUiMode"/>
88          <item type="bool" name="config_projectionAccessPointTethering"/>
89          <item type="bool" name="config_stableLocalOnlyHotspotConfig"/>
90          <item type="string" name="serviceMediaConnection" translatable="false"/>
91          <item type="string" name="config_car_bugreport_application" translatable="false"/>
92          <item type="array" name="config_occupant_zones" translatable="false"/>
93          <item type="array" name="config_occupant_display_mapping" translatable="false"/>
94          <item type="string" name="config_userNoticeUiService" translatable="false"/>
95          <item type="string" name="config_userPickerActivity" translatable="false"/>
96          <item type="integer" name="config_mediaSourceChangedAutoplay"/>
97          <item type="integer" name="config_mediaBootAutoplay"/>
98          <item type="bool" name="config_mediaSourceIndependentPlayback"/>
99          <item type="array" name="config_allowed_optional_car_features" translatable="false"/>
100          <item type="bool" name="enablePassengerSupport"/>
101          <item type="string" name="config_customCountryDetector" translatable="false"/>
102          <item type="bool" name="enableLongPressBluetoothVoiceRecognition"/>
103          <item type="bool" name="config_switchGuestUserBeforeGoingSleep"/>
104          <item type="bool" name="enableProfileUserAssignmentForMultiDisplay"/>
105          <item type="string" name="config_defaultMediaSource" translatable="false"/>
106          <item type="bool" name="config_callButtonEndsOngoingCall"/>
107          <item type="integer" name="config_maxSuspendWaitDuration"/>
108          <item type="integer" name="config_preShutdownPrepareTimeout"/>
109          <item type="integer" name="config_shutdownEnterTimeout"/>
110          <item type="integer" name="config_postShutdownEnterTimeout"/>
111          <item type="bool" name="config_enablePassengerDisplayPowerSaving"/>
112          <item type="integer" name="config_noUserScreenOffTimeout"/>
113          <item type="string" name="config_evsRearviewCameraId" translatable="false"/>
114          <item type="string" name="config_evsCameraActivity" translatable="false"/>
115          <item type="array" name="config_carEvsService" translatable="false" />
116          <item type="bool" name="config_wifiAdjustmentForSuspend"/>
117          <item type="bool" name="config_enableCarLocationServiceGnssControlsForPowerManagement"/>
118          <item type="bool" name="config_preventTemplatedAppsFromShowingDialog"/>
119          <item type="string" name="config_template_activity_class_name" translatable="false"/>
120          <item type="bool" name="config_enableExternalCarTimeToExternalTimeSuggestion"/>
121          <item type="string" name="config_oemCarService" translatable="false"/>
122          <item type="integer" name="config_oemCarService_connection_timeout_ms"/>
123          <item type="integer" name="config_oemCarService_serviceReady_timeout_ms"/>
124          <item type="integer" name="config_oemCarService_regularCall_timeout_ms"/>
125          <item type="integer" name="config_oemCarService_crashCall_timeout_ms"/>
126          <item type="integer" name="config_oemCarService_thread_pool_size"/>
127          <item type="integer" name="config_allowedSystemUptimeForRemoteAccess"/>
128          <item type="bool" name="config_assignPassengerActivityToForegroundCpuGroup"/>
129          <item type="integer" name="config_notifyApStateChange_max_retry"/>
130          <item type="integer" name="config_notifyApStateChange_retry_sleep_ms"/>
131          <item type="fraction" name="config_clusterHomeVisibility_minAlpha"/>
132          <item type="fraction" name="config_clusterHomeVisibility_minRendered"/>
133          <item type="integer" name="config_clusterHomeVisibility_stabilityMs"/>
134          <item type="bool" name="config_enablePersistTetheringCapabilities" />
135          <item type="array" name="config_packages_not_to_stop_during_suspend" translatable="false"/>
136          <item type="string" name="config_suspend_to_disk_memory_savings" translatable="false"/>
137          <!-- Params from config.xml that can be overlaid -->
138
139          <!-- XML files that can be overlaid -->
140          <item type="xml" name="car_ux_restrictions_map"/>
141          <item type="xml" name="remote_access_serverless_client_map"/>
142          <!-- XML files that can be overlaid -->
143        </policy>
144        <!-- END VENDOR CUSTOMIZATION -->
145    </overlayable>
146</resources>
147