Commit graph

2657 commits

Author SHA1 Message Date
Edwin Tung
21befc5f2f gps: update gps driver 129.20.23.522768 am: 41710c8070
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/16432821

Change-Id: I11261330d894704dba41c0e4dc67eef63f2de95a
2021-12-10 08:52:34 +00:00
Edwin Tung
41710c8070 gps: update gps driver 129.20.23.522768
Fix power mode abnormally turned off by setPositionMode
Fix GPS crashing issue
Fix location lagging during driving
Auto switch constellation for on-chip mode

Bug: 207436894
Bug: 206074009
Bug: 204136420
Bug: 201591644
Verify test: 209775831

Test: atest VtsHalGnssTargetTest
atest CtsLocationGnssTestCases
atest GtsLocationTestCases
atest PtsChreTestRunner

Change-Id: Ib13683ef768197a5b24ecea43c58a94cc42214a8
2021-12-10 08:36:08 +00:00
Edwin Tung
049fd6abeb gps: enable GNSS PPS feature am: 09409af2d8 am: 5825db434b
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/16421979

Change-Id: I254fd5678565c3094d2d8bbb8a14bb66495085ca
2021-12-10 06:49:30 +00:00
Edwin Tung
f25fc37f93 [automerger skipped] [DO NOT MERGE] gps: update gps driver 129.20.23.522768 am: 187392eab8 -s ours am: 8255b93cf3 -s ours
am skip reason: subject contains skip directive

Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/16414550

Change-Id: I0894e4be54ad60cb4aa9e86e84b0c51a11dfc22b
2021-12-10 06:48:57 +00:00
Edwin Tung
5825db434b gps: enable GNSS PPS feature am: 09409af2d8
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/16421979

Change-Id: I803ded1ae3e6c7b1c346dfb16055ddcbe3711d30
2021-12-10 06:26:37 +00:00
Edwin Tung
8255b93cf3 [automerger skipped] [DO NOT MERGE] gps: update gps driver 129.20.23.522768 am: 187392eab8 -s ours
am skip reason: skipped by user edwintung

Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/16414550

Change-Id: I51274ad95dfc337928c2e990a06a2b1b4c70ce7a
2021-12-10 06:26:29 +00:00
Edwin Tung
09409af2d8 gps: enable GNSS PPS feature
Bug: 175086879
Test: Gnss measurement elapsedrealtime work

Change-Id: I959587225dd86a3efa11ecfbdd2b57374f09eef8
2021-12-10 05:51:51 +00:00
Edwin Tung
187392eab8 [DO NOT MERGE] gps: update gps driver 129.20.23.522768
Fix power mode abnormally turned off by setPositionMode
Fix GPS crashing issue
Fix location lagging during driving
Auto switch constellation for on-chip mode

Bug: 207436894
Bug: 206074009
Bug: 204136420
Bug: 201591644
Verify test: 209775831

Test: atest VtsHalGnssTargetTest
atest CtsLocationGnssTestCases
atest GtsLocationTestCases
atest PtsChreTestRunner

Change-Id: I8562af321a6238009127345a591d8bb1f6197fc2
2021-12-10 05:51:39 +00:00
Alex Hong
c2c3cc6240 Update PRODUCT_SHIPPING_API_LEVEL for gs101 devices
ueventd.rc now can only placed to /vendor/etc when
PRODUCT_SHIPPING_API_LEVEL equals to 32.
Now correct the destination path of ueventd.rc.

Test: adb shell getprop ro.product.first_api_level
Bug: 202921268
Change-Id: I1dcda5472278c03c546f3cf1eec26c92d138f2bb
Signed-off-by: Alex Hong <rurumihong@google.com>
2021-12-10 11:28:55 +08:00
Alex Hong
f1fc345347 [automerger skipped] [DO NOT MERGE] Update PRODUCT_SHIPPING_API_LEVEL for gs101 devices am: 70ee94b740 am: b9c0b74564 -s ours
am skip reason: subject contains skip directive

Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/16279848

Change-Id: Ifb30bc37a07ecd0e0a1eef7a766df3b7d07cf9c3
2021-12-10 00:32:37 +00:00
Alex Hong
b9c0b74564 [DO NOT MERGE] Update PRODUCT_SHIPPING_API_LEVEL for gs101 devices am: 70ee94b740
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/16279848

Change-Id: I9879c546d89d19c00d30da3989f9b7ab6301c5ca
2021-12-10 00:09:24 +00:00
Alex Hong
70ee94b740 [DO NOT MERGE] Update PRODUCT_SHIPPING_API_LEVEL for gs101 devices
ueventd.rc now can only placed to /vendor/etc when
PRODUCT_SHIPPING_API_LEVEL equals to 32.
Now correct the destination path of ueventd.rc.

Test: adb shell getprop ro.product.first_api_level
Bug: 202921268
Change-Id: I1dcda5472278c03c546f3cf1eec26c92d138f2bb
Signed-off-by: Alex Hong <rurumihong@google.com>
2021-12-09 17:33:12 +00:00
Jenny Ho
d48db706b4 init.gs101.rc: add persist data for ACA am: 2ea166b43c am: 6461e99332
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/16406934

Change-Id: I74bc514ac7d790f38e26f8a2abb2f2ab7eb3b13d
2021-12-09 01:59:08 +00:00
Jenny Ho
6461e99332 init.gs101.rc: add persist data for ACA am: 2ea166b43c
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/16406934

Change-Id: I57c22068e1fd0fe6bcf91cf6c236f7706c03be5c
2021-12-09 01:42:39 +00:00
Jenny Ho
2ea166b43c init.gs101.rc: add persist data for ACA
Bug: 208962746
Signed-off-by: Jenny Ho <hsiufangho@google.com>
Change-Id: I2c67619112746fb589bbff5743fd41632b4f9cf2
2021-12-09 01:21:30 +00:00
Michael Ayoubi
cfdaae5ed1 Fix typo in SE_STATE_REQUEST intent action am: c8e6a6fa0b am: d88ea8a1a4
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/16367190

Change-Id: I650485ac0b602df60ee33d1b200b5f4c5f10c2bb
2021-12-09 00:27:51 +00:00
Michael Ayoubi
d88ea8a1a4 Fix typo in SE_STATE_REQUEST intent action am: c8e6a6fa0b
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/16367190

Change-Id: I483757b01eb0d481bbcaad06daaced6bdc15e258
2021-12-09 00:11:05 +00:00
Michael Ayoubi
c8e6a6fa0b Fix typo in SE_STATE_REQUEST intent action
Fix typo in SE_STATE_REQUEST intent action to match other
com.qorvo.uwb actions and permissions.

Bug: b/208435525
Test: Flash and verify on R4.
Change-Id: I818db033ee5f54df629a9abfaae2425028e351ee
2021-12-08 23:48:51 +00:00
Shinru Han
3682c40b18 gps: Update EnableOnChipStopNotification am: d8ce158324 am: 46122a6976
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/16402291

Change-Id: I769c3b12d6168ab2b69aa2403dbe1579f67f86d7
2021-12-08 10:06:19 +00:00
Shinru Han
46122a6976 gps: Update EnableOnChipStopNotification am: d8ce158324
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/16402291

Change-Id: I7d4e8b6293737483ba153b8d0e7b9a5f6e151756
2021-12-08 09:42:54 +00:00
Shinru Han
d8ce158324 gps: Update EnableOnChipStopNotification
Set EnableOnChipStopNotification=”2”.
Sends on-chip stop notification only when the Host request exists and on-chip request stops.

Bug: 208940846
Test: logging test for case #1, #3 and #4 in b/197196725#comment39

Change-Id: I8a244eb3a705f1cc2884e1a180cb8ad6ebd41ad7
2021-12-08 09:20:44 +00:00
joenchen
d633788a21 [automerger skipped] gs101: declare IDisplay to V4 am: 50f80d1be1 -s ours am: dc8ccfe3bb -s ours
am skip reason: Merged-In I08485ead1c05e8e46611156c76ec4a1d760fbbb0 with SHA-1 1e9369a8ef is already in history

Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/16279842

Change-Id: Ibda9eb67806e1dec178bc0587172a429422670f1
2021-12-08 02:12:11 +00:00
joenchen
d2ad203201 [automerger skipped] init: change owners of sysfs nodes min_vrefresh and idle_delay_ms am: 26f9f02fb5 -s ours am: f54a89ee8a -s ours
am skip reason: Merged-In Ia072a9826402bdf23d2577b8dc7f82b5e4d903f6 with SHA-1 44d816af7e is already in history

Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/16303687

Change-Id: I38d3dcb6bcd1773a547010ac0d112f17fd088047
2021-12-08 02:12:08 +00:00
joenchen
dc8ccfe3bb [automerger skipped] gs101: declare IDisplay to V4 am: 50f80d1be1 -s ours
am skip reason: Merged-In I08485ead1c05e8e46611156c76ec4a1d760fbbb0 with SHA-1 1e9369a8ef is already in history

Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/16279842

Change-Id: I764432105c30116fe2401d542092fff99105870b
2021-12-08 01:57:44 +00:00
joenchen
f54a89ee8a [automerger skipped] init: change owners of sysfs nodes min_vrefresh and idle_delay_ms am: 26f9f02fb5 -s ours
am skip reason: Merged-In Ia072a9826402bdf23d2577b8dc7f82b5e4d903f6 with SHA-1 44d816af7e is already in history

Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/16303687

Change-Id: I2e1e235bf9c6e91c25b6361fca615df25eaf774f
2021-12-08 01:57:41 +00:00
joenchen
50f80d1be1 gs101: declare IDisplay to V4
Bug: 202567084
Test: build pass
Change-Id: I08485ead1c05e8e46611156c76ec4a1d760fbbb0
Merged-In: I08485ead1c05e8e46611156c76ec4a1d760fbbb0
2021-12-08 01:40:05 +00:00
joenchen
26f9f02fb5 init: change owners of sysfs nodes min_vrefresh and idle_delay_ms
init: change file owners of sysfs nodes min_vrefresh and
idle_delay_ms in order to grant permission for hwcomposer

Bug: 202567084
Test: use the following commands
adb shell "vndservice call Exynos.HWCService 1005 i32 0 i32 30"
adb shell "vndservice call Exynos.HWCService 1006 i32 0 i32 1000"

Change-Id: Ia072a9826402bdf23d2577b8dc7f82b5e4d903f6
Merged-In: Ia072a9826402bdf23d2577b8dc7f82b5e4d903f6
2021-12-08 01:40:05 +00:00
TeYuan Wang
125d1d5833 dumpstate: add more cooling device debug info
Bug: 202813409
Test: check dumpstate_board.txt
Change-Id: Ice04536c321d35553a948cdea2e6a1add207c2c7
2021-12-08 00:52:53 +00:00
joenchen
8fdda2e6ae [automerger skipped] init: change owners of sysfs nodes min_vrefresh and idle_delay_ms am: 44d816af7e -s ours
am skip reason: Merged-In Ia072a9826402bdf23d2577b8dc7f82b5e4d903f6 with SHA-1 0dae8c059f is already in history

Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/16406932

Change-Id: I006b70f4e520d5650603667578d6ccf52f8a608d
2021-12-07 19:26:03 +00:00
joenchen
48195f8a89 [automerger skipped] gs101: declare IDisplay to V4 am: 1e9369a8ef -s ours
am skip reason: Merged-In I08485ead1c05e8e46611156c76ec4a1d760fbbb0 with SHA-1 22c9eb6440 is already in history

Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/16406933

Change-Id: I3861d6b036295233a603477007112b2868ab081c
2021-12-07 19:25:59 +00:00
joenchen
44d816af7e init: change owners of sysfs nodes min_vrefresh and idle_delay_ms
init: change file owners of sysfs nodes min_vrefresh and
idle_delay_ms in order to grant permission for hwcomposer

Bug: 202567084
Test: use the following commands
adb shell "vndservice call Exynos.HWCService 1005 i32 0 i32 30"
adb shell "vndservice call Exynos.HWCService 1006 i32 0 i32 1000"

Change-Id: Ia072a9826402bdf23d2577b8dc7f82b5e4d903f6
Merged-In: Ia072a9826402bdf23d2577b8dc7f82b5e4d903f6
2021-12-07 19:08:05 +00:00
joenchen
1e9369a8ef gs101: declare IDisplay to V4
Bug: 202567084
Test: build pass
Change-Id: I08485ead1c05e8e46611156c76ec4a1d760fbbb0
Merged-In: I08485ead1c05e8e46611156c76ec4a1d760fbbb0
2021-12-07 19:08:05 +00:00
vincechiu
b73617bbfb Camera: Add CAMERA_LAUNCH_EXTENDED mode am: f924811f47 am: 2f238f0bc2
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/16057929

Change-Id: I564a10a591314e19a24af3067107be024f738669
2021-12-07 09:49:52 +00:00
vincechiu
2f238f0bc2 Camera: Add CAMERA_LAUNCH_EXTENDED mode am: f924811f47
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/16057929

Change-Id: I8fa4cb18b207e1706a3cf6ce5ab3594cf72bbf0e
2021-12-07 09:34:01 +00:00
vincechiu
f924811f47 Camera: Add CAMERA_LAUNCH_EXTENDED mode
Use CAMERA_LAUNCH_EXTENDED to not limit max CPU frequency.
It improves launch time and buffer allocation latency especially for high memory pressure cases.

Bug: 208362912
Test: GCA
Change-Id: I85df14aaaad56232f6ffaef316adb0c6dde3e06f
2021-12-07 09:19:43 +00:00
joenchen
22c9eb6440 gs101: declare IDisplay to V4
Bug: 202567084
Test: build pass
Change-Id: I08485ead1c05e8e46611156c76ec4a1d760fbbb0
2021-12-04 17:17:22 +00:00
joenchen
0dae8c059f init: change owners of sysfs nodes min_vrefresh and idle_delay_ms
init: change file owners of sysfs nodes min_vrefresh and
idle_delay_ms in order to grant permission for hwcomposer

Bug: 202567084
Test: use the following commands
adb shell "vndservice call Exynos.HWCService 1005 i32 0 i32 30"
adb shell "vndservice call Exynos.HWCService 1006 i32 0 i32 1000"

Change-Id: Ia072a9826402bdf23d2577b8dc7f82b5e4d903f6
2021-12-04 15:37:23 +00:00
neoyu
8b443b6912 Remove cdma feature because not all gs101 based devices support it am: e6bb2caf47 am: 001cf7c36e
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/16373218

Change-Id: I2c27550a1528767da8f4af4bd145a3f2312f97c4
2021-12-02 05:42:10 +00:00
neoyu
001cf7c36e Remove cdma feature because not all gs101 based devices support it am: e6bb2caf47
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/16373218

Change-Id: Ia5d359f4cbf9d72b143b0305fc0ee7a80df65578
2021-12-02 05:25:26 +00:00
neoyu
e6bb2caf47 Remove cdma feature because not all gs101 based devices support it
Bug: 207398695
Test: inspect build artifacts - result is expected
Change-Id: Ic8098e036d5e58ec1b1cd0fcd13ef64a4d12b668
2021-12-02 05:06:33 +00:00
Super Liu
7f92d9ac7f init.gs101.rc: add the sysfs permission for touch.
Bug: 193467627
Test: manual test.
Signed-off-by: Super Liu <supercjliu@google.com>
Change-Id: I90977f3dfcbd2c62955ec7b9807c10af23041a52
2021-12-02 02:46:11 +00:00
Carter Hsu
5cc978ea98 audio: run audio hardware as 64bit
Bug: 205240941
Test: regression test is passed. (b/207432169)
Signed-off-by: Carter Hsu <carterhsu@google.com>
Change-Id: Ieb6ff80aa61108e18fed65ad02f9754f59a2812c
2021-12-01 08:19:52 +00:00
Shinru Han
3734ef5d42 gps: Correct ESW crash dump path am: b35bb78536 am: dbd9909393
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/16361903

Change-Id: I192ae8bc8f40d924b1fce99eb2398cc1d34d7371
2021-11-30 16:25:26 +00:00
Shinru Han
dbd9909393 gps: Correct ESW crash dump path am: b35bb78536
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/16361903

Change-Id: I7666fad8a5b5e2451492d0855abaf481e6695273
2021-11-30 16:07:52 +00:00
Shinru Han
b35bb78536 gps: Correct ESW crash dump path
Bug: 207587485
Test: ESW crash dump can be found under data/vendor/gps/logs after
running command :
echo Lhe:write=0xFFFFFFFF,4 > /data/vendor/gps/LheConsole.toAsic

Change-Id: Icf3505a8d29e867f81eb513d25bf790085a2819f
2021-11-30 07:26:21 +00:00
Alice Kuo
29c5d3a71a Default disable LE audio policy in gs101
Bug: 205514628
Test: connect with the LE audio headset, play music
Change-Id: I711898a6b3443a29d354edd1b0424b9864dc4dd8
2021-11-29 00:21:06 +00:00
Ricky Niu
21e4cda7de usb: Add dm condition in NCM am: 48b3e5de64 am: ac257ea3eb
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/16334651

Change-Id: I1aee4efc8f73f95952d60de58c5832ded800b813
2021-11-26 08:52:04 +00:00
Ricky Niu
ac257ea3eb usb: Add dm condition in NCM am: 48b3e5de64
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/16334651

Change-Id: I3f2feae311bc65ed245eb00be7761b12d1f52b2a
2021-11-26 08:35:10 +00:00
Ricky Niu
48b3e5de64 usb: Add dm condition in NCM
Add vid/pid 04e8/6862 for dm condition in NCM

Test: The usb gadget functions work normally
Bug: 206565428
Signed-off-by: Ricky Niu <rickyniu@google.com>
Change-Id: I04fba9fc137848d7f1c97a288bb12d76a613badc
2021-11-26 08:22:03 +00:00
Edwin Tung
236e657b98 [automerger skipped] [DO NOT MERGE] gps: update gps driver 129.20.23.521367 am: e5036ffd10 -s ours am: 63adfe3cc0 -s ours
am skip reason: subject contains skip directive

Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/16303634

Change-Id: I993f359b286ce5954e3521e2623f5961057ce36c
2021-11-26 01:57:48 +00:00