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
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
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
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
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
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
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
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
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
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
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
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
5dd7d659cd
modularize pktrouter am: 8f21a02138
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/15056861
Change-Id: Id237ceafa13470fe305ec4e84629231bb387783f
2021-06-24 07:41:02 +00:00
Adam Shih
c7884a192e
modularize pktrouter
...
Bug: 190331212
Test: make sure pktrouter gets initialized
06-23 13:21:19.372 1 1 I init : Parsing file /vendor/etc/init/pktrouter.rc...
06-23 13:21:23.510 1 1 I init : processing action (vendor.pktrouter=1) from (/vendor/etc/init/pktrouter.rc:7)
06-23 13:21:23.510 1 1 I init : starting service 'pktrouter'...
Change-Id: I89de2b2dd151bba877dea0bd5db0df1048b2ab6b
2021-06-24 07:24:45 +00:00
Minchan Kim
5e2473d15d
dumpstate: dump cma information into bugreport am: 6ea9513a0d
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/15083602
Change-Id: I493e2a42003f6dbb5fdb8a9a63ffd0ff91752fc4
2021-06-24 02:18:49 +00:00
Minchan Kim
48a283b16e
dumpstate: dump cma information into bugreport
...
Dump pixel cma metric into dumpstate_board.txt
It hepls to find cma allocation latency issues.
output example)
..
Change-Id: I697ade197617e3c19be1d83d38f2f93b44905ff8
--- /sys/kernel/pixel_stat/mm/cma/faceauth_tpu/alloc_pages_attempts
0
..
--- /sys/kernel/pixel_stat/mm/cma/faceauth_tpu/latency_low
0
--- /sys/kernel/pixel_stat/mm/cma/faceauth_tpu/latency_low_bound
10
--- /sys/kernel/pixel_stat/mm/cma/faceauth_tpu/latency_mid
0
..
--- /sys/kernel/pixel_stat/mm/cma/reserved/alloc_pages_attempts
1162
--- /sys/kernel/pixel_stat/mm/cma/reserved/alloc_pages_failfast_attempts
0
..
Change-Id: I08e34841617768f53e38f25a1b8035ade886d008
Bug: 191904985
Test: Run "adb bugreport <zip>" and verify it contains the output
from dumpstate_board.txt
Signed-off-by: Minchan Kim <minchan@google.com>
2021-06-24 01:45:11 +00:00
SongFerngWang
39a1fd41d2
"Erase Downloaded sims" Checkbox is not visible am: a8acce09fd
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/15068250
Change-Id: Ifff4d394c7fcb09c9608d527e30620efbb002840
2021-06-24 01:32:54 +00:00
SongFerngWang
c6a7602790
"Erase Downloaded sims" Checkbox is not visible
...
Enable the masterclear.allow_retain_esim_profiles_after_fdr for
checkbox is visible
Bug: 188093779
Test: build pass
Change-Id: I5745d152642d14c9a28d1831a59f64fb65d95394
2021-06-24 01:19:33 +00:00
TeYuan Wang
0e9366630a
thermal: move gs101 thermal permission commands to device folder am: 97ece7d1b3
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/15045016
Change-Id: I12e86dce0aaefcd5b32e7fc56b811f0ff7e76b76
2021-06-23 23:25:27 +00:00
TeYuan Wang
4c97453535
thermal: move gs101 thermal permission commands to device folder
...
Bug: 182970733
Test: check the thermal sysfs permission on O6
Change-Id: I80c0571aca9cbff1881c884350a5ca39e6beef6b
2021-06-23 23:09:44 +00:00
Denny cy Lee
6fb6154097
Pixestat: add battery info am: 1cf072038b
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/14617774
Change-Id: Idc11b511b67e2c25bcc22831a8da0ef240cee89c
2021-06-23 08:33:26 +00:00
Denny cy Lee
fb73d0e546
init.hardware.rc: add permission for battery eeprom am: b316d5cc65
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/14701130
Change-Id: Ib00ee39918c0fcfee5ef4ba1c931978c2496ade8
2021-06-23 08:33:25 +00:00
Denny cy Lee
8101fbcec0
Pixestat: add battery info
...
Bug: 171947164
Test: manually, no read fail found
Change-Id: I35bbca1aec39e6fb6133386b96efd727a9f74099
Signed-off-by: Denny cy Lee <dennycylee@google.com>
2021-06-23 08:22:41 +00:00
Denny cy Lee
294e58b1b2
init.hardware.rc: add permission for battery eeprom
...
Bug: 189050725
Test: manually, file mod owner: 644 system
Change-Id: Iff5bb544f9fb76556ef783d04abd363240c6bd3b
Signed-off-by: Denny cy Lee <dennycylee@google.com>
2021-06-23 08:22:41 +00:00
Daniel Mentz
6076106978
Use modprobe --all to load all modules in modules.load am: 6050457e19
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/14543092
Change-Id: I2fd7af6da1be910efc3c53e1a6312a7026e88da5
2021-06-23 06:26:10 +00:00
Taehwan Kim
cd9e4deafe
add ro.vendor.gpu.dataspace am: cf7285bb99
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/14877090
Change-Id: If92884363fce9816eeb13d8e837009ab5d4acfc1
2021-06-23 06:24:55 +00:00
Daniel Mentz
fe798d9f4f
Use modprobe --all to load all modules in modules.load
...
Previously, we ran modprobe command for every .ko file listed in
init.insmod.*.cfg. Let's move to a different approach where we call
modprobe with the following command line.
modprobe -b --all=/vendor/lib/modules/modules.load
This will insmod all modules listed in modules.load except for those
that are mentioned in the blocklist at
/vendor/lib/modules/modules.blocklist
A common reason for a module to be on the blocklist is that it must only
be loaded under a certain condition like when a specific service is
launched.
Bug: 190652328
Change-Id: I37dfc83cbc90534243765f6985bc53f3fa83aef0
2021-06-23 05:10:36 +00:00
Taehwan Kim
71bf42f42d
add ro.vendor.gpu.dataspace
...
Bug: 176415285
Signed-off-by: Taehwan Kim <t_h.kim@samsung.com>
Change-Id: I6d6780f81ae05fc22793d97373a49b86e289cd0c
2021-06-23 04:51:40 +00:00
Adam Shih
077c62afc0
modulize init.radio.sh am: b708e2ccc2
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/15056857
Change-Id: I8d42020cafdad56f98ad6f67fc91cde68e11f865
2021-06-23 03:17:47 +00:00
Adam Shih
5de199eca7
modulize init.radio.sh
...
Bug: 190331600
Test: build ROM and make sure the file is there and functional.
Change-Id: Id8fdeab9a79724ba77044274f2005935ffe00c99
2021-06-23 02:55:22 +00:00
Roger Wang
2bca1370f5
wifi: update interface combination. am: e4ca96c8e8
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/15023707
Change-Id: I292dcd18321ad4367d5951dea6f671fde2099063
2021-06-22 17:28:49 +00:00
Roger Wang
d327ab2a8f
dumpstate: remove wifi fw symbol table am: f83b6cfad9
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/15023708
Change-Id: Ic5d4389c11df3eaf5439c995c1989c6f57a33c30
2021-06-22 17:28:41 +00:00
Roger Wang
2b65b15e7c
wifi: update interface combination.
...
In this commit, we update the interface combination
for P21.
Bug: 191020902
Test: local test on PP23935602 build.
Check STA+STA, STA+SAP, STA+P2P and STA+NAN are workable.
Change-Id: I424c4ea854f3a4f7b615038db8d63729fd32adda
2021-06-22 17:03:54 +00:00
Roger Wang
b9d3e85359
dumpstate: remove wifi fw symbol table
...
In b/183180525, vendor mentioned they won't provide
fw symbol table (logstrs.bin) in terms of their internal
concern. Hence, remove wifi fw symbol table from dumpstate.
Bug: 191429306
Test: build pass, device can connect to AP.
Change-Id: I54a012f619f113a2567a93707731b5c4802b1da8
2021-06-22 17:00:35 +00:00
eddielan
807e460cd4
fp_test: add command binary for fp test
...
Bug: 188014250
Test: Build pass, verify on device
Change-Id: Ia3a8a17597fbc90cd0499e03fe0fe607323fdf90
2021-06-22 16:05:07 +08:00
Maciej Żenczykowski
d5e6f7beab
support both rndis and ncm, but not rndis + ncm am: 49a13bff74
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/15057012
Change-Id: I70616d47d2b41c1d8d1cf926d6a0bb7e5c872987
2021-06-22 04:51:26 +00:00
Maciej Żenczykowski
e0ccd8fe6d
support both rndis and ncm, but not rndis + ncm
...
Bug: 172793258
Test: N/A
Signed-off-by: Maciej Żenczykowski <maze@google.com>
Change-Id: I6ac656d5eec27fadf76391fc3318b9d29d253a89
2021-06-22 02:53:55 +00:00
Chris.CC Lee
39758bc260
[Gs101] Update pregrant permissions for Restore APK am: 2a9345c35c
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/14972993
Change-Id: I0657338e7a79fbe42285b06565b51e8fcbd2d48a
2021-06-22 01:58:56 +00:00
Chris.CC Lee
00d640335c
[Gs101] Update pregrant permissions for Restore APK
...
-. RECEIVE_SMS and READ_PHONE_NUMBERS permissions are no longer used.
-. Add the ACCESS_FINE_LOCATION permission for iOS WiFi D2D which was approved in b/188150877.
Bug: 188150877
Fix: 162937804
Test: Manual tested on Barbet.
Change-Id: I518275717ebd2b81bb888eaddc58222fe92b92c1
2021-06-22 01:37:45 +00:00