Commit Graph

130 Commits

Author SHA1 Message Date
gwenlin
269b6f5047 Enable Google QNS for internal build
Bug: 208371668
Test: build
Change-Id: Ie99378d6d52d86a18f3991b5eecbfbe883c6a98b
2022-01-15 16:22:01 +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
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
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
Long Ling
907d36781c enable sdr/hdr blending
Bug: 196171661
Change-Id: I4fde7565ffa0285c34c734e05279994a1724b93e
2022-01-12 02:19:07 +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
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
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
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
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
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
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
Rios Kao
ddd4fb00c6 soundtrigger: add support for SoundTriggerHal
Bug: 206523344
Test: Build Pass
Change-Id: I686064c8b898e002ded55d0e99d73942bb1a4844
2021-12-21 06:59:20 +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
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
Cyan_Hsieh
43584efad2 update device folder path
Bug: 198128551
Change-Id: I24358a4b1918ce87b0b1c892e2bf0e823fc0b683
2021-11-25 19:26:59 +08: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
Long Ling
91d7dd17d2 upgrade to hwc3
Bug: 201321174
Change-Id: Ifa12a2174d82547b6708021a24a6e9cee6b66fd5
2021-11-12 04:39:24 +00: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
neoyu
34cd74d651 Enable RIL audio client implementation for P22
Enable RIL audio client implementation for P22

Bug: 202831948
Test: manual
Change-Id: Ie9ad605e2d6f80504d26211c3f77e479344ce44d
2021-11-11 06:12:34 +00:00
Konstantin Vyshetsky
067512ec32 Generate a separate fstab file for FIPS mode
Add a file "fstab.gs201-fips" alongside the existing "fstab.gs201" in
order to specify different encryption settings in FIPS mode.

"androidboot.fstab_suffix=gs201-fips" on the kernel command line will be
used to select the FIPS fstab when needed.

As the two fstabs should be otherwise identical, generate them from a
template file so that they will stay in sync.

Note that generating the fstabs requires that they be installed as build
system modules rather than via PRODUCT_COPY_FILES, which results in the
vendor_ramdisk copy of the fstabs being installed to system/etc rather
than /.  This shouldn't cause any problem, now that Android has been
updated to look for the fstab in this location too.

(cherry-pick from device/google/gs101)
Test: Boot to home screen with/without fips mode
Bug: 202417706
Signed-off-by: Konstantin Vyshetsky <vkon@google.com>
Change-Id: I8fdc1c9a91399816fa2d4c53f282d63e988ce7d5
2021-11-11 05:04:50 +00:00
Nicole Lee
11475b1588 device.mk: enable modem always on logging by default
Bug: 205420203
Change-Id: I7a4af69d93f0c5b64dbf69ac93ca1a10b06c0c63
2021-11-11 03:39:51 +00:00
Roger Wang
95c9b5b2a6 gs201: remove WiFiOverlay
In this commit, I remove WiFiOverlay and will add it into project
folder.

Bug: 204946036
Test: overlay configuration works as expected.
Change-Id: Iac69ff8749de7c2f43117f8e136bbfd0bd9a719d
2021-11-05 20:20:31 +08:00
Krzysztof Kosiński
373e520a92 Add Lyric camera IQ tuning configuration.
Bug: 200221875
Test: build and check camera HAL APEX content for affected devices
Change-Id: I441a158231fd1c8fb950e2c1c0d1539cea1af70c
2021-11-04 07:41:04 +00:00
Andrew Reardon
0cf06f4a7f [WAR] Fix Ravenclaw build by Defaulting gs201 to slider
- This fixes ravenclaw build by continuing to use slider as
target_device for camera tuning.
- Can be updated in the future by properly providing ravenclaw
target_device throughout 3A.

Bug: 204945921
Test: Compiles.

Change-Id: Icb010127eedde87e2c2e0f59d6061d52f53e3ec5
2021-11-03 19:38:17 +00:00
Krzysztof Kosiński
7b8cce3974 Rename Lyric configuration "device" to "soc".
The current name is confusing, as "device" normally refers to the
product name, not the SOC name.

Bug: 203283069
Test: build and flash affected devices
Change-Id: I51014a3316dec4509e0113280b723efb95d26fad
2021-11-02 19:50:06 -07:00
Andrew Reardon
43b8bedd21 [Camera 3A Tuning] Update LOCAL_TARGET_PRODUCT for gs201 to pancheetah device names
Bug: 200878689
Test: Compilation.

Change-Id: Iab2b213a0b37520f0d44dc4822fc26577efca9b6
2021-11-02 20:22:51 +00:00
millerliang
47153227a4 gs201: Enable AAudio support
Enable the realted property and the needed files
for MMAP use cases.

Bug: 202810406
Test: Oboetester
Change-Id: Ie851dc0152589f405558c744b0101115d9f1d9b0
2021-11-01 08:24:12 +00:00
Tommy Chiu
3a041b7055 Set boot security patch level for gs201
Bug: 201946955
Test: Build and see if the AVB property has the field
Change-Id: If2aa32ed689271dd553bcc18cb0ec309a2051ae0
2021-11-01 02:35:51 +00:00
Donghui Han
4f0140b954 Lyric: Set conditional variable device for Lyric
Bug: 203651233
Test: P21/P22 build
Change-Id: Ifc1d4970f8e81c2254e77792cf57a2c2bbaf4ef1
2021-10-28 23:57:02 +00:00