Commit Graph

267 Commits

Author SHA1 Message Date
TreeHugger Robot
78d92bc5d6 Merge "Update RF Related configuration." into oc-dr1-dev 2017-08-08 20:56:58 +00:00
Ruchi Kandoi
c2031deaf6 Update RF Related configuration.
Test: boots, HCE, Tag reading
Bug: 64463108
Change-Id: Ie73068f8b30ed23dd2abbfb84f4b5cfac15617f7
2017-08-08 09:46:44 -07:00
TreeHugger Robot
c2d85f9087 Merge "audio: Fix lost path for voice-call" into oc-dr1-dev 2017-08-08 05:00:28 +00:00
David Lin
4b07b4a252 audio: Fix lost path for voice-call
Duplicated device path such as speaker and bt-sco was missing which
causes path switch to fail for voice call.

Bug: 64195767
Test: manual audio test for voice call
Change-Id: I149d9a1d2729db8e631eac016aafd77acd76fd06
Signed-off-by: David Lin <dtwlin@google.com>
2017-08-07 16:23:14 -07:00
TreeHugger Robot
0d0f054551 Merge "sepolicy: Allow adb shell access to ftm4 autotune sysfs node" into oc-dr1-dev 2017-08-07 22:16:22 +00:00
seunghwan.moon
d6f8bd602f update regulatory_info.png for elabel
Bug: 64041301
Test: settings->system->about phone->regulatory labels
Change-Id: I8588887ed00206b6bea277aa39169d13fb642c58
2017-08-07 12:51:07 -07:00
Steve Pfetsch
a749875aa0 sepolicy: Allow adb shell access to ftm4 autotune sysfs node
Bug: 63911898
Change-Id: Id39f48709253ce96ae7910f4e3157e2c2eda558a
2017-08-07 11:27:12 -07:00
Ecco Park
178cfaea94 Merge "taimen-wifi: enable DBS" into oc-dr1-dev 2017-08-04 00:03:24 +00:00
TreeHugger Robot
366960ae83 Merge "audio: update volume curve for ringtone, in-call tones" into oc-dr1-dev 2017-08-03 22:47:38 +00:00
Ecco Park
27a9f12ff0 taimen-wifi: enable DBS
Bug: 37916880
Change-Id: I4b2b805b6256111c09f6db3b99554a64775f54fd
Signed-off-by: Ecco Park <eccopark@google.com>
2017-08-03 21:50:24 +00:00
taeho.youn
350811e9b1 audio: update volume curve for ringtone, in-call tones
Bug: 64352742
Test: manual audio sanity test
Change-Id: Ib39874537c878ba09e318e951438686867eaa614
2017-08-03 20:47:01 +00:00
Ecco Park
7fe31f3934 taimen-wifi: adjust the keep alive time to 60 secs
We have IOT issue with some APs causing disconnection with current 90
secs.

Bug: 63820163

Change-Id: I39bffcdf8c1e73bfaf02c18ac6edb7863f6e4f79
Signed-off-by: Ecco Park <eccopark@google.com>
2017-08-02 20:15:56 +00:00
Naveen Kalla
f4d6eeb12a Fix MMS UA Profile and String
Bug: 64201666
Test: Manual
Change-Id: I60da5669bdc82bb6ec36b447830e6605408def68
2017-08-02 16:57:52 +00:00
Vineeta Srivastava
2675098dd9 Merge "Revert "Revert "Clean up init script""" into oc-dr1-dev 2017-08-01 18:13:49 +00:00
Max Shi
f255ec1489 Revert "Revert "Clean up init script""
This reverts commit efce5fb8a0.

Reason for revert: moving this logic under wahoo init script

Bug: 64065874
Change-Id: I531d22c92456ebe4a95408407285867a54afeda5
2017-08-01 04:57:40 +00:00
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