Commit graph

4925 commits

Author SHA1 Message Date
Thurston Dang
70b9383b97 Backport 'Set /dev/sg1 permissions in ueventd.rc' to P22
... 'This way we don't need to guess when we need to chown.'

This is Tri's change to init.gs101.rc (http://go/a-g/15447093),
applied to init.<censored>.rc.

Under some circumstances (see bug), storageproxyd needs to access
/dev/sg1 but doesn't have permission, leading to other apps
blocking on storage.

Bug: 214910469
Test: Check that steps b/214910469#comment76 no longer gets stuck
Change-Id: I9e4133b6bb9ffab1e0044a16b3582436ccf5dd44
2022-01-24 05:13:57 +00:00
ChengYou Ho
da1cccc09e Report Verified Boot support
Bug: 206062307
Change-Id: I81f3e7390916d1092b7b27d8f389f995ecab0480
2022-01-24 02:37:22 +00:00
Thurston Dang
3a41cf3876 Backport 'Start storageproxyd early' to P22
... 'And restart it after /data is mounted.'

This is Tri's change to init.gs101.rc (http://go/a-g/15447094),
applied to init.<censored>.rc.

Bug: 187105270
Test: boot device, secure storage test com.android.storage-unittest.td
Change-Id: I226181b35c59f4882e466d2b8a839d32750e93e0
2022-01-22 19:05:46 +00:00
Hsiu-Chang Chen
e31f425e0e wifi: Update interface combinations
The interface combination should be {1 STA + 1 of (P2P or NAN)} or {1 AP}
Because WCN6740 doesn't support multiple independent hardware MACs
for STA/AP concurrency

Bug: 213398641
Test: The behavior of combination. STA and AP cannot enable concurrently.
Change-Id: I1825fcd173d19cc4081af0b65f7a3e79b73bf43e
2022-01-22 05:59:45 +00:00
Robin Peng
bf4d3bf612 Migrate vendor_dlkm modules.blocklist from android side to kernel side
Moving vendor_dlkm.modules.blocklist to the source repo and picking to
/<DEVICE>-kernel, the development experience can be aligned between
Kernel and Android codebase.

Bug: 214017561
Change-Id: Ia9994121309a8a0e5a664b64c51ffb3ad9110747
2022-01-21 11:56:22 +00:00
Nicole Lee
01390092df Separate modem logging configs for each project
As the modem logging configs have different group ID from
s5123 and s5300 platform, we need to use different config files
for each projects, move them from Pixel Logger to device
specific folders

Bug: 210784859
Change-Id: Ic0a3e4b72edcaa744fc284b0eaac58cad839f79a
2022-01-21 10:56:51 +00:00
Wayne Lin
b7c088c089 gps: update gps driver 129.20.23.524634
- Fixed null pointer dereferencing while injectNLPError
 - Added SuplUseFwCellInfo (default:true) xml attribute so that it can disable framework
 - Fixed to block MDT location request when it is not granted by carrier location application

Bug: 210070896
Bug: 211381328
Bug: 210935899

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

Change-Id: Ie932ab779cb8ff8cbb15adbe83cabd9e7cca498f
2022-01-21 04:52:14 +00:00
Greg Kaiser
e43aea3ef5 Revert "Rename supplicant RC file config variable in makefile."
Revert "Rename supplicant RC file config variable in Redbull mak..."

Revert "Rename supplicant RC file config variable in Coral makefile."

Revert submission 16623160-rename-supplicant-rc

Reason for revert: b/215524311  This is an uncommunicated, ecosystem-wide breaking change in order to rename a variable
Reverted Changes:
Id55a453d3:Rename supplicant RC file config variable in makef...
I1177d6aba:Rename supplicant RC file config variable in Sunfi...
I043c354e2:Rename supplicant RC file config variable in Redbu...
I324784add:Rename supplicant RC file config variable in Bonit...
Ibc9c5384b:Rename supplicant RC file config variable in Coral...
I5a20450a4:Rename supplicant RC file config variable in Cross...
I511597746:Rename local RC file config variable in Supplicant...

Change-Id: I46cbcea42e1f2df612fa70685f803ccabdd35f1b
2022-01-21 02:12:53 +00:00
Fangzhou Liu
536a1fea9b Add CPA latency files into bugreport
Bug: b/215395069
Test: Verify bugreport
Change-Id: I6e500a741388a17f023d160dc7aca6dee81ee7af
2022-01-20 01:59:59 +00:00
Gabriel Biren
9fbd2799ab Rename supplicant RC file config variable in makefile.
Bug: 208265623
Test: Build in pre-submit tests.
Change-Id: Id55a453d32d6af81f225de49455206132828ea72
2022-01-19 20:56:10 +00:00
George Lee
acbed80455 bcl: Update threshold levels
Bug: 197028142
Test: Boot and confirm level
Signed-off-by: George Lee <geolee@google.com>
Change-Id: I16b357b6c9fb26fc338ec2af66cd43692072b6b5
2022-01-18 22:36:47 +00:00
Taehwan Kim
4f6385ae81 update media_codecs_aosp_c2.xml
Bug: 206057011
Test: CtsMediaV2TestCases
Signed-off-by: Taehwan Kim <t_h.kim@samsung.com>
Change-Id: Ib2724d03aee1deb35822491855168523a044ec12
2022-01-18 11:47:36 +00:00
joenchen
e625d127ad init change owners of sysfs nodes min_vrefresh and idle_delay_ms
init: change file owners of sysfs nodes min_vrefresh and
idle_delay_ms in order to grant permission for hwcomposer

Bug: 213299701
Test: use the following commands
adb shell "vndservice call Exynos.HWCService 1005 i32 0 i32 30"
adb shell "vndservice call Exynos.HWCService 1006 i32 0 i32 1000"

Change-Id: I57043afd6ac08740775680505ee6f3247d56a956
2022-01-17 10:21:16 +00:00
jonerlin
7d12f0defa bluetooth: correct btuart logger device node path
* modify dev/logbuffer_tty16 to dev/logbuffer_tty18

Bug: 213759828
Test: 1. Enable Bluetooth in P22 devices and check uart log in
android.hardware.bluetooth@1.1::IBluetoothHci.txt
2. Enable Bluetooth in P21 devices and check uart log in
android.hardware.bluetooth@1.1::IBluetoothHci.txt
3. Fake bthal ssrdump and check the coredump log.

Change-Id: I208fae8e5ddf60d7df52311c32249bf3ac401dbc
2022-01-17 09:06:28 +00:00
Ahmed ElArabawy
cbbc05bf94 wifi: Uprev IWifiExt to 1.3
This commit updates the manifest to use IWifiExt 1.3

Bug: 214108561
Test: Build successfully, and start with right HAL version
Change-Id: Ib1b402ade4bf88039e5862262aa3310cbad3fbca
2022-01-15 18:51:56 +00:00
gwenlin
269b6f5047 Enable Google QNS for internal build
Bug: 208371668
Test: build
Change-Id: Ie99378d6d52d86a18f3991b5eecbfbe883c6a98b
2022-01-15 16:22:01 +00:00
Jack Yu
cea56bb347 Added default TCP buffer size for Pixels
Bug: 213596972
Test: Manual
Change-Id: Ie7b3ba3714c9d121e95b8eb62c4b02649d7e80e2
2022-01-14 05:04:48 +00:00
Cole Faust
7766938364 Revert "Use BOARD_HAS_DTLS instead of BOARD_WITHOUT_DTLS"
Revert "Use BOARD_HAS_DTLS instead of BOARD_WITHOUT_DTLS"

Revert "Use BOARD_HAS_DTLS instead of BOARD_WITHOUT_DTLS"

Revert submission 16603844-colefaust_dauntless

Reason for revert: Broke other products that didn't set BOARD_WITHOUT_DTLS
Reverted Changes:
I3b4ab3ed2:Use BOARD_HAS_DTLS instead of BOARD_WITHOUT_DTLS
Iee95550f4:Use BOARD_HAS_DTLS instead of BOARD_WITHOUT_DTLS
I1b210d8ab:Make BOARD_WITHOUT_DTLS work without an override
I80bfec988:Use BOARD_HAS_DTLS instead of BOARD_WITHOUT_DTLS
I5f51cf010:Use BOARD_HAS_DTLS instead of BOARD_WITHOUT_DTLS
If6592aa18:Remove BOARD_WITHOUT_DTLS

Change-Id: Ic47a1171ee2ebed0e0f78a191a7c21d41fa633e6
2022-01-14 02:43:01 +00:00
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