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: I98f18aa3373df4e5002daab88c97876e0defda4f
Power profiles will now support active and cluster costs.
Some power profile values have been renamed per b/67752294.
Test: dump battery stats
Change-Id: Id479c233dc7456420dc3da5a80dfe03c51caa906
This change adds the paths for taimen for the incall music
use case. The path is which is used is incall-music-uplink.
This change was tested together with a set of additional changes to the
audio framework and the HAL which introduces the ability to
play pcm audio to the uplink stream.
Bug: 69973354.
Test: Tested manually.
Change-Id: I5e5b7b4fa1169988f802f9da33e0db97964c73ce
aosp_taimen uses prebuilt vendor.img. Therefore, build system cannot
correctly track the dependencies to vndk libs required. Add vndk_package
to install all possible vndk libraries.
Bug: 67002788
Test: aosp_taimen boots to the UI
Change-Id: Ib52a6496cc3f00c7d10788668d841994e91714ba
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>
config_displayBlanksAfterDoze was removed from wahoo and needs
to be set on the device overlay
Bug: 71897888
Test: flash taimen, press power button when in AoD
Change-Id: Ic54a0bd2f951b62726ae5451bfe83132f619af6d
Also, move to a nits-based autobrightness curve.
Bug: 71706239
Test: Boot Taimen device, see we get a PhysicalBrightnessMapper in
dumpsys display
Change-Id: I01c6cc1d3abe1c3e547556fc04a41225719cd94f
disable_scoring_for_roam=0 ; Enable BSSID scoring logic
for roaming. This is turned off by in the new code drop
and so to keep behavior same as 2017, this INI needs to
turned on.
Set gReportMaxLinkSpeed=0 to report actual link speed
Set gGoForce11NFor11AC=1 for P2P GO
Bug:69846237
Test: Manual Wifi Test
Change-Id: If49bbefa56b4e2b13a7abbd071c7067c769f65f7
missing path for usb headset record + voice call concurrency usecase
for example:
1. usb headset recording
2. make a voice call
3. switch to speaker mode
4. unable to find path 'hifi-record'
Bug: 70194145
Change-Id: Ia5e11602dd5f9b98b91c6bf887c3a06252c591cd
Signed-off-by: David Lin <dtwlin@google.com>
These should be compiled from source instead.
Bug: 69718172
Test: Identical to ag/546442, tested on walleye
Change-Id: I2b579a952d0374c5e34c5296f227f638d3630aea
Adds support for a kernel CFI enabled target for Taimen.
Bug: 67506682
Test: lunch taimen_kcfi && m -j50
Change-Id: I79519e229e8186532425b69860b70f0b51d716ec
In NXP_CORE_CONF_EXTN
add value A0, 08, 02, 00, 81
To be set the Port define as Output/Low by NFC’s GPIO5
Test: NFC Tag read, HCE
Bug:68832228
Change-Id: Ia284e2f302395348937ec6e5b0f973e9f77f1278
In NXP_CORE_CONF_EXTN
add value A0, 08, 02, 00, 81
To be set the Port define as Output/Low by NFC’s GPIO5
Test: NFC Tag read, HCE
Bug:68832228
Change-Id: Ia284e2f302395348937ec6e5b0f973e9f77f1278