Commit Graph

233 Commits

Author SHA1 Message Date
Maggie White
ce0ecde565 UFS-specific runtime I/O tuning
Tested 1/2x, 1x, 2x, and 4x the current readahead buffer and noop and
cfq I/O schedulers for /dev/block/sda, which contains /data. The most
consistent performance boost was seen across all UFS vendors and storage
sizes using cfq and a readahead buffer of 1024.
Note: testing was done on Walleye, not Taimen

Bug: 38000161
Test: Compared 1P app launch times using app-launcher for schedulers
(noop, cfq) and readahead buffer sizes (128,512,1024,2048)

Change-Id: I7551a4110ad025ec7975dd39301f048f0942f585
2017-07-21 22:41:28 +00:00
TreeHugger Robot
94e76190b0 Merge "Correct syntax error in config file" into oc-dr1-dev 2017-07-21 20:00:05 +00:00
Ruchi Kandoi
b7e5826caf Correct syntax error in config file
Test: Tag reading, HCE
Bug: 63915113
Change-Id: I79d0fa5ed83c039f4e9b466b9293106864bd2c7a
2017-07-21 10:38:39 -07:00
Phil Burk
928678226e taimen: enable aaudio MMAP mode
This will allow AAudio to route audio data through a new service
that uses ALSA MMAP/NOIRQ mode.

Bug: 63002656
Test: reboot, then "adb shell getprop aaudio.mmap_policy" should be 2

Change-Id: Id2f692ac9350e4c308f17d86ee8d5cbb858bb565
2017-07-21 03:48:43 +00:00
Glenn Kasten
c61eab8f4f Add another property to configure adm buffering
Keep the original property also, to make it easier to experiment
with old and new libadm.so

Bug: 63810681
Test: round-trip USB latency unchanged with old or new libadm.so
Change-Id: I3ba8a670f6d8498a5899c352c544cbd63d815169
2017-07-20 02:45:30 -07:00
TreeHugger Robot
cc54879fbb Merge "Drop the minimum screen brightness." into oc-dr1-dev 2017-07-20 05:38:26 +00:00
Michael Wright
d89e4ec272 Drop the minimum screen brightness.
This reduces the minimum brightness to 0.009 nits from 0.09 nits
(on EVT1 and 2).

Bug: 63834045
Test: manual
Change-Id: I7d76eae6e76de5ed3a125f8f4b42d1bba2f57ac7
2017-07-19 14:41:25 +01:00
Thierry Strudel
64cc5bd93b enforce RESTRICT_VENDOR_FILES := owner
RESTRICT_VENDOR_FILES cannot be set to also enforce "path" as some vendor
specific modules related to IMS VT still needs to be installed in system.

Bug: 37330627
Change-Id: Ic94a63b4a53c876553a1c48a7d7a986ac11f790e
Signed-off-by: Thierry Strudel <tstrudel@google.com>
2017-07-18 12:08:14 -07:00
Glenn Kasten
81ee912dac Merge "Enable pro audio feature flag" into oc-dr1-dev 2017-07-18 14:46:10 +00:00
Bill Yi
5a0684d028 Add factory image support for taimen
BUG:36396200
Change-Id: I7acbe08b6bc473409ad1981e6a87bf9344ac4acf
2017-07-17 16:44:13 -07:00
TreeHugger Robot
deb629b70f Merge "audio: update mixer_paths for usb-headphone voice call" into oc-dr1-dev 2017-07-17 23:07:18 +00:00
Glenn Kasten
6997a821d1 Enable pro audio feature flag
Test: adb shell pm list features
Bug: 38463264
Change-Id: I3bf173bf49452288acef2f307236412bf4c59ab1
2017-07-17 14:57:55 -07:00
Bill Yi
a2ecc7543d Add AOSP support for taimen
BUG:36396200
TEST: Build an aosp_taimen-userdebug and flashed a device
Change-Id: If667ab366efc99b0f695134f0430a514ba13c111
2017-07-17 13:55:15 -07:00
taeho.youn
a3137497d4 audio: update mixer_paths for usb-headphone voice call
fix rx/tx mute when making call with 3-pole headset and USB dongle

Bug: 63680197
Test: manual audio sanity test
Change-Id: Ie8b3b6d0c5666539a794459e425570f4e5d7d447
2017-07-17 12:13:24 -07:00
taeho.youn
031f68333b audio: taimen: device specific configurations
speaker-safe setting for Ringtone mode

Bug: 35675592
Test: manual test for ringtone
Change-Id: I3378b12c4b71bbe7c32d048f2b470cb26c467b6b
2017-07-14 10:58:29 -07:00
David Lin
90247f22d4 audio: enable 24bit for MI2S path
This configs AFE I2S to S24_LE formate.

Bug: 63400919
Test: manual playback test
Change-Id: I537ccff8fd70159905d0a9e5c7879555cda37744
2017-07-14 10:48:27 -07:00
Glenn Kasten
09db017139 Merge "Reduce USB audio latency on Taimen" into oc-dr1-dev 2017-07-13 22:52:41 +00:00
Glenn Kasten
ae0774857c Reduce USB audio latency on Taimen
Bug: 62375603
Bug: 63364644
Test: Loopback shows latency reduction and no glitches
Change-Id: I8ab3879ebb318b96e931976a206e866fd44754e4
2017-07-13 12:36:44 -07:00
TreeHugger Robot
d460ba069c Merge "Make status bar a bit larger" into oc-dr1-dev 2017-07-13 14:14:24 +00:00
Jorim Jaggi
2880114ae9 Make status bar a bit larger
Test: Open notification shade, observe no weirdneess
Test: Open a couple of apps

Change-Id: Ia39641581592ce39e3b706c57a3cf21505100e84
Fixes: 63658608
2017-07-13 14:04:59 +02:00
Ecco Park
08cac2e4df wifi: Ignoring bssid_hint for connection decision
Bug: 62439427

Change-Id: Ib5e7aad09697a94e25b3f366c3a55b1158b22fb0
Signed-off-by: Ecco Park <eccopark@google.com>
2017-07-12 13:32:10 -07:00
Michael Wright
76ae3880be Add input device configuration for Taimen
This also provides tuning for touch size information.

Test: flash and look at touch size with pointer location enabled
Bug: 62871286
Change-Id: I1dafed6b482a74d9baeac162be1dc831370a5ebc
2017-07-11 14:09:20 +00:00
jiwon912.choi
614dc65297 display: Change low persistence mode brightness
Bug : 62663757

- Change low persistence(LP) mode brightness from 255 to 159
- If panel version is 2-1, Set LP mode brightness to 255

Change-Id: Ie3754ac9ab11347e4f4edf91a607a17fc6b776fc
2017-07-07 13:30:13 -07:00
TreeHugger Robot
cf030e42aa Merge "thermal-engine.conf: add config for new back thermistor" into oc-dr1-dev 2017-07-07 18:33:45 +00:00
Ecco Park
db55178e74 Merge "wifi: enable adaptive APF mode" into oc-dr1-dev 2017-07-07 17:34:24 +00:00
John Dias
4e5076133b thermal-engine.conf: add config for new back thermistor
Newer revisions of hardware have changed the placement
of the bd_therm thermistor. To allow software to work
on both old and new hardware, we've renamed that thermistor
to bd_therm on the new hardware, which requires a new
set of throttling constraints using that thermistor.

Bug: 63344220
Test: booted old and new hardware, checked configs,
      and verified that throttling happened at the right
      temps according to the thermistors
Change-Id: I9639142551a8fc1dcbe65559045ae40b2ace5537
2017-07-07 09:35:08 -07:00
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
Ecco Park
96ce5e0f19 wifi: enable adaptive APF mode
Bug: 63351644
Change-Id: Ieb2a5a0d72fb33c6802452ec19e85abfb007cc1a
Signed-off-by: Ecco Park <eccopark@google.com>
2017-07-06 15:00:19 -07: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