Commit Graph

1240 Commits

Author SHA1 Message Date
TreeHugger Robot 368a4806b4 Merge "Extract regulatory_info into RRO" into rvc-dev am: fa507d7965
Change-Id: Id1e35a07dde00e3f28966353ccafb7676838d03b
2020-05-29 21:22:15 +08:00
Will McVicker 41233cadde init: fix setprop spelling error
Fix spelling setporp to setprop.

Bug: 155357559
Test: compile, boot redfin
Change-Id: I40ae48660548ca7761d585be5ebdb8f2d2f126de
2020-05-29 21:22:15 +08:00
TreeHugger Robot d88eb11780 Merge "Extract regulatory_info into RRO" into rvc-dev
Change-Id: I3c68c8448efacb769186c95a70ecd2df221653b7
Change-Id: I660cd5815644606562b81a97eefcc3d25dd6b211
Change-Id: I7210d499c791608ab0df2ed129f0f0cea073a81f
Change-Id: I7f7e8e790a6301f41f5553ddb34d765c57b97562
2020-05-29 21:22:14 +08:00
Jeongik Cha 46f60ac795 Extract regulatory_info into RRO
Bug: 152926806
Test: Set sku value, and check if settings show proper info image according to sku
Change-Id: I34651b0117415b00d4c9c6d03ee30b73533c9232
2020-05-29 21:22:14 +08:00
Peter Wang 71177ca498 Merge "Add 5G RAT for bramble and redfin" into rvc-dev
Change-Id: I7978bf9eee19b56f7984e479b678edfc24a6eb9a
Change-Id: I45db7a4aae2511e97dd484614c812e77b11a158c
Change-Id: Ibebb72a186e163449ac9a197ecffd3d27bdb72bd
Change-Id: I61f6358bce5ce6ad372dd4e41cedf3137a15586a
2020-05-29 21:22:13 +08:00
Peter Wang 103f05c226 Merge "Add 5G RAT for bramble and redfin" into rvc-dev am: 2ffeb6d6b8
Change-Id: I6c69a3e6bd82e3d2d06e1a679a347524507bc5d2
2020-05-29 21:22:13 +08:00
Peter Wang fe86431138 Add 5G RAT for bramble and redfin
Bug: 151964705
Fix: 151964705
Test: Build
Change-Id: I93d5bd43c8728eef9da5d0a6fd71ac7053c1c083
2020-05-29 21:22:12 +08:00
TreeHugger Robot e022ebcc1f Merge "Add new latch threshold for Redfin prox sensor." into rvc-d1-dev
Change-Id: I6864205864c89a6c6c7ce52f79b4cbf987abed19
Change-Id: I7e98a697229973eebe4af3ada20c322379a090db
Change-Id: I80d286ca8aaba4a994c55195ac931938b6ee2a90
Change-Id: Ic5b71b479f00bb6aaac8c3dfcc9204718397df4b
2020-05-29 21:22:12 +08:00
Dave Mankoff 588e479325 Add new latch threshold for Redfin prox sensor.
Bug: 147026387
Test: manual.
Change-Id: Ib034b7e55a5381a8ea0c82adbeaa2b334d04e40e
2020-05-29 21:22:12 +08:00
TreeHugger Robot fae0e0cf5f Merge changes from topic "b5r3_disable_debugfs_in_production" into rvc-d1-dev
* changes:
  Add module.load selection for user build
  Add modules.load to set the modules load order
Change-Id: I10f27269bda2747feda4d3ee625ae89261160029
Change-Id: I9bc8f7f57072880313d1607852d3e87a8a6f4704
Change-Id: I23103651fb4c80d7719afd8de5d136f082d424ba
Change-Id: I02a5436035a41f655ba383d0b80628548a4159b1
2020-05-29 21:22:11 +08:00
Chenglu Lin aed51fbaea Add module.load selection for user build
Also select dtb from performance kernel.

Bug: 149437148
Test: check contents of $OUT/vendor-ramdisk/lib/modules/modules.load
Change-Id: I4cd507a84a7a6dc5966ff7e67e4824dfa98f9bfa
2020-05-29 21:22:11 +08:00
Midas Chien fb818e71b6 Merge "redfin: add display fps deferral" into rvc-d1-dev
Change-Id: Ieed16749cc835232aab1d58e6408204a17ffce18
Change-Id: I5b0a9d9904a4913e61213d7758ffe07595af017f
Change-Id: Ie634d3be926e1d9e8dfecf271a6492ab9c684746
Change-Id: I32d9a48164c79f5266c591327fcda39dea60beaa
2020-05-29 21:22:10 +08:00
Chenglu Lin ce6bc0cd8d Add modules.load to set the modules load order
The modules.load file from the kernel build defines the module load
order in kernel Makefile order. We can set
BOARD_VENDOR_RAMDISK_KERNEL_MODULES_LOAD to the contents of this file.

Bug: 152080906
Test: check contents of $OUT/vendor-ramdisk/lib/modules/modules.load
Signed-off-by: Chenglu Lin <chenglulin@google.com>
Change-Id: I45327c29e29d53fc695611473c01fab4ee87844a
2020-05-29 21:22:10 +08:00
Jason Hsu 77b2387786 audio: enable devicestate_listener feature on redfin
Bug: 141128522
Test: manual test
Signed-off-by: Jason Hsu <jasonchhsu@google.com>
Change-Id: I502bf647f140534d9225c6c0582011e52ea11f7b
Signed-off-by: emilchung <emilchung@google.com>
2020-05-29 21:22:09 +08:00
Jason Hsu 893dad9288 audio: enable devicestate_listener feature on redfin am: 3e520d4ffd
Change-Id: Id998753bccab1ae2e54d598383333b4ccc17c40d
2020-05-29 21:22:09 +08:00
Midas Chien 52bcc2dcc1 redfin: add display fps deferral
The FPS deferral property allows deferring clock/bandwidth votes
when switching from high refresh rate to low in case hardware
takes some extra time to change refresh rate.

Bug: 152468927
Bug: 154607334
Test: 60/90 switching, no noise line
Test: systrace to check vsync period
Change-Id: I47284578d13c203b14b3213081faf258dd9a542b
2020-05-29 21:22:09 +08:00
Chase Wu 92cb177678 Merge changes I0ac830e0,I66a7adf5 into rvc-d1-dev
* changes:
  vibrator: Update 1st version haptics tuning result
  vibrator: Support external target G input
Change-Id: Ie7d4f9e73540e8bcf20613c672bcdeb5ed4d7135
Change-Id: I01ff138edf23ef071f0bdf3744e07a881d38e2aa
Change-Id: I3736554b5bcdb9f5df4bde9b2ea17f474cd37957
Change-Id: Ife37f1d9812bd3c5676f942172376020cdd24469
2020-05-29 21:22:08 +08:00
Chenglu Lin 15722ff935 Select performance kernel for user build
CONFIG_DEBUG_FS is not allowed to be enabled as kernel config
in user builds but is allowed for userdebug builds. Disable
CONFIG_DEBUG_FS in performance kernel and select it for user build.

Bug: 149437148
Test: compile and check kernel config
Change-Id: I184287a0c92b126c8b0d68fa6fdea5e4be48f419
2020-05-29 21:22:08 +08:00
linpeter c4df36cf1e Update the adaptive brightness curve to -1 sigma
According to user survey data, the new brightness curve addressed user
preference in low brightness areas and enhanced those areas. The max
brightness of panel is 500 nits, so set 600.0 nits for the 10,000 lux.

Bug: 153696528

Test: Check brightness table
Change-Id: Ibedc1b1e46f5fef61525076e142bc65d22864866
2020-05-29 21:22:07 +08:00
chasewu ccacf4a4ab vibrator: Update 1st version haptics tuning result
Click 1: 0.15g
Click 2: 0.27g
Click 3: 0.32g
Click 4: 0.48g
Click 5: 0.62g
High motion: 1.2g
Non-motion: 0.4g

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

Bug: 151275921
Test: UT member test
Signed-off-by: chasewu <chasewu@google.com>
Change-Id: I0ac830e030916524333fa7654f678235130c11b7
2020-05-29 21:22:07 +08:00
chasewu 42619ce0af vibrator: Support external target G input
Due to factory request, I add this support to
calibration process flow.

Bug: 154684508
Test: local push cal file to check the value
Signed-off-by: chasewu <chasewu@google.com>
Change-Id: I66a7adf5cc0c5515a13b532c6a341601ad8ac1cd
2020-05-29 21:22:07 +08:00
Dave Mankoff ae7d8157b6 Enable secondary prox sensor for redfin.
Bug: 147026387
Test: manual
Change-Id: Idc5bd0c3050aa5fda9c7f0ed317b991ba6593742
2020-05-29 21:22:06 +08:00
justinweng 46c2512e64 acdb: update acdb files am: ac2fae4bf9
Change-Id: I490e0274445b1414066d4622cc597365dc739184
2020-05-29 21:22:06 +08:00
justinweng 3fa98a60a1 acdb: update acdb files
1. MPPS / BW for HAWB
2. EVT adjustment
3. Use Generic HA settings for Sprint's HA id
4. HE SWB optimize
5. HA NB/WB/SWB/FB TX preEQ
6. HH FB TX pre EQ
7. ATT fine tune - HAWB:RX, HANB: TX/RX

Bug: 154786220
Test: Verified by H/W

Signed-off-by: justinweng <justinweng@google.com>
Change-Id: Ifd852267a1642ce5d7fd1d93f1a976d1a31bf214
2020-05-29 21:22:05 +08:00
TeYuan Wang 27c7f426bc thermal: adjust hyst threshold to align with thermal core CPU throttling
Bug: 153850974
Test: verified thermalhal notification with emul temp
Change-Id: I89e6bccd66c6b85d015d85fbafcb64445ad11500
Signed-off-by: TeYuan Wang <kamewang@google.com>
2020-05-29 21:22:05 +08:00
TreeHugger Robot 84126bc9a0 Merge "vibrator: Remove redundant logs" into rvc-d1-dev
Change-Id: I6120de5759a86fbccf54808fdf24e7aac6399c2e
Change-Id: I1b3481db76c2236eae3792d13574797a4ef5b135
Change-Id: Ia8a68ee0ae9bc4773815f7c0ccd0dbc89c01fde7
Change-Id: I11623812ff70dc7f5bdf31569f4517069b56fd0c
2020-05-29 21:22:04 +08:00
linpeter c293417064 Display: Update the default adaptive brightness curve
Bug: 153696528

Test: Check brightness table
Change-Id: I504c4ff7d74873d96f9c6917631d07b2cb5622d8
2020-05-29 21:22:04 +08:00
chasewu 074b4896f9 vibrator: Remove redundant logs
Those sensor logs are experimential for a while.

Bug: 154279225
Test: manual check logs
Signed-off-by: chasewu <chasewu@google.com>
Change-Id: I60ddbf80ae7dd9ce5a86fcadfc4e7720954e4e0e
2020-05-29 21:22:04 +08:00
Justin Weng e0b58b98c3 Merge "audio: update audio_platform_info table" into rvc-dev
Change-Id: I9818636e62b30e283d31cd4e5c0781c79e51f095
Change-Id: Ib06c1be3dbca105a1f5114e8626a58994594963b
Change-Id: Idd35b2a6a73036bfba0b2450d9356229a458bf75
Change-Id: I3e2025206f262da10ae074d987337d8a4bfb523e
2020-05-29 21:22:03 +08:00
Justin Weng 2479083703 Merge "audio: update audio_platform_info table" into rvc-dev am: 516c62489e
Change-Id: I157856c2bff40559cf9d4fb7995076bc465211bc
2020-05-29 21:22:03 +08:00
justinweng e4347f4df3 audio: update audio_platform_info table
Add backend for speaker and bluetooth headset
Separate backend name between handset and speaker

Bug: 149062941
Test: ringtone and voice call

Signed-off-by: justinweng <justinweng@google.com>
Change-Id: Iaecf1659193859025bf01258afd3018ceefeb488
2020-05-29 21:22:02 +08:00
juyuchen 017d2709ae audio: update the cs35l41 revB2 bin file am: 1a4659e31d
Change-Id: I11e44aa6a3903e0b1cca277f873fd983ea12fe4e
2020-05-29 21:22:02 +08:00
juyuchen b5b438b35f audio: update the cs35l41 revB2 bin file
The change is a minor tweak to account for the back volume change in EVT and
is the result of more extensive characterization - spread of F0 and 6 examples.

Bug: 153898943
Test: manual audio tests.

Signed-off-by: juyuchen <juyuchen@google.com>
Change-Id: Ia5f1067f5ed01a29a9a036cff701d6a3044899b7
2020-05-29 21:22:01 +08:00
chasewu 893543e1b2 vibrator: Fix wrong strength setting
In motion awareness function, it was expected to use
previous sensor data to apply motion or non-motion
strength within 2 secs.
However, it used the default value which is 0 to determine
the strength.

Bug: 153830649
Bug: 153934655
Test: UT and local test
Signed-off-by: chasewu <chasewu@google.com>
Change-Id: Ic12512a9635d95c42bbe52ad92a0ad603af4081b
2020-05-29 21:22:01 +08:00
Jay Aliomer 2b9f9a662d Enable dark theme by defaut am: 9a47424e96
Change-Id: I14da4f9561a56b592698c9fc30ef8795c92f631d
2020-05-29 21:22:01 +08:00
Jay Aliomer 080c1f37ee Enable dark theme by defaut
Change config to enable dark theme by default

Fixes: 153999803
Test: manually rest phone
Change-Id: I38c78a4ee9497369c38a3427f30ae3c018e556f9
2020-05-29 21:22:00 +08:00
TreeHugger Robot e9bd90af53 Merge "vibrator: Sync up the delta from leading project" into rvc-d1-dev
Change-Id: Id0cbd2968b711a713b3a9693478f751072851f91
Change-Id: I963a352cda01665e0738a58ff94b182b06df775a
Change-Id: I7e627d26f888477bb3d5041b6f58696432ac36b4
Change-Id: Iabe7829fd39b0f779b2cf83c683f18248ef0afb2
2020-05-29 21:22:00 +08:00
Bill Yi 7b2e669081 Add ims and QtiTelephonyservice prebuilts
TEST: build
BUG: 147820999
Change-Id: I952ec25e2c5641ee78847ff0d9cfa537e61d79e8
2020-05-29 21:21:59 +08:00
chasewu aeea8a8447 vibrator: Sync up the delta from leading project
1. Add motion awareness
2. Switch from HIDL to AIDL

Bug: 148249136
Bug: 150916170
Bug: 150737103
Test: VTS, Unit Test
Signed-off-by: chasewu <chasewu@google.com>
Change-Id: I50e317d880ca9d01bf3eff16b754c9dc91617b49
2020-05-29 21:21:59 +08:00
George Chang a1e728ef20 Enable an improvement feature when NFC tag dispatch failed am: 451a96f698
Change-Id: Ib41684bed4edf18e837b99c0bda6ca560f75c1ae
2020-05-29 21:21:59 +08:00
George Chang a302e64abc Enable an improvement feature when NFC tag dispatch failed
Bug: 151708408
Bug: 149273649
Test: manual
Change-Id: I82324bc428bc82cc104e7834ffe3dfab791a8e4a
2020-05-29 21:21:58 +08:00
TreeHugger Robot 7ac4117b8e Merge "thermal: remove QC thermal-engine" into rvc-d1-dev
Change-Id: I4a324837709416e2aae37aada34003cd0c85ce80
Change-Id: I95c787cf43262085045d6b5e5c4c77bbf2da8010
Change-Id: Id866c4120390dcb00e0848775512531b4579367b
Change-Id: I548c25ce7cbbb703e9f3d613329830521521d277
2020-05-29 21:21:58 +08:00
juyuchen e519f201e5 audio: update pcmid on speaker calib tx and rx usecase
Bug: 153495182
Bug: 153403319
Test: manual audio tests.

Signed-off-by: juyuchen <juyuchen@google.com>
Change-Id: Idd932025104a4d167515d4c0ebc998796002f21a
2020-05-29 21:21:57 +08:00
juyuchen 2ce1631d7c audio: update pcmid on speaker calib tx and rx usecase am: 9158453bc1
Change-Id: Iec99cd71b6404b88db94a2ba3516dda38e690cc7
2020-05-29 21:21:57 +08:00
TeYuan Wang 9166968a6a thermal: remove QC thermal-engine
Remove QC thermal-engine because we migrate thermal throttling to thermal core driver

Bug: 119196930
Test: confirm thermal-engine related files are removed
Change-Id: Ibb218e696f4bfdc6f709698a2cf7cb11f05073d6
Signed-off-by: TeYuan Wang <kamewang@google.com>
2020-05-29 21:21:57 +08:00
TeYuan Wang d9effae456 thermal: add cellular-emergency thermal zone in thermlhal config
define cellular-emergency thermal zone as POWER_AMPLIFIER TYPE
for limited service throttling

Bug: 151359760
Test: pts-tradefed run pts -m PtsThermalHalTestCases
      cellular-emergency thermal zone can be enabled/disabled by persist.vendor.disable.thermal.control
Change-Id: I2c9140358df9054d21d511296d32c93e10c0b570
2020-05-29 21:21:56 +08:00
TreeHugger Robot 3f35e78887 Merge changes from topic "update redfin table" into rvc-dev am: 5172d9a07a
Change-Id: I54aec7f3cc53f3a7a87e33c2984bb75bad736162
2020-05-29 21:21:56 +08:00
TreeHugger Robot 2d4376d49d Merge changes from topic "update redfin table" into rvc-dev
* changes:
  audio: update audio_platform_info table
  acdb: update acdb files
Change-Id: I2759a415e7bfc7c0bb629a5cbbb82b48d77dd4af
Change-Id: I4868f890df1c35580590ca988d5b5759619f8e44
Change-Id: I75e68ec9d8a45663bcbd1da83cd5463addf49137
Change-Id: I632e1be6109a82e25e3dd9a05da6a0dd63575ffe
2020-05-29 21:21:55 +08:00
Jason Hsu f17858c9da audio: update audio_platform_info table
1. Modify headphone RX acdb id:
      <device name="SND_DEVICE_OUT_VOICE_USB_HEADPHONES" acdb_id="10"/> -->
      <device name="SND_DEVICE_OUT_VOICE_USB_HEADPHONES" acdb_id="56"/>

 2. Add Condor with mic acdb id in VOIP:
                <!-- condor_VOIP-->
                <ext_device name="SND_DEVICE_IN_USB_HEADSET_MIC_AEC" usbid="18d1:5034" acdb_id="55" />

Bug: 152717319
Test: Verified by H/W
Signed-off-by: Jason Hsu <jasonchhsu@google.com>
Change-Id: I71b3a228777587e65e0c128922dde4150b0d7b78
2020-05-29 21:21:55 +08:00
Bill Yi aed67d7e20 Add vendor blobs support for redfin
TEST: build
BUG: 147820999
Change-Id: I2a43741654c1481b3eaf192094fb802312ad0422
2020-05-29 21:21:54 +08:00