Commit Graph

1121 Commits

Author SHA1 Message Date
Phil Burk
2c635657f9 aaudio: add MMAP mode for handset on Walleye
This fixes a bug that prevented starting an AAudio MMAP stream
running on the earphone speaker.

Bug: b/75304145
Test: adb shell write_sine_callback -m3 -d2 -pl
Change-Id: I0eeaf7c93288893fafa5a4e207623d5b5162776e
2018-03-19 14:30:04 -07:00
Tom Cherry
b85a22586c remove ro.hwui. properties from being set am: 6a89af9deb am: f7e7df3746
am: 335dba8813

Change-Id: Ib8bbbebf74f784184d78bc61842009664c6b4c05
2018-03-02 07:25:40 +00:00
Tom Cherry
335dba8813 remove ro.hwui. properties from being set am: 6a89af9deb
am: f7e7df3746

Change-Id: I8116c3fc0fbd40a6784acba132a67fcf71722054
2018-03-02 07:19:37 +00:00
Tom Cherry
f7e7df3746 remove ro.hwui. properties from being set
am: 6a89af9deb

Change-Id: I85a79936a3315ea76f3eef5b438af3121d33d7c6
2018-03-02 07:13:05 +00:00
Tom Cherry
6a89af9deb remove ro.hwui. properties from being set
These have migrated away from properties.

Bug: 73905119
Test: boot walleye, do not see errors about these being set
Change-Id: I91e680d99aeb2809959e8f0c7ec48a162bd8dbee
2018-03-01 17:01:47 -08:00
Lucas Dupin
8bbff6ea65 Disable wake-up animation on walleye
Test: make, flashall, pres power button
Change-Id: Ie01187c8fdaeae11d82476f324a98aab385da9ac
2018-02-28 15:09:37 -08:00
Jaekyun Seok
81b8c9a78c Move the default value of persist.traced.enable to system partition (2/2) am: 517c1a2b76 am: 591af3d18b
am: 02d9743632

Change-Id: I5262993dac61b6d13a8b6ff709d882b11555be0f
2018-02-27 23:15:54 +00:00
Jaekyun Seok
02d9743632 Move the default value of persist.traced.enable to system partition (2/2) am: 517c1a2b76
am: 591af3d18b

Change-Id: I9f4fac9b08efcb2f18e1f14576c5b9f41443fafe
2018-02-27 23:10:20 +00:00
Jaekyun Seok
591af3d18b Move the default value of persist.traced.enable to system partition (2/2)
am: 517c1a2b76

Change-Id: I726051be1de05179cce9b32a7757c8d688942b60
2018-02-27 23:05:18 +00:00
Jaekyun Seok
517c1a2b76 Move the default value of persist.traced.enable to system partition (2/2)
persist.traced.enable isn't related to hardware, and so the default
value should exist in system partition.

Bug: 73905119
Test: succeeded building and test with walleye
Change-Id: I65044f3522e69805da3092f4fef63996384c0806
2018-02-27 19:50:51 +09:00
Michael Wright
b17e1e58f9 Reduce Walleye's min brightness.
Walleye used to have a dark configuration value of 1, but that got
removed when we changed how the slider worked. Unfortunately, the min
value was never set to what the dark value used to be, leaving walleye's
minimum brightness needlessly high.

Change-Id: I7e1ee480a00de6180277672c0f4c379f1e66d306
Fixes: 73190431
Test: flash, dumpsys display, see new min value
2018-02-12 21:55:51 +00:00
Bill Yi
accb7d19b5 Remove libaptXHD_encoder.so and libaptX_encoder.so am: 25b687d52a am: e676d6bf3b
am: d83bd0ce17

Change-Id: I5fb142c867a8e7873611b7ac6ed4fb8101d709e6
2018-02-07 18:36:45 +00:00
Bill Yi
d83bd0ce17 Remove libaptXHD_encoder.so and libaptX_encoder.so am: 25b687d52a
am: e676d6bf3b

Change-Id: I4c7df17d2aad72ccce94f9465edc47a98064c4b5
2018-02-07 18:31:33 +00:00
Bill Yi
e676d6bf3b Remove libaptXHD_encoder.so and libaptX_encoder.so
am: 25b687d52a

Change-Id: I092766a1cc266c2346b058a24cdc3a87c1eaef77
2018-02-07 18:26:56 +00:00
Bill Yi
55ab4d3bef Remove vendor.qti.qcril.am-V1.0-java.jar am: 1c822dd7a4 am: 4b0804ce78 -s ours
am: 9b8c5aec2c  -s ours

Change-Id: Ia007b806c71e9b51999c34a9a7d1a228fe2c1726
2018-02-07 08:39:23 +00:00
Bill Yi
9b8c5aec2c Remove vendor.qti.qcril.am-V1.0-java.jar am: 1c822dd7a4
am: 4b0804ce78  -s ours

Change-Id: I76a71c43f8bc78052bd21d48700858ab148a4245
2018-02-07 05:07:56 +00:00
Bill Yi
25b687d52a Remove libaptXHD_encoder.so and libaptX_encoder.so
BUG:72757532
Change-Id: Ie3eb6da2e5c1437459b92e198fbe112a31225c0b
2018-02-06 21:04:52 -08:00
Bill Yi
4b0804ce78 Remove vendor.qti.qcril.am-V1.0-java.jar
am: 1c822dd7a4

Change-Id: I82d23e07687abc25c5587e22588e96d38860fea4
2018-02-07 05:02:57 +00:00
Bill Yi
2de411d920 Don't package AOSP component com.android.ims.rcsmanager am: 8c767d05ef am: 7ca72015d4
am: 53f73c1627

Change-Id: I32db8ad1aa6e051714bf3c0757c3e0caf1143a07
2018-02-07 02:39:52 +00:00
Bill Yi
53f73c1627 Don't package AOSP component com.android.ims.rcsmanager am: 8c767d05ef
am: 7ca72015d4

Change-Id: I39c4496f63a94f367009dc2e4b27cf6fa6cef45d
2018-02-07 02:23:58 +00:00
Bill Yi
7ca72015d4 Don't package AOSP component com.android.ims.rcsmanager
am: 8c767d05ef

Change-Id: I65796a10e6cf1e4691bb1089c8d0dca34810ec9b
2018-02-07 02:17:58 +00:00
Bill Yi
1c822dd7a4 Remove vendor.qti.qcril.am-V1.0-java.jar
BUG:72705856
Merged-In: If4ff8fa8bfb4a2bd0cd6e7978a52eef72f1efc8c
Change-Id: I230c6e91e4d504e4eb79c6d125cf81d5a26f299d
2018-02-06 17:58:57 -08:00
Bill Yi
0b4ac29398 Add system/framework/qcrilhook.jar am: 6b1ac348da am: a4d6577af1 -s ours
am: a606946cab  -s ours

Change-Id: Ia30ab0a4216cc12e6eb9688e31d6c1b36271c858
2018-02-07 01:25:25 +00:00
Bill Yi
a606946cab Add system/framework/qcrilhook.jar am: 6b1ac348da
am: a4d6577af1  -s ours

Change-Id: I97e58b26817c6379232c74354ea9d17d6f90d429
2018-02-06 23:53:31 +00:00
Bill Yi
8c767d05ef Don't package AOSP component com.android.ims.rcsmanager
This module is part of AOSP, build it from source instead of using
prebuilt blobs.

Test: None
Change-Id: I6cf329a3beedbb78db0db9028e0693bc340ee57b
2018-02-06 23:47:18 +00:00
Bill Yi
a4d6577af1 Add system/framework/qcrilhook.jar
am: 6b1ac348da

Change-Id: Idb11dc324c86eec1389c2b2102c803a775c746c4
2018-02-06 23:46:49 +00:00
Bill Yi
6b1ac348da Add system/framework/qcrilhook.jar
BUG:69427786

TEST: built and flashed walleye
Merged-In: I6eb59bc4afa7416720c60fc76b5d25c412de77e9
Change-Id: I6eb59bc4afa7416720c60fc76b5d25c412de77e9
2018-02-06 14:13:15 -08:00
Bill Yi
3cf08b4e09 Remove vendor.qti.qcril.am-V1.0-java.jar
am: 34bc67a72f

Change-Id: I7279f8fca365502061b41f006d37bacdc24c60d5
2018-02-01 08:04:22 +00:00
Bill Yi
34bc67a72f Remove vendor.qti.qcril.am-V1.0-java.jar
BUG:72705856
Change-Id: If4ff8fa8bfb4a2bd0cd6e7978a52eef72f1efc8c
2018-01-31 20:12:46 -08:00
Kumar Anand
566d07eaad Merge "wifi: Optimize DP Tracing" 2018-02-01 00:16:19 +00:00
Kumar Anand
91fb541476 wifi: Optimize DP Tracing
Reduce the DP (Data Path) Tracing events in order
to not consume too much CPU cycles unnecessarily. New
configuration helps saves 40% of cycles or 7.7MCycles/s

Bug: 71766704
Change-Id: I128c62afe69229999ca911caad7fb17b59fa9413
2018-01-31 12:27:03 -08:00
Kumar Anand
e70813b032 Merge "wifi:walleye: Remove obsolete disable_scoring_for_roam" 2018-01-30 22:29:12 +00:00
Hridya Valsaraju
a8910eb11b Merge "Indicate index of device tree overlay applied for walleye" am: a66d3099fe am: 14293a7489
am: 27ca882bed

Change-Id: I21bce277ef64f5baa73ae44161f96ad77b92e101
2018-01-30 21:31:01 +00:00
Hridya Valsaraju
27ca882bed Merge "Indicate index of device tree overlay applied for walleye" am: a66d3099fe
am: 14293a7489

Change-Id: Idc1fd5cdd89b23d71ea9222e662f695623ed35c8
2018-01-30 21:28:30 +00:00
Hridya Valsaraju
14293a7489 Merge "Indicate index of device tree overlay applied for walleye"
am: a66d3099fe

Change-Id: I0776ee2d88cce457dd40bfb1c9481d276e564669
2018-01-30 21:25:59 +00:00
Treehugger Robot
a66d3099fe Merge "Indicate index of device tree overlay applied for walleye" 2018-01-30 21:17:43 +00:00
Primiano Tucci
dd327e98f3 Enable perfetto traced for walleye am: 0ef1227efc am: 2bce6961e5
am: cffed09316

Change-Id: I0896e22fa276ff1c5dffd4da443e7b8892fb6d83
2018-01-26 20:07:36 +00:00
Primiano Tucci
cffed09316 Enable perfetto traced for walleye am: 0ef1227efc
am: 2bce6961e5

Change-Id: I8c789e135fceaac13ff4737cbd53ac92274a8b31
2018-01-26 19:57:29 +00:00
Primiano Tucci
2bce6961e5 Enable perfetto traced for walleye
am: 0ef1227efc

Change-Id: Idb3ba1a81d9fe33e43468ffc3975a19951e0bf3e
2018-01-26 19:52:59 +00:00
Primiano Tucci
0ef1227efc Enable perfetto traced for walleye
Bug: 72484603
Test: builds and run (see go/perfetto-test-spec for test plan)
Change-Id: I2fa1d8aee0661903c8fdd634e16bc24763aa3a87
2018-01-26 17:59:05 +00:00
Kumar Anand
65c4cb7896 Merge "wifi: enable Softap ACS and 11ac on walleye" 2018-01-25 01:23:27 +00:00
Jiyong Park
f40a458876 add vndk_package to aosp_walleye am: 2012fda373 am: eac6e41fcb
am: 112fa767f2

Change-Id: I64b2a97f6c69ec4ce6e2b670ebaaaf10591956e1
2018-01-24 15:50:04 +00:00
Jiyong Park
112fa767f2 add vndk_package to aosp_walleye am: 2012fda373
am: eac6e41fcb

Change-Id: If6aefb6c86db3e4bb51497105c5540a2522e070e
2018-01-24 15:45:29 +00:00
Jiyong Park
eac6e41fcb add vndk_package to aosp_walleye
am: 2012fda373

Change-Id: If84e6c80e09d71cc8e84829df045430f50a729b5
2018-01-24 15:43:28 +00:00
Kevin Rocard
710aed4391 Merge "Revert "Audio V4: Split system and vendor Audio.h"" 2018-01-24 06:26:15 +00:00
Kevin Rocard
b1021d5483 Revert "Audio V4: Split system and vendor Audio.h"
This reverts commit 3721141909.

Reason for revert: Breaks the build of multiple devices

Change-Id: I094b02b6b59baa107c532fc21fef945eaf2f4161
2018-01-24 06:13:02 +00:00
Kevin Rocard
292649dffc Merge "Audio V4: Split system and vendor Audio.h" 2018-01-24 04:04:47 +00:00
Hridya Valsaraju
8e4c58054f Indicate index of device tree overlay applied for walleye
Test: vts-tradefed run vts -m VtsVerifyDTBOTest
Bug: 67779848
Change-Id: I223de147083f1d6822310a4ea0cc0ca5a6aa17ba
2018-01-23 17:10:40 -08:00
Kumar Anand
acbf70717c wifi:walleye: Remove obsolete disable_scoring_for_roam
disable_scoring_for_roam is renamed to enable_scoring_for_roam
from the code and enabled by default.
Hence, remove the obsolete ini item disable_scoring_for_roam.

Bug: 71763975
Test: Wifi Regression Test
Change-Id: I73365874a4f333aa026301f038fbc6e3890c4604
2018-01-23 13:23:55 -08:00
Kevin Rocard
3721141909 Audio V4: Split system and vendor Audio.h
audio.h and its dependencies (audio-effect.h, sound_trigger.h...)
used to be shared between system and vendor code.

This led to multiple problems:

1) Such sharing contradicts the Treble policy of
strict independence of framework and vendor code.

2) When audio.h was changed, every vendor needed to update
its code in the next release. This meant that audio*.h
headers were mostly changed in backward compatible manner.
Nevertheless, for P the HIDL interface and thus the audio.h
interface are changed in backward incompatible way.
(Some enum are becoming 64 bit long).

3) As the headers were common, some API used only by the framework
needed to be visible to the vendors (mostly enum values).

4) Treble policy is to support at least one previous HAL version

As a result the audio*.h headers are now duplicated,
one set for the framework, and one for the vendor.

Each set will evolve independently. After this split,
the framework-only APIs will be removed from the vendor headers
and vice versa.

The split is implements as such:

 + for system code

    - NOT moving the libaudio_system_headers
      Eg: system/audio.h and system/audio_effects/effect_equalizer.h
          are still in system/media/audio

    - the legacy audio HAL API that were in libhardware headers
          are now in libaudiohal_legacy_headers
      Eg: hardware/audio.h and hardware/audio_effect.h
          are now in frameworks/av/media/libaudiohal/legacy/

 + for vendor code

    - moving libaudio_system_headers and the legacy audio HAL API
          that were in libhardware_headers in
          android.hardware.audio.common.legacy@2.0
      Note that those headers are now versioned, so migrating to a @4.0
          HIDL HAL will mean changing the legacy dependency too.
      Eg: system/audio.h, system/audio-effect.h, hardware/audio.h
          are now in hardware/interfaces/audio/common/2.0/legacy

    - the legacy audio effect HAL API that was in libaudioeffects
          is now moved in android.hardware.audio.effect.legacy@2.0
      Eg: audio_effects/effect*.h are now in
          hardware/interfaces/audio/effect/2.0/legacy

    - the legacy sound trigger HAL API that were in libhardware_headers
          is now moved in android.hardware.soundtrigger.legacy@2.0
      Eg: hardware/sound_trigger.h is now in
          hardware/interfaces/audio/effect/2.0/legacy

libaudioutil being used by both system and vendor, had
to be renamed for system to libaudioutil_system.

Vendor libs that now depend on the audio.h of a specific
version and are not extensively referenced in non google code,
append @2.0 to their name.

Note that headers that are not expected to change in the 4.0 HAL are
left in all-versions folder to avoid duplication.
This is an implementation detail as the versioned libraries export
the all-versions headers.

Note that strict vendor-system separation is enforced by the
build-system. The system headers are not available for vendor
libs and vice-versa.

Note that this patch is split between numerous git repository (>10),
all the commits having the same Change-id for searchability.

Note that audio_policy.h is no longer exposed to vendors
as the legacy audio policy HAL API was never officially supported.
As a result the audiopolicy stub implementation has been removed.

Test: compile taimen-userdebug walleye-userdebug
              sailfish-userdebug marlin-userdebug
              gce_x86_phone-userdebug gce_x86_phone
              full-eng aosp_arm aosp_x86-eng
Test: check that the emulator booted and played audio
Test: full QA on sailfish-userdebug and taimen-userdebug
Bug: 38184704
Change-Id: I950f4e0a55613d72e32eba31bd563cb5bafe2d1a
Signed-off-by: Kevin Rocard <krocard@google.com>
2018-01-23 08:51:49 -08:00