Commit Graph

206 Commits

Author SHA1 Message Date
TreeHugger Robot
9c81affa09 Merge "audio: config: add mixer control for speaker-swap" into oc-dr1-dev 2017-07-07 04:51:58 +00:00
TreeHugger Robot
073dd87c97 Merge changes from topic 'nci-2.0' into oc-dr1-dev
* changes:
  NCI 2.0 libnfc-nxp changes
  taimen: NFC: update rf values
2017-07-06 22:39:45 +00:00
taeho.youn
6e6c88dab1 audio: sidetone and VoIP tuning
- VoIP handset spk analog gain 97->93
- enable handset sidetone

Bug: 62826294
Test: audio sanity test
Change-Id: Ie4a0c92a445589f4345f5a902373d21b0f52a14e
Signed-off-by: David Lin <dtwlin@google.com>
2017-07-06 03:11:38 +00:00
TreeHugger Robot
5171f2aac8 Merge "audio: volume curve tuning for system sounds in call" into oc-dr1-dev 2017-07-06 03:11:17 +00:00
TreeHugger Robot
2483886422 Merge "Make thermal throttling more aggressive" into oc-dr1-dev 2017-07-05 22:50:12 +00:00
vivek mehta
3a84e09d16 audio: config: add mixer control for speaker-swap
This inits the default speaker swap channel.

Bug: 62337071
Test: audio sanity test
Change-Id: Ia53afb4841060ffa3d92cee5c7eb3372a092e2ed
2017-07-05 14:35:36 -07:00
taeho.youn
833eeb5197 audio: volume curve tuning for system sounds in call
The intervals(dB) by Ringtone/Alarm/Notification are too small to be recognized.
the gap between each step 3dB -> 4.3dB.

Bug: 62826294
Test: notification playback at different volume steps
Change-Id: I02180a71878be65d1d2a976b42ba7c768e903a80
2017-07-05 14:34:10 -07:00
John Dias
6b5c4e3b4d Make thermal throttling more aggressive
For normal mode, make throttling more aggressive on Taimen,
in line with tuning on our other devices.
For VR mode, add an aggressive throttle just before shutdown.

Bug: 36458508
Bug: 37544246
Test: Booted, checked throttling with adjusted temps
Change-Id: Ia192535ed305cd6e8e1fbae4c53a7b4b7e3e8c23
2017-07-05 13:47:38 -07:00
TreeHugger Robot
fa421c16cb Merge "Remove IMU cad calibration file" into oc-dr1-dev 2017-06-30 23:50:42 +00:00
Ruchi Kandoi
ff14c3bc9c NCI 2.0 libnfc-nxp changes
Bug: 63146248
Test: Android Beam, Nfc Tag and payments
Change-Id: I12a74e2fb6ef0c853575f931b9bf83cd8f8c3648
2017-06-29 18:35:07 -07:00
hyunho.koh
0e317bb3a3 taimen: NFC: update rf values
a. DCDC outut 5V->5.25V
b. Card mode config add(Mode1(28), FDT(7F->7E), TX1/TX2 = F4/F4
c. DLMA(dynamic LMA) add
d. releated R/W(Hybrid LPM)
e. Mode2 - > Mode1
f. DLMA(dynamic LMA) off
g. Hybrid mode -> advanced LPCD mode

Bug: 63146248
Test: Basic Nfc Functionality
Change-Id: Iac945bb0ccc85f7711ba02a774c3e9b163e80758
2017-06-29 18:31:56 -07:00
Ranjith Kagathi Ananda
30d1312b77 Remove IMU cad calibration file
Remove the cad calibration file and use only factory calibration
file.

Test: Tested on Taimen

BUG=63146009

Change-Id: I3cf1a0084723b925eaa358830f76d48da0841b4e
2017-06-29 16:57:59 -07:00
Glenn Kasten
e49af3bf4d Reduce USB audio latency on Walleye only
No change in latency for Taimen

Bug: 62375603
Test: Loopback shows reduction and no glitches on Walleye, no change on Taimen
Change-Id: I6dc85ecdc825462acb4e1cda3227fb4d4f93c56e
2017-06-27 16:03:05 -07:00
TreeHugger Robot
ac1e78303a Merge "audio: Update configuration for VoIP" into oc-dr1-dev 2017-06-27 20:34:09 +00:00
TreeHugger Robot
a85a6e4aaf Merge "Fix autobrightness control points." into oc-dr1-dev 2017-06-27 02:28:46 +00:00
taeho.youn
e490d1eb4b audio: Update configuration for VoIP
- VOIP mixer Tx gain
- set app type for VoIP
- set acdb_id for VoIP speaker
- set echo reference for VoIP speaker

Bug: 62826294
Test: audio sanity test
Change-Id: I8c05d666d3b4fe8719419d3dde7954e91201397b
2017-06-26 17:59:58 -07:00
Michael Wright
4e1bf7e542 Fix autobrightness control points.
The control points from another device were directly copied over to
Taimen, but Taimen's display's display has a very different mapping
between backlight value and actual produced brightness. These new values
bring it inline without our ML learned curve compensating for this fact.

The one difference here is that Taimen can go brighter than the devices
the model was trained on so an additional point was introduced. Based on
visual inspection the curve looks almost exactly linear in the last few
points before it hits the ceiling, so the final point is just a linear
extrapolation from Marlin's final two control points to Taimen's maximum
brightness.

Note also that Taimen's display can't be set above 223 in normal use.
Every value about this is an "overdrive" setting and greatly increases
the risk of burn-in not to mention using significantly more power.

Bug: 62027049
Test: manual
Change-Id: Iad725edd7adbe4505fd13237a6cb3aa2efd9bbcf
2017-06-27 00:56:32 +01:00
TreeHugger Robot
50727d97e4 Merge "taimen: Add property of demo_mode for lge_battery" into oc-dr1-dev 2017-06-26 19:46:28 +00:00
Ecco Park
24a4464005 Merge "wifi: Remove obsolete cfg.ini items" into oc-dr1-dev 2017-06-26 17:42:05 +00:00
eunsoo.na
dcbb8b232c taimen: Add property of demo_mode for lge_battery
Bug: 37263971
Bug: 38486620
Change-Id: I2c8617c56799d752c8ca18ea8ccc6d0a3eab0620
Signed-off-by: sodam89.kim <sodam89.kim@lge.com>
Signed-off-by: eunsoo.na <eunsoo.na@lge.com>
2017-06-26 10:40:53 -07:00
Ecco Park
4a6251e1f9 wifi: Remove obsolete cfg.ini items
1. Remove obsolete cfg.ini items
2. g_enable_probereq_whitelist_ies=1

Bug: 62877729

Change-Id: Ifb02bf2f1b290e624dc455c34251fc4cf374e697
Signed-off-by: Ecco Park <eccopark@google.com>
2017-06-23 21:30:03 +00:00
Tao Bao
b540c45ae2 Define rounded corner setting for recovery.
Bug: 62732748
Test: Boot into recovery; check that recovery menu and 'View recovery
      logs' don't have obscured text.
Change-Id: I03387573a4e474bff7d823f5390acef61a9312e8
(cherry picked from commit 174e936f52)
2017-06-23 09:39:09 -07:00
Haynes Mathew George
c5222db05d audio_platform_info: Update pcm devices for MMAP usecase
Use MultiMedia3 FE

Bug: 33398120
Test: verified MMAP capture and playback with AAudio
Change-Id: I2e1873c6b173031da8afb28530745f7419734238
2017-06-21 15:20:03 -07:00
TreeHugger Robot
51711f4ab9 Merge "Change i/o scheduler back to cfq" into oc-dr1-dev 2017-06-21 02:02:41 +00:00
John Dias
11c3c975d3 Change i/o scheduler back to cfq
With noop scheduler, I see dramatic jank with an irritant i/o thread;
going back to cfq, which doesn't have nearly the same negative impact
on UX.

Bug: 62375787
Test: boot, scroll a lot
Change-Id: I6a544075a7ae71830e8ea9cb6a594dd062941f35
2017-06-20 17:15:28 -07:00
TreeHugger Robot
9fca8d4a0b Merge "Fix hwui settings" into oc-dr1-dev 2017-06-20 06:30:45 +00:00
TreeHugger Robot
8828ec84ae Merge "taimen: audio: configuration for TTY device" into oc-dr1-dev 2017-06-20 03:18:29 +00:00
John Dias
c9c0eb7264 Fix hwui settings
Bug: 62375787
Test: boot and basic use
Change-Id: I79216efdadfa929d0b60872ed5d137dbd5e62dcc
2017-06-19 17:23:00 -07:00
TreeHugger Robot
ea2e42bc99 Merge "Enable scan probe Information Element Whitelist" into oc-dr1-dev 2017-06-19 20:30:36 +00:00
taeho.youn
dc1a7457f8 taimen: audio: configuration for TTY device
Bug: 62249703
Test: audio sanity test
Change-Id: If5221697fd06ebdea310324434d8f063275dc259
Signed-off-by: taeho.youn <taeho.youn@lge.com>
Signed-off-by: David Lin <dtwlin@google.com>
2017-06-19 11:58:10 -07:00
TreeHugger Robot
f59d573421 Merge "audio: set BE name for speaker and usb combo device" into oc-dr1-dev 2017-06-17 04:48:24 +00:00
Jack He
2ef40488a8 Add speaker + bt-sco combo device
* Add path entry for speaker + bt-sco combo device in mixer_path_tavil.xml
* Add backend support for such path in audio_platform_info_tavil.xml
* Add audio-ull-playback paths for Bluetooth:
    audio-ull-playback bt-sco
    audio-ull-playback bt-sco-wb

Bug: 62541790
Bug: 19171297
Test: make, HFP regression, testplans/92476
Change-Id: Iafd893da6d044bc4c9679da12692d8f9eec33a79
2017-06-16 13:38:27 -07:00
David Lin
86a34d44a0 audio: set BE name for speaker and usb combo device
Bug: 35675592
Test: ringer on speaker and headset
Change-Id: I02f7235eebd6d712d2c8ef33225a412e0696c642
Signed-off-by: David Lin <dtwlin@google.com>
2017-06-16 13:27:00 -07:00
Thierry Strudel
75c65a0488 Merge "taimen: voip rx controls" into oc-dr1-dev 2017-06-15 05:33:28 +00:00
Kumar Anand
040d7f1267 Merge "wifi: update INI configuration file" into oc-dr1-dev 2017-06-14 14:58:48 +00:00
Kumar Anand
30a03a405d wifi: update INI configuration file
Bug: 38017212
Bug: 38270135
Bug: 62205428
Bug: 62074680

Test: Wifi Regression Test
Change-Id: I83f3430fb3192b53590ca3452f490231c55d24b5
2017-06-13 14:24:48 -07:00
Glen Kuhne
f791a5ddf8 Enable scan probe Information Element Whitelist
This change enables the Information Element in QCMs driver, only
allowing the following IE in probe requests while the device is
scanning in an unassociated state:
 - SSID Parameter Set
 - DS Parameter Set
 - Basic Rates
This improves privacy of the device, by reducing the fingerprint of its
probe requests, and removing IEs which contain uniquely identifiable
information.

Test: Verified via wireshark
Bug: 37281277
Change-Id: Icc0151c214723a3af7c112b8ea8de50d799450a1
2017-06-13 13:29:59 -07:00
Haynes Mathew George
beaa439942 taimen: voip rx controls
mixer path additions
audio_platform info updates

Bug: 62393776
Test: hangout call
Change-Id: I7af811856846d8075e16ff8f540a7931d31581c9
Signed-off-by: David Lin <dtwlin@google.com>
2017-06-13 12:34:47 -07:00
TreeHugger Robot
267c780cff Merge "audio: add mixer path definition for mmap no irq mode" into oc-dr1-dev 2017-06-13 19:26:46 +00:00
Junda Liu
90a13ffb70 Set build.hardware.revision property.
Bug: b/38167472
Test: make & check property
Change-Id: I5aab680dd83a04237448438d5a4d69450f89a844
2017-06-12 14:34:19 -07:00
Eric Laurent
19308816cd audio: add mixer path definition for mmap no irq mode
Bug: 33398120
Test: build taimen-eng
Change-Id: Id8c79737932d54948516a2a9178d8fdb0dc4edab
2017-06-12 18:11:35 +00:00
Kyunam.jo
2968c918aa Add and show regulatory info.
Bug: 38171402
Test: build and show regulatory info.
Change-Id: I4ea528f7a979e22c1bc7bda4e6c480d6393245de
2017-06-08 00:02:34 +00:00
Jia-yi Chen
1a90278fed Use bd_therm for thermal throttling
Test: boot & check logcat
Change-Id: Ia10adc2f3ea3f8da377804f0a2d5accf0afd9c8b
2017-06-06 17:07:17 -07:00
TreeHugger Robot
3ab035dc90 Merge "haptics: update effect waveform" 2017-06-06 03:11:23 +00:00
Siyuan Zhou
253789b413 Merge "Added directory to kasan ko files." 2017-06-05 20:51:39 +00:00
Eric Laurent
b9aaf34970 Merge "audio: Add profile for hifi record" 2017-06-05 17:54:21 +00:00
TreeHugger Robot
46d705f7cf Merge "init-taimen.rc: add boottime IO setting" 2017-06-03 07:15:55 +00:00
Wei Wang
3f485235e3 init-taimen.rc: add boottime IO setting
Bug: 36780513
Test: Taimen boots
Change-Id: I09b41a7f4c511fd9c148a8139b1c8b28478dacfd
2017-06-02 22:29:10 -07:00
TreeHugger Robot
7d88cac6d2 Merge "haptics: update effect waveform" 2017-06-02 18:50:38 +00:00
Siyuan Zhou
8d3f549111 Added directory to kasan ko files.
Change-Id: I9a2f5c972dbc30c48312af8e8a05ece568ba68aa
2017-06-02 11:01:28 -07:00