Victor Liu
dbd736c3ee
move uwb feature to system_ext am: 52317f994b am: ecc69f13a3 am: ff98b30ba9
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/16088272
Change-Id: I9a7ecdbb327a32f54fba0b81c6a5802bdf335ced
2021-10-20 16:26:14 +00:00
Victor Liu
9f050449ca
move uwb feature to system_ext am: 52317f994b am: e6b821f5ad am: a46b4a7a28
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/16088272
Change-Id: Ia5e4768df5c86881919e59989a250b6fe5b09715
2021-10-20 16:26:08 +00:00
Victor Liu
5cc6053624
move uwb feature to system_ext am: 52317f994b am: ecc69f13a3
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/16088272
Change-Id: I4835db7f9a5771c7ffc9af97fad12c5964197db9
2021-10-20 16:06:08 +00:00
Victor Liu
b867055e6e
move uwb feature to system_ext am: 52317f994b am: e6b821f5ad
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/16088272
Change-Id: I113067279cca53e231f020f4493778f099fedeac
2021-10-20 16:05:24 +00:00
Victor Liu
9b6c980301
move uwb feature to system_ext am: 52317f994b
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/16088272
Change-Id: Ia69d419e290cd8782d417420b719cc93a406f2db
2021-10-20 15:49:50 +00:00
Victor Liu
8144b338f0
move uwb feature to system_ext am: 52317f994b
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/16088272
Change-Id: Ibdabb697d1e81d5380691e5422ee6e2ad49e7242
2021-10-20 15:49:49 +00:00
Jiyong Park
406cc98077
Remove ndk_platform backend. Use the ndk backend.
...
The ndk_platform backend will soon be deprecated because the ndk backend
can serve the same purpose. This is to eliminate the confusion about
having two variants (ndk and ndk_platform) for the same ndk backend.
The prebuilt files had a reference to
android.hardware.gnss-V1-ndk_platform.so. Change it to
android.hardware.gnss-V1-ndk.so by diretly editing the DT_NEEDED entry.
Bug: 161456198
Test: m
Change-Id: I25ec19101c408cc29df38d127f284c7085fe1d1a
2021-10-20 01:46:26 +00:00
Michael Ayoubi
038cea4be3
Add SE State Changed Intents in EuiccSupportPixel am: 05be453db2 am: 196e6c5813
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/15848920
Change-Id: I283036916fece665a9aa523fe2d536628a631702
2021-10-20 01:06:23 +00:00
Michael Ayoubi
2d6294bb61
Add SE State Changed Intents in EuiccSupportPixel am: 05be453db2
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/15848920
Change-Id: I3879b7dbe3571dd79f5bd16412dd5bbf185a98c1
2021-10-20 00:48:48 +00:00
Michael Ayoubi
a7f4ef05b5
Add SE State Changed Intents in EuiccSupportPixel
...
Needed to emit SE_STATE_CHANGED from Thales updater code to clients when
eOS or applets are being updated. Current clients are GMSCore and UWB
Service.
Bug: 189881206
Bug: 183606657
Test: Confirm overlay worked and intents were received.
Change-Id: Ia1106d6fad20797e72c49cfc1f790289d0da0963
2021-10-20 00:32:55 +00:00
Victor Liu
193c85c4ef
move uwb feature to system_ext
...
this prevents the gsi device from starting uwb
Bug: 203052451
Test: nearby-share on uwb device
Signed-off-by: Victor Liu <victorliu@google.com>
Change-Id: Iec21b82dfd79849b2d949f696e59d64f0487edad
2021-10-19 21:57:25 +00:00
Will McVicker
762fed8d57
gs101: recovery: add wait for dwc3 device to probe am: 7d57715be3 am: adcfd6f400
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/16065807
Change-Id: Ia8a03d9f75b013658c05446072bfa30dee32b629
2021-10-19 17:41:11 +00:00
Will McVicker
fdb1375a0a
gs101: recovery: add wait for dwc3 device to probe am: 7d57715be3
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/16065807
Change-Id: I7a2036746264efd31f6d425ed5351a351eea7e8f
2021-10-19 17:18:51 +00:00
Will McVicker
09f583f336
gs101: recovery: add wait for dwc3 device to probe
...
This patch adds a dependency on the dwc3 device probing before setting
the sys.usb.controller property. Without this, we have a race between
fastbootd starting and the dwc3 device probing. If fastbootd starts
before the dwc3 device probes, then the recovery init.rc will fail to
setup the USB gadget resulting in "fastboot devices" failing to detect
the device.
Bug: 202338035
Test: verify device is detected in fastbootd
Change-Id: I146451eae03f23dde915c00af3028681be41a8c1
(cherry picked from commit f31fad844a7b94ee7c6689afd0b563da00c29118)
2021-10-19 16:58:00 +00:00
Joseph Jang
473f1211f1
dumpstate: Add support to get GSC DEBUG DUMP
...
In order to get GSC DEBUG DUMP in bugreport zip file, we add a new
console command "./vendor/bin/hw/citadel_updater -D" to retrieve 1KB
GSC DEBUG DUMP for dumpstate.
If so, we could check GSC DEBUG DUMP in dumpstate_board.txt from bugreport.
File: dumpstate_board.txt
------ Citadel VERSION (vendor/bin/hw/citadel_updater -lv) ------
0.0.2/nugget_v0.0.1138-399621c+ 2021-10-07 08:53:24 josephjang
Chip: Google Dauntless D2 (evt)
Board: 0
RO_A: 0.1.1/17af49b9 ok
RO_B: * 0.1.1/b0de9d69 ok
RW_A: * 0.0.2/nugget_v0.0.1138-399621c+ ok
RW_B: Error
------ Citadel STATS (vendor/bin/hw/citadel_updater --stats) ------
hard_reset_count 1
time_since_hard_reset 335976980
wake_count 5
time_at_last_wake 335920127
time_spent_awake 50563801
deep_sleep_count 4
time_at_last_deep_sleep 268360610
time_spent_in_deep_sleep 285413177
time_at_ap_reset 11401
time_at_ap_bootloader_done 10939493
PHONE_ON_L: 1
VOL_UP_L: 1
VOL_DN_L: 1
TEMP.RANGE: 39,39
------ GSC DEBUG DUMP (vendor/bin/hw/citadel_updater -D) ------
debug dump start
000007d70605 85 00 0174aa0d 00000000
000007f56df5 85 00 0174aa0d 00000000
0000080212cd 85 00 0174aa0d 00000000
00000b73fe80 85 00 0174aa0d 00000000
debug dump end
------ Section end: gsc ------
Bug: 194113345
Change-Id: I1c43c337cef49b2be4af27d2dc28797e29f0dc9a
2021-10-19 08:39:28 +00:00
Kyle Lin
c945c9a44f
init.gs101.rc: adjust ratio_ceil am: e574d5e7dd am: 9552a03525 am: d3d3a01bde
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/16074856
Change-Id: Ic61d083afe953c78aa29ab61c29d4fd5b30a6b30
2021-10-18 20:17:12 +00:00
Kyle Lin
5f1ce0943b
init.gs101.rc: adjust ratio_ceil am: e574d5e7dd am: d2ecc1730b am: 10230b90f6
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/16074856
Change-Id: I20f0f67915eac09fdd122fb1112fa69ecb93e28a
2021-10-18 20:16:49 +00:00
Kyle Lin
49766e0f2c
init.gs101.rc: adjust ratio_ceil am: e574d5e7dd am: 9552a03525
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/16074856
Change-Id: Ib94d022692c293f4002605e9c006ececd9e08a80
2021-10-18 19:59:31 +00:00
Kyle Lin
5cc2f0f09d
init.gs101.rc: adjust ratio_ceil am: e574d5e7dd am: d2ecc1730b
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/16074856
Change-Id: I14bd434dd3573b135e2baaf9a9a9fe13e44dd979
2021-10-18 19:57:07 +00:00
Kyle Lin
fd1871eb7a
init.gs101.rc: adjust ratio_ceil am: e574d5e7dd
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/16074856
Change-Id: I5e79c73fed953ffb18c0027ef0ee7319b5eeed2d
2021-10-18 19:38:55 +00:00
Kyle Lin
f5817b68d7
init.gs101.rc: adjust ratio_ceil am: e574d5e7dd
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/16074856
Change-Id: I608d4a4a8caa806569ff0b9f598c7c1c5481a815
2021-10-18 19:38:55 +00:00
Kyle Lin
a3c7bc302f
init.gs101.rc: adjust ratio_ceil
...
Test: build , boot and CUJs.
Bug: 201052887
Change-Id: I94158c1f78f937ef93e4e2c31eabcd4d05798870
2021-10-18 19:24:03 +00:00
Pierre-Clément Tosi
d96639e490
gs101: Remove BOARD_PVMFWIMG_PARTITION_SIZE
...
Remove the deprecated variable now that it has been replaced by
BOARD_PVMFWIMAGE_PARTITION_SIZE in AOSP.
Bug: 199717422
Test: m ${ANDROID_PRODUCT_OUT}/pvmfw.img
Change-Id: I96fba129d0b0f9a2e845e8a507a9ec8f65910942
2021-10-18 08:19:47 +00:00
Will McVicker
f6de971bb3
gs101: recovery: add wait for dwc3 device to probe
...
This patch adds a dependency on the dwc3 device probing before setting
the sys.usb.controller property. Without this, we have a race between
fastbootd starting and the dwc3 device probing. If fastbootd starts
before the dwc3 device probes, then the recovery init.rc will fail to
setup the USB gadget resulting in "fastboot devices" failing to detect
the device.
Bug: 202338035
Test: verify device is detected in fastbootd
Change-Id: I146451eae03f23dde915c00af3028681be41a8c1
2021-10-14 07:31:26 +00:00
Wei Wang
e87d6dbf34
Use sysbg group for system background jobs am: 4599c16628 am: b69bb3c0b2 am: 5ed8a0d19a
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/15995425
Change-Id: Ie3366c9f5b902de63fa83b4b9d79767989d39718
2021-10-13 06:41:27 +00:00
Wei Wang
0598dd35f3
Use sysbg group for system background jobs am: 4599c16628 am: 95e9e05186 am: 6b6d813677
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/15995425
Change-Id: I5e4e8abcccdc8ee92d0113228c2706b5eb59af02
2021-10-13 06:41:17 +00:00
Wei Wang
2ba110036d
Use sysbg group for system background jobs am: 4599c16628 am: b69bb3c0b2
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/15995425
Change-Id: Ib3d18a7d227aac36c894623073c6ac6482a510e2
2021-10-13 06:31:41 +00:00
Wei Wang
f8cfca0d70
Use sysbg group for system background jobs am: 4599c16628 am: 95e9e05186
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/15995425
Change-Id: Ic570e47e40cfac0944e7317b76dd55e8dafa31cb
2021-10-13 06:29:42 +00:00
Wei Wang
43c94bc18a
Use sysbg group for system background jobs am: 4599c16628
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/15995425
Change-Id: I2c01c2614a309b1cbca412cb2dbc79cc3cb9c36e
2021-10-13 06:16:24 +00:00
Wei Wang
0d2642fa60
Use sysbg group for system background jobs am: 4599c16628
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/15995425
Change-Id: I3e0059ec5d491b157f460a8f311ba2fe47dc8ddd
2021-10-13 06:16:23 +00:00
Wei Wang
414066f103
Use sysbg group for system background jobs
...
Bug: 201428466
Test: Build and boot check system_server's sched group
Signed-off-by: Wei Wang <wvw@google.com>
Change-Id: I03396b661788de0a5963e29abfd95f609e9dc7ec
2021-10-12 13:50:57 -07:00
David Brazdil
ae3c59fc0b
Revert^2: pKVM: Include pvmfw and virt APEX in gs101 builds
...
Support for pKVM is being added to all gs101 builds starting with T,
disabled by default. So far, the userspace components have been included
only in special _pkvm builds. Include them unconditionally.
Also move BOARD_* variables specifying location and partition size of
pvmfw from vendor board config file here.
This adds 89MB to the size of the system image.
Bug: 192819132
Test: build a gs101 target, check /apex/com.android.virt exists
Change-Id: Ie46b0ad5f45bd4757570b72cb275d002df7b4616
2021-10-12 16:12:39 +00:00
David Brazdil
efcaa740ad
Revert "pKVM: Include pvmfw and virt APEX in gs101 builds"
...
Revert "Include pvmfw variables in all gs101 builds"
Revert submission 16007088-pkvm-apex-gs101
Reason for revert: Fails on checkouts without vendor
Reverted Changes:
I238181780:Include pvmfw variables in all gs101 builds
Iefd7e1dc5:pKVM: Include pvmfw and virt APEX in gs101 builds
Bug: 202827425
Bug: 192819132
Change-Id: I08b0b2ac09f68847ad9bfabc39423de408fa6632
2021-10-12 13:21:18 +00:00
David Brazdil
625b010c8a
pKVM: Include pvmfw and virt APEX in gs101 builds
...
Support for pKVM is being added to all gs101 builds starting with T,
disabled by default. So far, the userspace components have been included
only in special _pkvm builds. Include them unconditionally.
This adds 89MB to the size of the system image.
Bug: 192819132
Test: flash, check /apex/com.android.virt exists
Change-Id: Iefd7e1dc5e0c1f23ff66e8b282c94a3b85f7cc3e
2021-10-12 09:31:30 +00:00
eddielan
bee19e91dd
fingerprint: Enable HIDL fingerprint status flag am: 93073646f4 am: dc7447ee3a
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/16003384
Change-Id: I77a96a69f2bb48bbe65c47a647374a1d5d707af7
2021-10-12 03:24:24 +00:00
eddielan
0729e90055
fingerprint: Enable HIDL fingerprint status flag am: 93073646f4
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/16003384
Change-Id: Ie7c4e789f5aefd4b1a50e955cda33a24dd2c0e58
2021-10-12 03:09:20 +00:00
eddielan
01459cea67
fingerprint: Enable HIDL fingerprint status flag
...
Bug: 202485883
Test: Bulid Pass, getprop vendor.fp.status
Change-Id: I67d39a91c24e3d91a029422fd8860de6d74a8422
2021-10-12 02:58:16 +00:00
Edwin Tung
d536d3970e
[automerger skipped] [DO NOT MERGE] gps: update gps driver 129.20.23.516938 am: 7fd8cce123 -s ours am: b6b96ae58d -s ours am: 7f6deea673 -s ours
...
am skip reason: subject contains skip directive
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/15993111
Change-Id: I212159980edda69a829e3de613a7ebd9edb55064
2021-10-08 15:46:17 +00:00
Edwin Tung
c3dab3018b
[automerger skipped] [DO NOT MERGE] gps: update gps driver 129.20.23.516938 am: 7fd8cce123 am: 56c60d0df5 -s ours am: 024ee79b4b -s ours
...
am skip reason: subject contains skip directive
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/15993111
Change-Id: I4d2eedb83552b87cf7153ea6f4de325d44d023e9
2021-10-08 15:46:04 +00:00
Edwin Tung
bd81fb0ac2
[automerger skipped] [DO NOT MERGE] gps: update gps driver 129.20.23.516938 am: 7fd8cce123 -s ours am: b6b96ae58d -s ours
...
am skip reason: subject contains skip directive
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/15993111
Change-Id: Ib701c70fdaf88c9bf6a8584c55e780964f6751cf
2021-10-08 15:29:39 +00:00
Edwin Tung
4caafe9a69
[automerger skipped] [DO NOT MERGE] gps: update gps driver 129.20.23.516938 am: 7fd8cce123 am: 56c60d0df5 -s ours
...
am skip reason: subject contains skip directive
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/15993111
Change-Id: I671f059b70d2f17a8c545375d70f48271cc90be5
2021-10-08 15:28:51 +00:00
Edwin Tung
7e1adeaf82
[automerger skipped] [DO NOT MERGE] gps: update gps driver 129.20.23.516938 am: 7fd8cce123 -s ours
...
am skip reason: subject contains skip directive
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/15993111
Change-Id: Ib247d37517279c4acae596483ece50383299da58
2021-10-08 15:14:29 +00:00
Edwin Tung
3f7cc79132
[DO NOT MERGE] gps: update gps driver 129.20.23.516938 am: 7fd8cce123
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/15993111
Change-Id: I16e4d4b540c7751a0dacdd099a2e9059fe3383d3
2021-10-08 15:10:54 +00:00
Edwin Tung
7d0d2634ef
[DO NOT MERGE] gps: update gps driver 129.20.23.516938
...
Rescale accuracy confident to 67% for AGPS NI request
Fix velocity URE in SatellitePvt
Fix scd crash
Enhance log mechanism
Fix avc denied
Force 1 sec interval in emergency mode
Bug: 199581865
Bug: 200654813
Bug: 201514516
Bug: 197196725
Bug: 201382800
Bug: 201729040
Sanity Test: 202280989
Test: build pass
Change-Id: I425e3f05e9ffc51ffeaa3f4d3d17a92592097a23
2021-10-08 14:55:53 +00:00
David Brazdil
c439f780ee
Enable hypervisor on pKVM builds
...
gs101 builds are getting experimental support for pKVM which can be
enabled either using fastboot or with misc_writer. For _pkvm builds we
want the device to automatically enable pKVM for testing. This patch
adds a new early-init service which checks for the presence of /dev/kvm
and if not found, writes to /misc and forces a reboot.
Bug: 192819132
Bug: 202484976
Test: flash a _pkvm build, observe double-reboot, check /dev/kvm exists
Change-Id: I3834b3e4c6118b3f6e4093ce52d5b94117eca29c
2021-10-08 11:20:14 +00:00
Sayanna Chandula
d6bde6c1ce
Revert "powerhint: thermal: Support powerhint to change tmu control-temp" am: f319cfc346 am: 7829c88d25 am: a7140c3ce7 am: 5c78a030da
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/16009633
Change-Id: I36e081fa724d5f49bb3275ed774f882a73431302
2021-10-08 05:50:37 +00:00
Sayanna Chandula
3f87fa2005
Revert "powerhint: thermal: Support powerhint to change tmu control-temp" am: f319cfc346 am: 7829c88d25 am: c07a3a33e1 am: 4e8f38a0a3
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/16009633
Change-Id: I1646e7f0f9747ba8913f0c6fc25cd5167fc64df4
2021-10-08 05:50:22 +00:00
Sayanna Chandula
476b9e44a5
Revert "powerhint: thermal: Support powerhint to change tmu control-temp" am: f319cfc346 am: 7829c88d25 am: a7140c3ce7
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/16009633
Change-Id: I12a8a2e85570a5f32bcef2c5333c816dab605ea4
2021-10-08 05:37:38 +00:00
Sayanna Chandula
57cc3f1086
Revert "powerhint: thermal: Support powerhint to change tmu control-temp" am: f319cfc346 am: 7829c88d25 am: c07a3a33e1
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/16009633
Change-Id: Ibfd7e64cb57c5597556344143cd054d3dd87b925
2021-10-08 05:37:23 +00:00
Sayanna Chandula
611e6d7a25
Revert "powerhint: thermal: Support powerhint to change tmu control-temp" am: f319cfc346 am: 7829c88d25
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/16009633
Change-Id: I31be22450d7f850a8f8ba274f6ba60c3a0a8a513
2021-10-08 05:27:29 +00:00