Sasha Smundak
9cbef8afd5
Use soong_config_ macros to set Soong config variables.
...
Bug: 198503843
Test: treehugger
Merged-In: Ifd1aed04267d952a13cfd9b93933e500ba07dbad
Change-Id: I4fa1d4f3e1c5a965696f78244bcf58360e0ce1c7
2021-12-29 18:31:41 +00:00
Siddharth Kapoor
f310a6d205
gs201: Enable AGI support
...
Add build target for libgpudataproducer for AGI support
Bug: 208165749
Test: libgpudataproducer can build for gs201 builds
Signed-off-by: Siddharth Kapoor <ksiddharth@google.com>
Change-Id: I4c16f28267e4a5733e84faf9ce3496dff244f25f
2021-12-28 18:01:21 +00:00
justinweng
0105e2ec43
Enable A2DP offload playback
...
Bug: 194607800
Test: A2DP playback
Signed-off-by: justinweng <justinweng@google.com>
Change-Id: I7d7c7e895ae63bcc2f25ecaf0aa5d0e802a6af91
2021-12-28 11:55:17 +00:00
Albert Wang
16bdd47ccd
device.mk: usb: remove redundant property
...
This property is found no used and causes a SELinux avc denial error,
so remove it accordingly.
auditd : type=1107 audit(0.0:4): uid=0 auid=4294967295 ses=4294967295
subj=u:r:init:s0 msg='avc: denied { set } for
property=dev.usbsetting.embedded pid=1 uid=0 gid=0
Bug: 184103246
Test: forrest test build
Signed-off-by: Albert Wang <albertccwang@google.com>
Change-Id: Ic077ae729cdf0a0f04aeec2e04aecdfe7011b52a
2021-12-23 07:23:25 +00:00
diverj
470a34f78c
gs201: Enable gpu profiler support
...
Test: Boot to home, AGI validation
Bug: 199279836
Signed-off-by: diverj <diverj@google.com>
Change-Id: Ic7d30aebc6519cb0d88533af0f10908ee40ba8b4
2021-12-23 06:44:39 +00:00
Cyan_Hsieh
38d81bc2c7
Include gs common in makefile build flow
...
Bug: 211723080
Change-Id: I8e1cefa396d494e73634da8620153c7a9a5693ee
2021-12-22 11:30:36 +00:00
Darren Hsu
7d9490247f
powerstats: add mmWave rail into modem energy consumer
...
Bug: 211073344
Test: dumpsys android.hardware.power.stats.IPowerStats/default
Change-Id: I9ecd3702605be287e76b8ed584eaba137a482b05
Signed-off-by: Darren Hsu <darrenhsu@google.com>
2021-12-22 03:03:25 +00:00
Gary Lin
20afe57c18
camera: disable local tone mapping for factory build
...
Bug: 211171384
Test: build, aosp camera
Change-Id: Ia2f4659ac43e409159cb14a0b5ffa048cc00a768
2021-12-21 14:35:58 +00:00
Rios Kao
ddd4fb00c6
soundtrigger: add support for SoundTriggerHal
...
Bug: 206523344
Test: Build Pass
Change-Id: I686064c8b898e002ded55d0e99d73942bb1a4844
2021-12-21 06:59:20 +00:00
Gary Lin
bddeb3eff2
camera: disable saliency and segmentation for factory build
...
Test: build pass, aosp camera preview
Bug: 211051492
Change-Id: I67eece056fdb261f16d60a60e654281964d9a5a2
2021-12-21 02:56:40 +00:00
George Lee
0d5e6ab435
bcl: Remove unused sysfs read
...
Bug: 197028142
Test: adb bugreport
Signed-off-by: George Lee <geolee@google.com>
Change-Id: Ia14108684ece750df7ce18314b97059f25b04591
2021-12-16 13:38:38 -08:00
Bart Van Assche
520ff8ddb6
BFQ: Change slice_idle to 0
...
As one can see in https://b.corp.google.com/issues/191606824 ,
slice_idle=0 works better for Android than slice_idle=8. Hence change
slice_idle from 8 to 0 for the second generation SoC.
See also
https://googleplex-android-review.git.corp.google.com/c/device/google/gs101/+/15415376 .
Test: Untested
Change-Id: I2204047975b040a0255cf902132423d55710e131
Signed-off-by: Bart Van Assche <bvanassche@google.com>
2021-12-16 11:03:07 -08:00
Wayne Lin
a1a31655f0
gps: update gps driver 129.20.23.522791
...
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: 209897730
Test: build pass and GNSS verify test pass
Change-Id: I85d894c59c9b03c3e2a5e8eed31a609146fc0b58
2021-12-16 01:20:30 +00:00
Cyan_Hsieh
55f68d6310
gs201: Add pvmfw to AB_OTA_PARTITIONS
...
Bug: 209706293
Change-Id: I13f3f1c02dd6687226936b45852742701d185ced
2021-12-15 12:41:47 +08:00
Hsiu-Chang Chen
9401fa60b4
dumpstate: dump wlan firmware symbol file
...
Bug: 205919442
Test: Build Pass
Change-Id: Ib48b8bdf002e6462a7a0499f02b6a7b76329dee4
2021-12-14 11:10:37 +00:00
Victor Hsu
05766696d6
wifi: create configuration to use qcom wifi_hal
...
Bug: 202481207
Test: Build pass
Change-Id: Ia787642c0e9ee45e12648b8e369a0ff62b55d20d
2021-12-14 11:10:37 +00:00
Nicole Lee
53b694ec76
device.mk: enable modem always on logging by default
...
Bug: 205420203
Bug: 208845456
Test: Confirm PCIe can sleep with Lassen 1130 radio
adb shell cat /sys/bus/platform/devices/cpif/s5100_wake_lock
Change-Id: I42f7efa3fff84cad849ce77bebce4dcf35b43d1f
2021-12-14 02:21:20 +00:00
Jaegeuk Kim
554e90c439
use erofs for RO partitions
...
Bug: 201348439
Signed-off-by: Jaegeuk Kim <jaegeuk@google.com>
Signed-off-by: Daeho Jeong <daehojeong@google.com>
Change-Id: I8607cff388ea13000b1002ef9cc52717a9a00469
2021-12-09 18:38:54 +00:00
Wayne Lin
674c3e17a3
gps: update gps driver 129.20.23.521541
...
Improve stopping conditions for urban driving
Fix GTS issues
Improve Spirent AGPS drive accuracy
Add PRs and PRRs log
Fix SUPL over WIFI issue
Integrate SatPvt URE fix
Fix SB Lab issue
Bug: 200942298
Bug: 204963837
Bug: 202366378
Bug: 202250827
Bug: 203615018
Bug: 205653853
Bug: 198384193
Verify Test: 207445643
Test: build pass and GNSS verify test pass
Change-Id: I7ed025c97c03898443e6cf459f017bd1f154e2ae
2021-12-09 02:27:06 +00:00
Ray Chi
8792d6d7a2
usb: create new functions for uwb
...
uwb needs ACM port, create this function combination.
Bug: 209568585
Test: ACM port can be enabled.
Change-Id: I06107cc6ee42fc6b622a1aff25cbdd54b479ea0f
2021-12-08 06:16:46 +00:00
Kyle Tso
d26a7befb8
usb: Rename the config to "charger" in charger mode
...
init.usb.configfs.rc has the same trigger condition of midi function.
Rename the config name to "charger" to avoid triggerring twice of the
midi function.
Bug: 188744218
Test: USB enumerated in charger mode
Signed-off-by: Kyle Tso <kyletso@google.com>
Change-Id: Ica112fb4be66356901f6d5f21b79b9e648d49f35
2021-12-08 06:16:46 +00:00
Kyle Tso
61dfc1e350
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-12-08 06:16:46 +00:00
Ray Chi
81016507ef
usb: remove the redundant code
...
Currently, the property 'sys.usb.configfs' is set to 2, these settings
are not needed.
Bug: 209568585
Test: build pass
Change-Id: Icbf24f621e1d20ffc86228fc6d936cb9a1a7c4e5
2021-12-08 06:16:46 +00:00
Ray Chi
707dbbc43f
usb: set sys.usb.mtp.batchcancel to true
...
The cancelling behavior in MTP has two behaviors.
1. cancel requests one by one
2. batch cancel all requests
This patch will set the property to true to enable
batch cancel all requests.
Bug: 181729410
Test: build pass
Change-Id: I546dad88e5e0c72c9bafdaded8e9026deccfbb88
2021-12-08 06:16:46 +00:00
TeYuan Wang
404a90ef54
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
Wayne Lin
4cdfc08f1b
Move gps.xml to device folder
...
Move gps.xml to device folder and maintain them separately
by project requirement
Bug: 208725716
Test: build pass
Change-Id: I10950cdec6ff77a6a3f9b8ba585960e17c21fe8c
2021-12-07 10:14:10 +00:00
Yichi Chen
8cabef33a9
gs201: upgrade IDisplay to V4
...
Bug: 202567084
Test: build pass
Change-Id: I5bb027ea60d2c662141d4590296f3904290ea28c
2021-12-06 17:25:21 +08:00
Chandan Nath
3e218362dd
Change Pixelmigrate to GoogleRestore and update run-time permissions.
...
We are shipping GoogleMigrate on all S+ devices instead of Pixelmigrate. The list of permissions is from go/br-new-device.
Bug: 205986103
Change-Id: I21f8a8455084ad66b377aa0449292d046d11da89
2021-12-06 09:14:41 +00:00
Nicole Lee
35a79d9a44
Revert "device.mk: enable modem always on logging by default"
...
This reverts commit 11475b1588
.
Reason for revert: b/208845456 disable modem logs until PCIe can sleep correctly
Change-Id: I86df81c96685c571a3deb478b3b24141f89e0e22
2021-12-06 04:24:44 +00:00
neoyu
f1a8827375
Remove CDMA feature because modem doesn't support it
...
Bug: 209031150
Test: inspect build artifacts - result is expected
Change-Id: I859fd4b2b6d08eba2cb39b51c163c61a0ce4a8ec
2021-12-06 02:30:10 +00:00
Robin Peng
c6332d87fc
Move mfc_fw.bin into vendor/google_devices/<DEVICE>/prebuilts
...
firmware/mfc/mfc_fw.bin
Bug: 207727668
Change-Id: Ic7a078db0884ffce1c3c2f9b3e3da145da6bf02c
2021-12-03 17:15:42 +00:00
Carter Hsu
0405e0e58e
Revert "audio: run audio hardware as 64bit"
...
This reverts commit 578aabc8cc
.
Reason for revert: <Cirrus HAL module fails to start deep-buffer>
Change-Id: Iab95567ec1dcad66f82c144c992ff66f7e2e6f13
2021-12-03 05:53:19 +00:00
Carter Hsu
578aabc8cc
audio: run audio hardware as 64bit
...
Bug: 205240941
Test: build pass
Signed-off-by: Carter Hsu <carterhsu@google.com>
Change-Id: I1e5d6d8bf410e5cf8af51abc0d364c35aa82e8c7
2021-12-03 05:16:57 +00:00
Darren Hsu
729a55acdd
powerstats: add DVFS state residency for INTCAM, CAM and TNR
...
Bug: 203063331
Test: dumpsys android.hardware.power.stats.IPowerStats/default
Change-Id: I4d765fb9813ead483cc1ba4f159dbb341693ee4c
Signed-off-by: Darren Hsu <darrenhsu@google.com>
2021-12-03 02:26:56 +00:00
davidycchen
fb7bd91ee6
conf/init.rc: change touch sysfs node ownership
...
Change touch sysfs node ownership as system/system for dumpstate.
Bug: 199104466
Test: adb bugreport
Signed-off-by: davidycchen <davidycchen@google.com>
Change-Id: Ie4375424b7a1299d8ec1e69167f9564bda9b3e4e
2021-12-01 10:01:51 +00:00
davidycchen
8b35b3cf81
dumpstate: read C10 touch information
...
Dump the touch information and rawdata when bugreport is triggered.
Bug: 199104466
Test: adb bugreport
Signed-off-by: davidycchen <davidycchen@google.com>
Change-Id: I1047ddfd063d90114b3ff2173c3b4da3a2bb414a
2021-12-01 10:01:51 +00:00
Darren Hsu
2dcb8a176f
powerstats: add TPU MIF-REQ state residency
...
Bug: 206913765
Test: dumpsys android.hardware.power.stats.IPowerStats/default
Change-Id: Ifec43d031ec15499547c325afdddd549b1d43179
Signed-off-by: Darren Hsu <darrenhsu@google.com>
2021-11-30 03:17:33 +00:00
Midas Chien
11c6bdb6f9
display: update sysfs early_wake
...
Allow HWC to modfiy display early_wakeup.
Bug: 207615889
Test: check node attribute
Test: early wakeup works
Change-Id: I29d4cb8c867071f49a882920692dd013dc0b601f
2021-11-29 17:34:48 +00:00
Cyan_Hsieh
43584efad2
update device folder path
...
Bug: 198128551
Change-Id: I24358a4b1918ce87b0b1c892e2bf0e823fc0b683
2021-11-25 19:26:59 +08:00
Kyle Lin
af8d6b2439
memlat: correct the memlat setting
...
Bug: 207047575
Test: build, boot and verify the value
Change-Id: I20b0a54240102c283f5421838aa13c91ca7abd93
2021-11-24 07:34:20 +00:00
Cheney Ni
85a99ae592
Bluetooth: Owns /dev/btpower nodes
...
Bug: 202113218
Test: manually
Change-Id: I4f4e2ba1ce7d87b3a072f1ed3c09d48e77d12283
2021-11-23 09:42:50 +00:00
Cheney Ni
0cf19f1da1
Bluetooth: Not specify the HIDL at chipset level
...
Move the Bluetooth HIDL manifest to each projects.
Bug: 202113218
Test: manually
Change-Id: I52e5405e31c5e2713aa17512dfaeda80c374be77
2021-11-23 07:46:10 +00:00
Ray Chi
bdd4728a17
usb: modify the permission of USB gadget hal
...
Currently, USB gadgdet hal couldn't access configfs nodes during
device booting. The permission of configfs nodes are root as default,
and they are modified to system by init process. Therefore, USB
gadget HAL can't access them before permission changes completely.
The patch will modify permission of USB gadget hal so that it can
access configfs nodes without permission change.
Bug: 204378488
Test: check connection time
Change-Id: I97f5446a51183225227744043e4a6e0088fecf0b
2021-11-18 17:06:56 +08:00
Shiyong Li
f574475006
display: allow framework to access local hbm node
...
Change local hbm node ownership to allow framework to access.
Bug: 205640231
Test: check ownership after boot
Signed-off-by: Shiyong Li <shiyongli@google.com>
Change-Id: Iba041a9cf8672682411f2167f8677b30e5979027
2021-11-16 20:19:16 +00:00
Roger Wang
197e2a096b
wifi: move configuration to project specific
...
In this commit, I remove project specific content.
For example, I remove p2p interface property,
supplicant service definition and board configurations.
Bug: 203635329
Test: check functionality and output as follows
$ adb shell ifconfig
Output: p2p-wlan0-0 Link encap:Ethernet
$ adb shell getprop wifi.direct.interface
p2p-dev-wlan0
Log output:
wl_cfgvendor_set_hal_started, HAL version: BCMDHD vendor HAL
wpa_supplicant: Configuration file '/data/vendor/wifi/wpa/wpa_supplicant.conf' -> '/data/vendor/wifi/wpa/wpa_supplicant.conf'
wpa_supplicant: Reading configuration file '/data/vendor/wifi/wpa/wpa_supplicant.conf'
wpa_supplicant: update_config=1
wpa_supplicant: eapol_version=1
wpa_supplicant: ap_scan=1
wpa_supplicant: fast_reauth=1
wpa_supplicant: pmf=1
wpa_supplicant: p2p_add_cli_chan=1
wpa_supplicant: oce=1
wpa_supplicant: sae_pwe=2
wpa_supplicant: Reading configuration file '/vendor/etc/wifi/wpa_supplicant_overlay.conf'
wpa_supplicant: sae_pwe=2
wpa_supplicant: driver_param='use_p2p_group_interface=1p2p_device=1'
wpa_supplicant: disable_scan_offload=1
wpa_supplicant: wowlan_triggers='any'
Change-Id: If18f13e7c4c8fc13fb68e50145cc407c91d3fa60
2021-11-15 09:20:32 +00:00
Jenny Ho
49425acfb8
dumpstate: sync battery dumpstate data
...
Bug: 205071645
Signed-off-by: Jenny Ho <hsiufangho@google.com>
Change-Id: I16dbfb492311e532fa14a001686ca1d3386b57aa
2021-11-15 01:53:30 +00:00
Long Ling
91d7dd17d2
upgrade to hwc3
...
Bug: 201321174
Change-Id: Ifa12a2174d82547b6708021a24a6e9cee6b66fd5
2021-11-12 04:39:24 +00:00
Bob Badour
a52cd301cd
[LSC] Add LOCAL_LICENSE_KINDS
...
Added SPDX-license-identifier-Apache-2.0 to:
conf/Android.bp
Bug: 68860345
Bug: 151177513
Bug: 151953481
Test: m all
Change-Id: Ie09443987ffc0749d8400387415c7257c033ddb6
2021-11-11 17:36:28 -08:00
Alec Mouri
4ef29314fd
Set renderengine backend to skiaglthreaded
...
gles isn't going to be the final device configuration anywhere
Bug: 206036423
Test: builds
Change-Id: Ie66e2db85e68ef267534fafa2b67a49d3231cf04
2021-11-12 00:19:10 +00:00
Stephane Lee
7a3738058d
Add cpm/pca9468 logbuffer directories so that bugreports can take a snapshot
...
Test: adb bugreport; check dumpstate_board.txt
Bug: 193894298
Change-Id: I548a1715fe2ee679fef304fc4da9465c691e70c0
2021-11-11 06:48:39 +00:00