From ace71f5bc6582906adb5b251bdce78c998bb18e1 Mon Sep 17 00:00:00 2001 From: Yvonne Yip Date: Tue, 1 Oct 2024 15:59:36 -0700 Subject: [PATCH 1/2] powerhint: enable auto_prefer_idle in games Bug: 353987938 Test: manual testing Flag: NONE powerhint (cherry picked from https://googleplex-android-review.googlesource.com/q/commit:a6d5fc884a3542a258d07a6d3b05c34fe76bfe8e) Merged-In: Iddf88214a408d874bd6be8fa9bc72aa335bfa482 Change-Id: Iddf88214a408d874bd6be8fa9bc72aa335bfa482 --- perf/powerhint-caiman.json | 2 +- perf/powerhint-komodo.json | 2 +- perf/powerhint-tokay.json | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/perf/powerhint-caiman.json b/perf/powerhint-caiman.json index e1790113..ebe5dfdd 100644 --- a/perf/powerhint-caiman.json +++ b/perf/powerhint-caiman.json @@ -3265,7 +3265,7 @@ "PowerHint": "GAME", "Node": "AutoPreferIdle", "Duration": 0, - "Value": "0" + "Value": "1" }, { "PowerHint": "GAME", diff --git a/perf/powerhint-komodo.json b/perf/powerhint-komodo.json index cb90e907..19f55f00 100644 --- a/perf/powerhint-komodo.json +++ b/perf/powerhint-komodo.json @@ -3265,7 +3265,7 @@ "PowerHint": "GAME", "Node": "AutoPreferIdle", "Duration": 0, - "Value": "0" + "Value": "1" }, { "PowerHint": "GAME", diff --git a/perf/powerhint-tokay.json b/perf/powerhint-tokay.json index e1790113..ebe5dfdd 100644 --- a/perf/powerhint-tokay.json +++ b/perf/powerhint-tokay.json @@ -3265,7 +3265,7 @@ "PowerHint": "GAME", "Node": "AutoPreferIdle", "Duration": 0, - "Value": "0" + "Value": "1" }, { "PowerHint": "GAME", From 262991dbfcdf6df525775ae447739f7b988ade4a Mon Sep 17 00:00:00 2001 From: James Huang Date: Sun, 20 Oct 2024 20:57:25 +0800 Subject: [PATCH 2/2] gps: Update official release 4.15.3_7_241024_R1 config on P24 Add Chip_Configuration_ntn_option=2 bug: 369951938 Test: NTN test (cherry picked from https://googleplex-android-review.googlesource.com/q/commit:1830a99ad22195b5993d782ca99189f83b89c3a4) Merged-In: Ieae21e4716d39c7e1b73ae6128032abcbcfa689a Change-Id: Ieae21e4716d39c7e1b73ae6128032abcbcfa689a --- location/caiman/user/gps.cfg | 1 + location/caiman/userdebug/gps.cfg | 5 +++++ location/komodo/user/gps.cfg | 1 + location/komodo/userdebug/gps.cfg | 5 +++++ location/ripcurrent24/user/gps.cfg | 1 + location/ripcurrent24/userdebug/gps.cfg | 5 +++++ location/ripcurrentpro/user/gps.cfg | 1 + location/ripcurrentpro/userdebug/gps.cfg | 5 +++++ location/tokay/user/gps.cfg | 1 + location/tokay/userdebug/gps.cfg | 5 +++++ 10 files changed, 30 insertions(+) diff --git a/location/caiman/user/gps.cfg b/location/caiman/user/gps.cfg index c0c7f740..d329a77b 100644 --- a/location/caiman/user/gps.cfg +++ b/location/caiman/user/gps.cfg @@ -29,6 +29,7 @@ Chip_Configuration_DCXO_CrystalType=0x11 Chip_Configuration_GNSSConstConstraintDef = 0x60FF LocTech_Constraints = 0x60FF Chip_Configuration_RfMiscCtrl = 0x80008001 +Chip_Configuration_ntn_option=2 bdsUsedInUSPolicy=2 sbasUsedInUSPolicy=2 qzssUsedInUSPolicy=2 diff --git a/location/caiman/userdebug/gps.cfg b/location/caiman/userdebug/gps.cfg index c373b124..61c7f3ed 100644 --- a/location/caiman/userdebug/gps.cfg +++ b/location/caiman/userdebug/gps.cfg @@ -115,6 +115,11 @@ Chip_Configuration_RfMiscCtrl = 0x80008001 #Chip_Configuration_RfMiscCtrl=0x8001 #Chip_Configuration_IspTestConfig=0x22242822 +#Chip_Configuration_ntn_option=0 means no NTN blackout IPC handling +#Chip_Configuration_ntn_option=1 means L1 blanking during NTN blackout period. +#Chip_Configuration_ntn_option=2 means turning GNSS off during NTN blackout period. +Chip_Configuration_ntn_option=2 + # Disable BDS in the U.S. # 0-enabled (default), 1-disabled, 2-auto(disabled in US) #gloUsedInUSPolicy=2 diff --git a/location/komodo/user/gps.cfg b/location/komodo/user/gps.cfg index 8efa8092..f9e6e7c6 100644 --- a/location/komodo/user/gps.cfg +++ b/location/komodo/user/gps.cfg @@ -29,6 +29,7 @@ Chip_Configuration_DCXO_CrystalType=0x11 Chip_Configuration_GNSSConstConstraintDef = 0x60FF LocTech_Constraints = 0x60FF Chip_Configuration_RfMiscCtrl = 0x80008001 +Chip_Configuration_ntn_option=2 bdsUsedInUSPolicy=2 sbasUsedInUSPolicy=2 qzssUsedInUSPolicy=2 diff --git a/location/komodo/userdebug/gps.cfg b/location/komodo/userdebug/gps.cfg index e0ce7ba6..3aae35e8 100644 --- a/location/komodo/userdebug/gps.cfg +++ b/location/komodo/userdebug/gps.cfg @@ -115,6 +115,11 @@ Chip_Configuration_RfMiscCtrl = 0x80008001 #Chip_Configuration_RfMiscCtrl=0x8001 #Chip_Configuration_IspTestConfig=0x22242822 +#Chip_Configuration_ntn_option=0 means no NTN blackout IPC handling +#Chip_Configuration_ntn_option=1 means L1 blanking during NTN blackout period. +#Chip_Configuration_ntn_option=2 means turning GNSS off during NTN blackout period. +Chip_Configuration_ntn_option=2 + # Disable BDS in the U.S. # 0-enabled (default), 1-disabled, 2-auto(disabled in US) #gloUsedInUSPolicy=2 diff --git a/location/ripcurrent24/user/gps.cfg b/location/ripcurrent24/user/gps.cfg index 554454cd..bd26a81f 100644 --- a/location/ripcurrent24/user/gps.cfg +++ b/location/ripcurrent24/user/gps.cfg @@ -29,6 +29,7 @@ Chip_Configuration_DCXO_CrystalType=0x11 Chip_Configuration_GNSSConstConstraintDef = 0x60FF LocTech_Constraints = 0x60FF Chip_Configuration_RfMiscCtrl = 0x80008001 +Chip_Configuration_ntn_option=2 bdsUsedInUSPolicy=2 sbasUsedInUSPolicy=2 qzssUsedInUSPolicy=2 diff --git a/location/ripcurrent24/userdebug/gps.cfg b/location/ripcurrent24/userdebug/gps.cfg index d99fc8e0..f6ff481f 100644 --- a/location/ripcurrent24/userdebug/gps.cfg +++ b/location/ripcurrent24/userdebug/gps.cfg @@ -115,6 +115,11 @@ Chip_Configuration_RfMiscCtrl = 0x80008001 #Chip_Configuration_RfMiscCtrl=0x8001 #Chip_Configuration_IspTestConfig=0x22242822 +#Chip_Configuration_ntn_option=0 means no NTN blackout IPC handling +#Chip_Configuration_ntn_option=1 means L1 blanking during NTN blackout period. +#Chip_Configuration_ntn_option=2 means turning GNSS off during NTN blackout period. +Chip_Configuration_ntn_option=2 + # Disable BDS in the U.S. # 0-enabled (default), 1-disabled, 2-auto(disabled in US) #gloUsedInUSPolicy=2 diff --git a/location/ripcurrentpro/user/gps.cfg b/location/ripcurrentpro/user/gps.cfg index 554454cd..bd26a81f 100644 --- a/location/ripcurrentpro/user/gps.cfg +++ b/location/ripcurrentpro/user/gps.cfg @@ -29,6 +29,7 @@ Chip_Configuration_DCXO_CrystalType=0x11 Chip_Configuration_GNSSConstConstraintDef = 0x60FF LocTech_Constraints = 0x60FF Chip_Configuration_RfMiscCtrl = 0x80008001 +Chip_Configuration_ntn_option=2 bdsUsedInUSPolicy=2 sbasUsedInUSPolicy=2 qzssUsedInUSPolicy=2 diff --git a/location/ripcurrentpro/userdebug/gps.cfg b/location/ripcurrentpro/userdebug/gps.cfg index d99fc8e0..f6ff481f 100644 --- a/location/ripcurrentpro/userdebug/gps.cfg +++ b/location/ripcurrentpro/userdebug/gps.cfg @@ -115,6 +115,11 @@ Chip_Configuration_RfMiscCtrl = 0x80008001 #Chip_Configuration_RfMiscCtrl=0x8001 #Chip_Configuration_IspTestConfig=0x22242822 +#Chip_Configuration_ntn_option=0 means no NTN blackout IPC handling +#Chip_Configuration_ntn_option=1 means L1 blanking during NTN blackout period. +#Chip_Configuration_ntn_option=2 means turning GNSS off during NTN blackout period. +Chip_Configuration_ntn_option=2 + # Disable BDS in the U.S. # 0-enabled (default), 1-disabled, 2-auto(disabled in US) #gloUsedInUSPolicy=2 diff --git a/location/tokay/user/gps.cfg b/location/tokay/user/gps.cfg index 9f4f8775..cf7ed87e 100644 --- a/location/tokay/user/gps.cfg +++ b/location/tokay/user/gps.cfg @@ -29,6 +29,7 @@ Chip_Configuration_DCXO_CrystalType=0x11 Chip_Configuration_GNSSConstConstraintDef = 0x60FF LocTech_Constraints = 0x60FF Chip_Configuration_RfMiscCtrl = 0x80008001 +Chip_Configuration_ntn_option=2 bdsUsedInUSPolicy=2 sbasUsedInUSPolicy=2 qzssUsedInUSPolicy=2 diff --git a/location/tokay/userdebug/gps.cfg b/location/tokay/userdebug/gps.cfg index 6661b9b5..1389d995 100644 --- a/location/tokay/userdebug/gps.cfg +++ b/location/tokay/userdebug/gps.cfg @@ -115,6 +115,11 @@ Chip_Configuration_RfMiscCtrl = 0x80008001 #Chip_Configuration_RfMiscCtrl=0x8001 #Chip_Configuration_IspTestConfig=0x22242822 +#Chip_Configuration_ntn_option=0 means no NTN blackout IPC handling +#Chip_Configuration_ntn_option=1 means L1 blanking during NTN blackout period. +#Chip_Configuration_ntn_option=2 means turning GNSS off during NTN blackout period. +Chip_Configuration_ntn_option=2 + # Disable BDS in the U.S. # 0-enabled (default), 1-disabled, 2-auto(disabled in US) #gloUsedInUSPolicy=2