diff --git a/Huawei/hi3660/HWI/Android.mk b/Huawei/hi3660/HWI/Android.mk index 4b9b72bb4..38390f058 100644 --- a/Huawei/hi3660/HWI/Android.mk +++ b/Huawei/hi3660/HWI/Android.mk @@ -1,7 +1,7 @@ LOCAL_PATH := $(call my-dir) include $(CLEAR_VARS) LOCAL_MODULE_TAGS := optional -LOCAL_PACKAGE_NAME := treble-overlay-huawei-hi3660 +LOCAL_PACKAGE_NAME := treble-overlay-huawei-HWI LOCAL_MODULE_PATH := $(TARGET_OUT_PRODUCT)/overlay LOCAL_IS_RUNTIME_RESOURCE_OVERLAY := true LOCAL_PRIVATE_PLATFORM_APIS := true diff --git a/Huawei/hi3660/HWI/AndroidManifest.xml b/Huawei/hi3660/HWI/AndroidManifest.xml index e20707961..df6e569d7 100644 --- a/Huawei/hi3660/HWI/AndroidManifest.xml +++ b/Huawei/hi3660/HWI/AndroidManifest.xml @@ -1,10 +1,10 @@ diff --git a/Huawei/hi3660/HWI/res/xml/power_profile.xml b/Huawei/hi3660/HWI/res/xml/power_profile.xml index a3ee5b2db..322d16e9b 100644 --- a/Huawei/hi3660/HWI/res/xml/power_profile.xml +++ b/Huawei/hi3660/HWI/res/xml/power_profile.xml @@ -1,69 +1,100 @@ - - - - 0 - 265 - 97 - 0.6 - 0.6 - 485 - 0.6 - 128 - 146 - 38 - 163 - 180 - 70 - 5100 - 60 - - - 13.0 - 10.0 - 10.0 - 10.0 - 10.0 - - - 533000 - 999000 - 1402000 - 1709000 - 1844000 - 2112000 - 2362000 - 2612000 - - - 4 - - 35 - - - 30 - 72 - 133 - 201 - 250 - 990 - 1761 - 1948 - - + + 0.1 + 0.1 + 0.1 + 0.1 + 0.1 + 0.1 + 0.1 + 0.1 + 0.1 + 0.1 + 0.1 + 0.1 + 0.1 + 0.1 + 0.1 + + 0.2 + 0.1 + + + 1 + + + 400000 + + + 0.1 + + 0.1 + + 22.7 + + 1000 + 0 + 0 + 0 + + 0 + + .0002 + .002 + .02 + .2 + 2 + + 0 + 0 + 0 + + 0 + 0 + 0 + 0 + 0 + + 0 + + 0 + 0 + + 0 + \ No newline at end of file diff --git a/Huawei/hi3660/HWI/res/xml/power_profile_test.xml b/Huawei/hi3660/HWI/res/xml/power_profile_test.xml new file mode 100644 index 000000000..baf96f840 --- /dev/null +++ b/Huawei/hi3660/HWI/res/xml/power_profile_test.xml @@ -0,0 +1,75 @@ + + + 3000 + + 4 + 4 + + 5 + 1.11 + 2.55 + 2.11 + 2.22 + + 300000 + 1000000 + 2000000 + + + 300000 + 1000000 + 2500000 + 3000000 + + + 10 + 20 + 30 + + + 25 + 35 + 50 + 60 + + 0.5 + 100 + 800 + 500 + 600 + 100.0 + 150.0 + 10 + 60 + 3 + + 6 + 5 + 4 + 3 + 3 + + \ No newline at end of file diff --git a/fail b/fail deleted file mode 100644 index e69de29bb..000000000 diff --git a/overlay.mk b/overlay.mk index 792971599..52f4d9eb6 100644 --- a/overlay.mk +++ b/overlay.mk @@ -39,7 +39,7 @@ PRODUCT_PACKAGES += \ treble-overlay-huawei-DUK \ treble-overlay-huawei-EML \ treble-overlay-huawei-FIG \ - treble-overlay-huawei-hi3660 \ + treble-overlay-huawei-HWI \ treble-overlay-huawei-LLD \ treble-overlay-huawei-MAR \ treble-overlay-huawei-PIC \