Commit graph

1559 commits

Author SHA1 Message Date
Kevin Han
838d59be18 Revert "add gs101-specific recovery library" am: 07b1cdf9c3 am: 455a89f777
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/15145158

Change-Id: Id2938ad91e63e01ad2db2ba2acd5b1f1b21112aa
2021-06-29 20:08:06 +00:00
Kevin Han
5089f98913 Revert "add gs101-specific recovery library" am: 07b1cdf9c3
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/15145158

Change-Id: I856fdb42022bac79d2cd512a7b9a70f04019f64e
2021-06-29 19:51:42 +00:00
Kevin Han
432f3bc640 Revert "add gs101-specific recovery library"
Revert "recovery: enable support for device-specific WipeSe impl..."

Revert "clear secure element of Digital Car Keys during factory ..."

Revert submission 14983788-clear_keys

Reason for revert: b/192373955
Reverted Changes:
Ia8fc29e6c:add gs101-specific recovery library
Icc1eabfd4:clear secure element of Digital Car Keys during fa...
I943d97b26:recovery: enable support for device-specific WipeS...
I15c7fbd7f:allow recovery and fastboot to access secure elmen...

Change-Id: I545698bc7da1aa12f520c0190775358dae70de61
2021-06-29 19:19:24 +00:00
Jeffrey Carlyle
256281a231 add gs101-specific recovery library am: dc012527d6 am: 9604441ee5
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/14983796

Change-Id: I7dbb841452dc0991bf2cbeca6a927b05a751b574
2021-06-29 18:22:03 +00:00
Jeffrey Carlyle
72fd86ebe5 add gs101-specific recovery library am: dc012527d6
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/14983796

Change-Id: I45ddf105aeb56b3f3d3442e5a99eb5acd980973e
2021-06-29 18:03:41 +00:00
Jeffrey Carlyle
7af529801c add gs101-specific recovery library
This library is hooked into the recovery code via
hardware/google/pixel/recovery and contains routines specific to the
GS101-based hardware.

Bug: 182508814
Test: did master reset on device with keys, verified no keys present after reset
Signed-off-by: Jeffrey Carlyle <jcarlyle@google.com>
Change-Id: Ia8fc29e6c043c58c09f189ac5dc91c4093cf64b6
2021-06-29 17:50:34 +00:00
seungmin.ahn
00d1a26a07 firmware: update MFC F/W(21/06/14) am: 01849078a6 am: d44d6f4ffe
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/14986354

Change-Id: Ia84c03f8bc6838c2624ae57da785fa9aac37caad
2021-06-29 09:06:33 +00:00
seungmin.ahn
6bf1ce8761 firmware: update MFC F/W(21/06/14) am: 01849078a6
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/14986354

Change-Id: Ifa958a32176aa434133f74d7fa25fdba8ccae742
2021-06-29 08:45:26 +00:00
seungmin.ahn
36d54272ae firmware: update MFC F/W(21/06/14)
- Modified HEVC decoder error handling which copy the nearest reference frame
    to current frame when error is detected.
- Implemented so that SBWC can be off/on during decoding when SBWC is enabled.
- Fix the max I frame size calculation bug when RC mode is CBR_VT. (RC_MODE = 3)
- Modified so that H.264/HEVC decoder can consumed AUD NAL type stream
    when AUD is added at the end of frame.

Bug: 189759631
Signed-off-by: seungmin.ahn <seungmin.ahn@samsung.com>
Change-Id: I3f83c9a8adae6bbcb1fb74b86c777811993b8c27
2021-06-29 08:19:35 +00:00
Nicole Lee
e19132f1f0 Only stop modem logging when it is always-on logging am: bbba5a5577 am: b68fb084d5
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/15124979

Change-Id: I3b8d05b19e78181f915550058249537fb83270bc
2021-06-29 05:27:52 +00:00
Nicole Lee
83c9c48ac8 Only stop modem logging when it is always-on logging am: bbba5a5577 am: 6a6f782eaf
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/15124979

Change-Id: Iefe0c33161d4413d0245df865b7d986b91cb50d7
2021-06-29 05:24:22 +00:00
Nicole Lee
e6782ea152 Only stop modem logging when it is always-on logging am: bbba5a5577
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/15124979

Change-Id: I6d2905d231c42dd4e7947aedae7df9e1bd80785e
2021-06-29 05:14:52 +00:00
Nicole Lee
258dbfa767 Only stop modem logging when it is always-on logging
Bug: 192128095
Change-Id: Ic51e0c9837f1d702e6d4b58e9cb9b4a94dc9e12c
2021-06-29 05:11:30 +00:00
Edwin Tung
dbe467bb1f gps: update gps driver 129.20.23.506213 am: bbd0f3682f am: 011c5368ed
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/15101222

Change-Id: I106106fb9fd034fa572f594a293deed258e56805
2021-06-29 03:37:22 +00:00
Edwin Tung
8ffc9b08f1 gps: update gps driver 129.20.23.506213 am: bbd0f3682f
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/15101222

Change-Id: Ibd53c538232ec0404b6d447a93a2b8bc33db13e7
2021-06-29 03:22:03 +00:00
Edwin Tung
4e3b80d9fc gps: update gps driver 129.20.23.506213
Fix time_ns is zero issue with Host Periodic request.
Implement GNSS PAL close()
Increase syncin req's timeout if autoTimeSyncGroupDelay calibrating is ongoing
Reduce spinning time on Ifc:active command
Fix a race condition when stopping sensors scanning thread
Update L1/L5 bias

Bug: 191807159
Bug: 191298215
Bug: 191109136
Bug: 189412038
Bug: 189063063
BUg: 191413681

Sanity test: 192061672
Test: build pass

Change-Id: Ie14a141f4fae91a5cb90460f30ad59bc28bd8cfa
2021-06-29 03:03:40 +00:00
Yu(Swim) Chih Ren
ee04055fc7 Add CAMERA_BACKEND_BOOST powerhint configuration to increase backend ISP am: 3a03a155bc am: 50f47a6d40
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/15080040

Change-Id: I50f5a17b11bc229245cb3b3fca5f96e044dbcbe1
2021-06-29 02:59:00 +00:00
Yu(Swim) Chih Ren
177eeccbe3 Add CAMERA_BACKEND_BOOST powerhint configuration to increase backend ISP am: 3a03a155bc
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/15080040

Change-Id: Ib02c6ecf462ac487820507562d8a7365b0aaca9e
2021-06-29 02:55:28 +00:00
Yu(Swim) Chih Ren
ab64b15ec9 Add CAMERA_BACKEND_BOOST powerhint configuration to increase backend ISP
clock when camera lauch and secure camera is not used

Add mem, mid CPU cluster power hint configuration when CAMERA_LAUCH

Bug: 168654554

Test: 1. Check clock freq related file when camera start
      2. Check perfetto to make sure CPU clock setting does not reset by
      BACKEN boost power hint
      3. P21 camera checklist

Change-Id: Iadc7058c605533f8bd394dff1d9711bb7aca6897
2021-06-29 02:52:13 +00:00
Denny cy Lee
a02b90827d PixelStat: Suez: Porting wireless charging am: 4c3d1f2369 am: 39d43e59fb
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/14881199

Change-Id: Ie73f417b438785249abf118faf888bd6912fc9b5
2021-06-29 01:48:41 +00:00
Denny cy Lee
e0aa506c98 PixelStat: Suez: Porting wireless charging am: 4c3d1f2369
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/14881199

Change-Id: I302e83aaf54d556deda4ce5c8eb4e651c65b2cbb
2021-06-29 01:31:17 +00:00
Denny cy Lee
f2227732cb PixelStat: Suez: Porting wireless charging
Wireless ptmc uevent is not supported,
replace it with reading file node

Bug: 171853251
Test: manually, do wirelees charge, check logcat

Signed-off-by: Denny cy Lee <dennycylee@google.com>
Change-Id: I8d4bbff09826fb76b0bce4321e9b5081a1487435
2021-06-29 01:16:34 +00:00
Kyle Tso
5a3816fd7e usb: Enable midi function in charger mode am: ecbc59d53e am: b0916f92bc
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/15118506

Change-Id: I24ffe2d338b05dc2b16f28460c47739e1b4854af
2021-06-28 09:12:31 +00:00
Kyle Tso
9d0582ba77 usb: Enable midi function in charger mode am: ecbc59d53e
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/15118506

Change-Id: I781b6364606073c7323894900ea2b80d14d67ecd
2021-06-28 08:55:34 +00:00
Kyle Tso
22484eb00d usb: Enable midi function in charger mode
It needs a USB function in charger mode to set the charging current to
500mA/900mA.

Bug: 188744218
Test: charging at 900mA in charger mode
Signed-off-by: Kyle Tso <kyletso@google.com>
Change-Id: I95c98ecec30dd4394228f7290412c303771a3158
2021-06-28 03:46:22 +00:00
Wei Wang
92ae3ad572 Add vendor proc dump am: c17864f72e am: 93dc024b7d
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/15116870

Change-Id: Idbd5b7affcbab65f0379893974ec9266ca389a04
2021-06-26 21:59:29 +00:00
Wei Wang
d6aac4f8bb Add vendor proc dump am: c17864f72e
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/15116870

Change-Id: Ibafd4310eadefd3bd92c148bdabecdaf4deb3c62
2021-06-26 21:48:49 +00:00
Wei Wang
4ff1973c29 Add vendor proc dump
Bug: 172112042
Test: build
Signed-off-by: Wei Wang <wvw@google.com>
Change-Id: I88bd7f1961e4e9bbe853e3122a7525ec93ae7fd0
2021-06-25 22:04:53 -07:00
Carter Hsu
636ceea501 audio: add AOSP build flag am: 33ad313be8 am: c1dcb5cb64
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/14513735

Change-Id: I639908f91d26c61417f97877fc7433e463669758
2021-06-25 10:46:55 +00:00
Carter Hsu
ba578e4e43 audio: add AOSP build flag am: 33ad313be8
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/14513735

Change-Id: Ibb98f335343bed4c7646eca22b262726bcd4221b
2021-06-25 10:22:45 +00:00
Carter Hsu
977c44c195 audio: add AOSP build flag
Bug: 184016430
Test: build pass
Signed-off-by: Carter Hsu <carterhsu@google.com>
Change-Id: I4a32e82fdcdd51f813c9dc6b013b26aabf66c078
2021-06-25 10:08:04 +00:00
millerliang
0b6124bc4b audio: add the files for low latency am: b920a4e569 am: 4783f1d86a
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/15101218

Change-Id: Ib27dd419d353fb2d9fa0daddbc2519950b44baf3
2021-06-25 08:12:54 +00:00
millerliang
a666e8bea4 audio: add the files for low latency am: b920a4e569
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/15101218

Change-Id: Ie5cc30dd9947448beb2c58d2f953a094055c077b
2021-06-25 07:47:07 +00:00
millerliang
1fce97cea2 audio: add the files for low latency
They are use by the GOogle Play Store to filter devices
that might need low latency feature.

Bug: 189793763
Test: Build and check the files
Change-Id: Ibf71147b971bfc4fe4e769772851e604203395b8
2021-06-25 02:46:02 +00:00
Lisa Liu
af03621615 Remove wait_for_keymaster and all references am: 68622cfc89 am: bb544128d4
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/15056855

Change-Id: Ib4d9acb580e2935ae3adf5129e728b2e1565a780
2021-06-25 02:28:19 +00:00
Lisa Liu
d5ef555e2e Remove wait_for_keymaster and all references am: 68622cfc89
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/15056855

Change-Id: I1e82e441675837561d80ac4693c439831ddfd13b
2021-06-25 02:13:02 +00:00
Adam Shih
4aa9b548e2 modularize dmd am: dbfee7ea5b am: 22ee03dec6
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/15068260

Change-Id: I0ce6b396f6919f8372efef8b474e7514b224eca7
2021-06-25 02:03:30 +00:00
Lisa Liu
2261184ed9 Remove wait_for_keymaster and all references
No longer needed now init listens for property changes on a
separate thread.

Bug: 186580823
Bug: 191646246
Test: Boot test
Change-Id: I7e5e12c4422aa516cd9d8c63b1e5be37b6aa80bf
2021-06-25 01:50:01 +00:00
Adam Shih
5db948422c modularize dmd am: dbfee7ea5b
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/15068260

Change-Id: Ibb564e0550d25722e0caf7308a92cd593f78f18f
2021-06-25 01:27:41 +00:00
Adam Shih
4b2b930396 modularize dmd
Bug: 190331463
Test: build ROM and make sure dmd is launched
Change-Id: Ie7ee06cbefeced5a69292e22012f533296081319
2021-06-25 01:12:49 +00:00
Rachel Lee
6c01615e5b Set 120Hz frame rate multiple threshold for gs101. am: 58fb86ed25 am: 31a9194726
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/15079929

Change-Id: I55fdbdffbd6b4f8cf52487ec8d06f620d12165f9
2021-06-24 22:46:58 +00:00
Rachel Lee
dca07255a0 Set 120Hz frame rate multiple threshold for gs101. am: 58fb86ed25
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/15079929

Change-Id: I2dff00c53a0e0c28bfaa44d74efcb11f92a973a9
2021-06-24 22:31:12 +00:00
Rachel Lee
d901ee0b5d Set 120Hz frame rate multiple threshold for gs101.
BUG: 190815773
Test: atest libsurfaceflinger_tests
Change-Id: I515aadf0305c306a1c58248daf9b38cec0161cf8
2021-06-24 22:14:45 +00:00
SalmaxChang
a4d08135b6 dumpstate: Sync features from P20 am: 991b6891d2 am: 0de5f04785
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/14730572

Change-Id: I2857d78885babf2e95a349682fac046f7406de1d
2021-06-24 10:39:45 +00:00
SalmaxChang
2aff6e9cba dumpstate: Sync features from P20 am: 991b6891d2
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/14730572

Change-Id: Ie131e32379cbc68a9b024139c89b7cfc2b578d89
2021-06-24 10:20:52 +00:00
SalmaxChang
0979e06146 dumpstate: Sync features from P20
- Create thread to collect modem related logs into dumpstate_board.bin.
- Reference verbose logging property

Bug: 176176656
Bug: 190329829

Change-Id: I514ae6d00599239238d0f1a2a2ec0cc2c8c15043
2021-06-24 10:02:11 +00:00
Edwin Tung
e596dd20e6 gps: update gps driver 129.20.23.505774 am: 8ee2a0fceb am: 8fe2d50899
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/15056860

Change-Id: Ia0d2f659c71a93c3d13cad68a0eaecced9502164
2021-06-24 09:31:44 +00:00
Edwin Tung
3db4d9f836 gps: update gps driver 129.20.23.505774 am: 8ee2a0fceb
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/15056860

Change-Id: I3a6eb872389dbcbae477ee13e7ef52028dbcd0a8
2021-06-24 09:19:14 +00:00
Edwin Tung
d19326ae76 gps: update gps driver 129.20.23.505774
Make CP report velocity measurement if requested
Make ellipsoidPointWithUncertaintyEllipse location type supported.
Add min Horizontal EA check to comply with VTS test
Fixed SIGSEGV at BrcmLppeHalSensors::OnMessage() while VZW AGPS E911 testing
Fixed issue that endTransaction is set to false for final ProvideLocationInformation in EarlyFix SUPL testing
Added EarlyFix support to Control Plane
Added guard time (CpEarlyFixGuardTimeSec, defalut = 0) for EarlyFix Control Plane

Bug: 190780462
Bug: 187244665
Bug: 191215893
Bug: 190459104

Sanity test: 191727022
Test: build pass

Change-Id: I3ebf15d7c451df635e1757ceea280e2d31dce450
2021-06-24 09:04:09 +00:00
Adam Shih
eb87d0289a modularize pktrouter am: 8f21a02138 am: 22f1034c84
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/15056861

Change-Id: I740f3691c2bb0c70d0b50261f2e2fc57f142fa6d
2021-06-24 07:57:35 +00:00