Commit Graph

753 Commits

Author SHA1 Message Date
Adrian Roos
53a7b6e1f5 Merge "walleye: use frontscrim to dim AOD in night light" into oc-dr1-dev 2017-08-04 09:40:26 +00:00
Adrian Roos
c8b3c9ae97 walleye: use frontscrim to dim AOD in night light
Bug: 63995944
Test: Use walleye in very dim light at night, observe AOD is sufficiently dim.
Change-Id: I79fe9eecd2490d3445f51658df4fb402db4854cd
2017-08-03 20:13:09 +02:00
Ecco Park
555c582831 walleye-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: I4903eac46c889d62d25ed9fe695adfc6c48d08dc
Signed-off-by: Ecco Park <eccopark@google.com>
2017-08-02 13:16:24 -07:00
Naveen Kalla
bf214cb93a Fix MMS UA profile and string
Bug: 64201313
Test: manual
Change-Id: I6041f7785bfdf99a666088b825409095dea6f784
2017-08-01 22:31:08 +00:00
Ecco Park
bfa5ca58b6 Walleye: enable SAR tx power control for wifi
Bug: 62437848

Change-Id: I913637318ff8a8afb77c74c24b89888226fbf976
Signed-off-by: Ecco Park <eccopark@google.com>
2017-07-31 08:10:44 +00:00
Ecco Park
d53be7e2f0 Merge "M/W: WLAN: Enable enable_11d_in_world_mode" into oc-dr1-dev 2017-07-27 23:01:07 +00:00
TreeHugger Robot
6549d90803 Merge "Power Profile: update walleye" into oc-dr1-dev 2017-07-27 19:58:34 +00:00
Marissa Wall
924d75cfd8 Power Profile: update walleye
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: Ie519a8156c6670aaae7ca197db6127b2fe2caf6f
2017-07-27 10:47:36 -07:00
Srinivas Girigowda
19c5e9baca M/W: WLAN: Enable enable_11d_in_world_mode
WLAN: Enable enable_11d_in_world_mode.

Change-Id: I87ee2ad87d5426fae7378a95c6eafbaa66afb56d
CRs-Fixed: 2078528
Bug: 35919398
Signed-off-by: Srinivas Girigowda <sgirigow@codeaurora.org>
2017-07-26 14:41:12 -07:00
Srinivas Girigowda
92bdf9d5ba M/W: WLAN: Disable LPRx
Disable LPRx.

Change-Id: I203c75e478c22a24196337c8ad4d53b02246981e
CRs-Fixed: 2082443
Bug: 63076243
2017-07-26 17:14:45 +00:00
Srinivas Girigowda
5f0f7fbb49 M/W: 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.

Change-Id: If297cb894b61817a440f05411148934a3a1ec235
CRs-Fixed: 2081775
Bug: 63544726
Signed-off-by: Srinivas Girigowda <sgirigow@codeaurora.org>
2017-07-26 17:13:17 +00:00
Srinivas Girigowda
bfd3493efe M/W: WLAN: Set DBS Scan duty cycle
This is the recommended DBS scan duty cycle.

Change-Id: Ide20cdbb19fc5d1cd138ea85fbbdcd59726862d7
CRs-Fixed: 2081630
Bug: 63540780
Bug: 63810565
Signed-off-by: Srinivas Girigowda <sgirigow@codeaurora.org>
2017-07-26 16:58:02 +00:00
TreeHugger Robot
8c35f47395 Merge "UFS-specific runtime I/O tuning" into oc-dr1-dev 2017-07-25 23:29:01 +00:00
Jia-yi Chen
3b30fa3920 Merge "thermal-engine: Update policies" into oc-dr1-dev 2017-07-24 16:48:58 +00:00
Maggie White
798459c745 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.

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: Ifcc9145d6f7a77ba4b3844b7892291eb348d9e1c
2017-07-21 15:29:58 -07:00
Phil Burk
2a5d972b0a 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: I383c4a3a82283229ae39ca9fb6e2ffdd65ae0014
2017-07-21 13:48:32 -07:00
Jia-yi Chen
8855303a7f thermal-engine: Update policies
1) Add & Set the device_max_limit of SKIN-MID-LOW-FLOOR-BC to 1497600
2) Raise SKIN-LOW-FLOOR-BC set_point to 47 degreeC
3) Add back the most aggresive throttling at 54 degreeC
4) Add charging current throttling for both normal and vr mode

Bug: 63152009
Bug: 63037732
Test: Boot & check logcat message
Change-Id: Ibcd5bae397abcf9dc9b4c73244ff2d30c77fcbd5
2017-07-21 07:58:41 -07:00
TreeHugger Robot
d6b4004620 Merge "muskie: enable aaudio MMAP mode" into oc-dr1-dev 2017-07-21 06:13:40 +00:00
Phil Burk
1378738848 muskie: 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: Iad70089126e8ea7a9624e91849d453dc7c6ee337
2017-07-20 20:44:40 -07:00
Glenn Kasten
fddf3fca0d 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: I6198a3259f0ce98fda31d1a9e93fd79f21c148e5
2017-07-20 02:37:00 -07:00
Thierry Strudel
8ce3396f78 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: Ia5ca2254bb0f3942b60de795939b7c43ce9f49ec
2017-07-18 12:08:14 -07:00
Glenn Kasten
ea13934b23 Merge "Enable pro audio feature flag" into oc-dr1-dev 2017-07-18 14:45:58 +00:00
Bill Yi
aa4c2265ba Add factory image support for walleye
BUG:36396200
Change-Id: I44a56b68e04df55702a2cd85ffff44130845056c
2017-07-17 16:48:52 -07:00
Glenn Kasten
5253489ed3 Enable pro audio feature flag
Test: adb shell pm list features
Bug: 38463264
Change-Id: I844de2c59d17bc7c5cb64cdd1ad41a2eab283194
2017-07-17 14:55:50 -07:00
Bill Yi
d0506ce0ce Add AOSP support for walleye
Note, walleye and muskie share the same device/google/muskie path.
We only release walleye and not muskie.

To generate blobs for walleye:
cd device/google
cp -a muskie walleye

BUG:36396200
TEST: Built aosp_walleye-userdebug and flashed a device
Change-Id: If319bce13f1ab2bfe27169f69be9f985f270b7f1
2017-07-17 13:52:25 -07:00
Ecco Park
8bec3c1c64 wifi: Ignoring bssid_hint for connection decision
Bug: 62439427

Change-Id: I9b13d5ea8e1d8ff3f4835ef136769ba8ef11d370
Signed-off-by: Ecco Park <eccopark@google.com>
2017-07-12 13:32:40 -07:00
TreeHugger Robot
84bf53874f Merge "audio: enable 24bit for MI2S path" into oc-dr1-dev 2017-07-11 21:08:56 +00:00
Michael Wright
4bb388480a Add input device configuration for Muskie/Walleye
This also provides tuning for touch size information.

Test: flash and look at touch size with pointer location enabled
Bug: 62871286
Change-Id: Ia6f9f0f050517701f8085987ff9fadf27e8904d3
2017-07-11 14:08:30 +00:00
TreeHugger Robot
bb5e51cfe6 Merge "Have Walleye use the new brightness curve." into oc-dr1-dev 2017-07-10 18:00:05 +00:00
TreeHugger Robot
fd74c55bbc Merge "audio: update audio table" into oc-dr1-dev 2017-07-07 23:45:23 +00:00
vincent_tew
d4e7ad8c62 audio: update audio table
Change list:
[mixer_paths_tavil]
  1.Change camera recording from 16bits to 24bits

Bug: 62825740
Test: camcorder record and playback
Change-Id: I57dbbe5bd888d0b156eda2f666ee512fe8a3ee32
2017-07-07 14:20:59 -07:00
Ecco Park
e439d4582c Merge "wifi: enable adaptive APF mode" into oc-dr1-dev 2017-07-07 17:34:24 +00:00
TreeHugger Robot
2f3b6c323c Merge "audio: config: decouple speaker swap from device mixer control" into oc-dr1-dev 2017-07-07 04:51:59 +00:00
vincent_tew
a166a43def audio: enable 24bit for MI2S path
this patch is for AFE to upsample to S24_LE

Test: test all audio paths
Bug: 62918461

Change-Id: Iefcaca61ebb74381c3e274ab32040e7df1fbe066
Signed-off-by: vincent_tew <vincent_tew@htc.com>
2017-07-06 15:59:01 -07:00
TreeHugger Robot
6f96ff7eec Merge "NCI 2.0 changes for libnfc-nxp" into oc-dr1-dev 2017-07-06 22:39:48 +00:00
Ecco Park
59d3f1d607 wifi: enable adaptive APF mode
Bug: 63351644

Change-Id: I512b74f3a3f62991e809594b90623cf0ba759a4c
Signed-off-by: Ecco Park <eccopark@google.com>
2017-07-06 14:59:42 -07:00
TreeHugger Robot
19c5c863e4 Merge "Update thermal throttling settings" into oc-dr1-dev 2017-07-06 05:13:27 +00:00
vivek mehta
204952ffaf audio: config: decouple speaker swap from device mixer control
This removes the speaker swap mixer control from the speaker path as
it's handled in the audio HAL already.

Bug: 62337071
Test: audio rotation test
Change-Id: I15507e809a860bc4e3284f1096d509d0d3ea1541
2017-07-05 14:54:36 -07:00
vincent_tew
03fe74f524 audio: update audio table
Change list:
[audio_policy_volumes]
   Fine-tune volume step in music mode to meet speaker tuning.
[audio_platform_info_tavil]
   Fine-tune volume listener.
[mixer_paths_tavil]
   Add acoustic shock function for user safety.

Bug: 62825740
Test: audio sanity test
Change-Id: I2457289fcf55c66b9192df565f2580e3ce26b969
Signed-off-by: vincent_tew <vincent_tew@htc.com>
2017-07-05 14:53:45 -07:00
carter_hsu
dd08c26924 audio: add audio EC path for BTSCO
This adds the mixer path required for BTSCO EC.

Bug: 63015903
Test: audio sanity test
Change-Id: Idccdca31ead4ebf6f01a5a2558b068eff2cda546
Signed-off-by: carter_hsu <carter_hsu@htc.com>
2017-07-05 14:52:35 -07:00
John Dias
b208719b07 Update thermal throttling settings
For normal mode, use device_max_limit as recommended by QC
("device_perf_floor is used for chipsets with shared voltage rail
    between silver and gold (e.g. 8996/8996pro)
  device_max_limit is used for chipsets that have split rail
    architecture (i.e. one voltage rail per cluster, 8998, 8994").
For VR mode, add an aggressive throttle just before shutdown.

Bug: 36458508
Test: Booted, checked throttling with adjusted temps
Change-Id: Ie8c3c7d550f1a108fbd268fefed4c53708deeb03
2017-07-05 13:48:12 -07:00
TreeHugger Robot
ca3ccd44eb Merge "Remove IMU cad calibration file" into oc-dr1-dev 2017-06-30 23:50:42 +00:00
Ruchi Kandoi
6ed1540742 NCI 2.0 changes for libnfc-nxp
Test: Android Beam, tag reading and payments
Bug: 63146248
Change-Id: I16d596380053d054f1360b16a9690b471edab0d2
2017-06-30 01:25:21 +00:00
Ranjith Kagathi Ananda
c5901da08c Remove IMU cad calibration file
Remove the cad calibration file and use only factory calibration
file.

Test: Tested on walleye

BUG=63146009

Change-Id: I24bf1424e958e26234817f1dafbf2fce7478028d
2017-06-29 17:29:20 -07:00
Michael Wright
72d349d02c Have Walleye use the new brightness curve.
Muskie got updated to the new machine learned autobrightness curve but
Walleye was missed. This corrects that oversight.

Test: manual
Fixes: 37802643
Change-Id: I64c01e19921c139ba7d027d8d8050185d2e51a5b
2017-06-28 17:14:24 +01:00
Glenn Kasten
5a6b9c64ff Reduce USB audio latency on Walleye
Bug: 62375603
Test: Loopback shows latency reduction and no glitches
Change-Id: I06f0c78d604089600b21830a631148bad1d43119
2017-06-27 15:59:49 -07:00
Ecco Park
8bfcb9d980 Merge "wifi: Remove obsolete cfg.ini items" into oc-dr1-dev 2017-06-26 17:42:05 +00:00
TreeHugger Robot
a36a5b81a3 Merge "Restricting battery charging in retail demo mode" into oc-dr1-dev 2017-06-24 16:08:45 +00:00
Srinivas Girigowda
2c772a83e5 wifi: Remove obsolete cfg.ini items
1. Remove obsolete cfg.ini items
2. g_enable_probereq_whitelist_ies=1

Bug: 62877729
Change-Id: I74ee0d49e09399de9ec87a7cae8601362c524ceb
2017-06-23 21:29:45 +00:00
TreeHugger Robot
ef6f98ff3d Merge "audio_platform_info: Update pcm devices for MMAP usecase" into oc-dr1-dev 2017-06-23 01:25:46 +00:00