xun: Initial vendor push
* With latest commit based off https://github.com/Xiaomi-Redmi-Pad-SE-Resources/android_device_xiaomi_xun/commit/e217f2dae789ae0502c4d06104017659d2e70821 Signed-off-by: dodyirawan85 <dev.irawans@gmail.com>
This commit is contained in:
commit
81cc7738f4
453 files changed
+53031
No files matched your search
@@ -0,0 +1,24 @@
|
||||
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
|
||||
<!-- 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.
|
||||
-->
|
||||
|
||||
<configuration version="1.0" xmlns:xi="http://www.w3.org/2001/XInclude">
|
||||
|
||||
<xi:include href="audio_policy_engine_product_strategies.xml"/>
|
||||
<xi:include href="audio_policy_engine_stream_volumes.xml"/>
|
||||
<xi:include href="audio_policy_engine_default_stream_volumes.xml"/>
|
||||
|
||||
</configuration>
|
||||
|
||||
@@ -0,0 +1,136 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!-- Copyright (C) 2015 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.
|
||||
-->
|
||||
<!-- Default Volume Tables included by Audio Policy Configuration file -->
|
||||
<!-- Full Default Volume table for all device category -->
|
||||
<volumes>
|
||||
<reference name="FULL_SCALE_VOLUME_CURVE">
|
||||
<!-- Full Scale reference Volume Curve -->
|
||||
<point>0,0</point>
|
||||
<point>100,0</point>
|
||||
</reference>
|
||||
<reference name="SILENT_VOLUME_CURVE">
|
||||
<point>0,-9600</point>
|
||||
<point>100,-9600</point>
|
||||
</reference>
|
||||
<reference name="DEFAULT_SYSTEM_VOLUME_CURVE">
|
||||
<!-- Default System reference Volume Curve -->
|
||||
<point>1,-2400</point>
|
||||
<point>33,-1800</point>
|
||||
<point>66,-1200</point>
|
||||
<point>100,-600</point>
|
||||
</reference>
|
||||
<reference name="DEFAULT_MEDIA_VOLUME_CURVE">
|
||||
<!-- Default Media reference Volume Curve -->
|
||||
<point>1,-5800</point>
|
||||
<point>20,-4000</point>
|
||||
<point>60,-1700</point>
|
||||
<point>100,0</point>
|
||||
</reference>
|
||||
<reference name="DEFAULT_DEVICE_CATEGORY_HEADSET_VOLUME_CURVE">
|
||||
<!--Default Volume Curve -->
|
||||
<point>1,-4950</point>
|
||||
<point>33,-3350</point>
|
||||
<point>66,-1700</point>
|
||||
<point>100,0</point>
|
||||
</reference>
|
||||
<reference name="DEFAULT_DEVICE_CATEGORY_SPEAKER_VOLUME_CURVE">
|
||||
<!-- Default is Speaker Media Volume Curve -->
|
||||
<point>1,-5800</point>
|
||||
<point>20,-4000</point>
|
||||
<point>60,-1700</point>
|
||||
<point>100,0</point>
|
||||
</reference>
|
||||
<reference name="DEFAULT_DEVICE_CATEGORY_SPEAKER_SYSTEM_VOLUME_CURVE">
|
||||
<!-- Default is Speaker System Volume Curve -->
|
||||
<point>1,-4680</point>
|
||||
<point>42,-2070</point>
|
||||
<point>85,-540</point>
|
||||
<point>100,0</point>
|
||||
</reference>
|
||||
<reference name="DEFAULT_DEVICE_CATEGORY_EARPIECE_VOLUME_CURVE">
|
||||
<!--Default Volume Curve -->
|
||||
<point>1,-4950</point>
|
||||
<point>33,-3350</point>
|
||||
<point>66,-1700</point>
|
||||
<point>100,0</point>
|
||||
</reference>
|
||||
<reference name="DEFAULT_DEVICE_CATEGORY_EXT_MEDIA_VOLUME_CURVE">
|
||||
<!-- Default is Ext Media System Volume Curve -->
|
||||
<point>1,-5800</point>
|
||||
<point>20,-4000</point>
|
||||
<point>60,-2100</point>
|
||||
<point>100,-1000</point>
|
||||
</reference>
|
||||
<reference name="DEFAULT_HEARING_AID_VOLUME_CURVE">
|
||||
<!-- Default Hearing Aid Volume Curve -->
|
||||
<point>1,-12700</point>
|
||||
<point>20,-8000</point>
|
||||
<point>60,-4000</point>
|
||||
<point>100,0</point>
|
||||
</reference>
|
||||
<!-- **************************************************************** -->
|
||||
<!-- Non-mutable default volume curves: -->
|
||||
<!-- * first point is always for index 0 -->
|
||||
<!-- * attenuation is small enough that stream can still be heard -->
|
||||
<reference name="DEFAULT_NON_MUTABLE_VOLUME_CURVE">
|
||||
<!-- Default non-mutable reference Volume Curve -->
|
||||
<!-- based on DEFAULT_MEDIA_VOLUME_CURVE -->
|
||||
<point>0,-5800</point>
|
||||
<point>20,-4000</point>
|
||||
<point>60,-1700</point>
|
||||
<point>100,0</point>
|
||||
</reference>
|
||||
<reference name="DEFAULT_NON_MUTABLE_HEADSET_VOLUME_CURVE">
|
||||
<!--Default non-mutable Volume Curve for headset -->
|
||||
<!-- based on DEFAULT_DEVICE_CATEGORY_HEADSET_VOLUME_CURVE -->
|
||||
<point>0,-4950</point>
|
||||
<point>33,-3350</point>
|
||||
<point>66,-1700</point>
|
||||
<point>100,0</point>
|
||||
</reference>
|
||||
<reference name="DEFAULT_NON_MUTABLE_SPEAKER_VOLUME_CURVE">
|
||||
<!-- Default non-mutable Speaker Volume Curve -->
|
||||
<!-- based on DEFAULT_DEVICE_CATEGORY_SPEAKER_VOLUME_CURVE -->
|
||||
<point>0,-5800</point>
|
||||
<point>20,-4000</point>
|
||||
<point>60,-1700</point>
|
||||
<point>100,0</point>
|
||||
</reference>
|
||||
<reference name="DEFAULT_NON_MUTABLE_EARPIECE_VOLUME_CURVE">
|
||||
<!--Default non-mutable Volume Curve -->
|
||||
<!-- based on DEFAULT_DEVICE_CATEGORY_EARPIECE_VOLUME_CURVE -->
|
||||
<point>0,-4950</point>
|
||||
<point>33,-3350</point>
|
||||
<point>66,-1700</point>
|
||||
<point>100,0</point>
|
||||
</reference>
|
||||
<reference name="DEFAULT_NON_MUTABLE_EXT_VOLUME_CURVE">
|
||||
<!-- Default non-mutable Ext Media System Volume Curve -->
|
||||
<!-- based on DEFAULT_DEVICE_CATEGORY_EXT_MEDIA_VOLUME_CURVE -->
|
||||
<point>0,-5800</point>
|
||||
<point>20,-4000</point>
|
||||
<point>60,-2100</point>
|
||||
<point>100,-1000</point>
|
||||
</reference>
|
||||
<reference name="DEFAULT_NON_MUTABLE_HEARING_AID_VOLUME_CURVE">
|
||||
<!-- Default non-mutable Hearing Aid Volume Curve -->
|
||||
<!-- based on DEFAULT_HEARING_AID_VOLUME_CURVE -->
|
||||
<point>0,-12700</point>
|
||||
<point>20,-8000</point>
|
||||
<point>60,-4000</point>
|
||||
<point>100,0</point>
|
||||
</reference>
|
||||
</volumes>
|
||||
@@ -0,0 +1,101 @@
|
||||
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
|
||||
<!-- 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.
|
||||
-->
|
||||
|
||||
<ProductStrategies>
|
||||
|
||||
<!-- "hidden strategies" like TTS, enforced audible:
|
||||
Shall we expose them here or keep it hard coded -->
|
||||
|
||||
<!-- Used to identify the volume of audio streams for enforced system sounds in certain
|
||||
countries (e.g. camera in Japan)
|
||||
This strategy will only have higher priority than phone if force for system is set to
|
||||
enforced. -->
|
||||
|
||||
<ProductStrategy name="STRATEGY_PHONE">
|
||||
<AttributesGroup streamType="AUDIO_STREAM_VOICE_CALL" volumeGroup="voice_call">
|
||||
<Attributes> <Usage value="AUDIO_USAGE_VOICE_COMMUNICATION"/> </Attributes>
|
||||
</AttributesGroup>
|
||||
<AttributesGroup streamType="AUDIO_STREAM_BLUETOOTH_SCO" volumeGroup="bluetooth_sco">
|
||||
<Attributes> <Usage value="AUDIO_USAGE_BLUETOOTH_SCO"/> </Attributes>
|
||||
<Attributes> <Flags value="AUDIO_FLAG_SCO"/> </Attributes>
|
||||
</AttributesGroup>
|
||||
</ProductStrategy>
|
||||
|
||||
<ProductStrategy name="STRATEGY_SONIFICATION">
|
||||
<AttributesGroup streamType="AUDIO_STREAM_RING" volumeGroup="ring">
|
||||
<Attributes> <Usage value="AUDIO_USAGE_NOTIFICATION_TELEPHONY_RINGTONE"/> </Attributes>
|
||||
</AttributesGroup>
|
||||
<AttributesGroup streamType="AUDIO_STREAM_ALARM" volumeGroup="alarm">
|
||||
<Attributes> <Usage value="AUDIO_USAGE_ALARM"/> </Attributes>
|
||||
</AttributesGroup>
|
||||
</ProductStrategy>
|
||||
|
||||
<ProductStrategy name="STRATEGY_ENFORCED_AUDIBLE">
|
||||
<AttributesGroup streamType="AUDIO_STREAM_ENFORCED_AUDIBLE" volumeGroup="enforced_audible">
|
||||
<Attributes> <Usage value="AUDIO_USAGE_ENFORCED_AUDIBLE"/> </Attributes>
|
||||
<Attributes> <Flags value="AUDIO_FLAG_AUDIBILITY_ENFORCED"/> </Attributes>
|
||||
</AttributesGroup>
|
||||
</ProductStrategy>
|
||||
|
||||
<ProductStrategy name="STRATEGY_ACCESSIBILITY">
|
||||
<AttributesGroup streamType="AUDIO_STREAM_ACCESSIBILITY" volumeGroup="accessibility">
|
||||
<Attributes> <Usage value="AUDIO_USAGE_ASSISTANCE_ACCESSIBILITY"/> </Attributes>
|
||||
</AttributesGroup>
|
||||
</ProductStrategy>
|
||||
|
||||
<ProductStrategy name="STRATEGY_SONIFICATION_RESPECTFUL">
|
||||
<AttributesGroup streamType="AUDIO_STREAM_NOTIFICATION" volumeGroup="notification">
|
||||
<Attributes> <Usage value="AUDIO_USAGE_NOTIFICATION"/> </Attributes>
|
||||
<Attributes> <Usage value="AUDIO_USAGE_NOTIFICATION_EVENT"/> </Attributes>
|
||||
</AttributesGroup>
|
||||
</ProductStrategy>
|
||||
|
||||
<ProductStrategy name="STRATEGY_MEDIA">
|
||||
<AttributesGroup streamType="AUDIO_STREAM_ASSISTANT" volumeGroup="assistant">
|
||||
<Attributes>
|
||||
<ContentType value="AUDIO_CONTENT_TYPE_SPEECH"/>
|
||||
<Usage value="AUDIO_USAGE_ASSISTANT"/>
|
||||
</Attributes>
|
||||
</AttributesGroup>
|
||||
<AttributesGroup streamType="AUDIO_STREAM_MUSIC" volumeGroup="music">
|
||||
<Attributes> <Usage value="AUDIO_USAGE_MEDIA"/> </Attributes>
|
||||
<Attributes> <Usage value="AUDIO_USAGE_GAME"/> </Attributes>
|
||||
<Attributes> <Usage value="AUDIO_USAGE_ASSISTANT"/> </Attributes>
|
||||
<Attributes> <Usage value="AUDIO_USAGE_ASSISTANCE_NAVIGATION_GUIDANCE"/> </Attributes>
|
||||
<Attributes></Attributes>
|
||||
</AttributesGroup>
|
||||
<AttributesGroup streamType="AUDIO_STREAM_SYSTEM" volumeGroup="system">
|
||||
<Attributes> <Usage value="AUDIO_USAGE_ASSISTANCE_SONIFICATION"/> </Attributes>
|
||||
</AttributesGroup>
|
||||
</ProductStrategy>
|
||||
|
||||
<ProductStrategy name="STRATEGY_DTMF">
|
||||
<AttributesGroup streamType="AUDIO_STREAM_DTMF" volumeGroup="dtmf">
|
||||
<Attributes> <Usage value="AUDIO_USAGE_VOICE_COMMUNICATION_SIGNALLING"/> </Attributes>
|
||||
</AttributesGroup>
|
||||
</ProductStrategy>
|
||||
|
||||
<!-- Used to identify the volume of audio streams exclusively transmitted through the speaker
|
||||
(TTS) of the device -->
|
||||
<ProductStrategy name="STRATEGY_TRANSMITTED_THROUGH_SPEAKER">
|
||||
<AttributesGroup streamType="AUDIO_STREAM_TTS" volumeGroup="tts">
|
||||
<Attributes> <Usage value="AUDIO_USAGE_TTS"/> </Attributes>
|
||||
<Attributes> <Flags value="AUDIO_FLAG_BEACON"/> </Attributes>
|
||||
</AttributesGroup>
|
||||
</ProductStrategy>
|
||||
|
||||
</ProductStrategies>
|
||||
|
||||
@@ -0,0 +1,522 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!-- Copyright (C) 2015 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.
|
||||
-->
|
||||
<!-- Volume section defines a volume curve for a given use case and device category.
|
||||
It contains a list of points of this curve expressing the attenuation in Millibels for a given
|
||||
volume index from 0 to 100.
|
||||
<volume deviceCategory=””>
|
||||
<point>0,-9600</point>
|
||||
<point>100,0</point>
|
||||
</volume>
|
||||
-->
|
||||
|
||||
<volumeGroups>
|
||||
<volumeGroup>
|
||||
<name>voice_call</name>
|
||||
<indexMin>1</indexMin>
|
||||
<indexMax>11</indexMax>
|
||||
<volume deviceCategory="DEVICE_CATEGORY_HEADSET">
|
||||
<point>0,-3300</point>
|
||||
<point>10,-2900</point>
|
||||
<point>18,-2400</point>
|
||||
<point>27,-2000</point>
|
||||
<point>36,-1600</point>
|
||||
<point>45,-1400</point>
|
||||
<point>54,-1100</point>
|
||||
<point>63,-800</point>
|
||||
<point>72,-600</point>
|
||||
<point>81,-400</point>
|
||||
<point>90,-200</point>
|
||||
<point>100,0</point>
|
||||
</volume>
|
||||
<volume deviceCategory="DEVICE_CATEGORY_USB">
|
||||
<point>0,-3300</point>
|
||||
<point>10,-2900</point>
|
||||
<point>18,-2400</point>
|
||||
<point>27,-2000</point>
|
||||
<point>36,-1600</point>
|
||||
<point>45,-1400</point>
|
||||
<point>54,-1100</point>
|
||||
<point>63,-800</point>
|
||||
<point>72,-600</point>
|
||||
<point>81,-400</point>
|
||||
<point>90,-200</point>
|
||||
<point>100,0</point>
|
||||
</volume>
|
||||
<volume deviceCategory="DEVICE_CATEGORY_A2DP">
|
||||
<point>0,-4200</point>
|
||||
<point>33,-2800</point>
|
||||
<point>66,-1400</point>
|
||||
<point>100,0</point>
|
||||
</volume>
|
||||
<volume deviceCategory="DEVICE_CATEGORY_SPEAKER">
|
||||
<point>0,-3600</point>
|
||||
<point>10,-3200</point>
|
||||
<point>18,-2800</point>
|
||||
<point>27,-2450</point>
|
||||
<point>36,-2100</point>
|
||||
<point>45,-1750</point>
|
||||
<point>54,-1400</point>
|
||||
<point>63,-1100</point>
|
||||
<point>72,-800</point>
|
||||
<point>81,-500</point>
|
||||
<point>90,-250</point>
|
||||
<point>100,0</point>
|
||||
</volume>
|
||||
<volume deviceCategory="DEVICE_CATEGORY_EARPIECE">
|
||||
<point>0,-3600</point>
|
||||
<point>33,-2200</point>
|
||||
<point>66,-1000</point>
|
||||
<point>100,0</point>
|
||||
</volume>
|
||||
<volume deviceCategory="DEVICE_CATEGORY_EXT_MEDIA" ref="DEFAULT_MEDIA_VOLUME_CURVE"/>
|
||||
<volume deviceCategory="DEVICE_CATEGORY_HEARING_AID" ref="DEFAULT_HEARING_AID_VOLUME_CURVE"/>
|
||||
</volumeGroup>
|
||||
|
||||
<volumeGroup>
|
||||
<name>system</name>
|
||||
<indexMin>0</indexMin>
|
||||
<indexMax>15</indexMax>
|
||||
<volume deviceCategory="DEVICE_CATEGORY_HEADSET">
|
||||
<point>1,-4500</point>
|
||||
<point>13,-4200</point>
|
||||
<point>20,-3900</point>
|
||||
<point>27,-3600</point>
|
||||
<point>33,-3300</point>
|
||||
<point>40,-3000</point>
|
||||
<point>47,-2700</point>
|
||||
<point>53,-2400</point>
|
||||
<point>60,-2100</point>
|
||||
<point>66,-1800</point>
|
||||
<point>73,-1500</point>
|
||||
<point>80,-1200</point>
|
||||
<point>87,-750</point>
|
||||
<point>93,-430</point>
|
||||
<point>100,-80</point>
|
||||
</volume>
|
||||
<volume deviceCategory="DEVICE_CATEGORY_USB">
|
||||
<point>1,-4400</point>
|
||||
<point>13,-4100</point>
|
||||
<point>20,-3800</point>
|
||||
<point>26,-3500</point>
|
||||
<point>33,-3200</point>
|
||||
<point>40,-2900</point>
|
||||
<point>46,-2600</point>
|
||||
<point>53,-2300</point>
|
||||
<point>60,-2000</point>
|
||||
<point>66,-1700</point>
|
||||
<point>73,-1400</point>
|
||||
<point>80,-1050</point>
|
||||
<point>86,-700</point>
|
||||
<point>93,-350</point>
|
||||
<point>100,0</point>
|
||||
</volume>
|
||||
<volume deviceCategory="DEVICE_CATEGORY_A2DP">
|
||||
<point>1,-3000</point>
|
||||
<point>33,-2000</point>
|
||||
<point>66,-1000</point>
|
||||
<point>100,0</point>
|
||||
</volume>
|
||||
<volume deviceCategory="DEVICE_CATEGORY_SPEAKER">
|
||||
<point>1,-4550</point>
|
||||
<point>13,-3660</point>
|
||||
<point>20,-3240</point>
|
||||
<point>27,-2760</point>
|
||||
<point>33,-2440</point>
|
||||
<point>40,-2046</point>
|
||||
<point>47,-1690</point>
|
||||
<point>53,-1439</point>
|
||||
<point>60,-1240</point>
|
||||
<point>66,-1042</point>
|
||||
<point>73,-794</point>
|
||||
<point>80,-550</point>
|
||||
<point>87,-338</point>
|
||||
<point>93,-200</point>
|
||||
<point>100,-30</point>
|
||||
</volume>
|
||||
<volume deviceCategory="DEVICE_CATEGORY_HEADSET_CE">
|
||||
<point>1,-4400</point>
|
||||
<point>33,-3200</point>
|
||||
<point>73,-1400</point>
|
||||
<point>100,0</point>
|
||||
</volume>
|
||||
<volume deviceCategory="DEVICE_CATEGORY_USB_CE">
|
||||
<point>1,-4400</point>
|
||||
<point>33,-3200</point>
|
||||
<point>73,-1400</point>
|
||||
<point>100,0</point>
|
||||
</volume>
|
||||
<!--volume deviceCategory="DEVICE_CATEGORY_SPEAKER" ref="DEFAULT_SYSTEM_VOLUME_CURVE"/-->
|
||||
<volume deviceCategory="DEVICE_CATEGORY_EARPIECE" ref="DEFAULT_SYSTEM_VOLUME_CURVE"/>
|
||||
<volume deviceCategory="DEVICE_CATEGORY_EXT_MEDIA" ref="DEFAULT_DEVICE_CATEGORY_EXT_MEDIA_VOLUME_CURVE"/>
|
||||
<volume deviceCategory="DEVICE_CATEGORY_HEARING_AID" ref="DEFAULT_HEARING_AID_VOLUME_CURVE"/>
|
||||
</volumeGroup>
|
||||
|
||||
<volumeGroup>
|
||||
<name>ring</name>
|
||||
<indexMin>0</indexMin>
|
||||
<indexMax>15</indexMax>
|
||||
<volume deviceCategory="DEVICE_CATEGORY_HEADSET" ref="DEFAULT_DEVICE_CATEGORY_HEADSET_VOLUME_CURVE"/>
|
||||
<volume deviceCategory="DEVICE_CATEGORY_USB" ref="DEFAULT_DEVICE_CATEGORY_HEADSET_VOLUME_CURVE"/>
|
||||
<volume deviceCategory="DEVICE_CATEGORY_A2DP" ref="DEFAULT_DEVICE_CATEGORY_HEADSET_VOLUME_CURVE"/>
|
||||
<volume deviceCategory="DEVICE_CATEGORY_SPEAKER">
|
||||
<point>1,-4550</point>
|
||||
<point>13,-3660</point>
|
||||
<point>20,-3240</point>
|
||||
<point>27,-2760</point>
|
||||
<point>33,-2440</point>
|
||||
<point>40,-2046</point>
|
||||
<point>47,-1690</point>
|
||||
<point>53,-1439</point>
|
||||
<point>60,-1240</point>
|
||||
<point>66,-1042</point>
|
||||
<point>73,-794</point>
|
||||
<point>80,-550</point>
|
||||
<point>87,-338</point>
|
||||
<point>93,-200</point>
|
||||
<point>100,-30</point>
|
||||
</volume>
|
||||
<volume deviceCategory="DEVICE_CATEGORY_EARPIECE" ref="DEFAULT_DEVICE_CATEGORY_EARPIECE_VOLUME_CURVE"/>
|
||||
<volume deviceCategory="DEVICE_CATEGORY_EXT_MEDIA" ref="DEFAULT_DEVICE_CATEGORY_EXT_MEDIA_VOLUME_CURVE"/>
|
||||
<volume deviceCategory="DEVICE_CATEGORY_HEARING_AID" ref="DEFAULT_HEARING_AID_VOLUME_CURVE"/>
|
||||
</volumeGroup>
|
||||
|
||||
<volumeGroup>
|
||||
<name>music</name>
|
||||
<indexMin>0</indexMin>
|
||||
<indexMax>15</indexMax>
|
||||
<volume deviceCategory="DEVICE_CATEGORY_HEADSET">
|
||||
<point>1,-6450</point>
|
||||
<point>13,-5500</point>
|
||||
<point>20,-4950</point>
|
||||
<point>27,-4400</point>
|
||||
<point>33,-3900</point>
|
||||
<point>40,-3450</point>
|
||||
<point>47,-3000</point>
|
||||
<point>53,-2650</point>
|
||||
<point>60,-2300</point>
|
||||
<point>66,-1900</point>
|
||||
<point>73,-1550</point>
|
||||
<point>80,-1200</point>
|
||||
<point>87,-750</point>
|
||||
<point>93,-430</point>
|
||||
<point>100,-80</point>
|
||||
</volume>
|
||||
<volume deviceCategory="DEVICE_CATEGORY_USB">
|
||||
<point>1,-6280</point>
|
||||
<point>13,-5440</point>
|
||||
<point>20,-4920</point>
|
||||
<point>26,-4400</point>
|
||||
<point>33,-3900</point>
|
||||
<point>40,-3400</point>
|
||||
<point>46,-3000</point>
|
||||
<point>53,-2600</point>
|
||||
<point>60,-2200</point>
|
||||
<point>66,-1800</point>
|
||||
<point>73,-1400</point>
|
||||
<point>80,-1050</point>
|
||||
<point>86,-700</point>
|
||||
<point>93,-350</point>
|
||||
<point>100,0</point>
|
||||
</volume>
|
||||
<volume deviceCategory="DEVICE_CATEGORY_A2DP">
|
||||
<point>1,-4900</point>
|
||||
<point>13,-4300</point>
|
||||
<point>20,-3800</point>
|
||||
<point>27,-3400</point>
|
||||
<point>33,-3000</point>
|
||||
<point>40,-2700</point>
|
||||
<point>47,-2400</point>
|
||||
<point>53,-2100</point>
|
||||
<point>60,-1800</point>
|
||||
<point>66,-1500</point>
|
||||
<point>73,-1200</point>
|
||||
<point>80,-900</point>
|
||||
<point>87,-600</point>
|
||||
<point>93,-300</point>
|
||||
<point>100,0</point>
|
||||
</volume>
|
||||
<volume deviceCategory="DEVICE_CATEGORY_SPEAKER">
|
||||
<point>1,-6400</point>
|
||||
<point>13,-4600</point>
|
||||
<point>20,-3750</point>
|
||||
<point>27,-3180</point>
|
||||
<point>33,-2740</point>
|
||||
<point>40,-2366</point>
|
||||
<point>47,-2030</point>
|
||||
<point>53,-1709</point>
|
||||
<point>60,-1350</point>
|
||||
<point>66,-1042</point>
|
||||
<point>73,-794</point>
|
||||
<point>80,-550</point>
|
||||
<point>87,-338</point>
|
||||
<point>93,-200</point>
|
||||
<point>100,-30</point>
|
||||
</volume>
|
||||
<volume deviceCategory="DEVICE_CATEGORY_USB_CE">
|
||||
<point>1,-6280</point>
|
||||
<point>13,-5440</point>
|
||||
<point>20,-4920</point>
|
||||
<point>26,-4400</point>
|
||||
<point>33,-3900</point>
|
||||
<point>40,-3400</point>
|
||||
<point>46,-3000</point>
|
||||
<point>53,-2600</point>
|
||||
<point>60,-2200</point>
|
||||
<point>66,-1800</point>
|
||||
<point>73,-1400</point>
|
||||
<point>80,-1050</point>
|
||||
<point>86,-700</point>
|
||||
<point>93,-350</point>
|
||||
<point>100,0</point>
|
||||
</volume>
|
||||
<volume deviceCategory="DEVICE_CATEGORY_HEADSET_CE">
|
||||
<point>1,-6100</point>
|
||||
<point>13,-5400</point>
|
||||
<point>20,-4900</point>
|
||||
<point>26,-4400</point>
|
||||
<point>33,-3900</point>
|
||||
<point>40,-3400</point>
|
||||
<point>46,-3000</point>
|
||||
<point>53,-2600</point>
|
||||
<point>60,-2200</point>
|
||||
<point>66,-1800</point>
|
||||
<point>73,-1400</point>
|
||||
<point>80,-1050</point>
|
||||
<point>86,-700</point>
|
||||
<point>93,-350</point>
|
||||
<point>100,0</point>
|
||||
</volume>
|
||||
<volume deviceCategory="DEVICE_CATEGORY_EARPIECE" ref="DEFAULT_MEDIA_VOLUME_CURVE"/>
|
||||
<volume deviceCategory="DEVICE_CATEGORY_EXT_MEDIA" ref="DEFAULT_MEDIA_VOLUME_CURVE"/>
|
||||
<volume deviceCategory="DEVICE_CATEGORY_HEARING_AID" ref="DEFAULT_HEARING_AID_VOLUME_CURVE"/>
|
||||
</volumeGroup>
|
||||
|
||||
<volumeGroup>
|
||||
<name>alarm</name>
|
||||
<indexMin>1</indexMin>
|
||||
<indexMax>15</indexMax>
|
||||
<volume deviceCategory="DEVICE_CATEGORY_HEADSET" ref="DEFAULT_NON_MUTABLE_HEADSET_VOLUME_CURVE"/>
|
||||
<volume deviceCategory="DEVICE_CATEGORY_USB" ref="DEFAULT_NON_MUTABLE_HEADSET_VOLUME_CURVE"/>
|
||||
<volume deviceCategory="DEVICE_CATEGORY_A2DP" ref="DEFAULT_NON_MUTABLE_HEADSET_VOLUME_CURVE"/>
|
||||
<volume deviceCategory="DEVICE_CATEGORY_SPEAKER">
|
||||
<point>0,-4150</point>
|
||||
<point>13,-3300</point>
|
||||
<point>20,-2940</point>
|
||||
<point>27,-2450</point>
|
||||
<point>33,-2210</point>
|
||||
<point>40,-1876</point>
|
||||
<point>47,-1590</point>
|
||||
<point>53,-1359</point>
|
||||
<point>60,-1200</point>
|
||||
<point>66,-1042</point>
|
||||
<point>73,-794</point>
|
||||
<point>80,-550</point>
|
||||
<point>87,-338</point>
|
||||
<point>93,-200</point>
|
||||
<point>100,-30</point>
|
||||
</volume>
|
||||
<volume deviceCategory="DEVICE_CATEGORY_EARPIECE" ref="DEFAULT_NON_MUTABLE_EARPIECE_VOLUME_CURVE"/>
|
||||
<volume deviceCategory="DEVICE_CATEGORY_EXT_MEDIA" ref="DEFAULT_NON_MUTABLE_EXT_VOLUME_CURVE"/>
|
||||
<volume deviceCategory="DEVICE_CATEGORY_HEARING_AID" ref="DEFAULT_NON_MUTABLE_HEARING_AID_VOLUME_CURVE"/>
|
||||
</volumeGroup>
|
||||
|
||||
<volumeGroup>
|
||||
<name>notification</name>
|
||||
<indexMin>0</indexMin>
|
||||
<indexMax>15</indexMax>
|
||||
<volume deviceCategory="DEVICE_CATEGORY_HEADSET" ref="DEFAULT_DEVICE_CATEGORY_HEADSET_VOLUME_CURVE"/>
|
||||
<volume deviceCategory="DEVICE_CATEGORY_USB" ref="DEFAULT_DEVICE_CATEGORY_HEADSET_VOLUME_CURVE"/>
|
||||
<volume deviceCategory="DEVICE_CATEGORY_A2DP" ref="DEFAULT_DEVICE_CATEGORY_HEADSET_VOLUME_CURVE"/>
|
||||
<volume deviceCategory="DEVICE_CATEGORY_SPEAKER" ref="DEFAULT_DEVICE_CATEGORY_SPEAKER_SYSTEM_VOLUME_CURVE"/>
|
||||
<volume deviceCategory="DEVICE_CATEGORY_EARPIECE" ref="DEFAULT_DEVICE_CATEGORY_EARPIECE_VOLUME_CURVE"/>
|
||||
<volume deviceCategory="DEVICE_CATEGORY_EXT_MEDIA" ref="DEFAULT_DEVICE_CATEGORY_EXT_MEDIA_VOLUME_CURVE"/>
|
||||
<volume deviceCategory="DEVICE_CATEGORY_HEARING_AID" ref="DEFAULT_DEVICE_CATEGORY_HEADSET_VOLUME_CURVE"/>
|
||||
</volumeGroup>
|
||||
|
||||
<volumeGroup>
|
||||
<name>bluetooth_sco</name>
|
||||
<indexMin>1</indexMin>
|
||||
<indexMax>15</indexMax>
|
||||
<volume deviceCategory="DEVICE_CATEGORY_HEADSET">
|
||||
<point>0,-4200</point>
|
||||
<point>33,-2800</point>
|
||||
<point>66,-1400</point>
|
||||
<point>100,0</point>
|
||||
</volume>
|
||||
<volume deviceCategory="DEVICE_CATEGORY_USB">
|
||||
<point>0,-4200</point>
|
||||
<point>33,-2800</point>
|
||||
<point>66,-1400</point>
|
||||
<point>100,0</point>
|
||||
</volume>
|
||||
<volume deviceCategory="DEVICE_CATEGORY_A2DP">
|
||||
<point>0,-4200</point>
|
||||
<point>33,-2800</point>
|
||||
<point>66,-1400</point>
|
||||
<point>100,0</point>
|
||||
</volume>
|
||||
<volume deviceCategory="DEVICE_CATEGORY_SPEAKER">
|
||||
<point>0,-2400</point>
|
||||
<point>33,-1600</point>
|
||||
<point>66,-800</point>
|
||||
<point>100,0</point>
|
||||
</volume>
|
||||
<volume deviceCategory="DEVICE_CATEGORY_EARPIECE">
|
||||
<point>0,-4200</point>
|
||||
<point>33,-2800</point>
|
||||
<point>66,-1400</point>
|
||||
<point>100,0</point>
|
||||
</volume>
|
||||
<volume deviceCategory="DEVICE_CATEGORY_EXT_MEDIA" ref="DEFAULT_MEDIA_VOLUME_CURVE"/>
|
||||
<volume deviceCategory="DEVICE_CATEGORY_HEARING_AID" ref="DEFAULT_HEARING_AID_VOLUME_CURVE"/>
|
||||
</volumeGroup>
|
||||
|
||||
<volumeGroup>
|
||||
<name>enforced_audible</name>
|
||||
<indexMin>0</indexMin>
|
||||
<indexMax>7</indexMax>
|
||||
<volume deviceCategory="DEVICE_CATEGORY_HEADSET">
|
||||
<point>1,-3000</point>
|
||||
<point>33,-2600</point>
|
||||
<point>66,-2200</point>
|
||||
<point>100,-1800</point>
|
||||
</volume>
|
||||
<volume deviceCategory="DEVICE_CATEGORY_USB">
|
||||
<point>1,-3000</point>
|
||||
<point>33,-2600</point>
|
||||
<point>66,-2200</point>
|
||||
<point>100,-1800</point>
|
||||
</volume>
|
||||
<volume deviceCategory="DEVICE_CATEGORY_A2DP">
|
||||
<point>1,-3000</point>
|
||||
<point>33,-2600</point>
|
||||
<point>66,-2200</point>
|
||||
<point>100,-1800</point>
|
||||
</volume>
|
||||
<volume deviceCategory="DEVICE_CATEGORY_SPEAKER" ref="DEFAULT_SYSTEM_VOLUME_CURVE"/>
|
||||
<volume deviceCategory="DEVICE_CATEGORY_EARPIECE" ref="DEFAULT_SYSTEM_VOLUME_CURVE"/>
|
||||
<volume deviceCategory="DEVICE_CATEGORY_EXT_MEDIA" ref="DEFAULT_DEVICE_CATEGORY_EXT_MEDIA_VOLUME_CURVE"/>
|
||||
<volume deviceCategory="DEVICE_CATEGORY_HEARING_AID" ref="DEFAULT_HEARING_AID_VOLUME_CURVE"/>
|
||||
</volumeGroup>
|
||||
|
||||
<volumeGroup>
|
||||
<name>dtmf</name>
|
||||
<indexMin>0</indexMin>
|
||||
<indexMax>15</indexMax>
|
||||
<volume deviceCategory="DEVICE_CATEGORY_HEADSET">
|
||||
<point>0,-8000</point>
|
||||
<point>1,-7000</point>
|
||||
<point>6,-6000</point>
|
||||
<point>13,-5000</point>
|
||||
<point>20,-4100</point>
|
||||
<point>26,-3800</point>
|
||||
<point>33,-3300</point>
|
||||
<point>40,-2950</point>
|
||||
<point>46,-2600</point>
|
||||
<point>53,-2250</point>
|
||||
<point>60,-1900</point>
|
||||
<point>66,-1550</point>
|
||||
<point>73,-1200</point>
|
||||
<point>80,-920</point>
|
||||
<point>86,-700</point>
|
||||
<point>93,-350</point>
|
||||
<point>100,0</point>
|
||||
</volume>
|
||||
<volume deviceCategory="DEVICE_CATEGORY_USB">
|
||||
<point>0,-8000</point>
|
||||
<point>1,-7000</point>
|
||||
<point>6,-6000</point>
|
||||
<point>13,-5000</point>
|
||||
<point>20,-4100</point>
|
||||
<point>26,-3800</point>
|
||||
<point>33,-3300</point>
|
||||
<point>40,-2950</point>
|
||||
<point>46,-2600</point>
|
||||
<point>53,-2250</point>
|
||||
<point>60,-1900</point>
|
||||
<point>66,-1550</point>
|
||||
<point>73,-1200</point>
|
||||
<point>80,-920</point>
|
||||
<point>86,-700</point>
|
||||
<point>93,-350</point>
|
||||
<point>100,0</point>
|
||||
</volume>
|
||||
<volume deviceCategory="DEVICE_CATEGORY_A2DP">
|
||||
<point>0,-8000</point>
|
||||
<point>1,-7000</point>
|
||||
<point>6,-6000</point>
|
||||
<point>13,-5000</point>
|
||||
<point>20,-4100</point>
|
||||
<point>26,-3800</point>
|
||||
<point>33,-3300</point>
|
||||
<point>40,-2950</point>
|
||||
<point>46,-2600</point>
|
||||
<point>53,-2250</point>
|
||||
<point>60,-1900</point>
|
||||
<point>66,-1550</point>
|
||||
<point>73,-1200</point>
|
||||
<point>80,-920</point>
|
||||
<point>86,-700</point>
|
||||
<point>93,-350</point>
|
||||
<point>100,0</point>
|
||||
</volume>
|
||||
<volume deviceCategory="DEVICE_CATEGORY_SPEAKER" ref="DEFAULT_SYSTEM_VOLUME_CURVE"/>
|
||||
<volume deviceCategory="DEVICE_CATEGORY_EARPIECE" ref="DEFAULT_SYSTEM_VOLUME_CURVE"/>
|
||||
<volume deviceCategory="DEVICE_CATEGORY_EXT_MEDIA" ref="DEFAULT_DEVICE_CATEGORY_EXT_MEDIA_VOLUME_CURVE"/>
|
||||
<volume deviceCategory="DEVICE_CATEGORY_HEARING_AID" ref="DEFAULT_HEARING_AID_VOLUME_CURVE"/>
|
||||
</volumeGroup>
|
||||
|
||||
<volumeGroup>
|
||||
<name>tts</name>
|
||||
<indexMin>0</indexMin>
|
||||
<indexMax>15</indexMax>
|
||||
<volume deviceCategory="DEVICE_CATEGORY_HEADSET" ref="SILENT_VOLUME_CURVE"/>
|
||||
<volume deviceCategory="DEVICE_CATEGORY_USB" ref="SILENT_VOLUME_CURVE"/>
|
||||
<volume deviceCategory="DEVICE_CATEGORY_A2DP" ref="SILENT_VOLUME_CURVE"/>
|
||||
<volume deviceCategory="DEVICE_CATEGORY_SPEAKER" ref="FULL_SCALE_VOLUME_CURVE"/>
|
||||
<volume deviceCategory="DEVICE_CATEGORY_EARPIECE" ref="SILENT_VOLUME_CURVE"/>
|
||||
<volume deviceCategory="DEVICE_CATEGORY_EXT_MEDIA" ref="SILENT_VOLUME_CURVE"/>
|
||||
<volume deviceCategory="DEVICE_CATEGORY_HEARING_AID" ref="SILENT_VOLUME_CURVE"/>
|
||||
</volumeGroup>
|
||||
|
||||
<volumeGroup>
|
||||
<name>accessibility</name>
|
||||
<indexMin>1</indexMin>
|
||||
<indexMax>15</indexMax>
|
||||
<volume deviceCategory="DEVICE_CATEGORY_HEADSET" ref="DEFAULT_NON_MUTABLE_VOLUME_CURVE"/>
|
||||
<volume deviceCategory="DEVICE_CATEGORY_USB" ref="DEFAULT_NON_MUTABLE_VOLUME_CURVE"/>
|
||||
<volume deviceCategory="DEVICE_CATEGORY_A2DP" ref="DEFAULT_NON_MUTABLE_VOLUME_CURVE"/>
|
||||
<volume deviceCategory="DEVICE_CATEGORY_SPEAKER" ref="DEFAULT_NON_MUTABLE_SPEAKER_VOLUME_CURVE"/>
|
||||
<volume deviceCategory="DEVICE_CATEGORY_EARPIECE" ref="DEFAULT_NON_MUTABLE_VOLUME_CURVE"/>
|
||||
<volume deviceCategory="DEVICE_CATEGORY_EXT_MEDIA" ref="DEFAULT_NON_MUTABLE_VOLUME_CURVE"/>
|
||||
<volume deviceCategory="DEVICE_CATEGORY_HEARING_AID" ref="DEFAULT_NON_MUTABLE_HEARING_AID_VOLUME_CURVE"/>
|
||||
</volumeGroup>
|
||||
|
||||
<volumeGroup>
|
||||
<name>assistant</name>
|
||||
<indexMin>0</indexMin>
|
||||
<indexMax>15</indexMax>
|
||||
<volume deviceCategory="DEVICE_CATEGORY_HEADSET" ref="DEFAULT_MEDIA_VOLUME_CURVE"/>
|
||||
<volume deviceCategory="DEVICE_CATEGORY_USB" ref="DEFAULT_MEDIA_VOLUME_CURVE"/>
|
||||
<volume deviceCategory="DEVICE_CATEGORY_A2DP" ref="DEFAULT_MEDIA_VOLUME_CURVE"/>
|
||||
<volume deviceCategory="DEVICE_CATEGORY_SPEAKER" ref="DEFAULT_DEVICE_CATEGORY_SPEAKER_VOLUME_CURVE"/>
|
||||
<volume deviceCategory="DEVICE_CATEGORY_EARPIECE" ref="DEFAULT_MEDIA_VOLUME_CURVE"/>
|
||||
<volume deviceCategory="DEVICE_CATEGORY_EXT_MEDIA" ref="DEFAULT_MEDIA_VOLUME_CURVE"/>
|
||||
<volume deviceCategory="DEVICE_CATEGORY_HEARING_AID" ref="DEFAULT_HEARING_AID_VOLUME_CURVE"/>
|
||||
</volumeGroup>
|
||||
|
||||
</volumeGroups>
|
||||
|
||||
@@ -0,0 +1,257 @@
|
||||
{
|
||||
"version": "1.0",
|
||||
"product": "xun",
|
||||
"support": {
|
||||
"cam_boost_enable": true,
|
||||
"3rdcam_boost_enable": true,
|
||||
"cam_boost_opt_enable": true,
|
||||
"cam_boost_forcestop_enable": false,
|
||||
"mms_camcpt_enable": false,
|
||||
"inhibit_procs_enable": true,
|
||||
"inhibit_3rdprocs_enable": true,
|
||||
"lmkd_cammode_enable": true,
|
||||
"oom_update_support": true,
|
||||
"cam_reclaim_enable": true,
|
||||
"adj_swap_support": true,
|
||||
"trim_memory_support": false,
|
||||
"cam_boost_early_enable": true,
|
||||
"perceptible_support": true,
|
||||
"lmkd_perceptible_support":true,
|
||||
"dynamic_task_proctect_support": false
|
||||
},
|
||||
"oom": {
|
||||
"oom_level": "23040:0,38400:100,69120:200,102400:300,204800:800,307200:900",
|
||||
"psi_level": "30,20,13,8"
|
||||
},
|
||||
"threshold": {
|
||||
"skip_task": 4,
|
||||
"skip_task_lower": 1,
|
||||
"adj_threshold": 800,
|
||||
"lowAdj_threshold": 201,
|
||||
"lowerAdj_freeMem_threshold": 409600,
|
||||
"cam_boost_threshold": 2936012,
|
||||
"cam_boost_ext_mem": 0,
|
||||
"cam_record_reclaim": 2097152,
|
||||
"cam_boost_reclaim": 1297152,
|
||||
"update_state_delay_ms": 5000,
|
||||
"intercept_restart_time": 2000,
|
||||
"kill_lowprio_sysapp_threshlod": 0,
|
||||
"kill_highprio_sysapp_threshlod": 0,
|
||||
"kill_tag": 7,
|
||||
"protect_locktask_num": 0,
|
||||
"3rdcam_boost_threshold": 2097152,
|
||||
"3rd_skip_task_lower": 3,
|
||||
"3rd_lowAdj_threshold": 201,
|
||||
"3rd_kill_tag": 7
|
||||
},
|
||||
"configs": [
|
||||
{
|
||||
"name": "protect_list",
|
||||
"config": [
|
||||
"com.tencent.mobileqq",
|
||||
"com.ss.android.lark.kami"
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "white_list",
|
||||
"config": [
|
||||
"com.android.camera",
|
||||
"android.process.media",
|
||||
"com.miui.gallery",
|
||||
"com.android.traceur",
|
||||
"com.miui.home",
|
||||
"com.tencent.mm",
|
||||
"com.tencent.mm:push",
|
||||
"com.tencent.mobileqq:MSF",
|
||||
"com.whatsapp",
|
||||
"org.telegram.messenger",
|
||||
"org.thunderdog.challegram",
|
||||
"com.facebook.orca",
|
||||
"com.facebook.katana",
|
||||
"jp.naver.line.android",
|
||||
"com.ss.android.lark.kami:wschannel",
|
||||
"com.phonetest.application:CameraMemoryWatcher",
|
||||
"com.phonetest.application",
|
||||
"android.camera.cts",
|
||||
"android.camera.cts:errorLoggingServiceProcess",
|
||||
"com.miui.avpressuretest",
|
||||
"com.android.mms:mms_service"
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "black_list",
|
||||
"config": [
|
||||
"com.miui.newhome:launcher",
|
||||
"com.miui.systemAdSolution",
|
||||
"com.xiaomi.smarthome:plugin0",
|
||||
"com.xiaomi.smarthome",
|
||||
"com.android.quicksearchbox",
|
||||
"com.miui.systemAdSolution:ui",
|
||||
"com.xiaomi.misettings",
|
||||
"com.android.settings:remote"
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "inhibit_app_list",
|
||||
"config": [
|
||||
"com.google.android.providers.media.module",
|
||||
"com.sohu.inputmethod.sogou.xiaomi",
|
||||
"com.tencent.qqlive",
|
||||
"com.xingin.xhs",
|
||||
"tv.danmaku.bili",
|
||||
"com.ss.android.article.news",
|
||||
"com.ss.android.article.lite",
|
||||
"com.netease.cloudmusic",
|
||||
"com.qiyi.video",
|
||||
"com.smile.gifmaker",
|
||||
"com.sina.weibo",
|
||||
"com.ss.android.ugc.aweme",
|
||||
"com.ss.android.ugc.aweme.lite",
|
||||
"com.ss.android.lark.kami",
|
||||
"com.miHoYo.ys.mi"
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "inhibit_native_list",
|
||||
"config": [
|
||||
"com.google.android.gms.persistent",
|
||||
"/system/bin/logd",
|
||||
"/vendor/bin/diag-router"
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "intercept_restart_list",
|
||||
"config": [
|
||||
"com.xiaomi.bsp.gps.nps",
|
||||
"com.android.settings:remote"
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "start_black_list",
|
||||
"config": [
|
||||
"com.mi.android.globalminusscreen:Metrica",
|
||||
"com.mi.android.globalminusscreen",
|
||||
"com.xiaomi.mipicks"
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "skip_task_list",
|
||||
"config": [
|
||||
"com.android.camera",
|
||||
"com.miui.home",
|
||||
"com.miui.gallery"
|
||||
]
|
||||
}
|
||||
],
|
||||
"configs_cn": [
|
||||
{
|
||||
"name": "black_list",
|
||||
"config": [
|
||||
"com.miui.newhome:launcher",
|
||||
"com.miui.systemAdSolution",
|
||||
"com.xiaomi.smarthome:plugin0",
|
||||
"com.xiaomi.smarthome",
|
||||
"com.android.quicksearchbox",
|
||||
"com.google.android.gms",
|
||||
"com.miui.systemAdSolution:ui",
|
||||
"com.google.android.gms.persistent",
|
||||
"com.xiaomi.misettings",
|
||||
"com.android.settings:remote"
|
||||
]
|
||||
}
|
||||
],
|
||||
"oom_6Gmem": {
|
||||
"oom_level": "18432:0,23040:100,125000:200,150000:250,204800:800,281600:950",
|
||||
"psi_level": "30,20,13,8"
|
||||
},
|
||||
"threshold_6Gmem": {
|
||||
"skip_task": 3,
|
||||
"skip_task_lower": 1,
|
||||
"adj_threshold": 701,
|
||||
"lowAdj_threshold": 201,
|
||||
"lowerAdj_freeMem_threshold": 102400,
|
||||
"cam_boost_threshold": 0,
|
||||
"3rdcam_boost_threshold": 1433600,
|
||||
"3rd_skip_task_lower": 3,
|
||||
"3rd_lowAdj_threshold": 201,
|
||||
"kill_tag": 15,
|
||||
"3rd_kill_tag": 15
|
||||
},
|
||||
"configs_6Gmem": [
|
||||
{
|
||||
"name": "protect_list",
|
||||
"config": [
|
||||
"android.process.media",
|
||||
"com.tencent.mobileqq",
|
||||
"com.ss.android.lark.kami"
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "white_list",
|
||||
"config": [
|
||||
"com.android.camera",
|
||||
"com.miui.gallery",
|
||||
"com.tencent.mm",
|
||||
"com.miui.home",
|
||||
"com.whatsapp",
|
||||
"org.telegram.messenger",
|
||||
"org.thunderdog.challegram",
|
||||
"com.facebook.orca",
|
||||
"com.facebook.katana",
|
||||
"jp.naver.line.android",
|
||||
"com.tencent.mm:push",
|
||||
"com.tencent.mobileqq:MSF",
|
||||
"com.ss.android.lark.kami:wschannel",
|
||||
"com.phonetest.application:CameraMemoryWatcher",
|
||||
"com.android.mms:mms_service"
|
||||
]
|
||||
}
|
||||
],
|
||||
"oom_4Gmem": {
|
||||
"oom_level": "18432:0,23040:100,102400:200,125000:250,175000:800,256000:950",
|
||||
"psi_level": "30,20,13,8"
|
||||
},
|
||||
"threshold_4Gmem": {
|
||||
"skip_task": 3,
|
||||
"skip_task_lower": 1,
|
||||
"adj_threshold": 701,
|
||||
"lowAdj_threshold": 50,
|
||||
"lowerAdj_freeMem_threshold": 87040,
|
||||
"cam_boost_threshold": 1502400,
|
||||
"3rdcam_boost_threshold": 1382400,
|
||||
"3rd_skip_task_lower": 1,
|
||||
"3rd_lowAdj_threshold": 50,
|
||||
"kill_tag": 15,
|
||||
"3rd_kill_tag": 15
|
||||
},
|
||||
"configs_4Gmem": [
|
||||
{
|
||||
"name": "protect_list",
|
||||
"config": [
|
||||
"android.process.media",
|
||||
"com.tencent.mobileqq",
|
||||
"com.ss.android.lark.kami"
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "white_list",
|
||||
"config": [
|
||||
"com.android.camera",
|
||||
"com.miui.gallery",
|
||||
"com.tencent.mm",
|
||||
"com.miui.home",
|
||||
"com.whatsapp",
|
||||
"org.telegram.messenger",
|
||||
"org.thunderdog.challegram",
|
||||
"com.facebook.orca",
|
||||
"com.facebook.katana",
|
||||
"jp.naver.line.android",
|
||||
"com.tencent.mm:push",
|
||||
"com.tencent.mobileqq:MSF",
|
||||
"com.ss.android.lark.kami:wschannel",
|
||||
"com.phonetest.application:CameraMemoryWatcher",
|
||||
"com.android.mms:mms_service"
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
Reference in new issue
Block a user