Commit graph

476 commits

Author SHA1 Message Date
Jikai Ma
d1ed787a37 thermal: patched linear model virtual sensor
Bug: 315234782
Test: Build and boot on device
Change-Id: I86806579efe479aafd4a34855e8a0f80176ef1cf
Signed-off-by: Jikai Ma <jikai@google.com>
2024-01-25 18:50:47 +00:00
Rios Kao
75b632cdb6 caimito: remove useless command in smartfeature.
note: - The old tuning file has deprecated commands which removed
       from firmware already. That would casue gtest failure.
Bug: 322291792
Test: run aoc_sound_trigger_adapter_test and verify the value from
      aoc interface.
Change-Id: I5a332f271cdfa5ec5dcf6c6c45b077ba447da18d
2024-01-25 09:14:27 +00:00
Sayanna Chandula
2842a579c0 thermal: enable thermal throttling based on virtual-skin-model
- Switch to VIRTUAL-SKIN-MODEL from VIRTUAL-SKIN-LEGACY
- Add a backup shutdown based on VIRTUAL-SKIN-LEGACY
- Remove unnecessary polling delays from few sensors

Bug: 321108353
Test: Build and boot on device

Change-Id: I8b8909ded87ba2b76d5712c474120dbe5ab13c2c
Signed-off-by: Sayanna Chandula <sayanna@google.com>
2024-01-24 11:18:22 -08:00
Sayanna Chandula
1a93070bd9 Merge "thermal: update vt models with odpm features" into main 2024-01-24 18:28:41 +00:00
Sayanna Chandula
1aa294872c Merge "thermal: Add vskin-model stats monitoring config" into main 2024-01-24 18:28:22 +00:00
Ramya Subramanian
52b4354c2b Merge "Revert^2 "thermal: Update cdev ceiling to match latest EM table"" into main 2024-01-24 16:22:14 +00:00
Treehugger Robot
83314e80e5 Merge "add acl_mode permission" into main 2024-01-24 13:41:51 +00:00
Jason Chang
bdd2644070 Merge "Enable One-handed mode for new projects" into main 2024-01-24 08:36:43 +00:00
Treehugger Robot
6af3815b8d Merge "powerstats: use display MRR state residency data provider" into main 2024-01-24 06:03:41 +00:00
Sayanna Chandula
9b07c28910 thermal: update vt models with odpm features
Bug: 307824060
Test: Build and boot on device

Change-Id: Ide175d4945ac64e32d33e0c57e486f2691631b78
Signed-off-by: Sayanna Chandula <sayanna@google.com>
2024-01-23 18:00:01 -08:00
sashwinbalaji
37a10af4f0 thermal: Add vskin-model stats monitoring config
Update thermal config as:
- Rename VIRTUAL-SKIN to VIRTUAL-SKIN-LEGACY
In order to differentiate different vt models, we need to define
legacy equation as a sepearate sensor and use it as a reference
for virtual-skin. Later when we want to switch to other models,
we could simply replace the combination for virtual-skin sensor
- Record Stats for
	- VIRTUAL-SKIN-MODEL
	- VIRTUAL-SKIN-MODEL - VIRTUAL-SKIN
  		- At intervals of 500 mdeg (-4500 to 4500)
		- At intervals of 1000 mdef (-13000 to 12000 exlucding
		  -4000 to 4000)
	- Abnormality Monitoring
		- VIRTUAL-SKIN-MODEL [0-55 deg]
		- VIRTUAL-SKIN-MODEL-LEGACY-DIFF [-12000 - 12000 mdeg]

Bug: 320347462
Test: Push config and verify logcat and lshal
Change-Id: I397c8a07cf01abd5d8a7dedf290829a19e21ae87
2024-01-23 17:59:40 -08:00
Treehugger Robot
d5593786ce Merge "uwb: remove HAL from device" into main 2024-01-24 00:27:32 +00:00
Hasan Awais
e1fa5a647c uwb: remove HAL from device
Bug: 320765665
Change-Id: I4a6208a61d84078d02c516dadadcb3da5ee142dd
Signed-off-by: Hasan Awais <hasanawais@google.com>
2024-01-24 00:23:08 +00:00
Jikai Ma
328dbbe39b Merge "thermal: update virtual sensor formula for EVT devices" into main 2024-01-23 19:41:43 +00:00
Beverly Tai
d06dbb468a Merge "Update pixel pitch of devices" into main 2024-01-23 14:13:15 +00:00
Jason Chang
4f25605b1c Enable One-handed mode for new projects
Enable ro.support_one_handed_mode=true for new projects.

Bug: 320418976
Flag: N/A
Test: Build and verify UI in CL ROM
Change-Id: Iadc92f6bdb946f10714a824fb018e0fdce69852a
2024-01-23 10:34:02 +00:00
Darren Hsu
f4b06927d1 powerstats: use display MRR state residency data provider
Bug: 321871755
Test: vts-tradefed run vts -m VtsHalPowerStatsTargetTest
Change-Id: I20b31f4c3f0ece92dc8bf5788edf414fd4023169
Signed-off-by: Darren Hsu <darrenhsu@google.com>
2024-01-23 17:39:48 +08:00
Treehugger Robot
684a7ee7ca Merge "audio: align mixer paths and add missing paths" into main 2024-01-23 08:27:50 +00:00
Wayne Lin
69cbf2b820 Merge "gps: refine iGNSS build system" into main 2024-01-23 08:02:06 +00:00
Carter Hsu
6fdac3d3f6 Merge "audio: 2024/01/22 Fortemedia table check in" into main 2024-01-23 03:03:21 +00:00
David Li
a43128dd4d audio: align mixer paths and add missing paths
- add controls
     "HAC AMP EN",
     "EP5 TX Mixer INTERNAL_MIC_US_TX"
     "BUILDIN US MIC ID CAPTURE LIST"
 - add paths
     "builtin-mic-id-capture-list"
     "microphones (UNPROCESSED)"
     "back-microphones (UNPROCESSED)"
     "ultrasound-microphones"
 - move the mic id list to a path and other microphones devices use the
   path.

Bug: 301535551
Test: manually test
Change-Id: I669e69774fc90577ba1a056ec4ca36a25196fcf7
2024-01-23 10:47:27 +08:00
Derick Hong
75e42b3700 Merge "display: cm4/km4/tk4: update Adaptive Brightness Curve" into main 2024-01-23 01:08:53 +00:00
Ramya Subramanian
23a61319f4 Revert^2 "thermal: Update cdev ceiling to match latest EM table"
This reverts commit 5536e28fd2.

Reason for revert: tested on EVT1.1 TK and KM

Change-Id: Ifc3a5dce761ff86f9ac33597e88ccd77768e142a
2024-01-22 21:26:18 +00:00
Jikai Ma
305646c5f6 thermal: update virtual sensor formula for EVT devices
Bug: 320714468
Test: boot to home
Change-Id: I14b945a520df0466ee6f024983283543e2b363fe
Signed-off-by: Jikai Ma <jikai@google.com>
2024-01-22 10:38:00 -08:00
Treehugger Robot
2bd297d015 Merge "audio: Update recording.gatf & template.xml for AZ2.1/PGC format" into main 2024-01-22 12:28:51 +00:00
Carter Hsu
c25bb4524c audio: 2024/01/22 Fortemedia table check in
<Change list:>
"TK4
- Headset  (Gene)
   Modify TX/RX DRC gain on CONDOR_CERTIFICATION1-VOICE_GENERIC-WB / SWB for the CCAv3 BWE feature.

CM4
- Headset  (Gene)
   Modify TX/RX DRC gain on CONDOR_CERTIFICATION1-VOICE_GENERIC-WB / SWB for the CCAv3 BWE feature.

KM4
- Headset  (Gene)
   Modify TX/RX DRC gain on CONDOR_CERTIFICATION1-VOICE_GENERIC-WB / SWB for the CCAv3 BWE feature.

- Handset (Owen)
1. Rx: Modify WB(Vol-0)/SWB(Vol-0 to Vol-5) Vol Step SpkVol gain, SWB DRC gain(10.8dB)&EQ, and NB DRC gain(8dB Vol-0 to Vol-5).
2. Copy 1 from Generic to RX co-used cases ( T-mobile / Reserve2).

- Handsfree (Owen)
1. Rx: Modify WB(Vol-0 to Vol-5)/SWB(Vol-5) Vol Step SpkVol gain, modify SWB DRC gain(14dB), and correct SWB THRD(Slant_0=0000 Vol-0).
2. Copy 1 from Generic to Rx co-uaed cases (RX: HH Reserve2_SWB / TTY-HCO wo/wi Reserve2_SWB).
3. Modify NB/WB/SWB/RESERVE2 Rx DRC LIMITER_THRD from -1dB(7214) to -2.5dB(6000)"

Bug: 321595934
Test: Verified by Acoustic team
Change-Id: Iacfc247fffad921ade7ab50f141d29dca3b595d4
Signed-off-by: Carter Hsu <carterhsu@google.com>
2024-01-22 14:58:10 +08:00
David Li
1e3c013eca audio: add path for voice call over BT heaing AID
Bug: 319182435
Test: manual test
Change-Id: Ib38477c7e45e34e66f369751b533260fa4cd4b8f
2024-01-21 15:10:53 +08:00
David Li
f87be8d9af Merge "audio: add offloaded spatializer use case" into main 2024-01-21 04:31:26 +00:00
Hunsuk Choi
0aa1326763 Merge "Fix domain selection service configuration for plug-in architecture" into main 2024-01-19 16:54:33 +00:00
Wayne Lin
e9aa5a1114 gps: refine iGNSS build system
Bug: 315915958
Test: build pass and GPS function works
Change-Id: I1e7aa6d0e705810d9c81f89453e11acaa54d9d3b
2024-01-19 22:19:59 +08:00
yixuanjiang
d0ef2cb6be audio: Update recording.gatf & template.xml for AZ2.1/PGC format
[Details]
1. update SUR tuning parameters for EVT 1.0 device and using AZ2.1 format.
2. manual fill-in Mic COMP EQ in IIR1 module before Mic COMP ON
3. update PGC template and syne with the latest parameters

Bug: 321164880
Bug: 321164128
Bug: 321164775
verify: HW wjacky
Change-Id: I1375b75570d7aa837d000324059339b282f2bf41
Signed-off-by: yixuanjiang <yixuanjiang@google.com>
2024-01-19 10:08:05 +00:00
David Li
9790519457 audio: add offloaded spatializer use case
Bug: 307842941
Test: n/a
Change-Id: I072f7642baea2c7b32bca7eba31cdbe4a82cd3b4
2024-01-19 17:48:36 +08:00
Wayne Lin
e0f86786bc gps: handle eng build
Bug: 321095268
Test: lunch && m anything with -eng
Change-Id: Ibaa426b661e291e429852f992df3526beeaec646
2024-01-19 03:28:10 +00:00
Beverly
bcefcaa3f5 Update pixel pitch of devices
Bug: 319894241
Flag: ACONFIG com.android.systemui.device_entry_udfps_refactor DEVELOPMENT
Test: manual
Change-Id: Iaa9576cb95ebe73043b7030b2b176f67bc90e3a1
2024-01-18 21:45:59 +00:00
derickhong
62e0f564ff display: cm4/km4/tk4: update Adaptive Brightness Curve
remove config "config_autoBrightnessDisplayValuesNits"

Bug: 298738593
Test: adb shell dumpsys display | grep mBrightnessLevelsNits
Change-Id: I481b63dae26c48d2ff7265eb633166000f53d6a7
Signed-off-by: derickhong <derickhong@google.com>
2024-01-18 07:41:38 +00:00
Hunsuk Choi
398dc0786a Fix domain selection service configuration for plug-in architecture
Bug: 258112541
Test: build
Change-Id: Ia2531e9ab165a9c3b87cc2fc2e06428d99dc9ffa
2024-01-18 05:11:48 +00:00
Morgan Shen
b1aaf685e9 Merge "Enable AOSP domain selection service" into main 2024-01-18 03:51:44 +00:00
Beverly Tai
0d8e5c7740 Merge "Update face sensor location" into main 2024-01-17 19:02:27 +00:00
Beverly
752f6ab629 Update face sensor location
Fixes: 319468937
Flag: none
Test: manual
Change-Id: Ib170e4229664c70316db24bcc98ec684b94db037
2024-01-17 16:59:39 +00:00
Peter Lin
f4edc6b0a1 add acl_mode permission
Bug: 309564347
test: check permission sys/class/backlight/panel0-backlight/acl_mode
Change-Id: I925a4f65c4125c960f24896bcbc76c04df2fcc94
2024-01-17 12:11:18 +00:00
Treehugger Robot
ce61883be2 Merge "audio: enable using wb tuning for nb voice" into main 2024-01-17 09:23:32 +00:00
Ted Wang
f29edac840 Add POF property
Bug: 320403892
Test: Manual
Change-Id: I0c03e4bdcf288f6993c439ddd2cacb51c5baabc2
2024-01-17 06:24:54 +00:00
Treehugger Robot
c84a5f89b7 Merge "display: km4/cm4: enable operation rate switch delay in a specific dbv range" into main 2024-01-17 04:18:46 +00:00
Carter Hsu
c53cc93d0b Merge "audio: FM tuning 20240111" into main 2024-01-16 07:06:58 +00:00
Jasmine Cha
7f8c50ba5c audio: enable using wb tuning for nb voice
Bug: 314707600
Test: manual test - making phone call and check log

Change-Id: I4d11bf1ed8db3604843ff79cb5775a292a0da1aa
Signed-off-by: Jasmine Cha <chajasmine@google.com>
2024-01-16 14:20:18 +08:00
Carter Hsu
eb3fdfc901 Merge "audio: apply WB tuning for voice NB" into main 2024-01-16 05:50:37 +00:00
Mark Chang
16f2c77760 Merge "init: modify touch offload permission for twoshay" into main 2024-01-16 05:13:21 +00:00
Joner Lin
0818674611 Merge "Bluetooth: Add CM4/KM4/TK4 SAR table" into main 2024-01-15 12:31:53 +00:00
Yung Ti Su
ed182b9342 Merge "add immersive output for ble devices" into main 2024-01-15 09:32:35 +00:00
Carter Hsu
bf793ac56a audio: apply WB tuning for voice NB
Bug: 314707600
Test: Verified by test build
Change-Id: I3be83364d538094fb414259ebd2b333f969ddd28
Signed-off-by: Carter Hsu <carterhsu@google.com>
2024-01-15 01:30:41 +00:00