Commit Graph

55 Commits

Author SHA1 Message Date
timothywang
4f8795f405 Support front camera 4K30fps video
Bug: 233588413
Test: GCA
Change-Id: I22be04e236f58fabe3542221c2cf9733d71cf0a9
2022-05-23 19:54:28 +08:00
samchchang
c221f2d0ea media_profiles: Modified for new the project
- Removed unnecessary cameras.

Bug: 228407984
Test: Manual push, GCA
Change-Id: I51e34325e25785d80803c8a01468de3edccb0a59
2022-05-03 11:27:50 +08:00
Sam Dubey
9c0c469408 Switch BluetoothCcc to 1.1 version am: c73f4ddb09
Original change: https://googleplex-android-review.googlesource.com/c/device/google/lynx/+/17943832

Change-Id: Iee218db31a2f5a716a7fa9a461e8798af33e7a68
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:55:37 +00:00
Sam Dubey
d2262657d8 Switch BluetoothCcc to 1.1 version am: 9fc18e2b5d
Original change: https://googleplex-android-review.googlesource.com/c/device/google/lynx/+/17943831

Change-Id: Ia19da721024269515a9efcb73644ba735f4e2d6d
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:55:26 +00:00
Sam Dubey
c73f4ddb09 Switch BluetoothCcc to 1.1 version
Follow up on I79beee03e8773bb7b3e1dbdd881ddaf6fdb24827
Bug: 230449916

Change-Id: I5ff5d983ee66505f63f225dbd3151b2e5a45251e
2022-04-26 16:24:28 +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
c09d28e3b0 Bluetooth: Adds more debugging properties am: 7d4c43f5fc
Original change: https://googleplex-android-review.googlesource.com/c/device/google/lynx/+/17817045

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

Change-Id: I8333ed82788504d5fa2f59fdeab48e31ded59fc0
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-04-20 14:07:45 +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
1dcb6d74b1 Update haptics kernel module am: ddea6dc927
Original change: https://googleplex-android-review.googlesource.com/c/device/google/lynx/+/17651967

Change-Id: I9f3467245417350e645a000a44ad65ae4ae78d3f
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-04-15 06:39:27 +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
f21fd14aff audio: sync mixer table for Eraser capture am: 41683348a8
Original change: https://googleplex-android-review.googlesource.com/c/device/google/lynx/+/17535907

Change-Id: If359f8e98fbb63d8903044f63d2b2943769e10e8
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-04-07 02:57:02 +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
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
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
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
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
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
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
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
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
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
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
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
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
Darren Hsu
3641d4eaa0 powerstats: use gs common library to get common data providers
Bug: 206576142
Test: dumpsys android.hardware.power.stats.IPowerStats/default
Change-Id: I894196858441352be5e403fcb2f0461300b5217e
Signed-off-by: Darren Hsu <darrenhsu@google.com>
2021-12-29 18:58:41 +08:00
Yung Ti Su
8b94566230 Lower the speaker AMP Gain for 96k ASP mode
Bug: 210927949
Test: manual

Signed-off-by: Yung Ti Su <andysu@google.com>
Change-Id: I41fd333c7969e91f29efb74b605fcbec46650faa
2021-12-23 08:49:35 +00: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
Yung Ti Su
b28a37c992 audio: enable 96K speaker playback & correct mic2 id
Bug: 210927949
Test: manual

Signed-off-by: Yung Ti Su <andysu@google.com>
Change-Id: Ie1e4537176f6df53780f258cd9924913df476f50
2021-12-16 02:15:11 +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
Hsiu-Chang Chen
830872632c Wifi: Add myftm for factory build
Bug: 209709758
Test: Build pass
Change-Id: I638fae56f6f4b1d712bb47d1416dc15ccb27b172
2021-12-09 14:28:11 +08:00
Hsiu-Chang Chen
bc896e0cbe Wifi: Use qcom configuration
Bug: 202481207
Test: Build pass
Change-Id: Ie0dec15f5df4da29735307a87af2a73b2c213ffb
2021-12-09 14:28:08 +08:00
Hsiu-Chang Chen
1760f10fa6 Wifi: Remove unused wifi module
Bug: 208386762
Test: Build pass
Change-Id: I65a71c8c8501e0bb25b5ee261399c668aa532f99
2021-12-09 14:27:58 +08:00
Hsiu-Chang Chen
deb8aa2b2e Wifi: Write sysfs fs_ready 1 in init rc
When boot complete, write fs_ready 1 to notify cnss2.
Note fs_ready must not be written too early, otherwise
it will not download firmware successfully.

Bug: 202809487
Test: Build pass
Change-Id: I990257d168550e512ae94287ca79095201b16e2b
2021-12-09 14:27:44 +08:00