Add DeviceConfigs for Usage Setting

Add overlays to allow vendors to specify the modem's
supported usage settings and default usage setting.

Bug: 210023167
Test: atest SubscriptionInfoUpdaterTest#testCalculateUsageSetting
Change-Id: I81c6d1c644f2f39df1a849b538763c3880aa8953
This commit is contained in:
Nathan Harold
2021-11-03 16:50:33 -07:00
parent e93321c149
commit 95aeb151f6
2 changed files with 16 additions and 0 deletions

View File

@@ -3333,6 +3333,20 @@
and one pSIM) -->
<integer name="config_num_physical_slots">1</integer>
<!--The default "usage setting" indicating that the device is either a voice-centric
device (1) or a data-centric device (2). A voice-centric device will require that any cellular
service that it uses provides access to voice capability, and a data-centric device will
likewise require that the network provides access to data services. These settings are
sent to the cellular modem and control the behavior in accordance with 3gpp TS 24.301 sec 4.3
(and equivalent functionality in other generations of cellular).-->
<integer name="config_default_cellular_usage_setting">1</integer>
<!--The list of supported cellular usage settings for this device.-->
<integer-array translatable="false" name="config_supported_cellular_usage_settings">
<item>1</item> <!-- USAGE_SETTING_VOICE_CENTRIC -->
<item>2</item> <!-- USAGE_SETTING_DATA_CENTRIC -->
</integer-array>
<!-- When a radio power off request is received, we will delay completing the request until
either IMS moves to the deregistered state or the timeout defined by this configuration
elapses. If 0, this feature is disabled and we do not delay radio power off requests.-->

View File

@@ -492,6 +492,8 @@
<java-symbol type="string" name="config_deviceSpecificDevicePolicyManagerService" />
<java-symbol type="string" name="config_deviceSpecificAudioService" />
<java-symbol type="integer" name="config_num_physical_slots" />
<java-symbol type="integer" name="config_default_cellular_usage_setting" />
<java-symbol type="array" name="config_supported_cellular_usage_settings" />
<java-symbol type="integer" name="config_delay_for_ims_dereg_millis" />
<java-symbol type="array" name="config_integrityRuleProviderPackages" />
<java-symbol type="bool" name="config_useAssistantVolume" />