Commit Graph

1321 Commits

Author SHA1 Message Date
More Kuo
ead919cd48 Update SAR table to mitigate RSE issue
Set BLE power to 20  (5 dBm) in the SAR table, the actual power would
be around 6 dBm, consider back off margin. This will only impact the
BLE power when the phone is associated with 5GHz wifi network.

Bug: 166362495
Test: Manual
Change-Id: I1b765476ac31147eeaca643efdde586db5197b26
2020-08-26 13:02:08 +08:00
Chase Wu
034b1ea132 Merge "vibrator: Dogfood haptic tuning setting V6 (IMU)" into rvc-d1-dev 2020-08-21 12:18:08 +00:00
chasewu
d63b63d42b vibrator: Dogfood haptic tuning setting V6 (IMU)
Tracking for Dofgood tuning setting + non stop solution + loop gain solution
Tuning device: 06141FDD40001K (DVT)
Click 1: [vibrator.hal.effect.strength1]: [275]
Click 2: [vibrator.hal.effect.strength2]: [550]
Click 3: [vibrator.hal.effect.strength3]: [600]
Click 4: [vibrator.hal.effect.strength4]: [900]
Click 5: [vibrator.hal.effect.strength5]: [1120]
High motion: [vibrator.hal.steady.strength1]: [2150]
Non-motion: [vibrator.hal.steady.strength3]: [1300]

Duration bin file as attachment
Texture tick 6ms
TICK 6ms
CLICK 6ms
DOUBLE_CLICKS 8 + 139+ 12 ms
HEAVY_CLICK 6ms

Bug: 165890524
Test: UT test
Signed-off-by: chasewu <chasewu@google.com>
Change-Id: Ia3b3cc3ad1da3b6cc28f2584abfbe4408fceee80
2020-08-21 18:22:32 +08:00
Jason Hsu
8ad4040ef2 audio: Update ACDB table
Changelist:
1. HANB/WB Fine tune for carrier requirement
     FM: FDEQ @max-2 vol
2. HAWB Fine tune
    FM: FDEQ @ nom vol
    VOL: nom vol.
3. Update AGC tuning parameters in use case ID 61~66

Bug: 165875970
Test: Verified by H/W

Signed-off-by: Jason Hsu <jasonchhsu@google.com>
Change-Id: Ifaf96ce2b87a21e3f5b64a37dec952c0d548732d
2020-08-21 10:43:07 +08:00
Jenhao Chen
86982d4d5b Merge "thermal: enable SendPowerHint of skin-therm-monitor" into rvc-d1-dev 2020-08-19 02:47:35 +00:00
Kyle Lin
7cb76d4475 thermal: enable SendPowerHint of skin-therm-monitor
Bug: 162791243
Test: build and using emul temp/running burn8 to verify it
Change-Id: Ifc401b4409642b909b209bf6907faacce9f200a3
2020-08-19 00:14:46 +00:00
Yanting Yang
7371a8f2a5 Update regulation e-label for ROW SKU of Redfin
Update ROW SKU (GTT9Q) regulation e-label for:
- The SAR value was updated from 1.18 to 1.15 in the Canada section.
- The NCC ID was update in the Taiwan section.

Fixes: 150906311
Test: visual
Change-Id: Ib26339a1daaba74390345aea073bede75e6aeaf4
2020-08-11 01:30:31 +08:00
chasewu
214cb227e2 vibrator: Add a threshold to filter out some short vibration cases
Some app will use short vibration to implement haptics effect and
those cases will feel a delay from the motion awareness mechanism.

We add this patch to filter out those cases since those behaviors
beyond the motion awareness mechanism scope.

Bug: 162346934
Test: UT test
Signed-off-by: chasewu <chasewu@google.com>
Change-Id: Iee8d5993f040126243d90330f03b897970c70c1b
2020-08-07 18:33:12 +08:00
TreeHugger Robot
3070ff7642 Merge "HbmManager: Configure compensation_filter_horizon to 3500" into rvc-d1-dev 2020-08-07 06:04:12 +00:00
TreeHugger Robot
2319ef97c2 Merge "audio: Update ACDB table" into rvc-d1-dev 2020-08-07 03:14:55 +00:00
TreeHugger Robot
c82b38f315 Merge "Remove overlay for status_bar_padding_left" into rvc-d1-dev 2020-08-06 21:09:44 +00:00
Jason Hsu
fce21e75a9 audio: Update ACDB table
changelist:

Handset NB / Handset WB
> improve subjective listening max-1 / max-2 / nom /  min volume step

Bug: 161327071
Test: Verified by H/W
Signed-off-by: Jason Hsu <jasonchhsu@google.com>
Change-Id: I69f810c2d10fda905260697fadff18fd7ffd4649
2020-08-06 16:57:19 +08:00
Bill Yi
9c7fd9999d Merge "Update redfin vendor blobs" into rvc-d1-dev 2020-08-05 16:10:40 +00:00
TreeHugger Robot
a985529409 Merge "audio: Update audio tables" into rvc-d1-dev 2020-08-05 04:26:29 +00:00
TreeHugger Robot
ca8b6ce1a1 Merge "audio: update cs35l41 protection bin files to reduce the pilot tone length." into rvc-d1-dev 2020-08-05 02:26:27 +00:00
juyuchen
f7e11f68d0 audio: update cs35l41 protection bin files to reduce the pilot tone length.
Bug: 162262288
Test: manual audio tests.

Signed-off-by: juyuchen <juyuchen@google.com>
Change-Id: Icb9aeb0db228a794b9e9a1ff098254df025f1e56
2020-08-05 01:44:01 +00:00
Bill Yi
7c8b7e71ee Update redfin vendor blobs
BUG: 147820999
Change-Id: I257a31ffd76beb58c982def6f9c908038c7d9c4b
2020-08-04 11:26:59 -07:00
George Chang
8aa162f14e Merge "Disable enable_antenna_blocked_alert" into rvc-d1-dev 2020-08-04 09:07:41 +00:00
Jason Hsu
b9f1dc138f audio: Update audio tables
Change list is as below:
acdb
1. Speaker NB: VOL
2. Speaker WB: VOL
3. Speaker SWB: VOL
audio_policy_volume
1. Speaker volume curve

Bug: 162713453
Test: Verified by H/W

Signed-off-by: Jason Hsu <jasonchhsu@google.com>
Change-Id: Ia937389a3fd63d37291cd25c6ce40e17584275ff
2020-08-04 16:49:23 +08:00
George Chang
effa31c9fe Disable enable_antenna_blocked_alert
Bug: 162723079
Test: manual
Change-Id: I385181d6e80727a215ecf7d56dd6802e94bf9080
2020-08-03 11:42:06 +00:00
TreeHugger Robot
70127fd9bc Merge "thermal: set emul_temp when thermal-disabled prop is enabled" into rvc-d1-dev 2020-07-31 14:37:52 +00:00
Jason Hsu
692b8e6c31 audio: update ACDB table
Change list is as below:
 - Update the SURREC / MicGain / IIR / AGC / MBDRC in CAMCORDER use case ID 61~66

Bug: 162490183
Test: Verified by H/W

Signed-off-by: Jason Hsu <jasonchhsu@google.com>
Change-Id: I3f75d3edb5ee5d1e1bb8b558348e902670c17ae7
2020-07-30 21:04:03 +08:00
Yichi Chen
5e56e985f6 HbmManager: Configure compensation_filter_horizon to 3500
Current user study suggested that we increase the response time and also
the threshold for the compensation images. The patch increases the
filter horizon to 3500 and changes the first level to 15k lux.

Bug: 161650321
Test: User study
Change-Id: I00b5a659798550ef8c2788b45ed9d400aa22b6ad
2020-07-23 14:57:57 +08:00
TeYuan Wang
0bf6728d9d thermal: set emul_temp when thermal-disabled prop is enabled
powerhint will re-enable skin-therm-cpu after device reboot, so we need
to set emul_temp to prevent triggering CPU throttling for perf PTS test.

Bug: 159105102
Test: emul_temp can be set to 25 degC when thermal-disabled property is enabled
Change-Id: Ia79188c4770f1372eb272a51cf61f447c32f240d
Signed-off-by: TeYuan Wang <kamewang@google.com>
2020-07-22 11:15:49 +00:00
TreeHugger Robot
f5de419af8 Merge "thermal: chown usbc-virt-monitor for thermalhal to update trip point" into rvc-d1-dev 2020-07-21 06:15:02 +00:00
TreeHugger Robot
fd79b26a87 Merge "s6e3hc2: update thresholds for 90hz" into rvc-d1-dev 2020-07-20 14:17:25 +00:00
TeYuan Wang
9b3cba3ba8 thermal: chown usbc-virt-monitor for thermalhal to update trip point
Bug: 147861290
Test: thermalhal will not always polling thermal sensors every 2s
Change-Id: I65d5654ca0d74450450896d3b2487ca3e56e62cc
Signed-off-by: TeYuan Wang <kamewang@google.com>
2020-07-20 17:58:21 +08:00
TreeHugger Robot
ed1abd9d51 Merge "redfin: move WirelessCharger to redfin" into rvc-d1-dev 2020-07-20 09:57:50 +00:00
Jack Wu
ba040ec4da redfin: move WirelessCharger to redfin
Bug: 154296358
Bug: 161503760
Test: vts pass in wireless charging case
Signed-off-by: Jack Wu <wjack@google.com>
Change-Id: I509277993b7d02c4a0129ae634345a8b436ad5ec
2020-07-20 09:49:03 +00:00
Ken Huang
79c5681343 s6e3hc2: update thresholds for 90hz
Add zone2 condition for 90Hz

Bug: 158448810
Test: no fps transition in the blocking zone
Change-Id: I1391a5f9cd31b7c7246700635169cb6201ed5d9a
2020-07-20 14:34:36 +08:00
TreeHugger Robot
6f47705bcb Merge "audio: update ACDB table" into rvc-d1-dev 2020-07-17 15:25:20 +00:00
TreeHugger Robot
3138b6d728 Merge "thermal: Remove camera-critical tz" into rvc-d1-dev 2020-07-17 14:18:50 +00:00
TreeHugger Robot
0b1f27444f Merge "thermal: monitor usbc virtual sensor from thermalhal" into rvc-d1-dev 2020-07-17 14:18:11 +00:00
Jason Hsu
8dead84b87 audio: update ACDB table
Change list is as below:
1. acdb id [55/56] NB/WB/SWB TX parameters

Bug: 161513832
Test: Verified by H/W

Signed-off-by: Jason Hsu <jasonchhsu@google.com>
Change-Id: I0fcfe5bca3e5f546fd216ea4833d0a3bd021b772
2020-07-17 16:51:10 +08:00
TreeHugger Robot
87ee8660e8 Merge "audio: update ACDB table" into rvc-d1-dev 2020-07-17 06:47:30 +00:00
TreeHugger Robot
fcc5ee3d2f Merge "Update regulation e-label for JP SKU of Redfin" into rvc-d1-dev 2020-07-17 02:33:57 +00:00
Jason Hsu
e6390c19de audio: update ACDB table
Change list is as below:
1. HAFB  SFR fine tune
2. De-vibration tuning on concurrency (playback + call volume)
3. Verizon Handset adjustment
      HANB RFR (CDMA only)
      HHNB SFR (CDMA only)
4.  Camcorder parameters updates
     - Update the SURREC parameters in camcorder use case 61~63
     - Update the IIR parameters in camcorder use case 61~63
     - Update the MBDRC parameters in camcorder use case 61~66

Bug: 161427466
Test: Verified by H/W
Signed-off-by: Jason Hsu <jasonchhsu@google.com>
Change-Id: I9b762491cf7aa9efee3df6a4ba3cea316003ded3
2020-07-17 02:45:55 +08:00
TreeHugger Robot
a3a89e93c5 Merge "vibrator: Updare haptic tuning setting V5 (IMU)" into rvc-d1-dev 2020-07-16 13:47:18 +00:00
Yanting Yang
9817dc0b2c Update regulation e-label for JP SKU of Redfin
Update JP SKU (G5NZ6) regulation e-label.

Bug: 150906311
Test: visual
Change-Id: I72ff46be04df708aed00ef179119299035e4b246
2020-07-16 19:34:09 +08:00
Yanting Yang
3298fa32a3 Add regulation e-label for US SKU of Redfin
Add US SKU (GD1YQ) regulation e-label.

Bug: 150906311
Test: visual
Change-Id: I73fb31a8ffd57245bceefc2dbf39bb7d22354be3
2020-07-16 18:30:19 +08:00
chasewu
94cfbe7067 vibrator: Updare haptic tuning setting V5 (IMU)
Click 1: [vibrator.hal.effect.strength1]: [275]
Click 2: [vibrator.hal.effect.strength2]: [550]
Click 3: [vibrator.hal.effect.strength3]: [600]
Click 4: [vibrator.hal.effect.strength4]: [900]
Click 5: [vibrator.hal.effect.strength5]: [1120]
High motion: [vibrator.hal.steady.strength1]: [2000]
Non-motion: [vibrator.hal.steady.strength3]: [1300]

Duration bin file as attachment
Texture tick 6ms
TICK 6ms
CLICK 6ms
DOUBLE_CLICKS 8 + 139+ 12 ms
HEAVY_CLICK 6ms

Bug: 161413239
Test: build pass
Signed-off-by: chasewu <chasewu@google.com>
Change-Id: I54df53382e98887bebf1f986eb15c177f4459e72
2020-07-16 18:09:45 +08:00
Yanting Yang
919ea02a2d Add regulation e-label for ROW SKU of Redfin
Add ROW SKU (GTT9Q) regulation e-label.

Bug: 150906311
Test: visual
Change-Id: Idb10919f750cd9e43c053019cf316eadc3f5425f
2020-07-16 16:56:45 +08:00
Evan Laird
a855a9ec01 Remove overlay for status_bar_padding_left
Changes in R remove the usage of rounded_corner_content_padding when
there is a corner cutout. Therefore we don't need to set the padding
back to 0

Test: manual
Bug: 160374368
Change-Id: I6aa653b3a01c04d23ce0091934938d6b19df970f
2020-07-14 15:57:12 -04:00
TeYuan Wang
07780f8c5c thermal: monitor usbc virtual sensor from thermalhal
Bug: 147861290
Test: Verified by emul_temp
Change-Id: I7ef7275150ab8d8c4237d28bf45249a2ed9b6f8d
2020-07-14 15:05:43 +08:00
YiHo Cheng
4fe292220c thermal: Remove camera-critical tz
The sensor offset was introduced to resolve the correlation impact for
camera use cases so camera-critical tz is not required anymore.

Bug: 160294041
Test: check if camera-critical tz was removed.
Change-Id: I3a28e8d8f4619685d843a3a6d815bf3b272a0776
2020-07-14 14:51:13 +08:00
Alex Hong
c0bed9c86e Dump the debugfs information only in userdebug build
W/sh      (10769): type=1400 audit(0.0:416): avc: denied { read } for name="/" dev="dm-5" ino=2 scontext=u:r:hal_dumpstate_impl:s0 tcontext=u:object_r:rootfs:s0 tclass=dir permissive=0
W/sh      (10771): type=1400 audit(0.0:417): avc: denied { read } for name="/" dev="dm-5" ino=2 scontext=u:r:hal_dumpstate_impl:s0 tcontext=u:object_r:rootfs:s0 tclass=dir permissive=0

Bug: 160544144
Test: run cts -m CtsSecurityHostTestCases -t android.security.cts.SELinuxHostTest#testNoBugreportDenials
Change-Id: Ib10b9b0e959e86c6e96610015df93537102d7dde
2020-07-09 17:00:43 +08:00
Jason Hsu
d00d7bbf51 audio: update acdb table
- Disable WNR module in GENERAL_RECORDING APPTYPE for ACDB ID 61~66

Bug: 160764892
Test: Verified by H/W
Signed-off-by: Jason Hsu <jasonchhsu@google.com>
Change-Id: I11d1c655b097de1042561fbcabcb370e758337eb
2020-07-08 19:19:17 +08:00
Midas Chien
10cebb86c3 Merge "redfin: enable idle timer with kernel support" into rvc-d1-dev 2020-07-08 04:24:10 +00:00
Midas Chien
e408bbf6d5 redfin: enable idle timer with kernel support
Enable display kernel driver idle timer, which allows dropping to lower
refresh rate earlier and without additional overhead.

Bug: 160682800
Test: track idle timer through systrace
Test: zone test, scrolling
Change-Id: I6e82b58026d7b31cf0cabc0db7bb6277f6731d12
2020-07-08 00:13:12 +08:00
Jack Wu
500b0647da dumpstate: dump logbuffer_device in dumpstate
Bug: 159680802
Test: check dumpstate result
Signed-off-by: Jack Wu <wjack@google.com>
Change-Id: If10d5b654e4e39747a29cfd23fdf6b7b658a007d
2020-07-07 10:09:21 +08:00