Commit Graph

727 Commits

Author SHA1 Message Date
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
yihsiang_peng
b6789eb647 Restricting battery charging in retail demo mode
Writing an upper threshold value of 35% for the battery level when
the device goes into retail demo mode.

Bug: 38105321
Change-Id: I21fd84cdd367914387749c4faa403cdeb50edd13
Signed-off-by: yihsiang_peng <yihsiang_peng@htc.com>
Signed-off-by: Yueyao Zhu <yueyao@google.com>
2017-06-21 18:26:31 -07:00
Pat Tjin
a81758e21d Merge "Move system/vendor partition size variables to wahoo" into oc-dr1-dev 2017-06-21 22:22:40 +00:00
Haynes Mathew George
d14724f649 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:44 -07:00
John Dias
e49327c478 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: I3c1ad17f432b25b5359f813e070fd1266dac1f87
2017-06-20 17:16:28 -07:00
TreeHugger Robot
42b4304a02 Merge "audio: update audio volume table" into oc-dr1-dev 2017-06-20 22:49:50 +00:00
vincent_tew
6c1eec7d3d audio: update audio volume table
This patch Updates the volume_listener coverage to fix the low volume
index (volume key 1~10) can’t be mapped to volume listener index.  In
current setting, only stream volume larger than -8.6db will be applied
with volume listener tuning. This patch also updates Android volume
curve of SWB and VoIP.

Bug: 62825740
Test: audio playback
Change-Id: Ic76b7240db09983e5eb56441a0da4ea021cb3655
Signed-off-by: David Lin <dtwlin@google.com>
2017-06-20 10:44:48 -07:00
John Dias
606159e240 Fix hwui settings
Bug: 62375787
Test: boot and basic use
Change-Id: I858b7428199a708811b85d6ff5dfea3e3b4caa8f
2017-06-19 17:25:21 -07:00
Patrick Tjin
99bf3a2cad Move system/vendor partition size variables to wahoo
Bug: 62445676
Test: OTA
Change-Id: Idf1e34ff399dc996e86803fa8b174789f88fc064
2017-06-19 14:59:48 -07:00
TreeHugger Robot
b58ea1a883 Merge "Enable scan probe Information Element Whitelist" into oc-dr1-dev 2017-06-19 20:19:45 +00:00
TreeHugger Robot
643f3b53bc Merge "muskie: set BE name for speaker and usb combo device" into oc-dr1-dev 2017-06-17 04:48:24 +00:00
Thierry Strudel
46f3d4c178 Merge "Lower shutdown threshold to allow margin for compliance requirements" into oc-dr1-dev 2017-06-17 02:36:16 +00:00
Jia-yi Chen
b6b25c129e Lower shutdown threshold to allow margin for compliance requirements
Also update the shutdown in VR mode

Bug: 34113644
Test: boot and check logcat
Change-Id: Id965e18c3ddfaa9d333e4a8d720507a252d137a5
2017-06-17 02:35:02 +00:00
Jack He
73b84c1462 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

Bug: 62541790
Bug: 19171297
Test: make, HFP regression, testplans/92112
Change-Id: I32d2fab100e50fa9a196e7dfdeda64cd5ff0061e
2017-06-16 13:37:33 -07:00
carter_hsu
056d190f82 muskie: set BE name for speaker and usb combo device
Bug: 35675592
Test: ringer on speaker and headset
Change-Id: I0be70c2a81e40578d469082ea5bbc6d1858e436a
Signed-off-by: carter_hsu <carter_hsu@htc.com>
Signed-off-by: David Lin <dtwlin@google.com>
2017-06-16 13:25:57 -07:00
Thierry Strudel
399231b3ec Merge "muskie: voip rx controls" into oc-dr1-dev 2017-06-15 05:33:28 +00:00
Kumar Anand
f2ad4ea1bc Merge "wifi: update INI configuration file" into oc-dr1-dev 2017-06-14 14:57:01 +00:00
Thierry Strudel
d2cd3adcd0 add aosp_walleye_test product
aosp_walleye_test product will select test key signed FWs when building vendor image

Bug: 62378733
Change-Id: I1220d17d4914df5950dc3d2589db211b2310576f
Signed-off-by: Thierry Strudel <tstrudel@google.com>
2017-06-13 21:34:45 -07:00
Glen Kuhne
c4d30139b7 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: Idb2e063488735ddd58ca5a5879152571f6cea981
2017-06-13 14:40:09 -07:00
Kumar Anand
b70f511d7c wifi: update INI configuration file
Bug: 38017212
Bug: 38270135
Bug: 62205428
Bug: 62074680

Test: Wifi Regression Test
Change-Id: I1098413003ace72a30ccadd1c8f36c4a329d8ea0
2017-06-13 14:38:55 -07:00
Haynes Mathew George
3183354f35 muskie: 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:47:09 -07:00
Eric Laurent
a553de5537 audio: add mixer path definition for mmap no irq mode
Bug: 33398120
Test: build walleye-eng
Change-Id: Ic28748bf475b83573ac22b74965618d9c169aeda
2017-06-12 18:39:50 +00:00
kame_wang
b547a913e8 Use back_therm as CPU throttling thermistor
Change-Id: I38220e0dd35a15557c0b365d7d9aa2ac90533953
2017-06-08 11:25:37 -07:00
Siyuan Zhou
42047018a9 Merge "Added directory to kasan ko files." 2017-06-05 20:51:39 +00:00
Eric Laurent
2bda8a287c Merge "audio: Add controls for hifi record" 2017-06-05 17:54:22 +00:00
TreeHugger Robot
0ed4a93f62 Merge "init-common.rc: enable dm-verity boottime tuning" 2017-06-03 07:06:33 +00:00
Wei Wang
a21f76d060 init-common.rc: enable dm-verity boottime tuning
Bug: 36780513
Test: muskie boot

Change-Id: I102abd2807efd43aa66852efde6dfddf277217b6
2017-06-02 22:30:48 -07:00