Commit graph

2887 commits

Author SHA1 Message Date
Carter Hsu
1fa392b4b2 Revert "audio: enable SA lite/full module"
This reverts commit d5d0e9f343.

Reason for revert: <AOC FW that supports Spatial audio capture has been reverted>

Change-Id: I18286694da289215193c3e39ad71ea4a50392a69
2022-01-06 03:42:31 +00:00
Carter Hsu
be8aaf02d4 audio: change primary output to float
Bug: 200293124
Test: build pass
Change-Id: I356376d8090da006b915e8cce9a71759ebb459e6
Signed-off-by: Carter Hsu <carterhsu@google.com>
2022-01-05 11:19:05 +00:00
Jasmine Cha
5a4b4d3903 audio: enable dual sepaker in voice/voip spekaer mode
- specific top speaker control doesn't merge becuase of pop sound issue
during turning on/off a speaker.

Bug: 207431993
Test: manual test (b/207431993#comment16)

Signed-off-by: Jasmine Cha <chajasmine@google.com>
Change-Id: Ieca51d1f0ca238ff0d9112e8ede9d2eaad28ce98
2022-01-05 09:47:53 +00:00
Robert Lee
2e78d0e772 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: I28e58731b49b18ee14b9a1195c549e71a231d0ee
Signed-off-by: Robert Lee <lerobert@google.com>
2022-01-05 09:42:34 +00:00
Roger Wang
95df666190 wifi: Update rc file to use Supplicant AIDL interface.
Bug: 196235436
Test: wifi works fine on C10 device.
Change-Id: I0f4376e1777fb19057d16690c12eb552f4f295ff
2022-01-04 18:08:33 +00:00
Darren Hsu
8f600ff430 powerstats: use gs common library to get common data providers
Bug: 206576142
Test: dumpsys android.hardware.power.stats.IPowerStats/default
Change-Id: Ic2bc65ca8563ba48ec2ca3f3ac7777977103dfb5
Signed-off-by: Darren Hsu <darrenhsu@google.com>
2022-01-04 06:14:51 +00:00
davidycchen
d60f0addce C10: support touch sensitivity mode switching
Write the sysfs node to set touch sensitivity mode when the property
changes.

Bug: 199104397
Test: toggle the touch sensitivity button in Settings and check log.

Signed-off-by: davidycchen <davidycchen@google.com>
Change-Id: I1bd9258dcfa6897ee6febc5387c9504bcca1bb24
2022-01-04 01:59:12 +00:00
Mason Wang
4de8ea7408 P10: support touch sensitivity mode switching
Route a debug system property to a persist system property to control
the touch driver attribute file glove_mode.

0: default sensitivity mode (default)
1: high sensitivity mode

Bug: 199105017
Test: manual test

Signed-off-by: Mason Wang <masonwang@google.com>
Change-Id: I30f91ebaf4ea2bb2d2db6090f035e0ba7ea37056
2021-12-28 14:38:42 +08:00
Cyan_Hsieh
186d6a9157 Add init.pantah.rc for Cheetah/Panther
Bug: 211568122
Change-Id: I0819b3a7fdda22acfbd2df3cbf752713a8b6fd23
2021-12-27 12:35:04 +08:00
Darren Hsu
225d7e4aa7 powerstats: Correct the layout of display state residency
Bug: 211949266
Test: dumpsys android.hardware.power.stats.IPowerStats/default
Change-Id: I5ec7d3039fa222e7d137707bc0ff3cb38c19eb11
Signed-off-by: Darren Hsu <darrenhsu@google.com>
2021-12-27 00:34:37 +00:00
Midas Chien
a1c42e96fd C10: enable idle timer with kernel support
Bug: 208375625
Test: perfetto, check pane_idle
Change-Id: I3b23d831fd071cb52f80775fd6468e3006ca166d
2021-12-24 11:12:27 +00:00
Carter Hsu
d5d0e9f343 audio: enable SA lite/full module
Bug: 209687337
Test: build pass
Signed-off-by: Carter Hsu <carterhsu@google.com>
Change-Id: I6e40321524af98441c8405a640c61ff3bc0a48cd
2021-12-23 00:56:34 +00:00
Long Ling
0c6b305213 display : update color data files
Use per display type color data.

Bug: 207034763
Change-Id: I087dde0a0253db90ea0736ad100c3273a1a24ee7
2021-12-22 19:23:52 +00:00
Chris Lu
45d3b65550 Create initial config.xml
Create config.xml to support device suspend when screen off due to
p-sensor and enable adaptive brightness. A follow up patch may be
needed after tuning the auto brightness table.

Bug: 208528546
Test: brightness and adaptive brightness manual test
Change-Id: Ie559cbb2d656d4c5d46d28e200f44d27d2e037a6
2021-12-22 15:04:21 +00:00
George Chang
cfd752f778 Update C10 EVT NFC CFG base on CDT
Loads old cfg for proto and some of the evt.
The others loads default cfg.

Bug: 210755812
Test: manual
Change-Id: Ie892fed0d3e50ed2e1efb7f8ebc9d65bc5c5a63d
2021-12-21 08:04:39 +00:00
Robert Lee
a68394d356 Correct speaker.cal permission for C10/P10
Bug: 211360517
Test: builds
Change-Id: I751ac47a52a5b34afa1c64a758fcf6d900947f19
Signed-off-by: Robert Lee <lerobert@google.com>
2021-12-20 06:24:17 +00:00
Jasmine Cha
8e0dcbf340 audio: update waves tuning
- sync tuning from final R4.
Sha1sum: e0f4816e759af04f41b6ea4716781b831e4dd0bb

Bug: 203817007
Test: manual audio test (203817007#comment5)

Signed-off-by: Jasmine Cha <chajasmine@google.com>
Change-Id: Id867442555bda91b440192b7a8898c0b6457037f
2021-12-20 05:32:40 +00:00
Sasha Smundak
984a5c8989 Use soong_config_ macros to set Soong config variables.
Bug: 198503843
Test: treehugger
Change-Id: Ia396897ce7c93d0cfa62cac9ba5072af3f6d24d7
2021-12-16 11:29:58 -08:00
chloedai
b82f47926c Update CFG file for C10 EVT
Update init.cheetah.rc to make device able to check ro.boot.hardware.revision

Bug: 210755812
Test: Test with C10 proto, pass
Change-Id: Ibdbd43d2c8718d3fe6161f2bf190255daff350ae
2021-12-16 03:23:18 +00:00
chloedai
4ec6f57257 Update CFG file for P10 EVT
Update init.panther.rc to make device able to check ro.boot.hardware.revision
Add libnfc-hal-st-proto1.conf to load st54j_conf_PROTO1.bin for proto1

BYPASS_INCLUSIVE_LANGUAGE_REASON=Keep the legacy name

Bug: 209525702
Test: Manually update .rc file, .conf file and st54j_conf_PROTO1.bin
to P10 proto1, then check the CFG version which is loaded

Change-Id: I33dd4d0dacb01bb544997913800a2c2ecc92b34e
2021-12-09 16:26:56 +08:00
Wayne Lin
4422fa8f81 [P10] gps : update RF path loss
Bug: 208498422
Test: build pass and confirm RF configs are correct
Change-Id: I265be39d8fb33c2497beb7803c857547428cbda8
2021-12-09 02:26:07 +00:00
Wayne Lin
4b57246150 [C10] gps : update RF path loss
Bug: 208497350
Test: build pass and confirm RF configs are correct
Change-Id: I877923ece325c73a9d32e682ca44a13d47182b2b
2021-12-08 12:18:24 +00:00
Wayne Lin
9265c3258f Add gps.xml for P22
Add customized gps.xml for P22 project

Bug: 208725716
Test: build pass
Change-Id: I9464daf47668c033d17b3b56497999e1bbc3346c
2021-12-07 10:14:10 +00:00
William Tai
9acaa7507c 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: 208358826
Bug: 199469930
Test: brightness and adaptive brightness manual test
Change-Id: I0831a7783f7a383fa86ddea180d76d9ef4ba9f97
2021-12-03 08:50:26 +00:00
Carter Hsu
fb3354b90f audio: enable VoIP output and input
Bug: 202809763
Test: build pass
Signed-off-by: Carter Hsu <carterhsu@google.com>
Change-Id: I1a7f3aac11d4080f52e5e7ea777dde9b5bba39c2
2021-12-03 05:16:32 +00:00
Carter Hsu
bfaa490ff7 audio: enable Fortemedia and Waves
Bug: 202809763
Bug: 202809919
Test: build pass
Signed-off-by: Carter Hsu <carterhsu@google.com>
Change-Id: I017e20f4c1375f1c63ce234f98f9c3f12d873016
2021-12-03 05:16:32 +00:00
Robin Peng
05184e544a pantah: add PRODUCT_SOONG_NAMESPACES for trusty liboemcrypto.so
Bug: 208614761
Change-Id: I76727907af2618c752505e2f26148ec7dbd3d8d7
2021-12-02 18:57:00 +08:00
Robert Lee
cb453484d8 audio: update cali/diag bin files for 96k
Bug: 205055813
Test: Manually update bin files and run
adb shell crus_sp_cal -d -s -a --device 5 --ambient 25 --num-speaker 2 --verbosity 7
 result: Everything is good

Change-Id: Iba25fcb3cc0252baf87df0b4424a73d3790ed379
Signed-off-by: Robert Lee <lerobert@google.com>
2021-12-02 09:26:35 +00:00
Kris Chen
6d652fc425 cloudripper: Disable udfps
Disable udfps because all cloudripper boards do not
have fingerprint on it by default.

Bug: 208128856
Change-Id: If37f9854642bafe35ba1b1e16a18bbc9ac231d79
2021-12-02 08:09:02 +00:00
Jasmine Cha
cff2f8cd86 audio: update speaker boost peak current limit
- Set the "boost peak current limit" as 2.50A in default for
   both top & bot cirrus amps under "speaker" path(stereo
   speaker playback usecase).

Bug: 207431993
Test: manual test (b/207431993#comment7)

Signed-off-by: Jasmine Cha <chajasmine@google.com>
Change-Id: Ie371225338a7470bf8d9bced46f68d16192758c3
2021-12-02 07:56:00 +00:00
Darren Hsu
06d9ad0924 powerstats: add UWB state residency
Bug: 206566167
Test: dumpsys android.hardware.power.stats.IPowerStats/default
Change-Id: Iced632ccb403d82df609d4f2ac3a486f223feceb
Signed-off-by: Darren Hsu <darrenhsu@google.com>
2021-12-02 03:42:19 +00:00
juyuchen
1f6f0e64ea audio: enable 96K speaker protection playback
Bug: 206533159
Test: YT music playback

Signed-off-by: juyuchen <juyuchen@google.com>
Change-Id: I58e247c95046908b99a02a8dd2ff08e1a5592f9c
2021-12-01 09:31:02 +00:00
Darren Hsu
0c7179f60a powerstats: add NFC state residency for specific devices
Bug: 206902456
Bug: 206901670
Test: dumpsys android.hardware.power.stats.IPowerStats/default
Change-Id: I93b9123d9c52a5504b41cc83ee83764fdeeccdab
Signed-off-by: Darren Hsu <darrenhsu@google.com>
2021-11-29 16:31:59 +08:00
Cyan_Hsieh
d2b7273312 remove OWNERS file and open for changes
Bug: 198128551
Change-Id: Ib90e257b22b44bcfae2880ff928ebae6b0d52a3f
2021-11-28 23:11:19 +08:00
Cyan_Hsieh
ff4c7ca3b5 Initialize device folder
from: 715ff58363e1fd4edc7c1bd428a77af6ddcb7684
with updated device path

Bug: 198128551
Change-Id: I2d9eace5077290b74ef00efb7304128f344514c1
2021-11-25 19:59:21 +08:00
Cyan_Hsieh
bf7648e9c4 Add OWNERS file before open for change
Bug: 198128551
Change-Id: I8e4057f8ab3043825f5d9cb7de5600e114beab6a
2021-11-17 17:35:52 +08:00
Inna Palant
165e024fcd Initial empty repository 2021-11-04 16:17:34 -07:00