Commit graph

54 commits

Author SHA1 Message Date
pointerkung
ea20ad99c3 Camera: Enable optimized TNR frequency and create TNR low power hint.
Bug: 243729855
Test: Build pass, GCA, check 4K60 and 240fps TNR clock frequency
Change-Id: I7cede8b8518abb2b16628b6ac5964b8a0c1693d7
2022-11-01 11:33:43 +00:00
Ching-Sung Li
3d90324dfd Build L10 default CMF color wallpaper
Bug: 239505528
Test: Build pass; manual
Change-Id: I698d54e6fec71c09c726c4f72917db247448c64d
2022-10-04 11:03:13 +00:00
Krzysztof Kosiński
fc3b4c7199 Set Lyric camera_hardware variable.
Bug: 240478511
Test: presubmit
Change-Id: I79a6c65e73a5813e3e10749564a1e8dae50c45a0
Merged-In: I79a6c65e73a5813e3e10749564a1e8dae50c45a0
2022-09-23 20:32:08 +00:00
Carter Hsu
32f4c7a96b audio: update CCA default setting
Bug: 248151108
Test: build pass
Signed-off-by: Carter Hsu <carterhsu@google.com>
Change-Id: If8e5b6be12a56db7177f3f784a0dcb1f8957e684
2022-09-23 00:49:19 +00:00
Yanting Yang
cca9b00609 Add initial MIC e-label for JP SKU of L10
Bug: 238038220
Test: visual
Change-Id: I880bb59217f59af352dfab25e5844e54b49bdf38
2022-09-22 09:41:05 +00:00
Shanmuga Pandi M
5b9468e287 Enable the flag to increase thread priority for nodes stop
Bug: 245652771
Test: GCA, CTS
Change-Id: If0d61dcc3c43f64070e4a967a6678dea652c489d
2022-09-22 04:28:14 +00:00
Chase Wu
cbc9240330 vibrator: enable f0 and disable redc compensation
Bug: 241353178
Test: check the value after device boot up
Test: update PtsHapticsTestCases and run it
Signed-off-by: Chase Wu <chasewu@google.com>
Change-Id: Iab9f64d19bd1be6a162aef008c6f77bb48dd64ae
Merged-In: Iab9f64d19bd1be6a162aef008c6f77bb48dd64ae
2022-09-16 19:07:20 +00:00
gilliu
db08ec379b display: set config of frames to reach LHBM peak brightness
Bug: 243975487
Test: adb shell getprop and dump trace to check latency
Change-Id: I5aa70bf3a900ee2cb70bcb162758de77efb33a6f
2022-09-16 05:31:10 +00:00
leohsieh
3d70f91d8a L10: Enable LHBM control from UDFPS HAL and ALS feed forward
Bug: 246302409
Test: build and test fingerprint on device.
Change-Id: Ie21192605a7c91ddd9f139096c0f6cd03bf4fc0b
2022-09-14 02:14:31 +00:00
Ken Tsou
4c821c04fc battery: disable wireless for pts battery test
Disable wireless charging during drain, usb charging,
and charger stress test
  - vendor.disable.wlc 1
If device is placed onto dreamliner and shutdwon(drain out),
it would boot up by DC_CHG and keep shutdown(0%)-boot up
(by DC_CHG) continuously. To avoid this symptom, limit wireless
current_max as 75000 after device boot up
  - persist.vendor.limit.wlc.current=1

How to verify:
  adb shell setprop vendor.disable.wlc 1
  adb shell cat /sys/class/power_supply/wireless/online >>>> 0

  adb shell setprop persist.vendor.limit.wlc.current 1
  adb shell cat /sys/class/power_supply/dc/current_max >>>> 75000

Bug: 230436380
Test: set the property manually and query the result from file node.
Change-Id: I5bcf9baeb2818b439520167b518b2e5c5224d7e2
Signed-off-by: Ken Tsou <kentsou@google.com>
(synced from commit 27b511c30292214dbb07f3009cbca8dee941f7f2)
2022-09-02 07:15:47 +00:00
wenchangliu
37b6bb8982 L10: Enable media performance class 13
Bug: 242961388
Test: atest CtsMediaPerformanceClassTestCases
Test: atest android.hardware.camera2.cts.ExtendedCameraCharacteristicsTest#testCameraPerfClassCharacteristics
Test: atest CtsFileSystemTestCases
Change-Id: I6aa073ec0d6efc3fd1e7d3b47c2c401e9f48dac5
2022-09-01 09:27:40 +00:00
Wayne Lin
7ea4e30af0 Move lhd.conf, scd.conf to device folder
Move lhd.conf, scd.conf to device folder and maintain them separately by project requirement

Bug: 244258007
Test: confirm the configurations are correct
Change-Id: Ic7693f87df73e01d8dcfbda1ff224eb47e7df87a
2022-09-01 08:27:37 +00:00
jimmyshiu
b031889746 Enable ADPF CPU hints for SF
Allow these devices to send CPU hints to PowerHAL from SF to reduce
drops and save power.

Bug: b/241152899
Bug: b/195990840

Test: https://android-build.googleplex.com/builds/abtd/run/L70800000956157278
Change-Id: I81df99f4ec01f417d1589e2323de599819993590
(Port from commit 8a419466b86ab07a25fc18d7d6a2a9ee154f6839)
2022-08-29 12:23:04 +00:00
horngchuang
b74e2b582b Add system property for camera OIS with system imu
Bug: 240851527
Test: in-rom GCA
Change-Id: Ifd3e4254973e66215d31004a1f8ca28ccc7c35ce
Merged-In: I80d33ab2ef9e7e2fc3acf33580f8e333988b62f2
2022-08-25 05:50:09 +00:00
Jinting Lin
2784a6ba9d Update device name to avoid aosp build break
Bug: 235041253
Change-Id: I0489e2a2218e96cd9dd3c88c5bbb07f772e3ebad
2022-08-23 07:56:20 +00:00
Jinting Lin
baf653b810 Update MIPI / DBR clock rate from latest desense tests / SW updates
source: https://docs.google.com/spreadsheets/d/11oBBmPFZ_2iRVjB1F3X8h2FB1jK-w7OakwsPK4DPB4c/edit#gid=0

Bug: 235041253
Change-Id: I2079dd03e7c8de62f1dc88db2468a37857965812
2022-08-23 04:32:06 +00:00
David Chao
02bc91305c thermal: seperate thermal config for charging
- Separate thermal config for charger mode and remove the unused thermal
throttling.

Bug: 240897207
Test: usbc overheating protection and charging throttling worked
properly in charger.

Change-Id: Ib970c16c0ed08b52fb2c9387b71cb2211f4bc1f3
2022-08-22 19:54:12 +00:00
achigoliu
4403bc43db Bundle handheld_core_hardware.xml
Bug: 237110906
Test: Manual, verify build artifacts
Signed-off-by: achigoliu <achigoliu@google.com>
Change-Id: I5865b21a4ab2bd31e5a69d497422117fafbd1414
Merged-In: I92137b615c7bce28026f858c201d8bd530754b5b
2022-08-10 02:47:02 +00:00
George Chang
97f89f5da3 Remove NFC uicc card emulation mode support
Correct the nfc feature flag declaration.

Bug: 240225338
Bug: 222030531
Test: manual
Change-Id: I946f53a4a1b951168314e59bd3e521800626defe
2022-07-28 14:36:36 +08:00
Bill Yi
cdfc6970cc Add AOSP support for Lynx
We will have a 'vendor' project containing proprietary blobs
to be able to build and flash Pixel device when vendor source is not
available.
The project name is
platform/vendor/aosp/google_devices/lynx

and the path is
vendor/google_devices/lynx

TEST:make

BUG: 240203789
Change-Id: I33af4dce2b60f5de21d8998e445d2f8abd2b7e01
2022-07-26 06:07:09 +00:00
Alex Hong
0eb17533ff [DO NOT MERGE] Use GmsCorePrebuilt y2022w28 for lynx devices
Bug: 239681407
Change-Id: I198654fa109cc0674344b565fe7409f2d9bae7ca
2022-07-21 09:05:52 +00:00
Jason Chang
5a48a5bc85 Enable One-handed mode feature for L10
PRODUCT_PRODUCT_PROPERTIES += \
    ro.support_one_handed_mode=true

Bug: 238591567

Test: manually test.
Change-Id: I8dfdcdb20e9921822e3c3a7e552c766d7bc3b341
2022-07-12 06:18:05 +00:00
gilliu
ec8bbdf165 display: Set ro.surface_flinger.ignore_hdr_camera_layers
Bug: 238262636
Test: check the getprop log
Change-Id: I3bad5d9400f1d2ca2c3efb1f2772f180cba1c069
2022-07-07 13:01:45 +00:00
Midas Chien
57d65c6440 display: override set_idle_timer_ms
bug: 224528264
test: check property
Change-Id: I75b729067fa10f90b4d233c36b0b2276bb67b72b
2022-07-06 11:02:25 +00:00
Patty Huang
872990b748 Enable LE Audio and A2DP offload by default
* Enable LE Audio Offload
* Enable A2DP offload
* Move the LE Audio setting to bluetooth/qti_default.mk

Bug: 235311609
Test: Manual, make sure the le audio and A2dp offload is enabled by default

Change-Id: I943837579331952ece3b860b08527d0e812766c5
2022-06-30 08:44:37 +00:00
Gil
5f7f498f44 display: enable L10 Lbe supported property
Bug: 224527958
Test: Boot pass and LBE self test
Change-Id: I1946d1e8da04b08733adc1c6a61fd5d84787e351
2022-06-30 05:31:48 +00:00
zhangtim
aa5ed9c319 [Camera 3A] Update L10 soong_config
Update L10 soong_config target  device.

Bug: 235071287
Test: build pass.
Change-Id: I7307bd9e3f85dee2aa68ddf1aab1d8772bb21083
2022-06-27 05:58:35 +00:00
timothywang
5460d349fc Update 1080p 60fps binning mode settings
Keep rear main camera as full video mode.

Bug: 234324271
Test: GCA
Change-Id: I233dd7e7f3a0c0708784b996f5e16817a3fb2a57
2022-06-16 16:29:51 +08:00
timothywang
75d21eca51 Add system property for 1080p 60fps binning mode
Bug: 234324271
Test: GCA
Change-Id: I4ac2614ac5ef781f3d413c070503c6d28631415c
2022-06-16 16:29:20 +08:00
Patty Huang
48138638a6 Enable broadcast and unicast profile by default
Bug: 234337037
Test: Make sure le audio broadcast and unicast profiles are default enabled
Change-Id: Ib8beccc1d742c90ba6fd510ae23d5e0221fdddd5
2022-06-15 15:46:41 +00:00
Alice Kuo
458a0c81b7 Add support LE audio switcher in the developer option for P23a
Bug: 233005340
Test: switch LE audio feature, and check LE audio functionality status
Change-Id: Ib63af53973aa71560ba3e601c4bee0174b77e16f
2022-06-13 13:15:37 +08:00
Shanmuga Pandi M
0049c388b8 [L10] Camera: Enable the product properties.
1. Raise buffer allocation priority
2. Extended cpu boost

Bug: 235442093
Test: GCA
Change-Id: I5bb05e32f0cd79e9fd91a9ae2998cf29da65a7b0
2022-06-09 10:41:42 +00:00
Shawn Lin
28dd1cbe29 Enable hide cutout emulations
Bug: 234107076
Test: make
Change-Id: I5b28c20b8ac99f400c5d8a085225349c5ac383a4
2022-06-01 07:46:51 +00:00
Gil
d4aff776ac display: add display_colordata_dev_cal0.pb file
add LHBM compensation tuning

Bug: 224528172
Test: Check displaycolor log and LHBM function.
Change-Id: I9e8f3e0cd413bc58b22e5290c157bdf27d7b9427
2022-06-01 07:31:30 +00:00
George Chang
9d87df0bb3 Switch NFC from HIDL to AIDL am: 9782bbc0ca
Original change: https://googleplex-android-review.googlesource.com/c/device/google/lynx/+/18219340

Change-Id: I33c79aa8953445213d0b3a92dfbd3833ab9d4a4d
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-06-01 06:40:52 +00:00
George Chang
9782bbc0ca Switch NFC from HIDL to AIDL
Bug: 216290344
Test: atest NfcNciInstrumentationTests
Test: atest VtsAidlHalNfcTargetTest
Merged-In: Id3f65723c6240bbae6f6cc92e7ee57e07e1f0974
Change-Id: Id3f65723c6240bbae6f6cc92e7ee57e07e1f0974
2022-06-01 06:19:26 +00:00
Gil
ed76440182 L10 : Create initial config.xml
Create config.xml to support device suspend when screen off due to
p-sensor and enable adapative brightness. Modify auto brightness
table to support 1000 nits in HBM mode.

Bug: 224527764
Test: brightness and adaptive brightness manual test
Change-Id: I2d3bbd19fa33ca4713127b0b0f4ad39dc39c1175
2022-05-31 08:58:15 +00:00
Hsiu-Chang Chen
0a57a61271 Wifi: Add property to define interface name for aware
Bug: 230237412
Test: Wifi aware can be enabled
Change-Id: Id37d2e50c0884a28396bd695cc355c97fc7f2edd
2022-05-04 05:01:41 +00:00
Hsiu-Chang Chen
6b72107d5f Wifi: Add WifiOverlay2023Mid for WiFi Overlay
bug: 228936063
Test: Overlay config can be read correctly
Change-Id: I2b7b5d86fa2fc538d59e9360c72664e87bc87fd6
2022-04-13 01:28:39 +08:00
Darren Hsu
b755e130c1 Enable power stats service
Bug: 227284208
Test: dumpsys android.hardware.power.stats.IPowerStats/default
Change-Id: I7be396f841f470a1ac7185a52b6c8499326fa3ab
Signed-off-by: Darren Hsu <darrenhsu@google.com>
2022-03-30 12:06:49 +00:00
Patty
0e73d66099 Change the makefile include order
- The audio-tables.mk is a project specific makefile, the installed
  file should able to override the common makefile's setting.

Bug: 224661734
Test: Make sure the file added in audio-tables.mk can override the common one.
Change-Id: I66b223e1e59d61fb6f21fd7f7144b84e4485bcba
2022-03-29 09:15:20 +00:00
Martin Liu
032fd04da1 Increase zram size to 3G
Bug: 207572845
Signed-off-by: Martin Liu <liumartin@google.com>
Change-Id: Idb2191bbe295e504532919d03f8a1b220e1a8b9a
2022-03-06 17:50:15 +00:00
Jimmy Shiu
3164f3d31b powerhint: fork powerhint from gs201
Fork the powerhint.json from gs201 and align the config with panther

Bug: 207573241
Test: build and boot pass
Change-Id: Ic517f1cd5462f3653de3742834ec251362e7849d
2022-03-02 13:47:49 +08:00
Tai Kuo
9c21f1ccad vibrator: stop support primitives THUD/SPIN/LOW_TICK
Keep PRIMITIVE_NOOP, PRIMITIVE_CLICK, PRIMITIVE_QUICK_RISE,
PRIMITIVE_SLOW_RISE, PRIMITIVE_QUICK_FALL and PRIMITIVE_TICK

Also remove the f0_offset setting since not used.

Bug: 221011823
Test: adb shell getprop | grep vibrator
Test: adb shell idlcli vibrator getSupportedPrimitives
Test: adb shell idlcli vibrator getCapabilities
Test: adb shell dumpsys vibrator_manager
Test: adb shell dumpsys android.hardware.vibrator.IVibrator/default
Signed-off-by: Tai Kuo <taikuo@google.com>
Change-Id: I586c4f7f26b69c0da90e1a4129b3503e5c37751e
2022-02-24 09:45:52 +00:00
Quang Luong
8e2f89f89f Add wifi/coex_table.xml
Add a coex_table.xml for wifi channel avoidance. This table is copied
over from the default coex table, with the addition of marking the
entire 5G band unsafe if the device is on cell band nr79.

Bug: 219427147
Test: build
Change-Id: I45fb8d7ba6c6925dea4598612d43df42b2351b0f
2022-02-15 09:12:12 -08:00
Michael Ayoubi
ef4743116a Set per device ro.gms.dck.eligible_wcc.
Bug: b/215397758
Test: Build and flash on device.
Change-Id: I1cfb947a921c6f001d4d2598144247ec7b11cf9a
2022-02-02 01:56:06 +00:00
Shinru Han
1332b4e457 gps: Add gps.xml
Test: GPS sanity test
Bug: 215480040
Change-Id: Ia39e86ba11a588dc83c0e4a2697265393bf53e19
2022-01-21 11:31:58 +08:00
Sasha Smundak
cff5a75fa2 Use soong_config_ macros to set Soong config variables.
Bug: 198503843
Test: treehugger
Change-Id: I914bf3c744a4243d745a5610b97e133e7faaef26
2021-12-16 11:29:57 -08:00
Cheney Ni
86825193b2 Bluetooth: Add Sepolicy for QTI default HAL (2/2)
Uncouple from other projects sepolicy

Bug: 202113218
Test: Build pass
Change-Id: I975ffe8c273a7ecff855d0804b97cc8a5b868ba9
2021-12-16 04:58:59 +00:00
Cheney Ni
7dbebb7ab4 Bluetooth: Bring up QCOM Bluetooth HAL
Specify all configurations on qti_default.mk, and here are some
important items:
 * QCOM_BLUETOOTH_USING_DIAG = false
 * TARGET_BLUETOOTH_UART_DEVICE = "/dev/ttySAC18"
 * UART_USE_TERMIOS_AFC = true
 * TARGET_USE_QTI_BT_OBS = true

Bug: 202113218
Test: Build pass
Change-Id: I444d64e7413d1b08aff295e3ad64238cbaec1286
2021-12-16 02:12:32 +00:00