Commit Graph

65 Commits

Author SHA1 Message Date
Sam Dubey
3f93a6c9b8 Switch BluetoothCcc to 1.1 version am: 9fc18e2b5d
Original change: https://googleplex-android-review.googlesource.com/c/device/google/lynx/+/17943831

Change-Id: I23af5cae7e10d975ef6bf3ef7645ef235de31c92
Ignore-AOSP-First: this is an automerge
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-04-26 16:54:32 +00:00
Sam Dubey
9fc18e2b5d Switch BluetoothCcc to 1.1 version
Follow up on I79beee03e8773bb7b3e1dbdd881ddaf6fdb24827
Bug: 230449916
Change-Id: Idf19917c60077d01f9b78ac39d602a8278a5280e
2022-04-26 13:16:24 +00:00
Cheney Ni
70113e639b Bluetooth: Adds more debugging properties am: 7d4c43f5fc
Original change: https://googleplex-android-review.googlesource.com/c/device/google/lynx/+/17817045

Change-Id: I8f7e6c6edd27d93b626707440d5614e45606b3cf
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-04-20 14:50:46 +00:00
jimmyshiu
6533a474c1 powerhint: Add Adpf Profiles for L10 am: 0a966c52ae
Original change: https://googleplex-android-review.googlesource.com/c/device/google/lynx/+/17821909

Change-Id: Ib4fdc603d0818c61422f3f9206653b30a6bf2119
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-04-20 14:25:30 +00:00
Cheney Ni
7d4c43f5fc Bluetooth: Adds more debugging properties
Set vendor properties about SoC logging and firmware snoop to true on
userdebug build, and set to false under user build.

Bug: 229691092
Test: Flash the build to check if there is SoC logging
Change-Id: Idaf490a68fe5fbefb1338f351931553222191137
2022-04-20 13:49:01 +00:00
jimmyshiu
0a966c52ae powerhint: Add Adpf Profiles for L10
Add Adpf Profiles:
1. REFRESH_60FPS
2. REFRESH_90FPS
3. REFRESH_120FPS
4. UiHighBoostWithoutPid
5. UiLowBoostWithoutPid
6. UiLowNoneBoost
(Default is index 0)

Bug: 202158746
Test: boot to home
Change-Id: Ice04c590ac2ac9ff6dbeac1640fc9e3731a7e725
2022-04-20 13:47:14 +00:00
Tai Kuo
855c09fb79 Update haptics kernel module am: ddea6dc927
Original change: https://googleplex-android-review.googlesource.com/c/device/google/lynx/+/17651967

Change-Id: Icdeb0452441a5825578e00b188c6625227670df4
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-04-15 06:38:31 +00:00
Tai Kuo
ddea6dc927 Update haptics kernel module
Bug: 228405344
Test: Normal boot lsmod
Test: Off-mode-charge lsmod
Test: Recovery mode lsmod
Change-Id: I0d285b087b084eb3d4e3f32424d8744f1104ff1e
2022-04-08 16:52:30 +08:00
Rios Kao
58b4436bc1 audio: sync mixer table for Eraser capture am: 41683348a8
Original change: https://googleplex-android-review.googlesource.com/c/device/google/lynx/+/17535907

Change-Id: I27b5fcee98d12faf375eb733a2157c9d89de6a3c
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-04-07 02:56:05 +00:00
Rios Kao
41683348a8 audio: sync mixer table for Eraser capture
Bug: 227697054
Test: build pass.
Change-Id: I13f4a95ebc5323e67c6e488c87b468c6800452f0
2022-04-01 07:22:49 +00:00
Jason Chiu
2a161fcd96 init.insmod.lynx.cfg: add focal_touch.ko for Lynx lunchbox am: 742185562e
Original change: https://googleplex-android-review.googlesource.com/c/device/google/lynx/+/17503931

Change-Id: I77a4e60c6da9ecb6b505a6fd4fd83d1c974e63e7
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-03-30 13:44:32 +00:00
Jason Chiu
742185562e init.insmod.lynx.cfg: add focal_touch.ko for Lynx lunchbox
Bug: 227444214
Signed-off-by: Jason Chiu <jasoncschiu@google.com>
Change-Id: Ie11fb10e4d19711ab3afdde9bd7017b209a7888b
2022-03-30 13:28:07 +00:00
Darren Hsu
54925c64ba Enable power stats service am: b755e130c1
Original change: https://googleplex-android-review.googlesource.com/c/device/google/lynx/+/17474496

Change-Id: I89058d5d24f39b9bc026283fde532bfd7a59da9f
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-03-30 12:26:27 +00: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
1f373d7952 Change the makefile include order am: 0e73d66099
Original change: https://googleplex-android-review.googlesource.com/c/device/google/lynx/+/17184933

Change-Id: Ifded36e7fc3aa5527ff00a09b30c79d8a816192d
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-03-29 09:58:55 +00:00
Patty
02b994e462 Add LE audio policy file am: 66503277b6
Original change: https://googleplex-android-review.googlesource.com/c/device/google/lynx/+/17184932

Change-Id: I3013bf5e1059f4cb23f69d233a865e51faf5bbe0
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-03-29 09:58:54 +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
Patty
66503277b6 Add LE audio policy file
Bug: 224661734
Test: Connect with LE audio device and play music
Change-Id: I3f2b2d3dd04b492e8ecc800000fe62ac02796674
2022-03-29 09:15:20 +00:00
Mason Wang
7baf677966 Add touch module in init.insmod.xxx.cfg for L10. am: a0b61b75d3
Original change: https://googleplex-android-review.googlesource.com/c/device/google/lynx/+/17462206

Change-Id: I54cdfc247375a3de8b6a3d965ad6b6e8e9476d7d
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-03-29 07:41:00 +00:00
Mason Wang
a0b61b75d3 Add touch module in init.insmod.xxx.cfg for L10.
Add touch module into the init.insmod.xxx.cfg, it will be loaded after all
common modules in late-init. So the touch module won't be loaded in
off-mode-charge.

Bug: 227269826
Test: Verify pass that the touch module is not loaded in off-mode-charge.

Change-Id: I3448f8e983cb26952d4991c29b5bd66b1120a1fa
2022-03-29 12:38:25 +08:00
Daeho Jeong
f189e0dfc4 disable powerhint for F2FS gc_urgent mode am: c33e27eb8b
Original change: https://googleplex-android-review.googlesource.com/c/device/google/lynx/+/17223893

Change-Id: I4ed4be4f33a3e194dcd3d7e751bc6366d5e6f5b4
2022-03-17 00:20:54 +00:00
Daeho Jeong
c33e27eb8b disable powerhint for F2FS gc_urgent mode
Disable the powerhint for F2FS gc_urgent mode, since we are going to
replace this with the smart idle maintenance service.

Test: turn on/off the screen & check /sys/fs/f2fs/dm-*/gc_urgent
Bug: 214430685
Signed-off-by: Daeho Jeong <daehojeong@google.com>
Change-Id: Ia07ea20078c82f62cc450fd2b0fade83a65e66ae
2022-03-16 12:05:07 -07:00
Hsiu-Chang Chen
5715c455f6 wifi: Add LOWI tools LOWI-9.0.0.99 am: dfaab2520c
Original change: https://googleplex-android-review.googlesource.com/c/device/google/lynx/+/17046317

Change-Id: I4c62c51c44b92d27b7231d9f1176c88ae50eec12
2022-03-16 06:42:04 +00:00
Hsiu-Chang Chen
dfaab2520c wifi: Add LOWI tools LOWI-9.0.0.99
Add service loc_launcher which is used to launcher lowi-server.
Create directories for LOWI tools.

Bug: 210768643
Test: loc_launcher and lowi-server start automatically
Change-Id: I29bd7580497b150e343d23d5476433de8d4f223e
2022-03-16 06:12:22 +00:00
Wei Wang
ce5ea04de3 Temporarily disable GPU power hold during LAUNCH boost am: 7474ca7df9
Original change: https://googleplex-android-review.googlesource.com/c/device/google/lynx/+/17169647

Change-Id: I2574d6faaaec6292a46ffc8efe0b1bd043c4076d
2022-03-12 02:05:27 +00:00
Wei Wang
7474ca7df9 Temporarily disable GPU power hold during LAUNCH boost
P21 has been using GPU power hold during app launch to mitigate jank
from GPU power on latency.
However this same mechanism seems causing instability (may be related
to the new inter-frame power optimization). While the root cause is
being investigated, disable the boost.

Bug: 223828284
Test: Build
Signed-off-by: Wei Wang <wvw@google.com>
Change-Id: Id04a1d09ebd5b36c1c7c55824da34bffb6435cab
2022-03-11 15:12:23 -08:00
Yung Ti Su
d16ed81aef audio: update speaker fw and bins am: f6939a76f0
Original change: https://googleplex-android-review.googlesource.com/c/device/google/lynx/+/17129071

Change-Id: Id292dfc9f72771f09c8280c544104d2c33847326
2022-03-09 13:30:57 +00:00
Yung Ti Su
f6939a76f0 audio: update speaker fw and bins
Change list:
1. Created a conservative speaker model for factory
2. Set an initial Re0 range for factory
3. Update firmware 29.65.0

Bug: 223513454
Test: build pass

Signed-off-by: Yung Ti Su <andysu@google.com>
Change-Id: Iaf9213915d6d2b3258c59d361ff999e1d0da3c09
2022-03-09 16:37:23 +08:00
Martin Liu
180af46614 Increase zram size to 3G am: 032fd04da1
Original change: https://googleplex-android-review.googlesource.com/c/device/google/lynx/+/17072256

Change-Id: Ib37b8ae0e63b80b2a1df5e3f85759ac413b1939b
2022-03-06 18:13:09 +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
George Chang
58f0647f5f Enable STNFC_ACTIVERW_TIMER am: 1d969e23cf
Original change: https://googleplex-android-review.googlesource.com/c/device/google/lynx/+/17072249

Change-Id: I0d286d532e4d301e21000182f8a09a77ff273858
2022-03-04 09:34:23 +00:00
George Chang
1d969e23cf Enable STNFC_ACTIVERW_TIMER
Bug: 217231862
Bug: 194675064
Test: stress tests
Change-Id: I495f0de7b5e6dcbe94673c21a01fc6cdac5b3d8e
2022-03-04 01:57:23 +00:00
Jimmy Shiu
0c241d9fe6 powerhint: fork powerhint from gs201 am: 3164f3d31b
Original change: https://googleplex-android-review.googlesource.com/c/device/google/lynx/+/17046185

Change-Id: I75b9b484026ee13a4cd4acfc9da08762dbd8134e
2022-03-03 06:08:34 +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
e0a8771b77 vibrator: stop support primitives THUD/SPIN/LOW_TICK am: 9c21f1ccad
Original change: https://googleplex-android-review.googlesource.com/c/device/google/lynx/+/16987568

Change-Id: I28823c6f29e26e1ebb1988dc7249f9f14d632cce
2022-02-24 10:14:45 +00: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
Yung Ti Su
647798d0af audio: Switch 96K to 48K TDM speaker playback am: 98d195091f
Original change: https://googleplex-android-review.googlesource.com/c/device/google/lynx/+/16983454

Change-Id: I2e0c66395ecbf1becbe78a94bb3d8342b53b6f4a
2022-02-23 17:19:50 +00:00
Yung Ti Su
98d195091f audio: Switch 96K to 48K TDM speaker playback
Bug: 215443626
Test: manual

Signed-off-by: Yung Ti Su <andysu@google.com>
Change-Id: Ie96eebbdce08f4092989466508a5001918a363c9
Merged-In: Ie96eebbdce08f4092989466508a5001918a363c9
(cherry picked from commit 8d2eb86893)
2022-02-23 02:30:54 +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
Stephane Lee
bdfb224e26 Add device-specific support for GoogleBattery HAL 1.2.
Bug: 205021987
Test: Ensure Adaptive Charging/Battery health flags works as expected.
Change-Id: Id3805385006cb51023ac06fc55acbe60f079250d
2022-01-25 22:47:11 +00:00
Yung Ti Su
c08b889498 factory: add usb_headset_mic support for MFG_API
Bug: 214585271
Test: manual

Signed-off-by: Yung Ti Su <andysu@google.com>
Change-Id: Ieba43e651dbc06778849a03768d256f75a10ebef
2022-01-25 05:38:53 +00:00
Hsiu-Chang Chen
cbe3b57034 wifi: Add WifiOverlay2023Mid
Bug: 213272246
Test: Overlay config can be read correctly
Change-Id: Ice3cefcc45498fdafede5c7d1a749f85a440bc1d
2022-01-22 05:59:45 +00:00
horngchuang
3763883e2f camera: Add camera FATP tool.
Add camera FATP test tool for factory build only

Test: build pass, tool is generated on L10
Bug: 215309232
Change-Id: I3841ea2f3f6dcd225c3e682904bf205b1645d1c3
2022-01-22 02:31:17 +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
Cheney Ni
e02c9bb086 Bluetooth: disable IBS low power control
Bug: 202113218
Test: pass Bluetooth HAL log check
Change-Id: Ia3d1435ab2cba8c48c0162179bb43b2101b7e5df
2022-01-19 20:04:25 +08:00
Cheney Ni
3da8ff16ce Bluetooth: update the HAL to be IBluetoothHci @1.1
A build flag TARGET_BLUETOOTH_HCI_V1_1 to control the implementation version

Bug: 202113218
Test: pass Bluetooth ON / OFF manually test
Change-Id: I42b8e9fede9c38c51a6498df52f514f0841fca17
2022-01-10 08:21:23 +00:00
Cheney Ni
c2b43ffd7f Bluetooth: disable A2DP offloading temporarily
It does not support the A2DP offloading yet.

Bug: 203042971
Test: pass A2DP playback manual test
Change-Id: I998b9fe75c4901a18eec667b6f7e9417297dd53d
2022-01-07 12:16:46 +00:00
Cheney Ni
ba4454c5f7 Bluetooth: control A2DP capabilities by each project
Bug: 194607800
Bug: 203042971
Test: pass A2DP playback manual test
Change-Id: I2021ad7ef115dee9b43784ffa27f2ab78306f3dc
2022-01-07 12:16:46 +00:00
Robert Lee
d943b39116 audio: enable default 96k
Enable default 96k sample rate to fix the noise issue when enabling
96k speaker protection with 48k sample rate setting.

Bug: 206060532
Test: audio normal after device boot with speaker protection enabled
Change-Id: I6a62984c25497b38544a8463a86c30cae0a37098
Signed-off-by: Robert Lee <lerobert@google.com>
2022-01-05 09:42:34 +00:00