Commit Graph

737 Commits

Author SHA1 Message Date
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
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