Commit Graph

435 Commits

Author SHA1 Message Date
Patrick Tjin
dcd43a0824 Remove taimen_clang
Taimen kernel is default to clang already, no need for the target.

Bug: 66686376
Change-Id: I44a1309e252c58df4bf886a9500bbdd9fad34ecc
Signed-off-by: Patrick Tjin <pattjin@google.com>
2017-09-22 17:35:56 +00:00
Todd Poynor
05abc505c6 thermal: report throttling to Android thermalservice
Add "report" actions to throttling rules of algorithm type
"monitor", or add monitor rule covering throttling range, to send
throttling events to Android thermalservice.

Bug: 30982366
Test: manual on taimen (with artificially low thresholds)
Change-Id: Ib1bf8a148ef2ec654e7a238868d349859f197cb4
2017-09-19 16:38:07 +00:00
TreeHugger Robot
2a53a3a292 Merge "Audio HAL: Set USECASE_AUDIO_RECORD_AFE_PROXY to 7" into oc-mr1-dev 2017-09-18 15:28:15 +00:00
Kevin Rocard
5ccd0d182b Audio HAL: Set USECASE_AUDIO_RECORD_AFE_PROXY to 7
USECASE_AUDIO_RECORD_AFE_PROXY was not set thus taking the default value
of 8. This is not correct and will cause the offload visualizer to stall
or the phone call recording to fail.

This problem can not be observed currently because
the visualizer currently has the number hardcoded.
Nevertheless that will change in the future.

As for phone call recording, this feature is not available to normal
users.

Test: check that walleye and taimen have now the same value
Bug: 65761711
Change-Id: Iedf29696adacaf61bf3d0db99697a5013594b8ec
Signed-off-by: Kevin Rocard <krocard@google.com>
2017-09-15 22:42:30 -07:00
Patrick Tjin
50a5d52857 resolve merge conflicts of 084b9ab to oc-mr1-dev
Bug: 64760618
Test: verified correct asset
Change-Id: I8d10c3b1a8418eea1ea0ffff959f1c2f61835570
2017-09-15 19:17:49 +00:00
Patrick Tjin
084b9ab09a Update regulatory info.
Bug: 64760618
Test: verify correct png on device
Change-Id: Ic294ed714c5ca2fd92665a97bd57dd8dcb94021f
Signed-off-by: Patrick Tjin <pattjin@google.com>
2017-09-15 09:31:19 -07:00
Srinivas Girigowda
6e05ad6c85 WLAN: Taimen: Set cfg.ini values
ce_service_max_yield_time - Control to set ce service max yield time (in ms)
ce_service_max_rx_ind_flush - Control to set ce service max rx ind flush
rx_mode = 5 (rx_thread + NAPI)

Bug: 64133322
CRs-Fixed: 2090546
Change-Id: I6068221eccdcebd9eb814bda52cfcfe6e214523d
Signed-off-by: Srinivas Girigowda <sgirigow@codeaurora.org>
2017-09-13 10:17:28 -07:00
Bill Yi
5735311036 Merge "Update blobs for mr1" into oc-mr1-dev 2017-09-11 21:28:27 +00:00
Bill Yi
0912e6054c Update blobs for mr1
BUG:65457346
Change-Id: I4d8e0317a0ee1cc5c6e0e1d7bf210d1f7cf3e767
2017-09-11 14:24:32 -07:00
TreeHugger Robot
75cd429298 Merge "Camera Hal: allow access to calibration data" into oc-mr1-dev 2017-09-08 03:30:29 +00:00
Jeff Vander Stoep
2e1aac1369 Camera Hal: allow access to calibration data
The camera HAL verifies that the calibration file exists and
then passes the path to the kernel.

Bug: 65454046
Test: Camera app
Change-Id: If93e909bcbe4e243bb1efc0fbad0c90afa6e7fc5
2017-09-07 17:38:50 -07:00
Patrick Tjin
530dd71922 Update regulatory info.
Bug: 64760618
Test: verify correct png on device
Change-Id: Ic294ed714c5ca2fd92665a97bd57dd8dcb94021f
Signed-off-by: Patrick Tjin <pattjin@google.com>
2017-09-07 14:58:28 -07:00
Michael Wright
b31e38363a Increase the dim brightness.
Right now, the dim brightness is way too dim to the point where most
things aren't visible even in low indoor lighting situations. Upping
this a bit makes it still noticeably dimmer but a lot more visible in
normal usage. It may be worth increasing further, but this is a good
place to start.

Bug: 65346115
Test: wait for the device to dim, see that's actually visible under 4k+
      lux ambient light.

Change-Id: Idf89f1309d7eae8d5ce4d617e6117c0f6cc76562
2017-09-04 17:52:23 +01:00
Erik Kline
ad6a7dd895 enable IPA offload config for WLAN
Test: as follows
    - built
    - flashed
    - booted
    - decidedly did not blow up on device
        2017-08-30T18:15:35.160 - [OffloadHardwareInterface] getForwardedStats(rmnet_data0) -> rx:1444450 tx:48330
Bug: 34361337
Change-Id: I3d931fedd1a64c774356be94d15569b0939e27a7
2017-08-30 19:29:27 +09:00
Phil Burk
eb2016654e Merge "aaudio: reenable MMAP mode for Taimen" into oc-mr1-dev 2017-08-25 17:50:33 +00:00
TreeHugger Robot
bb5e4b0f0f Merge "Convert Taimen & Walleye audio_effect.conf to xml" into oc-mr1-dev 2017-08-25 06:47:24 +00:00
Kevin Rocard
ecf82951a4 Convert Taimen & Walleye audio_effect.conf to xml
Converted .conf format to .xml using:
vendor/box/user/mnaganov/audio-effects-conf/aeffects-conf2xml

Bug: 37492580
Test: dumped the effectFactory state and check it was unchanged
      $ adb shell dumpsys media.audio_flinger | sed '/Clients:/q'
Change-Id: I233a44c2ba0cb4c4d4fb8c3720fc09862ce79827
Merged-In: I233a44c2ba0cb4c4d4fb8c3720fc09862ce79827
Signed-off-by: Kevin Rocard <krocard@google.com>
2017-08-24 21:24:39 -07:00
hyunho.koh
cacece5d9b Merge "taimen: NFC: update rf value about NXP_EXT_TVDD_CFG_2" into oc-dr1-dev
am: dc68b83dd6

Change-Id: I97377cc0aeeda8983fe62cd959513a985b789d98
2017-08-24 21:20:03 +00:00
TreeHugger Robot
dc68b83dd6 Merge "taimen: NFC: update rf value about NXP_EXT_TVDD_CFG_2" into oc-dr1-dev 2017-08-24 21:09:13 +00:00
taeho.youn
f16128f44d audio: acdb setting for BT NREC devices
Add acdb setting for BT devices supporting NREC in them.

Bug: 64750380
Test: manual audio test
Change-Id: Ib5e313a986ae9a237bfedd94bcaee326451611b4
2017-08-23 15:24:31 -07:00
Phil Burk
5f696a66d8 aaudio: reenable MMAP mode for Taimen
Bug: 64955707
Test: "adb shell getprop aaudio.mmap_policy" should print 2
Change-Id: I6e1c90672bf8f7fa796fd6bdfdbf085963c2e0bc
2017-08-23 12:22:42 -07:00
Ecco Park
984a6feea0 taimen-wifi: DBS off
am: f7fbda2836

Change-Id: I83ee42f1441543adc327317a879e86f8053c4a10
2017-08-23 17:25:03 +00:00
Ecco Park
f7fbda2836 taimen-wifi: DBS off
Bug: 64813616
Change-Id: I49ef19e589fdb922f1e58b1894d9bb498be51af4
Signed-off-by: Ecco Park <eccopark@google.com>
2017-08-23 00:13:38 +00:00
hyunho.koh
75d6a2706a taimen: NFC: update rf value about NXP_EXT_TVDD_CFG_2
Fixed value C2,B2,00,BA not C2,BA,00,B2

LPCD Booster
 Enable(BA) : booster works including LPCD mode.
 Disable(B2) : booster works only Normal mode.

Test: HCE, Tag reading
Bug:64463108
Change-Id: Ie3381eabd669f2d88ad79fdaf350ba447ae2a318
2017-08-21 17:18:18 -07:00
Michael Wright
00f5a0dade Add brightness minimum back.
am: 4c09bac0a4

Change-Id: I9fbf6551656b487324c417c6ed0efe1369972f81
2017-08-15 17:44:57 +00:00
Michael Wright
4c09bac0a4 Add brightness minimum back.
This was erroneously removed when updating the autobrightness curve
under the assumption that the default value was 1 but it's actually 10,
which is way too high.

Change-Id: Ie5b81c23d9d30560f5a686d40bc090d3cbdf3c4d
Fixes: 64708230
Test: manual
2017-08-15 15:47:49 +01:00
Ecco Park
144802036c taimen-wifi: disable TSO
am: 6018280cdc

Change-Id: I1a46243b3e6166812725a62655aad8e4e61014ef
2017-08-15 01:45:00 +00:00
Ecco Park
6018280cdc taimen-wifi: disable TSO
Bug: 64039324

Test: 
In the last 1 hour:
- Walleye: running speedtests (BT off)
- Taimen: running speedtests (BLE + BT on)
=> no disconnection for wifi.

Change-Id: I408528cf63858d484048cd093ef3a379cd0cfcb7
Signed-off-by: Ecco Park <eccopark@google.com>
2017-08-15 01:11:37 +00:00
Ecco Park
47b2db2673 taimen-wifi: re-enable TSO
am: be5a4af848

Change-Id: Ib069c9f766c10ab2a7665176b0c928516503368b
2017-08-11 23:50:07 +00:00
Ecco Park
be5a4af848 taimen-wifi: re-enable TSO
Bug: 64039324

Change-Id: Id4655c0721ea889f7b7bc7e5ae4cff0cd2261c8e
Signed-off-by: Ecco Park <eccopark@google.com>
2017-08-11 14:28:44 -07:00
Wei Wang
bc36309dd9 Increase readahead for vendor partition
Taimen's vendor is on sde, this will make sure we have same tuning as walleye

Bug: 38000161
Test: check readahead
Change-Id: Ia2eaffa050804ee4e209e6263c91a8b9d67d736d
2017-08-10 15:41:10 -07:00
taeho.youn
f1f85dd907 Merge "audio: update volume curve for ringtone, in-call tones" into oc-dr1-dev
am: 9910c92147

Change-Id: Ic8a2568ada6158dc39a5a11d19e90eb52b548078
2017-08-10 03:38:31 +00:00
TreeHugger Robot
9910c92147 Merge "audio: update volume curve for ringtone, in-call tones" into oc-dr1-dev 2017-08-10 03:32:04 +00:00
Winson Chung
9d3302ded1 Merge "Updating brightness override for AOD." into oc-dr1-dev
am: 68d2488991

Change-Id: I5cf3152683c42c67bdfff1941da8650bdec7e602
2017-08-10 02:45:24 +00:00
TreeHugger Robot
68d2488991 Merge "Updating brightness override for AOD." into oc-dr1-dev 2017-08-10 02:32:28 +00:00
taeho.youn
3601d29a83 audio: update volume curve for ringtone, in-call tones
This patch updates the re-calibrated volume curve for voice stream for
in-call tones.

Bug: 64459913
Bug: 63908439
Test: manual audio sanity test
Change-Id: I436679d935c26650fe26eddc13bc654a322707f5
2017-08-09 18:11:10 -07:00
Winson Chung
84f3707b63 Updating brightness override for AOD.
Bug: 63782050
Test: Verified visually
Change-Id: I7e7cb9cebe61856373b171d6dd62d93abf92d596
2017-08-09 16:50:43 -07:00
Phil Burk
b7b833f497 Merge "aaudio: disable MMAP data path" into oc-dr1-dev
am: acd8c253c7

Change-Id: I4405f7c3acc755773c81ce8070705992097e38d0
2017-08-09 23:48:11 +00:00
TreeHugger Robot
acd8c253c7 Merge "aaudio: disable MMAP data path" into oc-dr1-dev 2017-08-09 23:46:31 +00:00
Ecco Park
6c9daa5250 Merge "taimen-wifi: change the configuration for performance issues" into oc-dr1-dev
am: 80df3a062e

Change-Id: Iedbf0429f2e826d6af8a1229b83e6e46cc0836e0
2017-08-09 23:45:55 +00:00
Kumar Anand
d8c7397788 Merge "Revert "Taimen: enable SAR tx power control for wifi"" into oc-dr1-dev
am: c7cfa61aff

Change-Id: I09ae19c5fd0b331e8d877546c9927765d73cdba8
2017-08-09 23:45:41 +00:00
Ecco Park
80df3a062e Merge "taimen-wifi: change the configuration for performance issues" into oc-dr1-dev 2017-08-09 23:44:22 +00:00
Kumar Anand
c7cfa61aff Merge "Revert "Taimen: enable SAR tx power control for wifi"" into oc-dr1-dev 2017-08-09 23:41:31 +00:00
Kumar Anand
abcd962539 Revert "Taimen: enable SAR tx power control for wifi"
This reverts commit 5a98048374.

Change-Id: Iebb1f2c1391cfdcecdf130ccb248df00c0876cf4
2017-08-09 23:21:01 +00:00
Ecco Park
f682d60908 taimen-wifi: change the configuration for performance issues
1) Disable TSO(TCP Segmentation Offload) for BT Coex (b/64039324)
2) Disable IPA for Hotspot (b/63740353)

Bug: 64039324
Bug: 63740353

Change-Id: Iacdf52b3120b380eca1459966c819e1482389d7e
Signed-off-by: Ecco Park <eccopark@google.com>
2017-08-09 16:18:19 -07:00
Phil Burk
3580135436 aaudio: disable MMAP data path
Some bugs were found late in the release cycle for DR1.
It seems safer to simply disable MMAP mode for DR1
and enable it in MR1.

Developers can still experiment with MMAP mode by overriding the policy
using AAudio_setMmapPolicy().

Bug: 64316921
Bug: 64311216
Bug: 64494572
Test: "adb shell getprop aaudio.mmap_policy" should print 1
Change-Id: Ia8752693f4e58a27dd901148728543c8d0bb8259
2017-08-09 14:17:03 -07:00
Adrian Salido
2bb63f7d3c Merge "display: Change low persistence mode brightness to 50nits" into oc-dr1-dev
am: b22572dafe

Change-Id: I6932e2a66e5603447c1e2de86ca4fda55f989fda
2017-08-09 16:29:32 +00:00
Adrian Salido
b22572dafe Merge "display: Change low persistence mode brightness to 50nits" into oc-dr1-dev 2017-08-09 16:18:12 +00:00
Jason Monk
961c61eac6 Merge "Change rounded corner radius to 26dp" into oc-dr1-dev
am: eb5f387dd6

Change-Id: I113a4d635daca3ef942fc3d2b1f939adf887a026
2017-08-09 12:45:26 +00:00
Adrian Salido
c3f3b300aa display: Change low persistence mode brightness to 50nits
Bug: 36660610
Change-Id: I85e4642b549b3c67f873748a3ff00cb942894ddb
2017-08-08 16:55:01 -07:00