Commit graph

907 commits

Author SHA1 Message Date
Cyan_Hsieh
9fddd3f55b display: make set_idle_timer_ms optional in factory
Allow ro.surface_flinger.set_idle_timer_ms to be overridden by device
makefiles.

Bug: 214336146
Change-Id: Ic7b572529d563aa0d41df25103e478ea3aae0f89
2022-01-13 08:00:50 +00:00
neoyu
38798148df P22: Sync config of silent CP crash handling from P21
Bug: 214226540
Test: manual
Change-Id: I4e915fc08c819d396577ae5a6b8841b632595041
2022-01-13 05:14:08 +00:00
Andrew Chant
3de791256d Add rebalance_interrupts
Add rebalance_interrupts to run at boot and rebalance interrupts.
Run once after modules have loaded and a second time after boot
has completed to ensure all interrupts have been assigned to
individual cores.

Bug: 148403062
Change-Id: I9685807e3028bef509c4064a5c09cbc48b91f7f0
(cherry picked from commit 77ceae1c094ff8ac4352a678457360d430692257)
2022-01-13 05:10:05 +00:00
Cole Faust
6cb8985947 Remove usage of intermediates-dir-for
intermediates-dir-for relies on several variables that
haven't been set at the time the board configuration
runs. The board configuration got around that by using
deferred expansion, but deferred expansion is something
that starlark doesn't support. Remove intermediates-dir-for
and switch to TARGET_RECOVERY_FSTAB_GENRULE.

Bug: 201700692
Test: m RBC_BOARD_CONFIG=1 nothing on gs201 products
Change-Id: I74bf8700161f6519d29b2b3634a286c4e758d136
2022-01-12 22:15:00 +00:00
Wei Wang
2b490ccab5 Start bootanimation explicitly.
Bug: 207573158
Test: build
Signed-off-by: Wei Wang <wvw@google.com>
Change-Id: I7e628828062f0203d9aefded94aacf086565ceef
2022-01-12 22:01:07 +00:00
Pat Tjin
e26fbacdd8 Move input surface to CCodec
64-bit only removes OMX, move input surface to CCodec.
(ref b/186447629)

Bug: 213924541
Test: camera
Signed-off-by: Pat Tjin <pattjin@google.com>
Change-Id: Icd35279d1e99bbb2fce3ad0d5c953f921a04548d
2022-01-12 21:44:31 +00:00
Pat Tjin
ab3f2562aa Remove 64-bit-only configs and default to 64-bit-only
Remove option for _64 and default to 64-bit only builds.
Removes the (out of date) manifest_64 files.
Removes OMX since it is not supported for 64-bits.

Bug: 213924541
Test: Build, Boot, YouTube playback, Play store, Camera
Signed-off-by: Pat Tjin <pattjin@google.com>
Change-Id: I1e97903b598a2fff46d912a009b2bc73f1b0f466
2022-01-12 21:44:31 +00:00
Cole Faust
7e72d8c517 Use BOARD_HAS_DTLS instead of BOARD_WITHOUT_DTLS
Bug: 201700692
Test: Verified ninja files are unchanged
Change-Id: I3b4ab3ed289faebd83cbb848aad512ab8cc3458d
2022-01-12 20:14:30 +00:00
Ankit Goyal
26ed2c0dbb Revert^4 "Add gralloc switch"
7a59c25d6b

Change-Id: I382138e5dd1467d01cd4538609f19495ccdfa482
2022-01-12 18:55:58 +00:00
linpeter
638ece5abc display: atc sysfs node change
Give atc nodes are changed to dqe0 form.

Bug: 213133646
test: check file node permission
Change-Id: Ibe1b9dc6739994342e44b2867827ce0428c6095c
2022-01-12 08:07:30 +00:00
Long Ling
907d36781c enable sdr/hdr blending
Bug: 196171661
Change-Id: I4fde7565ffa0285c34c734e05279994a1724b93e
2022-01-12 02:19:07 +00:00
Minchan Kim
c7c0d7c274 P22: set up some MM parameters
What this patch does:

1. prepare zram size to increase 3G by property
2. set up zram writeback params
3. set up lmk filecahe_min_kb

Bug: 207572845
Bug: 207572250
Signed-off-by: Minchan Kim <minchan@google.com>
Change-Id: I5a3376268392ad1360586d2002e4a42feecd83ad
2022-01-12 01:31:27 +00:00
Yifan Hong
074c7216c4 Implement health AIDL HAL.
Test: VTS
Test: manual charger mode
Test: recovery
Bug: 213273090
Change-Id: If6e730d8dbd7d7ca95cfd4f045ac045d69597568
2022-01-11 21:39:14 +00:00
Taeju Park
07853908da Remove a0 and a1 powerhints
Bug: 208243183
Signed-off-by: Taeju Park <taeju@google.com>
Change-Id: I4a29445e7be74c280ce9d58eb8a1b7782aa9fcb6
2022-01-11 16:40:55 +00:00
Darren Hsu
77fc18937b powerstats: correct CPU DVFS state residency stats
Bug: 213642474
Test: dumpsys android.hardware.power.stats.IPowerStats/default
Change-Id: I7f4cacc3e3c760c6c420c7e5c82e9fe3dbd9d258
Signed-off-by: Darren Hsu <darrenhsu@google.com>
2022-01-11 12:19:26 +00:00
Terry Huang
cfefc37e7d Revert "Revert "[s5300][device] Change vendor telephony code path""
This reverts commit 5bc64a0b8d.

Reason for revert: Restore 16405845-t-codebase-seperate

Change-Id: I5bdebb6e682939868356a36c6b627bb67117a29c
2022-01-11 08:54:47 +00:00
horngchuang
5012cf9368 Add camera permission setting files for gs201
It was removed by ag/14655832 for gs201 bring up

Bug: 213395353
Test: launch camera okay, we can turn on/off torch by setting menu bar with L10
Change-Id: If4c7a22de74bf150024b24de7af19d631cb090fc
2022-01-11 02:55:15 +00:00
Hsiu-Chang Chen
3a33edc542 wifi: Add /dev/wlan as driver control interface for qcom
Bug: 209934729
Test: Basic functions tests, SSR tests
Change-Id: I111852ca339dff6cee680b89ae199ce6a628577d
2022-01-11 01:00:21 +00:00
Pat Tjin
0e3a4edf87 display: make set_idle_timer_ms optional
Allow ro.surface_flinger.set_idle_timer_ms to be overridden by device
makefiles.

Bug: 213901890
Test: Build
Signed-off-by: Pat Tjin <pattjin@google.com>
Change-Id: Ica4b88c96fd3dbfd5ae5ed97acfef4be80b1abda
2022-01-10 21:52:18 +00:00
Cyan Hsieh
7a59c25d6b Revert^3 "Add gralloc switch"
ba34517a55

Bug: 213540102
Change-Id: Ifb1ba1589ca37db74d12f5ae7d201419138316e9
2022-01-10 07:23:54 +00:00
Ankit Goyal
ba34517a55 Revert^2 "Add gralloc switch"
6b926a3823

Change-Id: Iad2facec124ec06a212a5cfd0f0bc8fbc34d0d32
2022-01-07 19:57:37 +00:00
Shubham Dubey
6b926a3823 Revert "Add gralloc switch"
Revert "Namespace gralloc"

Revert "Namespace gralloc"

Revert "Gralloc - Update build rules with namespaces"

Revert "Gralloc - Update build rules with namespaces"

Revert "Namespace gralloc"

Revert submission 16356594-pixel-gralloc-build

Reason for revert: Breaks build_test2 target on master

BUGID: b/213540102

Reverted Changes:
Ia998ca7f1:Namespace gralloc
I644f46ade:Add gralloc switch
I3689a27c2:Namespace gralloc
Iea1bf2ce2:Clone gralloc4 to GrallocHAL
I083cfa4f0:Namespace gralloc4
If8c40cd13:Namespace gralloc
I464236fea:Namespace gralloc
Icaac6d24f:Add gralloc switch
I92b7212b8:Gralloc - Update build rules with namespaces
Ic8741d4ba:Gralloc - Update build rules with namespaces
I507cbbc73:Namespace gralloc

Change-Id: I4520034e9d0e494434ae5943a0550c6161b11703
2022-01-07 17:44:34 +00:00
Cheney Ni
a646775bb9 Bluetooth: move A2DP capabilities control to each project
Bug: 194607800
Bug: 203042971
Test: pass A2DP playback manual test
Change-Id: I0d5871bb5cfc6b84cf5c004c782a8007fbf09f43
2022-01-07 12:16:46 +00:00
Ankit Goyal
ebda67edee Add gralloc switch
Bug: 207452098
Test: Boot to home
Change-Id: Icaac6d24f31f3a1eed5a4ad7997301b016274362
2022-01-06 23:04:24 +00:00
Randall Huang
5eeaade7a4 storage: remove convert_to_f2fs.sh
No longer need this script.

Bug: 207031989
Test: boot to home, make sure all f2fs partitions are mounted
Signed-off-by: Randall Huang <huangrandall@google.com>
Change-Id: I882084fb3a7cf1771e146d7d950ee4a5106792fe
2022-01-06 16:51:23 +08:00
Wayne Lin
bd65ddf6d6 gps: update gps driver 129.20.23.524049
- Changed to request DBH while LPP Capability transaction
 - Added CpLppeUseAgnssLocForEmptyDbh (default:false) to use agnss position for DBH when DBH is not available
 - CpLppeCancelDbhOnAgnssProvideLoc (default:false) to immediatelly report ProvideLocation when agnss position fix is made but DBH is not available
 - Set SUPL NI prefMethod as noPreference for KDDI
 - Fix MCC/MNC not storing issue
 - Fixed that GNSS noise floor scan fail
 - Fixed to use VisivilityControl queried isUserEmergencyFlag when requesting DBH location to framework
 - Include libsitril-gps-wifi.so for non-SITRIL project (ex, wifi project) to link with placeholder SITRIL symbols.

Bug: 204019829
Bug: 204843438
Bug: 206754082
Bug: 207721798
Bug: 209926163

Verify test: 212521041
Test: build pass and GPS verify test pass

Change-Id: I616a20bd58ee7e71c31f59ae9d12fc481ba8f9da
2022-01-06 07:52:38 +00:00
Yu-Chi Cheng
ce3a68dd0b Updated the IEdgeTpuVendorService to version 2.
Bug: 208947156
Test: atest vts_treble_vintf_vendor_test
Change-Id: I9a13141a64029902bfe7a652504d589d4a4b4306
2022-01-05 18:41:34 +00:00
Adam Wright
5bc64a0b8d Revert "[s5300][device] Change vendor telephony code path"
Revert "[s5123][common] Seperate source code by platform"

Revert "[s5300][exynos-ril] Merge remote-tracking branch 'remote..."

Revert "Disable USE_LASSEN_OEMHOOK"

Revert "[s5300][shannon-iwlan] Merge remote-tracking branch 'rem..."

Revert "[zebu_zuma] Disable USE_LASSEN_OEMHOOK"

Revert "[s5123][packetrouter] Seperate source code by platform"

Revert "[s5300][common] Merge remote-tracking branch 'remotes/go..."

Revert "[s5300][shannon-ims] Merge remote-tracking branch 'remot..."

Revert submission 16405845-t-codebase-seperate

Reason for revert: Manifest changes have broken master builds
Reverted Changes:
I9bdd0eb06:[zebu_zuma] Disable USE_LASSEN_OEMHOOK
Ia811a3a06:[s5300][shannon-ims] Merge remote-tracking branch ...
I5b403ac84:[s5300][google] Merge remote-tracking branch 'remo...
I846bff687:[s5300][common] Merge remote-tracking branch 'remo...
I1f2977519:[s5300][packetrouter] Merge remote-tracking branch...
Ie9bf8d56a:[s5300][shannon-rcs] Merge remote-tracking branch ...
If09bed38e:[s5300][shannon-iwlan] Merge remote-tracking branc...
Ib05d1e76c:[s5300][exynos-ril] Merge remote-tracking branch '...
I678984712:Disable USE_LASSEN_OEMHOOK
I40370edcf:Add extra folders on vendor telephony codebase
I27bfb046d:[s5123][google_device] Vendor telephony code assig...
Ie41ecb085:[s5300][google_device] Vendor telephony code assig...
I666871fc7:[s5300][shannon-iwlan] Rename iwlan_version
Ibb5874125:[s5300][shannon-iwlan] Seperate source code by pla...
I93ef81871:[s5300][packetrouter] Seperate source code by plat...
Id664fdd7a:[s5123][shannon-rcs] Rename shannon_rcs_version
I62caeeb78:[s5123][shannon-iwlan] Rename iwlan_version
Ib72d6f2ff:[s5300][exynos-ril] Seperate source code by platfo...
Ibc7e7221d:[modem-logging] Change vendor code folder path
If822ecef2:[s5123][packetrouter] Seperate source code by plat...
Ia86317fd0:[s5123][common] Seperate source code by platform
I9e047c89e:[s5123][device] Change vendor telephony code path
I7b08ed2c3:[cat] Change vendor code folder path
I42a4a0e46:[s5123][shannon-iwlan] Seperate source code by pla...
I66360e4e1:[s5300][common] Seperate source code by platform
I58fc8ce33:[s5300][shannon-rcs] Rename shannon_rcs_version
Ibbcb2254a:[s5123][exynos-ril] Seperate source code by platfo...
I4a88242ce:[s5300][device] Change vendor telephony code path

Change-Id: I4f19264450e7bf74f0cf34b2151ad90dda662b2c
2022-01-04 16:42:50 +00:00
Darren Hsu
88f8c4b2b4 powerstats: remove common data providers in specific directory
The common data providers will be moved to gs common directory. So
I removed them in this directory and used gs common library to get
the APIs.

Bug: 206576142
Test: dumpsys android.hardware.power.stats.IPowerStats/default
Change-Id: I81e7a957490fb563fdf25a6434aaf5e886456c5d
Signed-off-by: Darren Hsu <darrenhsu@google.com>
2022-01-04 06:14:51 +00:00
Terry Huang
af37ee214a [s5300][device] Change vendor telephony code path
Add extra folder for different platforms

Bug: 199954706
Test: Build pass
Change-Id: I4a88242ceb108e642c5f818cdc6aa24d8644fd0a
2022-01-04 01:36:35 +00:00
Kris Chen
41cc48dd07 Add power hint for fingerprint
Boost frequency of CPUBigCluster when running fingerprint algorithm.

Bug: 197780765
Test: Enroll and authenticate fingerprint.
(cherry-pick from device/google/gs101)

Change-Id: I9e8e727a61f9a2679fc2a00d6e2a1dd4a6c9de99
2022-01-03 17:34:25 +08:00
Martin Liu
af8304bbe0 set readahead_size_kb=128 to vendor, product and system_ext
To avoid memory pressure

Bug: 181567573
Test: check readahead size
Signed-off-by: Martin Liu <liumartin@google.com>
Change-Id: Ic2009d98371720d0284e8213204b8788997a88e1
2021-12-30 14:03:06 +08:00
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