Merge Android 12 QPR3 ab/8391262
Bug: 226662282 Merged-In: Iffbd2ee10ed3485c8060f0b3e36e6730fe48fd2b Change-Id: I0b367368946f7147acf241c5a88b8f31e4ba7f13
This commit is contained in:
commit
be87d1152a
32 changed files with 6566 additions and 1043 deletions
|
@ -37,4 +37,6 @@ PRODUCT_MAKEFILES := \
|
||||||
|
|
||||||
COMMON_LUNCH_CHOICES := \
|
COMMON_LUNCH_CHOICES := \
|
||||||
aosp_slider-userdebug \
|
aosp_slider-userdebug \
|
||||||
aosp_whitefin-userdebug
|
aosp_whitefin-userdebug \
|
||||||
|
aosp_oriole-userdebug \
|
||||||
|
aosp_raven-userdebug
|
||||||
|
|
|
@ -23,7 +23,8 @@ PRODUCT_COPY_FILES += \
|
||||||
device/google/raviole/audio/$(AUDIO_TABLE_FOLDER)/config/audio_policy_configuration_a2dp_offload_disabled.xml:$(TARGET_COPY_OUT_VENDOR)/etc/audio_policy_configuration_a2dp_offload_disabled.xml \
|
device/google/raviole/audio/$(AUDIO_TABLE_FOLDER)/config/audio_policy_configuration_a2dp_offload_disabled.xml:$(TARGET_COPY_OUT_VENDOR)/etc/audio_policy_configuration_a2dp_offload_disabled.xml \
|
||||||
device/google/raviole/audio/$(AUDIO_TABLE_FOLDER)/config/audio_platform_configuration.xml:$(TARGET_COPY_OUT_VENDOR)/etc/audio_platform_configuration.xml \
|
device/google/raviole/audio/$(AUDIO_TABLE_FOLDER)/config/audio_platform_configuration.xml:$(TARGET_COPY_OUT_VENDOR)/etc/audio_platform_configuration.xml \
|
||||||
device/google/raviole/audio/$(AUDIO_TABLE_FOLDER)/config/sound_trigger_configuration.xml:$(TARGET_COPY_OUT_VENDOR)/etc/sound_trigger_configuration.xml \
|
device/google/raviole/audio/$(AUDIO_TABLE_FOLDER)/config/sound_trigger_configuration.xml:$(TARGET_COPY_OUT_VENDOR)/etc/sound_trigger_configuration.xml \
|
||||||
device/google/raviole/audio/$(AUDIO_TABLE_FOLDER)/config/audio_policy_volumes.xml:$(TARGET_COPY_OUT_VENDOR)/etc/audio_policy_volumes.xml
|
device/google/raviole/audio/$(AUDIO_TABLE_FOLDER)/config/audio_policy_volumes.xml:$(TARGET_COPY_OUT_VENDOR)/etc/audio_policy_volumes.xml \
|
||||||
|
device/google/raviole/audio/$(AUDIO_TABLE_FOLDER)/config/bluetooth_audio_policy_configuration_7_0.xml:$(TARGET_COPY_OUT_VENDOR)/etc/bluetooth_audio_policy_configuration_7_0.xml
|
||||||
|
|
||||||
# AudioEffectHAL Configuration
|
# AudioEffectHAL Configuration
|
||||||
PRODUCT_COPY_FILES += \
|
PRODUCT_COPY_FILES += \
|
||||||
|
|
|
@ -10,6 +10,7 @@
|
||||||
<library name="proxy" path="libeffectproxy.so"/>
|
<library name="proxy" path="libeffectproxy.so"/>
|
||||||
<library name="offload_effect" path="liboffloadeffect.so"/>
|
<library name="offload_effect" path="liboffloadeffect.so"/>
|
||||||
<library name="haptic_generator" path="libhapticgenerator.so"/>
|
<library name="haptic_generator" path="libhapticgenerator.so"/>
|
||||||
|
<library name="spatializer" path="libspatialaudio.so"/>
|
||||||
</libraries>
|
</libraries>
|
||||||
<effects>
|
<effects>
|
||||||
<effectProxy name="bassboost" library="proxy" uuid="2f0871a2-c93c-4824-9664-42eb2909f2ef">
|
<effectProxy name="bassboost" library="proxy" uuid="2f0871a2-c93c-4824-9664-42eb2909f2ef">
|
||||||
|
@ -51,6 +52,7 @@
|
||||||
<effect name="ns" library="offload_effect" uuid="62ff2836-d050-43c3-9c2d-94a73dad2c64"/>
|
<effect name="ns" library="offload_effect" uuid="62ff2836-d050-43c3-9c2d-94a73dad2c64"/>
|
||||||
<effect name="haptic_generator" library="haptic_generator" uuid="97c4acd1-8b82-4f2f-832e-c2fe5d7a9931"/>
|
<effect name="haptic_generator" library="haptic_generator" uuid="97c4acd1-8b82-4f2f-832e-c2fe5d7a9931"/>
|
||||||
<effect name="dynamics_processing" library="dynamics_processing" uuid="e0e6539b-1781-7261-676f-6d7573696340"/>
|
<effect name="dynamics_processing" library="dynamics_processing" uuid="e0e6539b-1781-7261-676f-6d7573696340"/>
|
||||||
|
<effect name="spatializer" library="spatializer" uuid="cc4677de-ff72-11eb-9a03-0242ac130003"/>
|
||||||
</effects>
|
</effects>
|
||||||
<postprocess>
|
<postprocess>
|
||||||
</postprocess>
|
</postprocess>
|
||||||
|
|
|
@ -182,6 +182,7 @@
|
||||||
<usecase id="UC_DEEP_BUFFER_PLAYBACK" dev1="5" dyn_path="true" dsp_vol="false" mmap="false" period="20" period_num="4"/>
|
<usecase id="UC_DEEP_BUFFER_PLAYBACK" dev1="5" dyn_path="true" dsp_vol="false" mmap="false" period="20" period_num="4"/>
|
||||||
<!-- dev1: voice-call downlink dev2: voice-clal uplink -->
|
<!-- dev1: voice-call downlink dev2: voice-clal uplink -->
|
||||||
<usecase id="UC_VOICE_CALL" dev1="4" dev2="11"/>
|
<usecase id="UC_VOICE_CALL" dev1="4" dev2="11"/>
|
||||||
|
<usecase id="UC_IMMERSIVE_PLAYBACK" dev1="3"/>
|
||||||
<!-- for output with AUDIO_OUTPUT_FLAG_COMPRESS_OFFLOAD, 4 * 128KB buffer -->
|
<!-- for output with AUDIO_OUTPUT_FLAG_COMPRESS_OFFLOAD, 4 * 128KB buffer -->
|
||||||
<usecase id="UC_COMPRESSED_OFFLOAD_PLAYBACK" dev1="6" dyn_path="true" dsp_vol="true" mmap="false" period="131072" period_num="4" pre_proc_id="14"/>
|
<usecase id="UC_COMPRESSED_OFFLOAD_PLAYBACK" dev1="6" dyn_path="true" dsp_vol="true" mmap="false" period="131072" period_num="4" pre_proc_id="14"/>
|
||||||
<!-- dev1: audio dev2: haptic -->
|
<!-- dev1: audio dev2: haptic -->
|
||||||
|
|
|
@ -63,6 +63,10 @@
|
||||||
<profile name="" format="AUDIO_FORMAT_PCM_16_BIT"
|
<profile name="" format="AUDIO_FORMAT_PCM_16_BIT"
|
||||||
samplingRates="48000" channelMasks="AUDIO_CHANNEL_OUT_STEREO"/>
|
samplingRates="48000" channelMasks="AUDIO_CHANNEL_OUT_STEREO"/>
|
||||||
</mixPort>
|
</mixPort>
|
||||||
|
<mixPort name="immersive_out" role="source" flags="AUDIO_OUTPUT_FLAG_FAST AUDIO_OUTPUT_FLAG_DEEP_BUFFER">
|
||||||
|
<profile name="" format="AUDIO_FORMAT_PCM_FLOAT"
|
||||||
|
samplingRates="48000" channelMasks="AUDIO_CHANNEL_OUT_STEREO"/>
|
||||||
|
</mixPort>
|
||||||
<mixPort name="incall playback" role="source"
|
<mixPort name="incall playback" role="source"
|
||||||
flags="AUDIO_OUTPUT_FLAG_INCALL_MUSIC">
|
flags="AUDIO_OUTPUT_FLAG_INCALL_MUSIC">
|
||||||
<profile name="" format="AUDIO_FORMAT_PCM_16_BIT"
|
<profile name="" format="AUDIO_FORMAT_PCM_16_BIT"
|
||||||
|
@ -185,21 +189,21 @@
|
||||||
<!-- route declaration, i.e. list all available sources for a given sink -->
|
<!-- route declaration, i.e. list all available sources for a given sink -->
|
||||||
<routes>
|
<routes>
|
||||||
<route type="mix" sink="Speaker"
|
<route type="mix" sink="Speaker"
|
||||||
sources="primary output,deep buffer,haptic,raw,compressed_offload,mmap_no_irq_out,voip_rx"/>
|
sources="primary output,deep buffer,haptic,raw,compressed_offload,mmap_no_irq_out,voip_rx,immersive_out"/>
|
||||||
<route type="mix" sink="Speaker Safe"
|
<route type="mix" sink="Speaker Safe"
|
||||||
sources="primary output,deep buffer,haptic,raw,compressed_offload,mmap_no_irq_out,voip_rx"/>
|
sources="primary output,deep buffer,haptic,raw,compressed_offload,mmap_no_irq_out,voip_rx"/>
|
||||||
<route type="mix" sink="Earpiece"
|
<route type="mix" sink="Earpiece"
|
||||||
sources="primary output,deep buffer,haptic,raw,compressed_offload,mmap_no_irq_out,voip_rx"/>
|
sources="primary output,deep buffer,haptic,raw,compressed_offload,mmap_no_irq_out,voip_rx"/>
|
||||||
<route type="mix" sink="BT A2DP Out"
|
<route type="mix" sink="BT A2DP Out"
|
||||||
sources="primary output,deep buffer,haptic,compressed_offload,voip_rx"/>
|
sources="primary output,deep buffer,haptic,compressed_offload,voip_rx,immersive_out"/>
|
||||||
<route type="mix" sink="BT A2DP Headphones"
|
<route type="mix" sink="BT A2DP Headphones"
|
||||||
sources="primary output,deep buffer,haptic,compressed_offload,voip_rx"/>
|
sources="primary output,deep buffer,haptic,compressed_offload,voip_rx,immersive_out"/>
|
||||||
<route type="mix" sink="BT A2DP Speaker"
|
<route type="mix" sink="BT A2DP Speaker"
|
||||||
sources="primary output,deep buffer,haptic,compressed_offload,voip_rx"/>
|
sources="primary output,deep buffer,haptic,compressed_offload,voip_rx,immersive_out"/>
|
||||||
<route type="mix" sink="USB Device Out"
|
<route type="mix" sink="USB Device Out"
|
||||||
sources="primary output,deep buffer,haptic,raw,compressed_offload,mmap_no_irq_out,voip_rx,hifi_playback"/>
|
sources="primary output,deep buffer,haptic,raw,compressed_offload,mmap_no_irq_out,voip_rx,hifi_playback,immersive_out"/>
|
||||||
<route type="mix" sink="USB Headset Out"
|
<route type="mix" sink="USB Headset Out"
|
||||||
sources="primary output,deep buffer,haptic,raw,compressed_offload,mmap_no_irq_out,voip_rx,hifi_playback"/>
|
sources="primary output,deep buffer,haptic,raw,compressed_offload,mmap_no_irq_out,voip_rx,hifi_playback,immersive_out"/>
|
||||||
<route type="mix" sink="BT SCO"
|
<route type="mix" sink="BT SCO"
|
||||||
sources="primary output,deep buffer,haptic,compressed_offload,voip_rx"/>
|
sources="primary output,deep buffer,haptic,compressed_offload,voip_rx"/>
|
||||||
<route type="mix" sink="BT SCO Headset"
|
<route type="mix" sink="BT SCO Headset"
|
||||||
|
|
|
@ -63,6 +63,10 @@
|
||||||
<profile name="" format="AUDIO_FORMAT_PCM_16_BIT"
|
<profile name="" format="AUDIO_FORMAT_PCM_16_BIT"
|
||||||
samplingRates="48000" channelMasks="AUDIO_CHANNEL_OUT_STEREO"/>
|
samplingRates="48000" channelMasks="AUDIO_CHANNEL_OUT_STEREO"/>
|
||||||
</mixPort>
|
</mixPort>
|
||||||
|
<mixPort name="immersive_out" role="source" flags="AUDIO_OUTPUT_FLAG_FAST AUDIO_OUTPUT_FLAG_DEEP_BUFFER">
|
||||||
|
<profile name="" format="AUDIO_FORMAT_PCM_FLOAT"
|
||||||
|
samplingRates="48000" channelMasks="AUDIO_CHANNEL_OUT_STEREO"/>
|
||||||
|
</mixPort>
|
||||||
<mixPort name="incall playback" role="source"
|
<mixPort name="incall playback" role="source"
|
||||||
flags="AUDIO_OUTPUT_FLAG_INCALL_MUSIC">
|
flags="AUDIO_OUTPUT_FLAG_INCALL_MUSIC">
|
||||||
<profile name="" format="AUDIO_FORMAT_PCM_16_BIT"
|
<profile name="" format="AUDIO_FORMAT_PCM_16_BIT"
|
||||||
|
@ -170,15 +174,15 @@
|
||||||
<!-- route declaration, i.e. list all available sources for a given sink -->
|
<!-- route declaration, i.e. list all available sources for a given sink -->
|
||||||
<routes>
|
<routes>
|
||||||
<route type="mix" sink="Speaker"
|
<route type="mix" sink="Speaker"
|
||||||
sources="primary output,deep buffer,haptic,raw,compressed_offload,mmap_no_irq_out,voip_rx"/>
|
sources="primary output,deep buffer,haptic,raw,compressed_offload,mmap_no_irq_out,voip_rx,immersive_out"/>
|
||||||
<route type="mix" sink="Speaker Safe"
|
<route type="mix" sink="Speaker Safe"
|
||||||
sources="primary output,deep buffer,haptic,raw,compressed_offload,mmap_no_irq_out,voip_rx"/>
|
sources="primary output,deep buffer,haptic,raw,compressed_offload,mmap_no_irq_out,voip_rx"/>
|
||||||
<route type="mix" sink="Earpiece"
|
<route type="mix" sink="Earpiece"
|
||||||
sources="primary output,deep buffer,haptic,raw,compressed_offload,mmap_no_irq_out,voip_rx"/>
|
sources="primary output,deep buffer,haptic,raw,compressed_offload,mmap_no_irq_out,voip_rx"/>
|
||||||
<route type="mix" sink="USB Device Out"
|
<route type="mix" sink="USB Device Out"
|
||||||
sources="primary output,deep buffer,haptic,raw,compressed_offload,mmap_no_irq_out,voip_rx,hifi_playback"/>
|
sources="primary output,deep buffer,haptic,raw,compressed_offload,mmap_no_irq_out,voip_rx,hifi_playback,immersive_out"/>
|
||||||
<route type="mix" sink="USB Headset Out"
|
<route type="mix" sink="USB Headset Out"
|
||||||
sources="primary output,deep buffer,haptic,raw,compressed_offload,mmap_no_irq_out,voip_rx,hifi_playback"/>
|
sources="primary output,deep buffer,haptic,raw,compressed_offload,mmap_no_irq_out,voip_rx,hifi_playback,immersive_out"/>
|
||||||
<route type="mix" sink="BT SCO"
|
<route type="mix" sink="BT SCO"
|
||||||
sources="primary output,deep buffer,haptic,compressed_offload,voip_rx"/>
|
sources="primary output,deep buffer,haptic,compressed_offload,voip_rx"/>
|
||||||
<route type="mix" sink="BT SCO Headset"
|
<route type="mix" sink="BT SCO Headset"
|
||||||
|
|
|
@ -0,0 +1,44 @@
|
||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<!-- Bluetooth Audio HAL Audio Policy Configuration file -->
|
||||||
|
<module name="bluetooth" halVersion="2.0">
|
||||||
|
<mixPorts>
|
||||||
|
<!-- A2DP Audio Ports -->
|
||||||
|
<mixPort name="a2dp output" role="source" flags="AUDIO_OUTPUT_FLAG_DEEP_BUFFER AUDIO_OUTPUT_FLAG_FAST"/>
|
||||||
|
<!-- Hearing AIDs Audio Ports -->
|
||||||
|
<mixPort name="hearing aid output" role="source">
|
||||||
|
<profile name="" format="AUDIO_FORMAT_PCM_16_BIT"
|
||||||
|
samplingRates="24000 16000"
|
||||||
|
channelMasks="AUDIO_CHANNEL_OUT_STEREO"/>
|
||||||
|
</mixPort>
|
||||||
|
</mixPorts>
|
||||||
|
<devicePorts>
|
||||||
|
<!-- A2DP Audio Ports -->
|
||||||
|
<devicePort tagName="BT A2DP Out" type="AUDIO_DEVICE_OUT_BLUETOOTH_A2DP" role="sink">
|
||||||
|
<profile name="" format="AUDIO_FORMAT_PCM_16_BIT"
|
||||||
|
samplingRates="44100 48000 88200 96000"
|
||||||
|
channelMasks="AUDIO_CHANNEL_OUT_STEREO"/>
|
||||||
|
</devicePort>
|
||||||
|
<devicePort tagName="BT A2DP Headphones" type="AUDIO_DEVICE_OUT_BLUETOOTH_A2DP_HEADPHONES" role="sink">
|
||||||
|
<profile name="" format="AUDIO_FORMAT_PCM_16_BIT"
|
||||||
|
samplingRates="44100 48000 88200 96000"
|
||||||
|
channelMasks="AUDIO_CHANNEL_OUT_STEREO"/>
|
||||||
|
</devicePort>
|
||||||
|
<devicePort tagName="BT A2DP Speaker" type="AUDIO_DEVICE_OUT_BLUETOOTH_A2DP_SPEAKER" role="sink">
|
||||||
|
<profile name="" format="AUDIO_FORMAT_PCM_16_BIT"
|
||||||
|
samplingRates="44100 48000 88200 96000"
|
||||||
|
channelMasks="AUDIO_CHANNEL_OUT_STEREO"/>
|
||||||
|
</devicePort>
|
||||||
|
<!-- Hearing AIDs Audio Ports -->
|
||||||
|
<devicePort tagName="BT Hearing Aid Out" type="AUDIO_DEVICE_OUT_HEARING_AID" role="sink"/>
|
||||||
|
</devicePorts>
|
||||||
|
<routes>
|
||||||
|
<route type="mix" sink="BT A2DP Out"
|
||||||
|
sources="a2dp output"/>
|
||||||
|
<route type="mix" sink="BT A2DP Headphones"
|
||||||
|
sources="a2dp output"/>
|
||||||
|
<route type="mix" sink="BT A2DP Speaker"
|
||||||
|
sources="a2dp output"/>
|
||||||
|
<route type="mix" sink="BT Hearing Aid Out"
|
||||||
|
sources="hearing aid output"/>
|
||||||
|
</routes>
|
||||||
|
</module>
|
|
@ -429,6 +429,18 @@
|
||||||
<path name="compress-offload-playback" />
|
<path name="compress-offload-playback" />
|
||||||
</path>
|
</path>
|
||||||
|
|
||||||
|
<path name="immersive-playbackP">
|
||||||
|
<ctl name="TDM_0_RX Mixer EP4" value="1"/>
|
||||||
|
</path>
|
||||||
|
|
||||||
|
<path name="immersive-playbackP bt">
|
||||||
|
<ctl name="BT_RX Mixer EP4" value="1"/>
|
||||||
|
</path>
|
||||||
|
|
||||||
|
<path name="immersive-playbackP usb-headphone">
|
||||||
|
<ctl name="USB_RX Mixer EP4" value="1"/>
|
||||||
|
</path>
|
||||||
|
|
||||||
<path name="voip-playbackP">
|
<path name="voip-playbackP">
|
||||||
<ctl name="TDM_0_RX Mixer VOIP" value="1"/>
|
<ctl name="TDM_0_RX Mixer VOIP" value="1"/>
|
||||||
</path>
|
</path>
|
||||||
|
|
Binary file not shown.
File diff suppressed because it is too large
Load diff
|
@ -23,7 +23,8 @@ PRODUCT_COPY_FILES += \
|
||||||
device/google/raviole/audio/$(AUDIO_TABLE_FOLDER)/config/audio_policy_configuration_a2dp_offload_disabled.xml:$(TARGET_COPY_OUT_VENDOR)/etc/audio_policy_configuration_a2dp_offload_disabled.xml \
|
device/google/raviole/audio/$(AUDIO_TABLE_FOLDER)/config/audio_policy_configuration_a2dp_offload_disabled.xml:$(TARGET_COPY_OUT_VENDOR)/etc/audio_policy_configuration_a2dp_offload_disabled.xml \
|
||||||
device/google/raviole/audio/$(AUDIO_TABLE_FOLDER)/config/audio_platform_configuration.xml:$(TARGET_COPY_OUT_VENDOR)/etc/audio_platform_configuration.xml \
|
device/google/raviole/audio/$(AUDIO_TABLE_FOLDER)/config/audio_platform_configuration.xml:$(TARGET_COPY_OUT_VENDOR)/etc/audio_platform_configuration.xml \
|
||||||
device/google/raviole/audio/$(AUDIO_TABLE_FOLDER)/config/sound_trigger_configuration.xml:$(TARGET_COPY_OUT_VENDOR)/etc/sound_trigger_configuration.xml \
|
device/google/raviole/audio/$(AUDIO_TABLE_FOLDER)/config/sound_trigger_configuration.xml:$(TARGET_COPY_OUT_VENDOR)/etc/sound_trigger_configuration.xml \
|
||||||
device/google/raviole/audio/$(AUDIO_TABLE_FOLDER)/config/audio_policy_volumes.xml:$(TARGET_COPY_OUT_VENDOR)/etc/audio_policy_volumes.xml
|
device/google/raviole/audio/$(AUDIO_TABLE_FOLDER)/config/audio_policy_volumes.xml:$(TARGET_COPY_OUT_VENDOR)/etc/audio_policy_volumes.xml \
|
||||||
|
device/google/raviole/audio/$(AUDIO_TABLE_FOLDER)/config/bluetooth_audio_policy_configuration_7_0.xml:$(TARGET_COPY_OUT_VENDOR)/etc/bluetooth_audio_policy_configuration_7_0.xml
|
||||||
|
|
||||||
# AudioEffectHAL Configuration
|
# AudioEffectHAL Configuration
|
||||||
PRODUCT_COPY_FILES += \
|
PRODUCT_COPY_FILES += \
|
||||||
|
|
|
@ -10,6 +10,7 @@
|
||||||
<library name="proxy" path="libeffectproxy.so"/>
|
<library name="proxy" path="libeffectproxy.so"/>
|
||||||
<library name="offload_effect" path="liboffloadeffect.so"/>
|
<library name="offload_effect" path="liboffloadeffect.so"/>
|
||||||
<library name="haptic_generator" path="libhapticgenerator.so"/>
|
<library name="haptic_generator" path="libhapticgenerator.so"/>
|
||||||
|
<library name="spatializer" path="libspatialaudio.so"/>
|
||||||
</libraries>
|
</libraries>
|
||||||
<effects>
|
<effects>
|
||||||
<effectProxy name="bassboost" library="proxy" uuid="2f0871a2-c93c-4824-9664-42eb2909f2ef">
|
<effectProxy name="bassboost" library="proxy" uuid="2f0871a2-c93c-4824-9664-42eb2909f2ef">
|
||||||
|
@ -51,6 +52,7 @@
|
||||||
<effect name="ns" library="offload_effect" uuid="62ff2836-d050-43c3-9c2d-94a73dad2c64"/>
|
<effect name="ns" library="offload_effect" uuid="62ff2836-d050-43c3-9c2d-94a73dad2c64"/>
|
||||||
<effect name="haptic_generator" library="haptic_generator" uuid="97c4acd1-8b82-4f2f-832e-c2fe5d7a9931"/>
|
<effect name="haptic_generator" library="haptic_generator" uuid="97c4acd1-8b82-4f2f-832e-c2fe5d7a9931"/>
|
||||||
<effect name="dynamics_processing" library="dynamics_processing" uuid="e0e6539b-1781-7261-676f-6d7573696340"/>
|
<effect name="dynamics_processing" library="dynamics_processing" uuid="e0e6539b-1781-7261-676f-6d7573696340"/>
|
||||||
|
<effect name="spatializer" library="spatializer" uuid="cc4677de-ff72-11eb-9a03-0242ac130003"/>
|
||||||
</effects>
|
</effects>
|
||||||
<postprocess>
|
<postprocess>
|
||||||
</postprocess>
|
</postprocess>
|
||||||
|
|
|
@ -182,6 +182,7 @@
|
||||||
<usecase id="UC_DEEP_BUFFER_PLAYBACK" dev1="5" dyn_path="true" dsp_vol="false" mmap="false" period="20" period_num="4"/>
|
<usecase id="UC_DEEP_BUFFER_PLAYBACK" dev1="5" dyn_path="true" dsp_vol="false" mmap="false" period="20" period_num="4"/>
|
||||||
<!-- dev1: voice-call downlink dev2: voice-clal uplink -->
|
<!-- dev1: voice-call downlink dev2: voice-clal uplink -->
|
||||||
<usecase id="UC_VOICE_CALL" dev1="4" dev2="11"/>
|
<usecase id="UC_VOICE_CALL" dev1="4" dev2="11"/>
|
||||||
|
<usecase id="UC_IMMERSIVE_PLAYBACK" dev1="3"/>
|
||||||
<!-- for output with AUDIO_OUTPUT_FLAG_COMPRESS_OFFLOAD, 4 * 128KB buffer -->
|
<!-- for output with AUDIO_OUTPUT_FLAG_COMPRESS_OFFLOAD, 4 * 128KB buffer -->
|
||||||
<usecase id="UC_COMPRESSED_OFFLOAD_PLAYBACK" dev1="6" dyn_path="true" dsp_vol="true" mmap="false" period="131072" period_num="4" pre_proc_id="14"/>
|
<usecase id="UC_COMPRESSED_OFFLOAD_PLAYBACK" dev1="6" dyn_path="true" dsp_vol="true" mmap="false" period="131072" period_num="4" pre_proc_id="14"/>
|
||||||
<!-- dev1: audio dev2: haptic -->
|
<!-- dev1: audio dev2: haptic -->
|
||||||
|
|
|
@ -63,6 +63,10 @@
|
||||||
<profile name="" format="AUDIO_FORMAT_PCM_16_BIT"
|
<profile name="" format="AUDIO_FORMAT_PCM_16_BIT"
|
||||||
samplingRates="48000" channelMasks="AUDIO_CHANNEL_OUT_STEREO"/>
|
samplingRates="48000" channelMasks="AUDIO_CHANNEL_OUT_STEREO"/>
|
||||||
</mixPort>
|
</mixPort>
|
||||||
|
<mixPort name="immersive_out" role="source" flags="AUDIO_OUTPUT_FLAG_FAST AUDIO_OUTPUT_FLAG_DEEP_BUFFER">
|
||||||
|
<profile name="" format="AUDIO_FORMAT_PCM_FLOAT"
|
||||||
|
samplingRates="48000" channelMasks="AUDIO_CHANNEL_OUT_STEREO"/>
|
||||||
|
</mixPort>
|
||||||
<mixPort name="incall playback" role="source"
|
<mixPort name="incall playback" role="source"
|
||||||
flags="AUDIO_OUTPUT_FLAG_INCALL_MUSIC">
|
flags="AUDIO_OUTPUT_FLAG_INCALL_MUSIC">
|
||||||
<profile name="" format="AUDIO_FORMAT_PCM_16_BIT"
|
<profile name="" format="AUDIO_FORMAT_PCM_16_BIT"
|
||||||
|
@ -185,21 +189,21 @@
|
||||||
<!-- route declaration, i.e. list all available sources for a given sink -->
|
<!-- route declaration, i.e. list all available sources for a given sink -->
|
||||||
<routes>
|
<routes>
|
||||||
<route type="mix" sink="Speaker"
|
<route type="mix" sink="Speaker"
|
||||||
sources="primary output,deep buffer,haptic,raw,compressed_offload,mmap_no_irq_out,voip_rx"/>
|
sources="primary output,deep buffer,haptic,raw,compressed_offload,mmap_no_irq_out,voip_rx,immersive_out"/>
|
||||||
<route type="mix" sink="Speaker Safe"
|
<route type="mix" sink="Speaker Safe"
|
||||||
sources="primary output,deep buffer,haptic,raw,compressed_offload,mmap_no_irq_out,voip_rx"/>
|
sources="primary output,deep buffer,haptic,raw,compressed_offload,mmap_no_irq_out,voip_rx"/>
|
||||||
<route type="mix" sink="Earpiece"
|
<route type="mix" sink="Earpiece"
|
||||||
sources="primary output,deep buffer,haptic,raw,compressed_offload,mmap_no_irq_out,voip_rx"/>
|
sources="primary output,deep buffer,haptic,raw,compressed_offload,mmap_no_irq_out,voip_rx"/>
|
||||||
<route type="mix" sink="BT A2DP Out"
|
<route type="mix" sink="BT A2DP Out"
|
||||||
sources="primary output,deep buffer,haptic,compressed_offload,voip_rx"/>
|
sources="primary output,deep buffer,haptic,compressed_offload,voip_rx,immersive_out"/>
|
||||||
<route type="mix" sink="BT A2DP Headphones"
|
<route type="mix" sink="BT A2DP Headphones"
|
||||||
sources="primary output,deep buffer,haptic,compressed_offload,voip_rx"/>
|
sources="primary output,deep buffer,haptic,compressed_offload,voip_rx,immersive_out"/>
|
||||||
<route type="mix" sink="BT A2DP Speaker"
|
<route type="mix" sink="BT A2DP Speaker"
|
||||||
sources="primary output,deep buffer,haptic,compressed_offload,voip_rx"/>
|
sources="primary output,deep buffer,haptic,compressed_offload,voip_rx,immersive_out"/>
|
||||||
<route type="mix" sink="USB Device Out"
|
<route type="mix" sink="USB Device Out"
|
||||||
sources="primary output,deep buffer,haptic,raw,compressed_offload,mmap_no_irq_out,voip_rx,hifi_playback"/>
|
sources="primary output,deep buffer,haptic,raw,compressed_offload,mmap_no_irq_out,voip_rx,hifi_playback,immersive_out"/>
|
||||||
<route type="mix" sink="USB Headset Out"
|
<route type="mix" sink="USB Headset Out"
|
||||||
sources="primary output,deep buffer,haptic,raw,compressed_offload,mmap_no_irq_out,voip_rx,hifi_playback"/>
|
sources="primary output,deep buffer,haptic,raw,compressed_offload,mmap_no_irq_out,voip_rx,hifi_playback,immersive_out"/>
|
||||||
<route type="mix" sink="BT SCO"
|
<route type="mix" sink="BT SCO"
|
||||||
sources="primary output,deep buffer,haptic,compressed_offload,voip_rx"/>
|
sources="primary output,deep buffer,haptic,compressed_offload,voip_rx"/>
|
||||||
<route type="mix" sink="BT SCO Headset"
|
<route type="mix" sink="BT SCO Headset"
|
||||||
|
|
|
@ -63,6 +63,10 @@
|
||||||
<profile name="" format="AUDIO_FORMAT_PCM_16_BIT"
|
<profile name="" format="AUDIO_FORMAT_PCM_16_BIT"
|
||||||
samplingRates="48000" channelMasks="AUDIO_CHANNEL_OUT_STEREO"/>
|
samplingRates="48000" channelMasks="AUDIO_CHANNEL_OUT_STEREO"/>
|
||||||
</mixPort>
|
</mixPort>
|
||||||
|
<mixPort name="immersive_out" role="source" flags="AUDIO_OUTPUT_FLAG_FAST AUDIO_OUTPUT_FLAG_DEEP_BUFFER">
|
||||||
|
<profile name="" format="AUDIO_FORMAT_PCM_FLOAT"
|
||||||
|
samplingRates="48000" channelMasks="AUDIO_CHANNEL_OUT_STEREO"/>
|
||||||
|
</mixPort>
|
||||||
<mixPort name="incall playback" role="source"
|
<mixPort name="incall playback" role="source"
|
||||||
flags="AUDIO_OUTPUT_FLAG_INCALL_MUSIC">
|
flags="AUDIO_OUTPUT_FLAG_INCALL_MUSIC">
|
||||||
<profile name="" format="AUDIO_FORMAT_PCM_16_BIT"
|
<profile name="" format="AUDIO_FORMAT_PCM_16_BIT"
|
||||||
|
@ -170,15 +174,15 @@
|
||||||
<!-- route declaration, i.e. list all available sources for a given sink -->
|
<!-- route declaration, i.e. list all available sources for a given sink -->
|
||||||
<routes>
|
<routes>
|
||||||
<route type="mix" sink="Speaker"
|
<route type="mix" sink="Speaker"
|
||||||
sources="primary output,deep buffer,haptic,raw,compressed_offload,mmap_no_irq_out,voip_rx"/>
|
sources="primary output,deep buffer,haptic,raw,compressed_offload,mmap_no_irq_out,voip_rx,immersive_out"/>
|
||||||
<route type="mix" sink="Speaker Safe"
|
<route type="mix" sink="Speaker Safe"
|
||||||
sources="primary output,deep buffer,haptic,raw,compressed_offload,mmap_no_irq_out,voip_rx"/>
|
sources="primary output,deep buffer,haptic,raw,compressed_offload,mmap_no_irq_out,voip_rx"/>
|
||||||
<route type="mix" sink="Earpiece"
|
<route type="mix" sink="Earpiece"
|
||||||
sources="primary output,deep buffer,haptic,raw,compressed_offload,mmap_no_irq_out,voip_rx"/>
|
sources="primary output,deep buffer,haptic,raw,compressed_offload,mmap_no_irq_out,voip_rx"/>
|
||||||
<route type="mix" sink="USB Device Out"
|
<route type="mix" sink="USB Device Out"
|
||||||
sources="primary output,deep buffer,haptic,raw,compressed_offload,mmap_no_irq_out,voip_rx,hifi_playback"/>
|
sources="primary output,deep buffer,haptic,raw,compressed_offload,mmap_no_irq_out,voip_rx,hifi_playback,immersive_out"/>
|
||||||
<route type="mix" sink="USB Headset Out"
|
<route type="mix" sink="USB Headset Out"
|
||||||
sources="primary output,deep buffer,haptic,raw,compressed_offload,mmap_no_irq_out,voip_rx,hifi_playback"/>
|
sources="primary output,deep buffer,haptic,raw,compressed_offload,mmap_no_irq_out,voip_rx,hifi_playback,immersive_out"/>
|
||||||
<route type="mix" sink="BT SCO"
|
<route type="mix" sink="BT SCO"
|
||||||
sources="primary output,deep buffer,haptic,compressed_offload,voip_rx"/>
|
sources="primary output,deep buffer,haptic,compressed_offload,voip_rx"/>
|
||||||
<route type="mix" sink="BT SCO Headset"
|
<route type="mix" sink="BT SCO Headset"
|
||||||
|
|
|
@ -0,0 +1,44 @@
|
||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<!-- Bluetooth Audio HAL Audio Policy Configuration file -->
|
||||||
|
<module name="bluetooth" halVersion="2.0">
|
||||||
|
<mixPorts>
|
||||||
|
<!-- A2DP Audio Ports -->
|
||||||
|
<mixPort name="a2dp output" role="source" flags="AUDIO_OUTPUT_FLAG_DEEP_BUFFER AUDIO_OUTPUT_FLAG_FAST"/>
|
||||||
|
<!-- Hearing AIDs Audio Ports -->
|
||||||
|
<mixPort name="hearing aid output" role="source">
|
||||||
|
<profile name="" format="AUDIO_FORMAT_PCM_16_BIT"
|
||||||
|
samplingRates="24000 16000"
|
||||||
|
channelMasks="AUDIO_CHANNEL_OUT_STEREO"/>
|
||||||
|
</mixPort>
|
||||||
|
</mixPorts>
|
||||||
|
<devicePorts>
|
||||||
|
<!-- A2DP Audio Ports -->
|
||||||
|
<devicePort tagName="BT A2DP Out" type="AUDIO_DEVICE_OUT_BLUETOOTH_A2DP" role="sink">
|
||||||
|
<profile name="" format="AUDIO_FORMAT_PCM_16_BIT"
|
||||||
|
samplingRates="44100 48000 88200 96000"
|
||||||
|
channelMasks="AUDIO_CHANNEL_OUT_STEREO"/>
|
||||||
|
</devicePort>
|
||||||
|
<devicePort tagName="BT A2DP Headphones" type="AUDIO_DEVICE_OUT_BLUETOOTH_A2DP_HEADPHONES" role="sink">
|
||||||
|
<profile name="" format="AUDIO_FORMAT_PCM_16_BIT"
|
||||||
|
samplingRates="44100 48000 88200 96000"
|
||||||
|
channelMasks="AUDIO_CHANNEL_OUT_STEREO"/>
|
||||||
|
</devicePort>
|
||||||
|
<devicePort tagName="BT A2DP Speaker" type="AUDIO_DEVICE_OUT_BLUETOOTH_A2DP_SPEAKER" role="sink">
|
||||||
|
<profile name="" format="AUDIO_FORMAT_PCM_16_BIT"
|
||||||
|
samplingRates="44100 48000 88200 96000"
|
||||||
|
channelMasks="AUDIO_CHANNEL_OUT_STEREO"/>
|
||||||
|
</devicePort>
|
||||||
|
<!-- Hearing AIDs Audio Ports -->
|
||||||
|
<devicePort tagName="BT Hearing Aid Out" type="AUDIO_DEVICE_OUT_HEARING_AID" role="sink"/>
|
||||||
|
</devicePorts>
|
||||||
|
<routes>
|
||||||
|
<route type="mix" sink="BT A2DP Out"
|
||||||
|
sources="a2dp output"/>
|
||||||
|
<route type="mix" sink="BT A2DP Headphones"
|
||||||
|
sources="a2dp output"/>
|
||||||
|
<route type="mix" sink="BT A2DP Speaker"
|
||||||
|
sources="a2dp output"/>
|
||||||
|
<route type="mix" sink="BT Hearing Aid Out"
|
||||||
|
sources="hearing aid output"/>
|
||||||
|
</routes>
|
||||||
|
</module>
|
|
@ -429,6 +429,18 @@
|
||||||
<path name="compress-offload-playback" />
|
<path name="compress-offload-playback" />
|
||||||
</path>
|
</path>
|
||||||
|
|
||||||
|
<path name="immersive-playbackP">
|
||||||
|
<ctl name="TDM_0_RX Mixer EP4" value="1"/>
|
||||||
|
</path>
|
||||||
|
|
||||||
|
<path name="immersive-playbackP bt">
|
||||||
|
<ctl name="BT_RX Mixer EP4" value="1"/>
|
||||||
|
</path>
|
||||||
|
|
||||||
|
<path name="immersive-playbackP usb-headphone">
|
||||||
|
<ctl name="USB_RX Mixer EP4" value="1"/>
|
||||||
|
</path>
|
||||||
|
|
||||||
<path name="voip-playbackP">
|
<path name="voip-playbackP">
|
||||||
<ctl name="TDM_0_RX Mixer VOIP" value="1"/>
|
<ctl name="TDM_0_RX Mixer VOIP" value="1"/>
|
||||||
</path>
|
</path>
|
||||||
|
|
Binary file not shown.
File diff suppressed because it is too large
Load diff
|
@ -60,6 +60,10 @@ PRODUCT_COPY_FILES += \
|
||||||
device/google/raviole/thermal_info_config_oriole.json:$(TARGET_COPY_OUT_VENDOR)/etc/thermal_info_config.json \
|
device/google/raviole/thermal_info_config_oriole.json:$(TARGET_COPY_OUT_VENDOR)/etc/thermal_info_config.json \
|
||||||
device/google/raviole/thermal_info_config_oriole_WHI_A.json:$(TARGET_COPY_OUT_VENDOR)/etc/thermal_info_config_WHI_A.json
|
device/google/raviole/thermal_info_config_oriole_WHI_A.json:$(TARGET_COPY_OUT_VENDOR)/etc/thermal_info_config_WHI_A.json
|
||||||
|
|
||||||
|
# Power HAL config
|
||||||
|
PRODUCT_COPY_FILES += \
|
||||||
|
device/google/raviole/powerhint-oriole.json:$(TARGET_COPY_OUT_VENDOR)/etc/powerhint.json
|
||||||
|
|
||||||
# Bluetooth
|
# Bluetooth
|
||||||
PRODUCT_PRODUCT_PROPERTIES += \
|
PRODUCT_PRODUCT_PROPERTIES += \
|
||||||
persist.bluetooth.a2dp_aac.vbr_supported=true
|
persist.bluetooth.a2dp_aac.vbr_supported=true
|
||||||
|
@ -128,7 +132,7 @@ DEVICE_MANIFEST_FILE += \
|
||||||
# Vibrator HAL
|
# Vibrator HAL
|
||||||
PRODUCT_PRODUCT_PROPERTIES +=\
|
PRODUCT_PRODUCT_PROPERTIES +=\
|
||||||
ro.vendor.vibrator.hal.long.frequency.shift=15
|
ro.vendor.vibrator.hal.long.frequency.shift=15
|
||||||
PRODUCT_PRODUCT_PROPERTIES += \
|
PRODUCT_VENDOR_PROPERTIES += \
|
||||||
vendor.powerhal.adpf.rate=11111111
|
vendor.powerhal.adpf.rate=11111111
|
||||||
ACTUATOR_MODEL := luxshare_ict_081545
|
ACTUATOR_MODEL := luxshare_ict_081545
|
||||||
|
|
||||||
|
@ -171,7 +175,7 @@ endif
|
||||||
|
|
||||||
# Increment the SVN for any official public releases
|
# Increment the SVN for any official public releases
|
||||||
PRODUCT_VENDOR_PROPERTIES += \
|
PRODUCT_VENDOR_PROPERTIES += \
|
||||||
ro.vendor.build.svn=22
|
ro.vendor.build.svn=25
|
||||||
|
|
||||||
# Hide cutout overlays
|
# Hide cutout overlays
|
||||||
PRODUCT_PACKAGES += \
|
PRODUCT_PACKAGES += \
|
||||||
|
|
|
@ -68,6 +68,10 @@ PRODUCT_COPY_FILES += \
|
||||||
PRODUCT_COPY_FILES += \
|
PRODUCT_COPY_FILES += \
|
||||||
device/google/raviole/thermal_info_config_raven.json:$(TARGET_COPY_OUT_VENDOR)/etc/thermal_info_config.json
|
device/google/raviole/thermal_info_config_raven.json:$(TARGET_COPY_OUT_VENDOR)/etc/thermal_info_config.json
|
||||||
|
|
||||||
|
# Power HAL config
|
||||||
|
PRODUCT_COPY_FILES += \
|
||||||
|
device/google/raviole/powerhint-raven.json:$(TARGET_COPY_OUT_VENDOR)/etc/powerhint.json
|
||||||
|
|
||||||
# Bluetooth
|
# Bluetooth
|
||||||
PRODUCT_PRODUCT_PROPERTIES += \
|
PRODUCT_PRODUCT_PROPERTIES += \
|
||||||
persist.bluetooth.a2dp_aac.vbr_supported=true
|
persist.bluetooth.a2dp_aac.vbr_supported=true
|
||||||
|
@ -143,8 +147,8 @@ DEVICE_MANIFEST_FILE += \
|
||||||
# Vibrator HAL
|
# Vibrator HAL
|
||||||
PRODUCT_PRODUCT_PROPERTIES +=\
|
PRODUCT_PRODUCT_PROPERTIES +=\
|
||||||
ro.vendor.vibrator.hal.long.frequency.shift=15
|
ro.vendor.vibrator.hal.long.frequency.shift=15
|
||||||
PRODUCT_PRODUCT_PROPERTIES += \
|
PRODUCT_VENDOR_PROPERTIES += \
|
||||||
vendor.powerhal.adpf.rate=8333333
|
vendor.powerhal.adpf.rate=8333333
|
||||||
ACTUATOR_MODEL := luxshare_ict_081545
|
ACTUATOR_MODEL := luxshare_ict_081545
|
||||||
|
|
||||||
# Voice packs for Text-To-Speech
|
# Voice packs for Text-To-Speech
|
||||||
|
@ -183,7 +187,7 @@ endif
|
||||||
|
|
||||||
# Increment the SVN for any official public releases
|
# Increment the SVN for any official public releases
|
||||||
PRODUCT_VENDOR_PROPERTIES += \
|
PRODUCT_VENDOR_PROPERTIES += \
|
||||||
ro.vendor.build.svn=22
|
ro.vendor.build.svn=25
|
||||||
|
|
||||||
# Hide cutout overlays
|
# Hide cutout overlays
|
||||||
PRODUCT_PACKAGES += \
|
PRODUCT_PACKAGES += \
|
||||||
|
|
|
@ -105,5 +105,9 @@ PRODUCT_SOONG_NAMESPACES += device/google/raviole/powerstats/slider
|
||||||
# Trusty liboemcrypto.so
|
# Trusty liboemcrypto.so
|
||||||
PRODUCT_SOONG_NAMESPACES += vendor/google_devices/raviole/prebuilts
|
PRODUCT_SOONG_NAMESPACES += vendor/google_devices/raviole/prebuilts
|
||||||
|
|
||||||
|
# Power HAL config
|
||||||
|
PRODUCT_COPY_FILES += \
|
||||||
|
device/google/raviole/powerhint-slider.json:$(TARGET_COPY_OUT_VENDOR)/etc/powerhint.json
|
||||||
|
|
||||||
# This device is shipped with 31 (Android S)
|
# This device is shipped with 31 (Android S)
|
||||||
PRODUCT_SHIPPING_API_LEVEL := 31
|
PRODUCT_SHIPPING_API_LEVEL := 31
|
||||||
|
|
|
@ -86,5 +86,9 @@ PRODUCT_SOONG_NAMESPACES += device/google/raviole/powerstats/whitefin
|
||||||
# Trusty liboemcrypto.so
|
# Trusty liboemcrypto.so
|
||||||
PRODUCT_SOONG_NAMESPACES += vendor/google_devices/raviole/prebuilts
|
PRODUCT_SOONG_NAMESPACES += vendor/google_devices/raviole/prebuilts
|
||||||
|
|
||||||
|
# Power HAL config
|
||||||
|
PRODUCT_COPY_FILES += \
|
||||||
|
device/google/raviole/powerhint-whitefin.json:$(TARGET_COPY_OUT_VENDOR)/etc/powerhint.json
|
||||||
|
|
||||||
# This device is shipped with 31 (Android S)
|
# This device is shipped with 31 (Android S)
|
||||||
PRODUCT_SHIPPING_API_LEVEL := 31
|
PRODUCT_SHIPPING_API_LEVEL := 31
|
||||||
|
|
|
@ -227,88 +227,75 @@
|
||||||
non-zero amplitudes, to bring the vibrator amplitude down to zero using this timing. -->
|
non-zero amplitudes, to bring the vibrator amplitude down to zero using this timing. -->
|
||||||
<integer name="config_vibrationWaveformRampDownDuration">50</integer>
|
<integer name="config_vibrationWaveformRampDownDuration">50</integer>
|
||||||
|
|
||||||
<!-- A vibration waveform for notifications that specify DEFAULT_VIBRATE.
|
|
||||||
This value is a float array with values grouped as
|
|
||||||
{ targetAmplitude (within [0,1]), targetFrequency [-1,1], duration (in milliseconds) }
|
|
||||||
This is only applied on devices with vibration frequency control. If the device doesn't
|
|
||||||
support frequency control, then the vibration specified in
|
|
||||||
config_defaultNotificationVibePattern is used instead.
|
|
||||||
-->
|
|
||||||
<array name="config_defaultNotificationVibeWaveform">
|
|
||||||
<item>0.0</item>
|
|
||||||
<item>-0.85</item>
|
|
||||||
<item>0.0</item>
|
|
||||||
|
|
||||||
<item>0.4</item>
|
|
||||||
<item>-0.25</item>
|
|
||||||
<item>100.0</item>
|
|
||||||
|
|
||||||
<item>0.4</item>
|
|
||||||
<item>-0.25</item>
|
|
||||||
<item>100.0</item>
|
|
||||||
|
|
||||||
<item>0.0</item>
|
|
||||||
<item>-0.85</item>
|
|
||||||
<item>100.0</item>
|
|
||||||
|
|
||||||
<item>0.0</item>
|
|
||||||
<item>-0.85</item>
|
|
||||||
<item>100.0</item>
|
|
||||||
|
|
||||||
<item>0.4</item>
|
|
||||||
<item>-0.25</item>
|
|
||||||
<item>100.0</item>
|
|
||||||
|
|
||||||
<item>0.4</item>
|
|
||||||
<item>-0.25</item>
|
|
||||||
<item>100.0</item>
|
|
||||||
|
|
||||||
<item>0.0</item>
|
|
||||||
<item>-0.85</item>
|
|
||||||
<item>100.0</item>
|
|
||||||
</array>
|
|
||||||
|
|
||||||
<!-- A vibration waveform for notifications that do not specify vibration but vibrate anyway,
|
|
||||||
because the device is in vibrate mode. This value is a float array with values grouped as
|
|
||||||
{ targetAmplitude (within [0,1]), targetFrequency [-1,1], duration (in milliseconds) }
|
|
||||||
This is only applied on devices with vibration frequency control. If the device doesn't
|
|
||||||
support frequency control, then the vibration specified in
|
|
||||||
config_notificationFallbackVibePattern is used instead.
|
|
||||||
-->
|
|
||||||
<array name="config_notificationFallbackVibeWaveform">
|
|
||||||
<item>0.0</item>
|
|
||||||
<item>-0.85</item>
|
|
||||||
<item>0.0</item>
|
|
||||||
|
|
||||||
<item>0.4</item>
|
|
||||||
<item>-0.25</item>
|
|
||||||
<item>50.0</item>
|
|
||||||
|
|
||||||
<item>0.4</item>
|
|
||||||
<item>-0.25</item>
|
|
||||||
<item>100.0</item>
|
|
||||||
|
|
||||||
<item>0.0</item>
|
|
||||||
<item>-0.85</item>
|
|
||||||
<item>50.0</item>
|
|
||||||
|
|
||||||
<item>0.0</item>
|
|
||||||
<item>-0.85</item>
|
|
||||||
<item>100.0</item>
|
|
||||||
|
|
||||||
<item>0.4</item>
|
|
||||||
<item>-0.25</item>
|
|
||||||
<item>50.0</item>
|
|
||||||
|
|
||||||
<item>0.4</item>
|
|
||||||
<item>-0.25</item>
|
|
||||||
<item>100.0</item>
|
|
||||||
|
|
||||||
<item>0.0</item>
|
|
||||||
<item>-0.85</item>
|
|
||||||
<item>50.0</item>
|
|
||||||
</array>
|
|
||||||
|
|
||||||
<!-- the number of the max cached processes in the system. -->
|
<!-- the number of the max cached processes in the system. -->
|
||||||
<integer name="config_customizedMaxCachedProcesses">64</integer>
|
<integer name="config_customizedMaxCachedProcesses">64</integer>
|
||||||
|
|
||||||
|
<integer-array name="config_ambientThresholdLevels">
|
||||||
|
<item>1</item>
|
||||||
|
<item>2</item>
|
||||||
|
<item>3</item>
|
||||||
|
<item>4</item>
|
||||||
|
<item>5</item>
|
||||||
|
<item>6</item>
|
||||||
|
<item>7</item>
|
||||||
|
<item>8</item>
|
||||||
|
<item>9</item>
|
||||||
|
<item>10</item>
|
||||||
|
<item>20</item>
|
||||||
|
<item>30</item>
|
||||||
|
<item>40</item>
|
||||||
|
<item>50</item>
|
||||||
|
<item>60</item>
|
||||||
|
<item>70</item>
|
||||||
|
<item>80</item>
|
||||||
|
<item>90</item>
|
||||||
|
<item>100</item>
|
||||||
|
</integer-array>
|
||||||
|
|
||||||
|
<integer-array name="config_ambientBrighteningThresholds">
|
||||||
|
<item>11373</item>
|
||||||
|
<item>5000</item>
|
||||||
|
<item>4333</item>
|
||||||
|
<item>3666</item>
|
||||||
|
<item>3000</item>
|
||||||
|
<item>2760</item>
|
||||||
|
<item>2520</item>
|
||||||
|
<item>2280</item>
|
||||||
|
<item>2040</item>
|
||||||
|
<item>1800</item>
|
||||||
|
<item>800</item>
|
||||||
|
<item>527</item>
|
||||||
|
<item>500</item>
|
||||||
|
<item>470</item>
|
||||||
|
<item>396</item>
|
||||||
|
<item>322</item>
|
||||||
|
<item>248</item>
|
||||||
|
<item>174</item>
|
||||||
|
<item>99</item>
|
||||||
|
<item>99</item>
|
||||||
|
</integer-array>
|
||||||
|
|
||||||
|
<integer-array name="config_ambientDarkeningThresholds">
|
||||||
|
<item>853</item>
|
||||||
|
<item>700</item>
|
||||||
|
<item>683</item>
|
||||||
|
<item>666</item>
|
||||||
|
<item>650</item>
|
||||||
|
<item>640</item>
|
||||||
|
<item>630</item>
|
||||||
|
<item>620</item>
|
||||||
|
<item>610</item>
|
||||||
|
<item>600</item>
|
||||||
|
<item>500</item>
|
||||||
|
<item>500</item>
|
||||||
|
<item>440</item>
|
||||||
|
<item>385</item>
|
||||||
|
<item>348</item>
|
||||||
|
<item>311</item>
|
||||||
|
<item>274</item>
|
||||||
|
<item>237</item>
|
||||||
|
<item>200</item>
|
||||||
|
<item>200</item>
|
||||||
|
</integer-array>
|
||||||
|
|
||||||
</resources>
|
</resources>
|
||||||
|
|
1366
powerhint-oriole.json
Normal file
1366
powerhint-oriole.json
Normal file
File diff suppressed because it is too large
Load diff
1383
powerhint-raven.json
Normal file
1383
powerhint-raven.json
Normal file
File diff suppressed because it is too large
Load diff
1307
powerhint-slider.json
Normal file
1307
powerhint-slider.json
Normal file
File diff suppressed because it is too large
Load diff
1307
powerhint-whitefin.json
Normal file
1307
powerhint-whitefin.json
Normal file
File diff suppressed because it is too large
Load diff
|
@ -195,88 +195,6 @@
|
||||||
non-zero amplitudes, to bring the vibrator amplitude down to zero using this timing. -->
|
non-zero amplitudes, to bring the vibrator amplitude down to zero using this timing. -->
|
||||||
<integer name="config_vibrationWaveformRampDownDuration">50</integer>
|
<integer name="config_vibrationWaveformRampDownDuration">50</integer>
|
||||||
|
|
||||||
<!-- A vibration waveform for notifications that specify DEFAULT_VIBRATE.
|
|
||||||
This value is a float array with values grouped as
|
|
||||||
{ targetAmplitude (within [0,1]), targetFrequency [-1,1], duration (in milliseconds) }
|
|
||||||
This is only applied on devices with vibration frequency control. If the device doesn't
|
|
||||||
support frequency control, then the vibration specified in
|
|
||||||
config_defaultNotificationVibePattern is used instead.
|
|
||||||
-->
|
|
||||||
<array name="config_defaultNotificationVibeWaveform">
|
|
||||||
<item>0.0</item>
|
|
||||||
<item>-0.85</item>
|
|
||||||
<item>0.0</item>
|
|
||||||
|
|
||||||
<item>0.4</item>
|
|
||||||
<item>-0.25</item>
|
|
||||||
<item>100.0</item>
|
|
||||||
|
|
||||||
<item>0.4</item>
|
|
||||||
<item>-0.25</item>
|
|
||||||
<item>100.0</item>
|
|
||||||
|
|
||||||
<item>0.0</item>
|
|
||||||
<item>-0.85</item>
|
|
||||||
<item>100.0</item>
|
|
||||||
|
|
||||||
<item>0.0</item>
|
|
||||||
<item>-0.85</item>
|
|
||||||
<item>100.0</item>
|
|
||||||
|
|
||||||
<item>0.4</item>
|
|
||||||
<item>-0.25</item>
|
|
||||||
<item>100.0</item>
|
|
||||||
|
|
||||||
<item>0.4</item>
|
|
||||||
<item>-0.25</item>
|
|
||||||
<item>100.0</item>
|
|
||||||
|
|
||||||
<item>0.0</item>
|
|
||||||
<item>-0.85</item>
|
|
||||||
<item>100.0</item>
|
|
||||||
</array>
|
|
||||||
|
|
||||||
<!-- A vibration waveform for notifications that do not specify vibration but vibrate anyway,
|
|
||||||
because the device is in vibrate mode. This value is a float array with values grouped as
|
|
||||||
{ targetAmplitude (within [0,1]), targetFrequency [-1,1], duration (in milliseconds) }
|
|
||||||
This is only applied on devices with vibration frequency control. If the device doesn't
|
|
||||||
support frequency control, then the vibration specified in
|
|
||||||
config_notificationFallbackVibePattern is used instead.
|
|
||||||
-->
|
|
||||||
<array name="config_notificationFallbackVibeWaveform">
|
|
||||||
<item>0.0</item>
|
|
||||||
<item>-0.85</item>
|
|
||||||
<item>0.0</item>
|
|
||||||
|
|
||||||
<item>0.4</item>
|
|
||||||
<item>-0.25</item>
|
|
||||||
<item>50.0</item>
|
|
||||||
|
|
||||||
<item>0.4</item>
|
|
||||||
<item>-0.25</item>
|
|
||||||
<item>100.0</item>
|
|
||||||
|
|
||||||
<item>0.0</item>
|
|
||||||
<item>-0.85</item>
|
|
||||||
<item>50.0</item>
|
|
||||||
|
|
||||||
<item>0.0</item>
|
|
||||||
<item>-0.85</item>
|
|
||||||
<item>100.0</item>
|
|
||||||
|
|
||||||
<item>0.4</item>
|
|
||||||
<item>-0.25</item>
|
|
||||||
<item>50.0</item>
|
|
||||||
|
|
||||||
<item>0.4</item>
|
|
||||||
<item>-0.25</item>
|
|
||||||
<item>100.0</item>
|
|
||||||
|
|
||||||
<item>0.0</item>
|
|
||||||
<item>-0.85</item>
|
|
||||||
<item>50.0</item>
|
|
||||||
</array>
|
|
||||||
|
|
||||||
<!-- Height of the status bar.
|
<!-- Height of the status bar.
|
||||||
Do not read this dimen directly. Use {@link SystemBarUtils#getStatusBarHeight} instead.
|
Do not read this dimen directly. Use {@link SystemBarUtils#getStatusBarHeight} instead.
|
||||||
-->
|
-->
|
||||||
|
@ -284,4 +202,73 @@
|
||||||
|
|
||||||
<!-- the number of the max cached processes in the system. -->
|
<!-- the number of the max cached processes in the system. -->
|
||||||
<integer name="config_customizedMaxCachedProcesses">64</integer>
|
<integer name="config_customizedMaxCachedProcesses">64</integer>
|
||||||
|
|
||||||
|
<integer-array name="config_ambientThresholdLevels">
|
||||||
|
<item>1</item>
|
||||||
|
<item>2</item>
|
||||||
|
<item>3</item>
|
||||||
|
<item>4</item>
|
||||||
|
<item>5</item>
|
||||||
|
<item>6</item>
|
||||||
|
<item>7</item>
|
||||||
|
<item>8</item>
|
||||||
|
<item>9</item>
|
||||||
|
<item>10</item>
|
||||||
|
<item>20</item>
|
||||||
|
<item>30</item>
|
||||||
|
<item>40</item>
|
||||||
|
<item>50</item>
|
||||||
|
<item>60</item>
|
||||||
|
<item>70</item>
|
||||||
|
<item>80</item>
|
||||||
|
<item>90</item>
|
||||||
|
<item>100</item>
|
||||||
|
</integer-array>
|
||||||
|
|
||||||
|
<integer-array name="config_ambientBrighteningThresholds">
|
||||||
|
<item>11373</item>
|
||||||
|
<item>5000</item>
|
||||||
|
<item>4333</item>
|
||||||
|
<item>3666</item>
|
||||||
|
<item>3000</item>
|
||||||
|
<item>2760</item>
|
||||||
|
<item>2520</item>
|
||||||
|
<item>2280</item>
|
||||||
|
<item>2040</item>
|
||||||
|
<item>1800</item>
|
||||||
|
<item>800</item>
|
||||||
|
<item>527</item>
|
||||||
|
<item>500</item>
|
||||||
|
<item>470</item>
|
||||||
|
<item>396</item>
|
||||||
|
<item>322</item>
|
||||||
|
<item>248</item>
|
||||||
|
<item>174</item>
|
||||||
|
<item>99</item>
|
||||||
|
<item>99</item>
|
||||||
|
</integer-array>
|
||||||
|
|
||||||
|
<integer-array name="config_ambientDarkeningThresholds">
|
||||||
|
<item>853</item>
|
||||||
|
<item>700</item>
|
||||||
|
<item>683</item>
|
||||||
|
<item>666</item>
|
||||||
|
<item>650</item>
|
||||||
|
<item>640</item>
|
||||||
|
<item>630</item>
|
||||||
|
<item>620</item>
|
||||||
|
<item>610</item>
|
||||||
|
<item>600</item>
|
||||||
|
<item>500</item>
|
||||||
|
<item>500</item>
|
||||||
|
<item>440</item>
|
||||||
|
<item>385</item>
|
||||||
|
<item>348</item>
|
||||||
|
<item>311</item>
|
||||||
|
<item>274</item>
|
||||||
|
<item>237</item>
|
||||||
|
<item>200</item>
|
||||||
|
<item>200</item>
|
||||||
|
</integer-array>
|
||||||
|
|
||||||
</resources>
|
</resources>
|
||||||
|
|
|
@ -12,4 +12,4 @@
|
||||||
# See the License for the specific language governing permissions and
|
# See the License for the specific language governing permissions and
|
||||||
# limitations under the License.
|
# limitations under the License.
|
||||||
|
|
||||||
$(call inherit-product-if-exists, vendor/google_devices/oriole/BoardConfigPartial.mk)
|
$(call inherit-product-if-exists, vendor/google_devices/oriole/device-partial.mk)
|
||||||
|
|
|
@ -777,29 +777,13 @@
|
||||||
"NAN",
|
"NAN",
|
||||||
"NAN",
|
"NAN",
|
||||||
90,
|
90,
|
||||||
93,
|
"NAN",
|
||||||
96,
|
"NAN",
|
||||||
"NAN"
|
"NAN"
|
||||||
],
|
],
|
||||||
"VrThreshold":"NAN",
|
"VrThreshold":"NAN",
|
||||||
"Multiplier":1,
|
"Multiplier":1,
|
||||||
"Monitor":true,
|
"Monitor":true
|
||||||
"PollingDelay":300000,
|
|
||||||
"PassiveDelay":5000,
|
|
||||||
"BindedCdevInfo": [
|
|
||||||
{
|
|
||||||
"CdevRequest": "thermal-cpufreq-2",
|
|
||||||
"LimitInfo": [0, 0, 0, 7, 7, 10, 10]
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"CdevRequest": "thermal-gpufreq-0",
|
|
||||||
"LimitInfo": [0, 0, 0, 0, 0, 7, 11]
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"CdevRequest": "tpu_cooling",
|
|
||||||
"LimitInfo": [0, 0, 0, 0, 0, 4, 5]
|
|
||||||
}
|
|
||||||
]
|
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"Name":"batoilo",
|
"Name":"batoilo",
|
||||||
|
@ -828,15 +812,15 @@
|
||||||
"BindedCdevInfo": [
|
"BindedCdevInfo": [
|
||||||
{
|
{
|
||||||
"CdevRequest": "thermal-cpufreq-2",
|
"CdevRequest": "thermal-cpufreq-2",
|
||||||
"LimitInfo": [0, 0, 0, 0, 7, 10, 10]
|
"LimitInfo": [0, 0, 0, 0, 7, 7, 7]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"CdevRequest": "thermal-gpufreq-0",
|
"CdevRequest": "thermal-gpufreq-0",
|
||||||
"LimitInfo": [0, 0, 0, 0, 10, 11, 11]
|
"LimitInfo": [0, 0, 0, 0, 6, 6, 6]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"CdevRequest": "tpu_cooling",
|
"CdevRequest": "tpu_cooling",
|
||||||
"LimitInfo": [0, 0, 0, 0, 4, 4, 4]
|
"LimitInfo": [0, 0, 0, 0, 5, 5, 5]
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
|
@ -871,11 +855,11 @@
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"CdevRequest": "thermal-gpufreq-0",
|
"CdevRequest": "thermal-gpufreq-0",
|
||||||
"LimitInfo": [0, 0, 0, 0, 7, 7, 7]
|
"LimitInfo": [0, 0, 0, 0, 4, 4, 4]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"CdevRequest": "tpu_cooling",
|
"CdevRequest": "tpu_cooling",
|
||||||
"LimitInfo": [0, 0, 0, 0, 4, 4, 4]
|
"LimitInfo": [0, 0, 0, 0, 3, 3, 3]
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
|
@ -910,11 +894,11 @@
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"CdevRequest": "thermal-gpufreq-0",
|
"CdevRequest": "thermal-gpufreq-0",
|
||||||
"LimitInfo": [0, 0, 0, 0, 15, 15, 15]
|
"LimitInfo": [0, 0, 0, 0, 9, 9, 9]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"CdevRequest": "tpu_cooling",
|
"CdevRequest": "tpu_cooling",
|
||||||
"LimitInfo": [0, 0, 0, 0, 4, 4, 4]
|
"LimitInfo": [0, 0, 0, 0, 5, 5, 5]
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
|
@ -949,7 +933,7 @@
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"CdevRequest": "thermal-gpufreq-0",
|
"CdevRequest": "thermal-gpufreq-0",
|
||||||
"LimitInfo": [0, 0, 0, 0, 13, 13, 13]
|
"LimitInfo": [0, 0, 0, 0, 7, 7, 7]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"CdevRequest": "tpu_cooling",
|
"CdevRequest": "tpu_cooling",
|
||||||
|
|
|
@ -752,29 +752,13 @@
|
||||||
"NAN",
|
"NAN",
|
||||||
"NAN",
|
"NAN",
|
||||||
90,
|
90,
|
||||||
93,
|
"NAN",
|
||||||
96,
|
"NAN",
|
||||||
"NAN"
|
"NAN"
|
||||||
],
|
],
|
||||||
"VrThreshold":"NAN",
|
"VrThreshold":"NAN",
|
||||||
"Multiplier":1,
|
"Multiplier":1,
|
||||||
"Monitor":true,
|
"Monitor":true
|
||||||
"PollingDelay":300000,
|
|
||||||
"PassiveDelay":5000,
|
|
||||||
"BindedCdevInfo": [
|
|
||||||
{
|
|
||||||
"CdevRequest": "thermal-cpufreq-2",
|
|
||||||
"LimitInfo": [0, 0, 0, 7, 7, 10, 10]
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"CdevRequest": "thermal-gpufreq-0",
|
|
||||||
"LimitInfo": [0, 0, 0, 0, 0, 7, 11]
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"CdevRequest": "tpu_cooling",
|
|
||||||
"LimitInfo": [0, 0, 0, 0, 0, 4, 5]
|
|
||||||
}
|
|
||||||
]
|
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"Name":"batoilo",
|
"Name":"batoilo",
|
||||||
|
@ -803,15 +787,15 @@
|
||||||
"BindedCdevInfo": [
|
"BindedCdevInfo": [
|
||||||
{
|
{
|
||||||
"CdevRequest": "thermal-cpufreq-2",
|
"CdevRequest": "thermal-cpufreq-2",
|
||||||
"LimitInfo": [0, 0, 0, 0, 7, 10, 10]
|
"LimitInfo": [0, 0, 0, 0, 7, 7, 7]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"CdevRequest": "thermal-gpufreq-0",
|
"CdevRequest": "thermal-gpufreq-0",
|
||||||
"LimitInfo": [0, 0, 0, 0, 10, 11, 11]
|
"LimitInfo": [0, 0, 0, 0, 6, 6, 6]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"CdevRequest": "tpu_cooling",
|
"CdevRequest": "tpu_cooling",
|
||||||
"LimitInfo": [0, 0, 0, 0, 4, 4, 4]
|
"LimitInfo": [0, 0, 0, 0, 5, 5, 5]
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
|
@ -846,11 +830,11 @@
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"CdevRequest": "thermal-gpufreq-0",
|
"CdevRequest": "thermal-gpufreq-0",
|
||||||
"LimitInfo": [0, 0, 0, 0, 7, 7, 7]
|
"LimitInfo": [0, 0, 0, 0, 4, 4, 4]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"CdevRequest": "tpu_cooling",
|
"CdevRequest": "tpu_cooling",
|
||||||
"LimitInfo": [0, 0, 0, 0, 4, 4, 4]
|
"LimitInfo": [0, 0, 0, 0, 3, 3, 3]
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
|
@ -885,11 +869,11 @@
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"CdevRequest": "thermal-gpufreq-0",
|
"CdevRequest": "thermal-gpufreq-0",
|
||||||
"LimitInfo": [0, 0, 0, 0, 15, 15, 15]
|
"LimitInfo": [0, 0, 0, 0, 9, 9, 9]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"CdevRequest": "tpu_cooling",
|
"CdevRequest": "tpu_cooling",
|
||||||
"LimitInfo": [0, 0, 0, 0, 4, 4, 4]
|
"LimitInfo": [0, 0, 0, 0, 5, 5, 5]
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
|
@ -924,7 +908,7 @@
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"CdevRequest": "thermal-gpufreq-0",
|
"CdevRequest": "thermal-gpufreq-0",
|
||||||
"LimitInfo": [0, 0, 0, 0, 13, 13, 13]
|
"LimitInfo": [0, 0, 0, 0, 7, 7, 7]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"CdevRequest": "tpu_cooling",
|
"CdevRequest": "tpu_cooling",
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue