Commit Graph

848 Commits

Author SHA1 Message Date
TreeHugger Robot
f04d2689c2 Merge "Set runtime readahead to 128KiB" into pi-dev 2018-08-17 21:21:39 +00:00
juyuchen
94ff126a2e audio: the table for in-call music.
Bug: 111107345
Test: manual audio test.

Change-Id: Ic49c6274d56b1e612072465d3af74f0622e66fb0
Signed-off-by: juyuchen <juyuchen@google.com>
2018-08-08 11:49:06 +08:00
Wei Wang
cb988501de Set runtime readahead to 128KiB
Reduce readahead to 128KiB to reduce thrashing under memory pressure.

Bug: 110908295
Bug: 111855179
Test: Boot
Change-Id: Id46cf3675d27355e3cb494086d4d06923fe0989d
(cherry picked from commit d787af0b2a)
2018-07-27 16:35:55 +00:00
Jorim Jaggi
692822aa88 Update vsync configuration to match new system
This isn't a semantic change, but rather a change how the
configuration is set because we changed how SF interprets these
offsets.

Test: Boot, inspect offsets in regular + transition scenario
Bug: 110112323
Change-Id: Iba61c1247328fc93abb068f59599872488c1e345
Merged-In: Iba61c1247328fc93abb068f59599872488c1e345
2018-06-21 12:19:47 +00:00
TreeHugger Robot
22b5c3776c Merge "Changing the default launcher and recents implementation for aosp build" into pi-dev 2018-06-06 18:18:43 +00:00
TreeHugger Robot
ec55b86567 Merge "Update board-info.txt generation method" into pi-dev 2018-06-06 02:04:33 +00:00
Tim Murray
af1cb8d0a2 Revert "Switch to deadline IO scheduler post boot."
This reverts commit 5e3069df10.

Test: boots
bug: 63630139
Change-Id: I39b0c46ac881e06c4ec276db1cb4c4d8cea53821
2018-06-05 15:23:34 -07:00
Sunny Goyal
83a4163a25 Changing the default launcher and recents implementation for aosp build
Bug: 77490347
Test: Build and flashed system image
Change-Id: Ib5e8a3cb0c8fec727b310b79e75f94c1de0fdb8b
2018-06-01 20:46:02 +00:00
Shawn Yang
e1b77e9c26 Update board-info.txt generation method
Bug: 80490116

Update makefile to remove direct shell call to generate the
board-info.txt file.

Test: Manually verify the build passed and board-info.txt generated
contains correct info

Change-Id: Iae10d6d301f9f22668c8cef57ee0f286225c8046
2018-05-31 23:26:21 -07:00
Carter Hsu
078b660460 taimen: fix voip on voice-hac-handset
1. add voip/playback path for voice-hac-handset
2. clean up below error
05-29 10:50:06.501   747  1309 E audio_route: unable to find sub path 'bt-sco-headset'
05-29 10:50:06.501   747  1309 E audio_route: unable to find sub path 'bt-sco-headset-wb'
05-29 10:50:06.501   747  1309 E audio_route: unable to find sub path 'bt-sco-headset'
05-29 10:50:06.501   747  1309 E audio_route: unable to find sub path 'bt-sco-headset-wb'
3. fix btsco path for mmap-playback

Bug: 79728803
Test: enable HAC in VOIP call and no error log
Change-Id: I6c85315a39d505b09d6ed9f900ead17dc78e0084
Signed-off-by: Carter Hsu <carterhsu@google.com>
2018-05-29 14:01:04 +08:00
TreeHugger Robot
0db0c95194 Merge "Removing feature location_network from aosp_taimen" into pi-dev 2018-05-24 06:14:22 +00:00
Suprabh Shukla
114c167834 Removing feature location_network from aosp_taimen
A location provider is absent on device without vendor blobs so the
feature should not be present.

Test: lunch aosp_taimen-userdebug, build, flash, then
atest android.app.cts.SystemFeaturesTest

Bug: 33380753
Change-Id: Ia889c8ec41e1f219b20b7a18299d79d0f1a79c45
2018-05-23 18:31:22 -07:00
TreeHugger Robot
e98793bbd0 Merge "audio: update table : add bt-sco and speaker-safe path" into pi-dev 2018-05-23 18:41:38 +00:00
TreeHugger Robot
63596a9085 Merge "taimen: Set vendor specific TPC Report IE by default" into pi-dev 2018-05-22 15:18:25 +00:00
juyuchen
e76a6ff6f2 audio: update table : add bt-sco and speaker-safe path
Bug: 78257659
Test: manual audio test on M2

Change-Id: If17a4a0451891185fd7e6a073b9cc29c0ea6a7a5
Signed-off-by: juyuchen <juyuchen@google.com>
2018-05-22 17:35:57 +08:00
Srinivas Girigowda
b75cd81dfc taimen: Set vendor specific TPC Report IE by default
Configuration ini parameter 'g_probe_req_ie_bitmap_6' is set to
have vendor specific IE(TPC Report)ini parameter but the ini
parameter 'gProbeReqOUIs' is not set to hold the respective OUI.

Set vendor specific TPC Report IE by default, by adding 'gProbeReqOUIs'
ini parameter with TPC Report OUI.

Change-Id: I73e7763a6eb7a8562b729c469f0ad98a990c97a0
CRs-Fixed: 2241474
Bug: 79873627
Signed-off-by: Srinivas Girigowda <sgirigow@codeaurora.org>
2018-05-17 14:05:51 -07:00
Siddharth Ray
559128b1c9 Taimen connectivity power profile
Cellular, Wifi and GPS power profile for Taimen is updated to values
based on device power measurements.

BUG:79879615
Change-Id: I846b05277b264375d18d5a4451e14a1060743553
2018-05-16 15:14:28 -07:00
jiabin
62a9ac6097 Populate microphone characteristics and snd device mapping
Populate microphone characteristics for supported microphones on
platform. Map input sound devices to specific microphone ids.

Bug: 75041465
Test: try open mic and print log to check if the info is correct
Change-Id: Id4498643f449e80544151b29ef3af4efa8b5ac4b
2018-05-10 10:36:02 -07:00
Kumar Anand
99dd0ddcd9 Merge "wifi: Re-enable TSO" into pi-dev 2018-05-04 21:35:12 +00:00
jiabin
11c5a0eac7 Add actual data for microphone characteristics.
Bug: 75041465
Test: run cts
Change-Id: I391b7af81cb758c60dc39a1c286fc288de7de56d
2018-05-03 15:20:14 -07:00
Kumar Anand
4ef5fbdbc6 wifi: Re-enable TSO
TCP Segmentation Offload (TSO) is re-enabled to meet TCP
TX (UL) throughput.

Bug: 78503031
Test: Performance Test
Change-Id: I96c3609995c685d9dc363268132fc5f383d6d211
2018-05-03 14:39:55 -07:00
rago
f0ac981871 Dynamics Processing Effect
Dynamics Processing configuration

Bug: 64161702
Bug: 38266419

Test: manual and CTS testing
Change-Id: I097a89660841e6dcfa440a4f3f94a008bbcf1af7
2018-04-19 17:42:58 -07:00
Jakub Pawlowski
cda8d25911 Fix Hearing Aid microphone not working during phone call
Bug: 77634055
Test: make phone call, use microphone
Change-Id: If53342c3e787ba8ee303e72cabcd27b62076a4c3
2018-04-19 10:19:03 -07:00
Kumar Anand
a575c062d9 Merge "wifi: update ini configuration file" into pi-dev 2018-04-19 01:28:08 +00:00
Eric Laurent
f1d302a065 audio mixer paths: add missing init values for mmap path
Bug: 65378324
Test: repro steps in bug
Test: CTS test AAudioTest
Change-Id: I2934dc425eef1d1bb564ffabf1a0fe09786b7e09
2018-04-18 10:03:56 -07:00
TreeHugger Robot
a3f5483a83 Merge "haptics: Specify playback duration for heavy click" into pi-dev 2018-04-17 22:25:24 +00:00
David Lin
4184969240 haptics: Specify playback duration for heavy click
This patch specifies the playback duration to 12 ms for a heavy click effect.

Bug: 77863933
Test: manual long press test
Change-Id: I625eacc631b639f161fcddd179623ef8a89db3e1
Signed-off-by: David Lin <dtwlin@google.com>
2018-04-17 10:27:26 -07:00
Santos Cordon
b8514ec115 Set the default and minimum values for taimen's VR brightness.
Test: Ensure going into VR still sets the brightness to 140.

Change-Id: I1f65f766d9deba465fdad960d61b9df4db803eb0
Bug: 73090564
2018-04-17 14:53:42 +00:00
TreeHugger Robot
4fdb6140b1 Merge "Add fake mic info for taimen." into pi-dev 2018-04-14 02:17:35 +00:00
jiabin
1ec2484c83 Add fake mic info for taimen.
AudioManagerTest.testGetMicrophones failed on taimen due to no
microphones data. Adding fake data right now to pass the CTS and update
with actual data once we get it.

Bug: 64038649
Bug: 77983724
Test: run cts
Change-Id: I4446b38285803cfe04905a870838f1a24df08585
2018-04-13 16:18:28 -07:00
Kumar Anand
d80f91e204 wifi: update ini configuration file
Bug:77605159
Test: Wifi Manual Sanity Test
Change-Id: I4728ffc76f130a91b193975a53af0b53cd9cfb4f
2018-04-13 14:30:04 -07:00
Qingxi Li
5e125bab59 Add a device flag to decide how eSIM UI shown
Add a device flag to decide whether by default, eSIM UI, including the
UI in settings, under Mobile network > Carrier, and eSIM setup flow in
Steup Wizard flow.

Bug: 77707568
Test: E2E
Change-Id: I15f2bc15f33d07a1471e20384aa92dfcfe88e5dd
2018-04-11 11:07:07 -07:00
Jorim Jaggi
b356d7f4e3 Enable early phase offsets for Taimen
Since we hit GL comp quite frequently during app transitions, we
need to enable early phase offsets to give it enough time for
composition.

Test: Open app, make sure vsync-offsets shift
Bug: 75985430
Change-Id: I2f85bf72a4b135dce664f7274848f3956a9aaf7a
2018-04-05 14:15:01 +02:00
Rubin Xu
f62a5a0d54 Merge "Indicate Taimen support Device ID attestation." into pi-dev 2018-04-05 09:38:27 +00:00
Ruchi Kandoi
664ff69b87 Merge "libnfc-nxp.conf changes for NFC 1.1" into pi-dev 2018-04-04 19:38:24 +00:00
Jakub Pawlowski
f396e1aab8 Add DEVICE_CATEGORY_HEARING_AID to audio_policy_volumes.xml
Test: Use Hearing Aid on Taimen
Bug: 69623109
Bug: 76434849
Change-Id: I40c7264097ccab0b2c12800d32c623a2d617324b
2018-04-04 19:33:47 +00:00
Jean-Michel Trivi
1698f13543 Merge "Volume curves: alarm and a11y can't be muted" into pi-dev 2018-04-04 17:00:11 +00:00
TreeHugger Robot
88b8291ea4 Merge "Update brightness curves for taimen" into pi-dev 2018-04-04 16:41:56 +00:00
Jean-Michel Trivi
ec62c009a6 Volume curves: alarm and a11y can't be muted
Also rename "DEFAULT" curves to "TAIMEN_DEFAULT" to
 highlight the fact that these differ from the default
 curves in frameworks/av/services/audiopolicy/config/default_volume_tables.xml

Bug: 72403580
Bug: 74985293
Test: try to mute alarms through UI and fail
Change-Id: Ia07cf62a29eb62dca466a62f5befee6630343d67
2018-04-03 23:59:28 -07:00
Thierry Strudel
4b1dfe1fb0 init-taimen.rc: map persist.vendor.charge.*.level to new driver nodes
Bug: 75301885
Change-Id: I670d595a57754597aa7bfd514064897ec5e497e8
Signed-off-by: Thierry Strudel <tstrudel@google.com>
2018-04-03 16:21:11 -07:00
Kenny Guy
70d5904310 Update brightness curves for taimen
Update brightness curves using curves from
https://cs.corp.google.com/piper///depot/google3/java/com/google/android/libraries/smartbattery/brightness/model/DeviceCurves.java
Sampled at integer log values from 0 to 5000.

Bug: 74386763
Test: Manual, flash device, adb shell dumpsys display and check brightness config.
Test: try phone near window and in dark area check brightness is reasonable.
Test: Push zebedee curve, check curve is the same as built in version.
Change-Id: I2c92c2bfcc03ccaa07cab6d544913b52184667df
2018-04-03 17:02:06 +01:00
Ruchi Kandoi
d4629fd7fa libnfc-nxp.conf changes for NFC 1.1
Test: Nfc enabled/disabled; tag reading
Bug: 75980364
Change-Id: I4dee2330b4ba7374cf5ebc3b101e3b07e6391fdf
2018-03-30 14:42:51 -07:00
TreeHugger Robot
b1cf087b76 Merge "WiFi: Switch wifi driver in wahoo into DLKM" into pi-dev 2018-03-30 02:16:53 +00:00
Ahmed ElArabawy
2867702c34 WiFi: Switch wifi driver in wahoo into DLKM
Current implementation for Taimen is to build the WiFi driver as a static
module (part of the kernel image)
This commit uses a dynamic linkable Kernel Module which is loaded at
init, and never unloads

Bug: 73177354
Test: Manual test

Change-Id: I7c10296c2bc54e7a93e85464989030a1aa6fd7d7
Signed-off-by: Ahmed ElArabawy <arabawy@google.com>
2018-03-29 09:18:45 -07:00
Eran Messeri
fa5074a487 Indicate Taimen support Device ID attestation.
Bug: 72642093
Bug: 73448533
Test: Modified CTS tests
Change-Id: Ie6e26e1cde696fa5dea9e149102437525a39290d
2018-03-27 19:57:03 +01:00
Srinivas Girigowda
7ad3ff54fd WLAN: MSM8998: Add ini param for rtt mac randomization
Add ini param to enable/disable rtt mac randomization.

Change-Id: I92e101b6d933a5ed37069185eacf75cc9a672e9d
CRs-Fixed: 2210299
Bug: 76086842
Signed-off-by: Srinivas Girigowda <sgirigow@codeaurora.org>
2018-03-26 18:14:38 -07:00
Kumar Anand
9f622ebd8e wifi: update configuration (ini) file
gAP11ACOverride=0
gEnableDTIMSelectionDiversity=3
MAWCEnabled=0
mawc_roam_enabled=0
mawc_nlo_enabled=0

Bug: 73786667
Test: Wifi Regression Test
Change-Id: I4f2390f7234e5fdd0231d359d4c697ee8700f299
2018-03-26 18:08:47 -07:00
Marissa Wall
7367bc8f0b power profile: Add taimen bluetooth
Add taimen bluetooth values.

Fixes: 63738468
b/74126906
Test: Boot phone and dump BatteryStats

Change-Id: If4576df3ac7e791b97cc0d7584dc7a8fe26b4c6a
2018-03-22 15:53:18 -07:00
Marissa Wall
236aeb3665 power profile: Update taimen power profile
Power profiles now support ambient and video.
Remove power.none because it is never used by batterystats.
Remove the radio values that are never used because
modem.controller.* are present. Update audio.

Fixes: 63738468
b/70531798
b/74125473
Test: Boot phone and dump BatteryStats

Change-Id: I4be783bc3c075ac4a94ff8a2e82e144b43d7d331
2018-03-22 15:53:08 -07:00
TreeHugger Robot
5e433eab91 Merge "Power profile for T" into pi-dev 2018-03-21 02:10:29 +00:00