Commit Graph

536 Commits

Author SHA1 Message Date
Nicole Huang 32aa43b1a7 Revert "Enable dark theme by defaut"
Revert submission 11049460-p20_dark_theme_by_default

Reason for revert: For P20 default dark mode will adopt the solution in b/154171431#comment19. System keep default light, let SUW to change the dark mode.
Reverted Changes:
I38c78a4ee:Enable dark theme by defaut
Ia3b0b43b5:Enable dark theme by defaut

Bug: 154171431
Change-Id: I04cc71a166093136ed2df5b16ad5e2a3a66af9fd
2020-05-29 21:22:18 +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
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
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
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
Jason Hsu 85edd0ccdd acdb: update acdb files
1. Sprint HANB/WB tuning
2. Sprint HHNB/WB TX parameters
3. Playback 153/514 MPPS modified
4.Short term for Line wrong acdb apply issue:
     merge HHRX parameter(14) to Cirrus_stereo(513)
5. HE parameter merge (Spirent's tuning) :
    a. Extend new sampling rate 8k/16k/32k in acdb 55 (original only 48k)
    b. Merge parameter from Voice condor to VOIP Condor (55/56)
    c. Merge parameter from 55/"56" to 19/"56"
6. Change BT topology to FM and adjust the parameters based on S5 tuning.
7. Including BT WB tuning parameter
8. HE enable DRC
9. HE/HH enable IIR
10. TMUS HANB/WB RX tuning

Bug: 152921223
Test: Verified by H/W
Signed-off-by: Jason Hsu <jasonchhsu@google.com>
Change-Id: Id9157695e34f232f697597e876085a4159294412
2020-05-29 21:21:54 +08:00
yixuanjiang 4ead6dab47 audio: seperate policy table
B5/R3 has different config on mic control

Bug: 152833071
Test: local test
Signed-off-by: yixuanjiang <yixuanjiang@google.com>
Change-Id: Ifefd633e3b533b233a882b696c669ee254322848
2020-05-29 21:21:53 +08:00
Robert Lee be5725bb3f audio: correct pcm id for speaker calibration usecase
Bug: 151568484
Test: builds
Change-Id: I819402d4510f6a1a663f913b5ca9ac4f0b13e834
Signed-off-by: Robert Lee <lerobert@google.com>
2020-05-29 21:21:52 +08:00
TreeHugger Robot ee9622af99 Merge "dump panel information in dumpstate_board" into rvc-dev
Change-Id: Id06405fa19f5da4b8406122244a761db1e3f28f0
Change-Id: I960ba250b3dd65fd0fef55225759ba9da49e8391
Change-Id: I074fc266279d29c88d254cb8823f8ef6ca13185f
Change-Id: I2082d4bc98116a3ffaa75d468b23d3e90b7b01c7
2020-05-29 21:21:51 +08:00
raylinhsu 2cdd2e37f3 dump panel information in dumpstate_board
add panel information to dumpstate_board.txt

Bug: 152169557
Test: adb bugreport and verify logs in dumpstate_board.txt
Change-Id: Ie86b738b2b2a2c214de2e74d2b46a0f96e703cd0
2020-05-29 21:21:51 +08:00
Midas Chien c08bdbff22 Merge "Revert "redfin: add display fps deferral"" into rvc-dev
Change-Id: Ia06c4f6fba4a1cf6b4e226f990551f89568ca4d6
Change-Id: I01e67222382281bc3c351a159bf047d96f25df5b
Change-Id: I82a9d231d171e80c048aab3a65890c042b870d7f
Change-Id: I806cbaaded9bf5f4cc9f8659b96915f37a7103c5
2020-05-29 21:21:50 +08:00
Bill Lin 3a3e31c0f1 Customize for S/W anti-aliasing of rounded corner on Redfin
1. H/W Camera center(77,77) and radius=39px, size(78x78)
2. Punch Edge (L,T,R,B): (42, 39, 120,39, 116)
3. Rounded corner edge 156x156 to prevent jegged edge
4. Redfin density ratio = 440 / 160 = 2.75
5. H/W corner radious are different between top & bottom

Test: manual
Bug: 143222961
Change-Id: Iad58b86101a4d5666d9aa7000d66ce33f3d40247
2020-05-29 21:21:49 +08:00
Midas Chien 382ef60709 Revert "redfin: add display fps deferral"
This reverts commit 81b59b8fc2c82f8206d88ef7480254937ecb2c73.

Reason for revert: HWComposer stuck at strategy_intf_->Reconfigure()

Bug: 152468927
Test: TouchLatency
Change-Id: I6dfd4591c07f999b794df2f9110c3e35296c3b93
2020-05-29 21:21:49 +08:00
TreeHugger Robot 0168963937 Merge "dumpstate: refactor DumpUFS" into rvc-dev
Change-Id: I37f0a8055919d63cb668d1d848658a93947a89dd
Change-Id: Ia7c4b229e2ea4d2041785fe9bb533fca5b66f28c
Change-Id: Iffb799340a60ae0779354fdbf3221a7058e32cf0
Change-Id: Ia7b32408f326ef0ac586bef5aa1c267512deaaf3
2020-05-29 21:21:47 +08:00
Leo Liou aa40533ec4 dumpstate: refactor DumpUFS
The DumpUFS function cannot work with the real sepolicy rules. So
refactor the function to fix the problem.

Bug: 149468879
Test: run bugreport
Change-Id: I9b260d18f4cc768cba98b64d76a149241e17c22b
Signed-off-by: Leo Liou <leoliou@google.com>
2020-05-29 21:21:47 +08:00
Gil Liu a1747d1885 Merge "[Display] R3: Set AOD dim brightness value" into rvc-dev
Change-Id: If239d7b032d3eb9c08bf8f95d7f8d5fa2ca6ff10
Change-Id: Ia7df38948f2d496265a7eac3791f0b18e1bf2161
Change-Id: Ifcc7b77c21636631b004dd395aeab62d4cc9c3d6
Change-Id: I623104722eeee51c32101b7d3f6115ffb709abd8
2020-05-29 21:21:46 +08:00
Gil 13f4b70139 [Display] R3: Set AOD dim brightness value
Set the AOD dim mode to brightness to 2 nits.

Bug: 142222142
Test: Boot test and measure brightness
Change-Id: Ie19ee2c89dd2eff10a1cd3c0efd868ac1851a4ef
2020-05-29 21:21:46 +08:00
Will Mcvicker b7386ae509 Merge "Revert^2 "Move kernel modules to vendor_boot partition"" into rvc-dev
Change-Id: I76d269695c4c959dfe9ca3725853041ad93e98c6
Change-Id: I5b9dee3b722de10d103b83ef46863d4927f96d4c
Change-Id: Ia811eb6f8b82dce84ac538ca34459fdde8c16a19
Change-Id: I7102dde2fc98b64016616769a957c6a2874ceba9
2020-05-29 21:21:45 +08:00
Jason Chiu e84de8d00f Revert^2 "Move kernel modules to vendor_boot partition"
a8e5090addf45b3ed0e573d8469ff9a0580e6471

Bug: 152010460
Change-Id: I487bfc5951e4c0b95a8a6d27612648949840696d
2020-05-29 21:21:44 +08:00
TreeHugger Robot 1b86f507f0 Merge "audio: support camcorder mic invert" into rvc-dev
Change-Id: Id3cdb0fed40feffedc4098ab3d11a44032e069c2
Change-Id: If1ebdd7bc5655998d178b52b593488091c59da30
Change-Id: Idbefd75a92dcbb46048a6e4e03c9db25004b6cd4
Change-Id: Id9922971729a0fc8c7a67fd6a649709903ee3777
2020-05-29 21:21:43 +08:00
Jason Hsu 7848d6ac4a audio: support camcorder mic invert
Bug: 151792923
Test: built pass

Signed-off-by: Jason Hsu <jasonchhsu@google.com>
Change-Id: Iccef58ae01048ce039e06f8ef43e6ffdd21d2205
2020-05-29 21:21:43 +08:00
Chase Wu 1b357cdfb5 Merge "vibrator: Add effects voltage limitation" into rvc-dev
Change-Id: I740adfcbc20169305a95e82f7ba998c2c755539b
Change-Id: I4bbcbb5cc290b242b3d0757233cc667acf4dd96c
Change-Id: I314a9270a5924cb502c275cb55f0ee6cae055468
Change-Id: If9c2b1f08f6c4f227029be5f6054c2f6997d47a9
2020-05-29 21:21:42 +08:00
chasewu 43b2f4a98c vibrator: Add effects voltage limitation
Bug: 151693863
Test: manual check od_clamp value
Signed-off-by: chasewu <chasewu@google.com>
Change-Id: Ic66a7e64a7ead1ab57edc4fbf516d5115ff066f6
2020-05-29 21:21:42 +08:00
Chase Wu 971205fdfc Merge "vibrator: Add a temperature awareness mechanism" into rvc-dev
Change-Id: I2f50ab6d567e96612319bb8945e01d2a589a689d
Change-Id: I818a9c27988de083905758cf8a21200ffdbc33b8
Change-Id: Ibc5f1c5c938e29e71bcdcd5578e7649eec8bc00a
Change-Id: Iee6fea0ed8c662f4e685b6935af257a8320f733b
2020-05-29 21:21:40 +08:00
chasewu 2f2d7e9d43 vibrator: Add a temperature awareness mechanism
From component reliability test results, the actuator
operating life is lower in low temperature.
Thus, we changed the voltage when device in a low
temperature to expand the actuator operating life.

Temperature rule:
> 10°C : Switch to "Normal Intensity" => Depends on each device's K file
5 ~ 10°C: This is a buffer period. Keep current voltage setting.
< 5°C: Switch to "Low Bound Intensity" => ~1.8 Vpeak(od_clamp=90), sine wave, F0-10.

Bug: 151063347
Test: remove vibrator properties and test VTS items
Signed-off-by: chasewu <chasewu@google.com>
Change-Id: Ie0d22e561aca94a3b61f5e42ddf50ca4a991bda2
2020-05-29 21:21:40 +08:00
Jason Chiu bdfe496e52 Revert "Move kernel modules to vendor_boot partition"
This reverts commit 425bbe0886725285a0b203f6d471b2b3de70062c.

Reason for revert: go/flash issue on flashing vendor_boot

Bug: 152010460
Change-Id: If82837ebf3b78c2b3e2394b890cece727306d934
2020-05-29 21:21:39 +08:00
Jason Chiu 342db2f661 Merge "Revert "Move kernel modules to vendor_boot partition"" into rvc-dev
Change-Id: I93bfd3f834ebba8cd6f474852be07bfb5ed9799c
Change-Id: I8c90ddbcf799a0b542dac65e4f2fe02a321af74c
Change-Id: I411f9f8fb491aaa5dc1a6f4e0b0a60ef884d59ae
Change-Id: Ic29c5652ee54da09d3ad2d736da13eb2944afc0f
2020-05-29 21:21:39 +08:00
TreeHugger Robot b64658e66d Merge "Move kernel modules to vendor_boot partition" into rvc-dev
Change-Id: I69004eb16369936a69110e3dbaf90b40ff5e276d
Change-Id: I5c0d22d8f0ac52c23659437a254acd305df7a96e
Change-Id: Ie62596001e011b563e154bffb330b0ee095feb45
Change-Id: I09b94325ebfd7b88c96f6780c9484e62a6e06bbf
2020-05-29 21:21:38 +08:00
Will McVicker 1f90cea959 Move kernel modules to vendor_boot partition
Add all the kernel modules to the vendor_boot partition at first.

TODO: Need to split up the kernel modules to only store the first stage
init modules in the vendor_boot partition.

Signed-off-by: Will McVicker <willmcvicker@google.com>
Fixes: 151949371
Bug: 151950334
Test: boot redfin, verify modules load via lsmod
Change-Id: I94c9cd3f730098729eebaff22b8689be9fe16633
2020-05-29 21:21:37 +08:00
Daniel Bright c59f45e9cc Merge "Rollback telephony-resources" into rvc-dev
Change-Id: Iabcf17021d610d094fad0324b53acfbbc4bfe9ef
Change-Id: Id602a753d7ae1ef959be279bc1d7c79c0667debc
Change-Id: I49426ad4b2854373d5a3d5bc58e7c76343ae4d89
Change-Id: I6d8388c1aebe1898c6bfe8b675dfad22935af0a5
2020-05-29 21:21:36 +08:00
Daniel Bright 14a8cf7a31 Rollback telephony-resources
Bug: 149776042
Test: TeleServiceTests
Change-Id: I7fcb2af4a63227ba834a3c1aedced9aa9ef30245
Merged-In: I7fcb2af4a63227ba834a3c1aedced9aa9ef30245
(cherry picked from commit a269cee5372ce25a7c1688b66fe5668de178a60a)
2020-05-29 21:21:36 +08:00
Gil Liu 02c69f3e97 Merge "[Display] Set R3 Default Brightness on 144 nits" into rvc-dev
Change-Id: I84c70e9204b7ced48d8d9b88e1c97620e26084d8
Change-Id: I254f8a0c77cb58204a9c61f2a1d20f517071b9f3
Change-Id: Ia6d5721f7758856e3645465be45d8f15f5e9dadb
Change-Id: I5bba5ec6abf7cd459fde61aebaaef38e93a7f6e3
2020-05-29 21:21:35 +08:00
Gil 1046d83595 [Display] Set R3 Default Brightness on 144 nits
Set default brightness to 144 nits that sync from previous projects.
144/(498/255) = 74, 74/255 = 0.29019607843

Bug: 151197636
Test: Boot test
Change-Id: I31865499b821531d70eb2cc7eba4944731e713f3
2020-05-29 21:21:34 +08:00
Lee Chou 80abb80a10 Added MMS UA profile for R3
Test: make dist
Bug: 145646173
Change-Id: Id0a023594fd9c85547363ddd30ccc0157c678bc6
2020-05-29 21:21:33 +08:00
Midas Chien 81b18483f1 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: 144749607
Test: check bus voting during refresh rate switching
Change-Id: Iccaf74616baf64bfe9b2e21957d9e19a43915eb3
2020-05-29 21:21:32 +08:00
Midas Chien d62704a947 Merge "redfin: add display fps deferral" into rvc-dev
Change-Id: I3472f93bea69c2d5ebb610d348840a53366c4cd9
Change-Id: I41c5fff2078a974648f6d4ac39423844bbb8d57f
Change-Id: I3fed887ba79a0646698a724977d40a0b29a1d7c3
Change-Id: I3172ed7ae874f5bc2cc9fd4e94a80eee4cc18b6d
2020-05-29 21:21:32 +08:00
Yanting Yang b491d01dd9 Merge "Add Japan regulatory label for Redfin Field Trials" into rvc-dev
Change-Id: Icb2dd2714590af9f029bc767f5110c5c61492bd0
Change-Id: I5aa380dcc3d3f79579f9cf2dce782e59061e61f3
Change-Id: If087c62a07accf049e8f9877330c226bc22d022b
Change-Id: I93b382f2ece055106c96f10abed434599f4679f9
2020-05-29 21:21:31 +08:00
Yanting Yang ad6fb82019 Add Japan regulatory label for Redfin Field Trials
Fixes: 151150203
Test: Visual
Change-Id: Ida77fa8418131f20f477f618506b41ea090c03fd
2020-05-29 21:21:31 +08:00
Automerger Merge Worker 9c8ec719e6 Merge "Add SecureNfc support for R3 japan sku" into qt-qpr1-dev am: cb99f4e53c
Change-Id: Iaddc2c9ce602ed7f328842c78f7d9cf87dd1cedb
2020-05-29 21:21:30 +08:00
TreeHugger Robot 1d87d4b85a Merge "Add SecureNfc support for R3 japan sku" into qt-qpr1-dev
Change-Id: I36360f5d5d91fbc82346a1140cffc754a355a620
2020-05-29 21:21:29 +08:00
George Chang 1d7d1b6814 Add SecureNfc support for R3 japan sku
Bug: 151578120
Test: check settings UI
Change-Id: I918d0b0dc18f3cb3132e78802c26f90ee0908a87
2020-05-29 21:21:29 +08:00
Automerger Merge Worker 55945f5b0f Merge "thermal: adjust thermalhal threshold according to P1.1 test result" into qt-qpr1-dev am: b29bd88371
Change-Id: I778099e2336dca13e8459ed076d44d040ed747e1
2020-05-29 21:21:27 +08:00
TreeHugger Robot e3e33f4512 Merge "thermal: adjust thermalhal threshold according to P1.1 test result" into qt-qpr1-dev
Change-Id: I2a8c6fdde225d30c324cc01b0c92cfbce8c4f7a6
2020-05-29 21:21:26 +08:00
TeYuan Wang 161a2e117a thermal: adjust thermalhal threshold according to P1.1 test result
Bug: 150352904
Test: verified by emul_temp
Change-Id: I8a99bdb8ef578040f8cd94b15b2f51d910be4bbd
Signed-off-by: TeYuan Wang <kamewang@google.com>
2020-05-29 21:21:26 +08:00
Ocean Chen e3dfbf570f Merge "Dumpstate: add f2fs info and remove too specific fragmentation info" into rvc-dev
Change-Id: I5489d4dd25cc29ff01080de2daab39353944c4be
Change-Id: I9da7bad20f0ae7d34a17aa107ba08a34f514d6a9
Change-Id: I678871172bcda20777e756475833dd75dedf705a
Change-Id: Ic0c9ae80c05b6cc16fa5d0cfef4bbe00e47de130
2020-05-29 21:21:25 +08:00
Jaegeuk Kim c10af43028 Dumpstate: add f2fs info and remove too specific fragmentation info
Bug: 149844577

Signed-off-by: Jaegeuk Kim <jaegeuk@google.com>
Signed-off-by: Ocean Chen <oceanchen@google.com>
Change-Id: Id05aaa58118e3d12b4e2734e3014e586e33ee84d
2020-05-29 21:21:25 +08:00
Automerger Merge Worker bd278818e4 acdb: update acdb files am: 13921e9790
Change-Id: I2e638c2ed87ac44599fb125761c8ac06677f07c8
2020-05-29 21:21:24 +08:00
Jason Hsu 2bb9f0368f acdb: update acdb files
1. Handset NB/WB/SWB/FB  for P1.1 panel speaker tuning
2. ID 61~66
   - Remove sampling rate 8kHz, 16kHz, and 32kHz.
   - Change the TOPOLOGY in APPTYPE - COMPRESS_OFFLOAD_24BIT
from GTW_SURAZ to AUDIO_TX_STEREO_COPP
   - Change the TOPOLOGY in APPTYPE - RECORD_24BIT & RECORD_32BIT
from AUDIO_TX_STEREO_COPP to GTW_SURAZ
   - Update the parameters in TOPOLOGY - GTW_SURAZ

Bug: 151387242
Change-Id: Iff958b27f93847e6362fc9f23c7c0eed400872d6
Signed-off-by: Jason Hsu <jasonchhsu@google.com>
Test: verified by H/W
2020-05-29 21:21:23 +08:00
Jason Hsu 324c728146 audio: sync audio table
correct mic channel mapping setting

Bug: 151389403
Test: Manual test audio basic function and solo test tool

Signed-off-by: Jason Hsu <jasonchhsu@google.com>
Change-Id: I7ac3f934d8b3dc42dbb4af88bfaae72a8e045bc0
2020-05-29 21:21:22 +08:00