Commit graph

361 commits

Author SHA1 Message Date
chungkai
6c790dd4db fix path for i2c peripheral device
paths are changed when we enable parallel module loading and
reorder the initializtaion of devices.

Test: without avc denial on B3 when booting
Bug: 227541760
Signed-off-by: chungkai <chungkai@google.com>
Change-Id: I643b4d06b24bbcad069595fedabb63ac6c36ef09
2022-04-07 02:04:45 +00:00
TeYuan Wang
d3ed119d7c thermal: Hide the sensors which are not used by framework am: fac9aa820b am: 024f169bed
Original change: https://googleplex-android-review.googlesource.com/c/device/google/bluejay/+/17535958

Change-Id: I2d80f156b5d14a5b013b229c957b20becfe9fcc2
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-04-06 00:58:56 +00:00
TeYuan Wang
024f169bed thermal: Hide the sensors which are not used by framework am: fac9aa820b
Original change: https://googleplex-android-review.googlesource.com/c/device/google/bluejay/+/17535958

Change-Id: Ia919083bb798a7e98481f386390d9e57116ecd2f
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-04-06 00:36:49 +00:00
shawnlin
66077ef4ed Fixed status bar glitch for apps that access internal resource dimen
Bring back old usage of status_bar_height, status_bar_height_portrait,
and status_bar_height_landscape by set the size containing cutout size.

Bug: 216782082
Test: make
Change-Id: I862dac1658dd54ce03150a2b36d3c260869d878f
2022-04-02 03:31:25 +00:00
TeYuan Wang
fac9aa820b thermal: Hide the sensors which are not used by framework
Bug: 227686549
Test: adb shell dumpsys thermalservice
Change-Id: I503df2c715c9d8be9d797a700389638955729783
2022-04-01 16:07:19 +00:00
Alex Hong
ae1a904a71 Merge "Set the keyboard bottom height and ratio for Bluejay" into tm-dev 2022-03-31 08:38:48 +00:00
chungkai
9628a822db sched: move sysfs to procfs
Modify the path of vendor_sched nodes

Test: powerhal work normally
Bug: 216207007
Signed-off-by: chungkai <chungkai@google.com>
Change-Id: Ie70b5b6b51fab595f4762c23a6783f2b4d66f6f7
2022-03-29 09:42:59 +00:00
Alex Hong
7ddd75efc9 Set the keyboard bottom height and ratio for Bluejay
Test: get_build_var PRODUCT_PRODUCT_PROPERTIES
      adb shell getprop
Bug: 206535619
Change-Id: I8470f1a87b0d97a6cf0d5e45d7f8997a081cb1c7
2022-03-28 17:24:29 +08:00
Mark Chang
d279cfe12b Merge "B3: Delay twoshay service start stage." into tm-dev 2022-03-25 09:59:27 +00:00
Mark Chang
a630affdd2 B3: Delay twoshay service start stage.
Bug: 225351394
Test: twoshay launched sucessfully in normal mode (P31817375).
Signed-off-by: Mark Chang <changmark@google.com>
Change-Id: If245204c8814df6f2c19abf6b3e5098483063128
2022-03-24 11:54:55 +00:00
Joe Huang
9a3257abf8 Merge "gps: Set SuplUseFwCellInfo to false" into tm-dev 2022-03-24 00:07:44 +00:00
Gary Jian
244b3dfb03 Merge "Handle the network selection restoring in modem side" into tm-dev 2022-03-16 14:25:56 +00:00
Ben Murdoch
6a739986ed Merge "Bundle handheld_core_hardware.xml" into tm-dev 2022-03-14 10:45:07 +00:00
KRIS CHEN
57d8d1448e Merge "B3: Enable UDFPS ALS feed forward" into tm-dev 2022-03-14 02:54:18 +00:00
Joe Huang
06fe38804e Merge "gps: Enable PPS" into tm-dev 2022-03-14 02:27:00 +00:00
Yanting Yang
e71523662b Update regulation e-label of B3 am: 41af24a128 am: 219dcf205e
Original change: https://googleplex-android-review.googlesource.com/c/device/google/bluejay/+/17167303

Change-Id: Ie6cc1d8b45450aa59c046bf0679ba610eb7a7b70
2022-03-11 16:33:54 +00:00
Yanting Yang
219dcf205e Update regulation e-label of B3 am: 41af24a128
Original change: https://googleplex-android-review.googlesource.com/c/device/google/bluejay/+/17167303

Change-Id: I0496c1f066c948effc53acca0e78649b1ccfb79b
2022-03-11 16:11:59 +00:00
Yanting Yang
41af24a128 Update regulation e-label of B3
Update label for GX7AS (ROW Sub6)

Bug: 204885051
Test: visual
Change-Id: I753e9dc76fb03a0a33da30eeaeea4cc4b9ad333b
2022-03-11 16:53:14 +08:00
Ben Murdoch
55e3cccca5 Bundle handheld_core_hardware.xml
Bug: 223543820
Test: Manual, verify build artifacts
Change-Id: I2bc6e7427eaecc4ec9a57c64bd2fa84728d4cb4b
2022-03-10 10:50:38 +00:00
Joe Huang
0f94b3667e gps: Enable PPS
Enable GNSS PPS feature

Bug: 209960915
Test: Gnss measurement elapsedrealtime work && suspend/resume work && GNSS sanity test
Change-Id: Ib2131adb8186a28f0b286b326c48e5938e9c55d5
2022-03-10 18:07:05 +08:00
Kris Chen
05d63492d3 B3: Enable UDFPS ALS feed forward
Bug: 197789721
Test: Perform fingerprint authentication test with solar simulator.
Change-Id: I81bece46acf2c635a4a521172a0eafdddfde12df
2022-03-10 08:57:43 +00:00
Joe Huang
1b834bc7c3 gps: Set SuplUseFwCellInfo to false
- Set SuplUseFwCellInfo=false to fix SUPL long TTFF issue

Bug: 222612142

Test: GNSS sanity test & SUPL NI test
Change-Id: Ica5d32697e8583ae60d32996d668ea03e062fa31
2022-03-10 16:57:32 +08:00
TeYuan Wang
6a9da70251 Enable user_vote_bypass for UDFPS and face unlock
Bug: 221173040
Test: Do FP unlock and confirm the user_vote can be bypassed
Change-Id: I4e3709c8f84da12c7d20d63805bdc5375f0a1bc6
2022-03-09 12:06:35 +00:00
Gary Jian
596a024e7e Handle the network selection restoring in modem side
Bug: 222483102
Test: manual
Change-Id: I90c628b3739edd794007b28a3c6720082662bb19
2022-03-08 12:44:06 +08:00
Edwin Tung
8bd2cdc468 Merge "gps: Set RTO/SUPL download interval to 20 min" into tm-dev 2022-03-08 03:48:42 +00:00
Miller Liang
8a89451b36 Merge "audio: change format of mmap-playback to float" into tm-dev 2022-03-07 02:59:28 +00:00
vincenttew
c036e85f66 audio: update audio tuning table am: 1460360449 am: 1afa9960da
Original change: https://googleplex-android-review.googlesource.com/c/device/google/bluejay/+/17045648

Change-Id: Id628b2dfd20a0ffa26a8df71c3366552c53ef619
2022-03-03 10:30:19 +00:00
vincenttew
1afa9960da audio: update audio tuning table am: 1460360449
Original change: https://googleplex-android-review.googlesource.com/c/device/google/bluejay/+/17045648

Change-Id: I04f15a366d6f05566e78e085a1aa3408f2480ec0
2022-03-03 10:07:08 +00:00
Edwin Tung
000e5e1f53 gps: Set RTO/SUPL download interval to 20 min
Bug: 220457118

Verify test: 222416929
Test: TTFF and RTO download

Change-Id: I46858e893e88836590fe1e7aaff556b3c4bc40c7
2022-03-03 06:55:35 +00:00
vincenttew
1460360449 audio: update audio tuning table
Change list:
1. Modify mic fallback detection parameter to 0x0000 for HA/HH NB/WB/SWB/FB
2. Sync same parameter for BT-HAC TX / TTY_VCO TX / HE_Headphone TX

Bug: 192810349
Test: voice call
Signed-off-by: vincenttew <vincenttew@google.com>
Change-Id: I9c1fa1c50dc93e73aacd501a8cb97e4a0e2b877c
2022-03-03 04:10:58 +00:00
millerliang
84aab6c32e audio: change format of mmap-playback to float
Bug: 201398105
Test: OboeTester
Test: atest CtsNativeMediaAAudioTestCases
Signed-off-by: millerliang <millerliang@google.com>
Change-Id: Iba5f241d3dd3dfac9eb12e9e4cadf07709b99c9e
2022-03-03 10:13:46 +08:00
TreeHugger Robot
91495deb2b Merge "thermal: Reduce DVFS throttling per BCL irq" into sc-v2-dev am: 4a4b4cbbec am: ccbd3ed538
Original change: https://googleplex-android-review.googlesource.com/c/device/google/bluejay/+/16995315

Change-Id: Ia4cdc126da3d3bf31b5b6a29b7e9f55bf37958b6
2022-03-02 02:57:38 +00:00
TreeHugger Robot
ccbd3ed538 Merge "thermal: Reduce DVFS throttling per BCL irq" into sc-v2-dev am: 4a4b4cbbec
Original change: https://googleplex-android-review.googlesource.com/c/device/google/bluejay/+/16995315

Change-Id: I690cb1d310fb6f07c930100e4c52478823ea52c7
2022-03-02 02:56:39 +00:00
TreeHugger Robot
4a4b4cbbec Merge "thermal: Reduce DVFS throttling per BCL irq" into sc-v2-dev 2022-03-02 02:36:57 +00:00
George Lee
4abdd74552 thermal: Reduce DVFS throttling per BCL irq
By increasing hardware clock divider count, we do not need to throttle
as hard to mitigate for brownout.

Bug: 221077697
Test: Local stress test to ensure no brownout.
Signed-off-by: George Lee <geolee@google.com>
Change-Id: Ia7fca8c349828867a4c8c09d3db95d6def03214f
2022-02-26 13:32:18 -08:00
Jimmy Shiu
5a3d845aa4 ADPF: deprecate the reporting rate from property
Use powerhint.json profile to define reporting rate.

Bug: 198379880
Test: build & manual test
Change-Id: I86cd438ee4878b4e4b7723433c55cfd4a100865a
2022-02-26 03:17:13 +00:00
Yanting Yang
da03c7763a Add regulation e-labels of B3 am: b74419ba77 am: ef2689e22b
Original change: https://googleplex-android-review.googlesource.com/c/device/google/bluejay/+/16987810

Change-Id: I05297fd3a7d448315d40fb94338b7d96a173726c
2022-02-25 11:50:53 +00:00
TreeHugger Robot
541c2f0317 Merge "powerhint: release BC max frequency when launching" into sc-v2-dev am: 9f067aae85 am: b14528b0f2
Original change: https://googleplex-android-review.googlesource.com/c/device/google/bluejay/+/16844909

Change-Id: I83d6c63ac7abd4854950e3f2129a150941aa1022
2022-02-25 11:50:44 +00:00
Yanting Yang
ef2689e22b Add regulation e-labels of B3 am: b74419ba77
Original change: https://googleplex-android-review.googlesource.com/c/device/google/bluejay/+/16987810

Change-Id: Ifea843710a501e8287793903cd4ee146e23e1f64
2022-02-25 11:27:04 +00:00
TreeHugger Robot
b14528b0f2 Merge "powerhint: release BC max frequency when launching" into sc-v2-dev am: 9f067aae85
Original change: https://googleplex-android-review.googlesource.com/c/device/google/bluejay/+/16844909

Change-Id: I3798c3da872675cac07d4f0e941d29adcd0e8aa7
2022-02-25 11:26:54 +00:00
Yanting Yang
b74419ba77 Add regulation e-labels of B3
Add labels for GB62Z(VzW mmWave), GX7AS(ROW Sub6), G1AZG(EU Sub6) and
GB17L(JP Sub6)

Bug: 204885051
Test: visual
Change-Id: I45dd6ddb9e69f1bff23c8a31ac47deafcc2312f7
2022-02-25 15:20:47 +08:00
YiHo Cheng
bfdc377f23 powerhint: Update LITTLE default control_temp
Align with gchip team recommendation 95C

Bug: 220076055
Test: build
Change-Id: Ieeffaa5c7e27a190b5d40df9e447aa14a913ba09
2022-02-18 13:36:08 +00:00
TreeHugger Robot
9f067aae85 Merge "powerhint: release BC max frequency when launching" into sc-v2-dev 2022-02-17 05:39:03 +00:00
TreeHugger Robot
51925ef6b2 Merge "thermal: increase SEVERE GPU power budget" into sc-v2-dev am: d2befd61e3 am: 21e686772b
Original change: https://googleplex-android-review.googlesource.com/c/device/google/bluejay/+/16719146

Change-Id: I5810d27f06a9313c01cb7e6556f3d0bb53f253ca
2022-02-17 00:20:30 +00:00
TreeHugger Robot
21e686772b Merge "thermal: increase SEVERE GPU power budget" into sc-v2-dev am: d2befd61e3
Original change: https://googleplex-android-review.googlesource.com/c/device/google/bluejay/+/16719146

Change-Id: I1baa4f4f30adc9a98d8756478a8c757f24677c9c
2022-02-16 23:58:37 +00:00
TreeHugger Robot
d2befd61e3 Merge "thermal: increase SEVERE GPU power budget" into sc-v2-dev 2022-02-16 23:39:27 +00:00
Chris Kuiper
476ca60020 Merge "Config: fine tune the ambient threshold to improve the brightness stability" into sc-v2-dev am: 51af3854f0 am: 8c41d52871
Original change: https://googleplex-android-review.googlesource.com/c/device/google/bluejay/+/16770300

Change-Id: I44a4abfa01062d709ff44b1c734d89a3bd35dd64
2022-02-16 16:56:34 +00:00
Chris Kuiper
8c41d52871 Merge "Config: fine tune the ambient threshold to improve the brightness stability" into sc-v2-dev am: 51af3854f0
Original change: https://googleplex-android-review.googlesource.com/c/device/google/bluejay/+/16770300

Change-Id: Ie403eaf191374b51198584b0268c72f4362260b7
2022-02-16 16:51:48 +00:00
Chris Kuiper
51af3854f0 Merge "Config: fine tune the ambient threshold to improve the brightness stability" into sc-v2-dev 2022-02-16 16:32:08 +00:00
Wei Wang
61f491b97e Do not initialize restricted cpuset during boot.
Bug: 219518509
Bug: 217481359
Test: Build
Signed-off-by: Wei Wang <wvw@google.com>
Change-Id: I4f62c118fe9280cadb85f6fde75016c109b1b3f9
2022-02-15 18:58:09 -08:00