Commit Graph

252 Commits

Author SHA1 Message Date
TreeHugger Robot
ce67aa170f Merge "Revert "Clean up init script"" into oc-dr1-dev 2017-07-31 19:18:03 +00:00
Ecco Park
5a98048374 Taimen: enable SAR tx power control for wifi
Bug: 62437848

Change-Id: Ibe891e2eb20e6ee9c6a67b879f327e85b572049b
Signed-off-by: Ecco Park <eccopark@google.com>
2017-07-31 08:10:29 +00:00
Max Shi
efce5fb8a0 Revert "Clean up init script"
This reverts commit 8d0e6dca79.

Change-Id: I5777501d14ed2d551dba5bb314cdfcd5476b785d
reason: restore the folder if /persist/sensors is missing
Test: flash on a phone without /persist/sensors folder
Test: reboot and verify sensor regsitry is created
Test: and sensors are available to sensor service
Bug: 64065874
2017-07-28 21:58:27 -07:00
Ecco Park
f96acf2009 Merge "Taimen: WLAN: Enable enable_11d_in_world_mode" into oc-dr1-dev 2017-07-27 23:01:07 +00:00
TreeHugger Robot
0e57a40f24 Merge "Power Profile: update taimen" into oc-dr1-dev 2017-07-27 19:30:00 +00:00
Marissa Wall
45d556e196 Power Profile: update taimen
Updating all power profiles using the same scripts. Previously,
every power profile was generated using different algorithims.
b/62389228

Test: Run a normal android workload and verify the app blame
  is reasonable

Change-Id: Idff05eb0fa776a3dae7bde2952ec80b031834d54
2017-07-27 10:48:16 -07:00
Jie Song
28a5ca23c7 Disable QShrink for all subsys in mdlog
Bug: 62489031
Test: Modem logging is functional
Change-Id: I7159d8558ac702867dc5a4c85c34d311fa8819b9
2017-07-27 02:34:22 +00:00
TreeHugger Robot
d3e3674e62 Merge "Fix the autobrightness curve, part deux." into oc-dr1-dev 2017-07-26 23:51:48 +00:00
Ecco Park
eccf8fa2c5 Taimen: WLAN: Enable enable_11d_in_world_mode
WLAN: Enable enable_11d_in_world_mode.

CRs-Fixed: 2078528
Bug: 35919398

Change-Id: I144b1161dfdc115ff05e1b5f9bb0b4bb4d480d6e
Signed-off-by: Ecco Park <eccopark@google.com>
2017-07-26 14:07:11 -07:00
Michael Wright
c361f733a6 Fix the autobrightness curve, part deux.
New hardware units have a mapping that's actually linear, so we assume
that the curve is linear here and have the kernel fix it up for us if it
needs to.

Bug: 63606090
Test: manual
Change-Id: I05c98115b20e0328654ca42ac58244ea81e19940
2017-07-26 21:55:01 +01:00
Ecco Park
fd125c29b1 Taimen: WLAN: Disable LPRx
Disable LPRx
CRs-Fixed: 2082443
Bug: 63076243

Change-Id: I2b741de1811c29d52a441b31dff2d5610a97288f
Signed-off-by: Ecco Park <eccopark@google.com>
2017-07-26 10:20:29 -07:00
Ecco Park
0ebd325f2c Taimen: WLAN: Enable firmware module logging levels
After looking at all the issues reported and logs captured,
these are the firmware logging levels (module-wise)
recommended to be enabled by default.

CRs-Fixed: 2081775
Bug: 63544726

Change-Id: I16a531b651836707963083fdf028874cae738bf2
Signed-off-by: Ecco Park <eccopark@google.com>
2017-07-26 10:08:50 -07:00
TreeHugger Robot
8376691c6c Merge "UFS-specific runtime I/O tuning" into oc-dr1-dev 2017-07-25 23:31:52 +00:00
Jia-yi Chen
2fb0e7e978 Merge "thermal-engine: Update policies for taimen" into oc-dr1-dev 2017-07-25 20:47:45 +00:00
TreeHugger Robot
b888a46a70 Merge "thermal: copy correct vr config" into oc-dr1-dev 2017-07-25 19:59:46 +00:00
John Dias
cb6bb96cdd thermal: copy correct vr config
The wrong thermal-config was copied for VR mode.

Bug: 37544246
Test: verify that the correct VR thermal config is on-device
Change-Id: I8605336c5fbdac7450036883a68f1f25f111d286
2017-07-25 10:55:33 -07:00
taeho.youn
e37f2eaab0 audio: update mixer_path for voice call
- To improve hissing noise (TI tas2557 gain -15dB, and balanced in ACDB)

Bug: 38247409
Test: NA
Change-Id: Ic741f5d7094ab81b29fc42af9e79a0bd2ac8877d
2017-07-24 18:10:09 -07:00
Jia-yi Chen
b7fa5f9438 thermal-engine: Update policies for taimen
1) Update applies to EVT2.2 and beyond
2) Add & Set the device_max_limit of SKIN-MID-LOW-FLOOR2 to 1497600
3) Raise SKIN-LOW-FLOOR2 set_point to 45 degreeC
4) Add charging current throttling for both normal and vr mode

Bug: 63152009
Bug: 63037732
Test: Boot & check logcat message
Change-Id: I0c10bb36717194aa0f0ac841d1a910eaa634e0c5
2017-07-24 13:35:00 -07:00
Phil Burk
13c79aa51d aaudio: increase burst size from 1 to 2 msec
One msec is on the edge and sometimes glitches.
Two msec is more stable and matches the FastMixer burst.

Bug: 63934178
Test: "adb shell getprop aaudio.hw_burst_min_usec" should be 2000
Change-Id: I9687f5822d0827032b93f98779f9dd6ef9ca074c
2017-07-24 12:22:54 -07:00
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