Age | Commit message (Collapse) | Author |
|
"LA.QSSI.12.0.r1-06800-qssi.0"
Change-Id: I3c5a85f5c37b5bba1590d2aa8f67e5b3f01939c8
|
|
Add config to set the NUM_BUFFERS. Set NUM_BUFFERS to 1 can
prevent page flipping and set it to a larger number can allow
userspace to fill up the following frame earlier.
Bug: 205917753
Change-Id: Ibf4a52a1e35f4a2404008a48b637cb82c4b46365
|
|
Bug: 207008609
Test: Verified dynamic sensor sampling with proposed standard Android
head tracker.
Test: Verified dynamic sensor sampling with custom Android sensor.
Change-Id: Ia9b991d4a8f7de132cb8509bcc84c51f62e56b31
|
|
Bug: 207008609
Test: Verified dynamic sensor sampling.
Test: Verified unit tests pass.
Change-Id: I797ccabadefa0dde59fd0f3e8541f9853d657f3f
|
|
Bug: 207008609
Test: Verified dynamic sensor sampling.
Change-Id: If0bef3647d5c52f9bf1d92a2a0ead72e98c70b8c
|
|
Bug: 205041452
Test: Verified that multiple subscriptions can be made with sensor_test
to a dynamic sensor without hanging.
Change-Id: Ie7671df8294bee04a0ebe1940242c2a83105f897
|
|
This is a squash of the following commits.
commit dabc25c1d073a0f32b706e59b87ac89f67389107
Author: Ethan Chen <intervigil@gmail.com>
Date: Fri, 03 Jul 2015 21:35:30 -0700
audio: Notify amplifier HAL of device enable/disable
Change-Id: Ice808c9b55a9e3bc8bafe5ca3ff555377d38dd8f
commit 5b2337c434acff34d85ae14b9cc2d3507fdffe52
Author: Scott Mertz <scott@cyngn.com>
Date: Fri, 11 Sep 2015 12:09:06 -0700
amplifier: add set_parameters method
- audio hal should pass the audio_device parameters to the amplifier
to allow the amplifier to make decisions based on the additional
parameters. For example, we may want to change settings for DTS
TrueMedia use case.
Change-Id: Iccf6ef7ced2abd2e12e857eea8e580cda15eec04
commit 6a6c815e74bc9c8da0cead508dfa722229ea878f
Author: Scott Mertz <scott@cyngn.com>
Date: Wed, 21 Oct 2015 10:11:49 -0700
audio_amplifier: fix compilation
stdlib.h is needed explicitely with the new
toolchain/toolchain options.
Change-Id: I876041828310ec8f9fb1e0d636a38cce1977d9b9
commit dcc6b5fd693b129492a45ec75038ca582689bd5d
Author: Ethan Chen <intervigil@gmail.com>
Date: Fri, 15 Jan 2016 16:12:39 -0800
amplifier: Fix compilation warning
* Forward declare str_parms
Change-Id: Iafb0ad8e4b0696807cfe568d0f89ce5dad6bcade
commit 978ac098d6cde55bc5090ea83a9bda2ee176577b
Author: codeworkx <daniel.hillenbrand@codeworkx.de>
Date: Sat Mar 24 21:30:34 2018 +0100
audio_amplifier: add hooks for stream parameter manipulation
This allows to modify audio parameters before the first
device selection happens which is necessary when setting ANC parameter
since it must happen before audio hal hits voice_start_call() and
selects devices. If setting ANC after stream has been started it will
trigger a re-selection of devices and cause a short downtime.
Change-Id: Icfddab5ce27235c1567a0557e63b3a7421778187
commit fbd7069e5c87772338608e026f60d2fef37ca5f3 (HEAD)
Author: Pig <pig.priv@gmail.com>
Date: Tue Sep 22 21:41:59 2020 +0800
audio_amplifier: Add new hook for setting amp feedback
Change-Id: Ifcea8b0c680c5066ed17cd41c29a49a8a9508aea
|
|
Bug: 201730055
Test: Verified that flush, batch, and activate sensor VTS tests pass.
Change-Id: I6721d9f8976b3ef9f6af02b2320833025b479ee6
|
|
Bug: 195964858
Test: Paired a Sony PS4 controller and verified it can be sampled as an
accelerometer. The first subscription always returns all 0's, but
subsequent subscriptions return proper accel samples.
Change-Id: I4bbc4695c988f600a62502f9fccabaa68f42c72b
|
|
Bug: 195964858
Test: Paired a Sony PS4 controller and verified it is present in sensor
list as an accelerometer. It can't be sampled, but the LSM6DSR
accelerometer may still be sampled.
Change-Id: I182291cebdf84e5f6cd44d16debd6a07c4bc5281
|
|
Bug: 195964858
Test: Verified dynamic sensor manager is present in sensor list and that
no SELinux violations occur on sc-v2-dev and master.
$ make -j28 && \
vendor/google/tools/flashall -w -s 14281FDEE000A5 --disable_verity && \
sleep 90 && adb root
.
.
.
$ adb shell sensor_test list | grep "sensor_test\|Type\|Dynamic"
sensor_test version 74
Type Subtype Name
32 0 Dynamic Sensor Manager
$ adb logcat -d | grep avc | grep sensor
$
Change-Id: Ib3da287e4f4118ad6b19498248e263f8c1662b3a
|
|
Revert submission 15874906-bug_195964858.2
Reason for revert: b/200815351
Reverted Changes:
I76a60f7fb:Allow the sensor HAL to access dynamic sensor prop...
I5d587dc46:dynamic_sensor: Add sensor manager init to sub-HAL...
Change-Id: I26b95614bb276e5c2a686de78d73ab48767176a3
|
|
Bug: 195964858
Test: Verified dynamic sensor manager is present in sensor list and that
no SELinux violations occur.
Test: See details in testing done comment in
https://googleplex-android-review.git.corp.google.com/15874906 .
Change-Id: I5d587dc46bdec66c3162bf222d36b285b8d2ca3d
|
|
This reverts commit 28b58c62b5db41da83366e4b4fe3e0ef9ed32a22.
Reason for revert: 200210164
Change-Id: I6be2c972a29ec7943dbdf450ef3e491065b011a6
|
|
Bug: 195964858
Test: Verified dynamic sensor manager is present in sensor list.
Test: Test: See details in testing done comment in
https://googleplex-android-review.git.corp.google.com/15831086 .
Change-Id: Ia34596d79f8a6c6985b35dcae75126e456f6009e
|
|
Bug: 195964858
Test: Verified the dynamic sensor sub-HAL initializes and non-dynamic
sensors can sample.
Test: See details in testing done comment in
https://googleplex-android-review.git.corp.google.com/15806307 .
Change-Id: I59934814cc61c7319731eb840ff2132a8c5ce241
|
|
Bug: 192702566
Test: atest AudioRecordTest#testTimestamp
Change-Id: I3f045b309c8a95ecbe042fd9222e627cac2cb1c9
|
|
Test: dedicated test with FCC_LIMIT = 12, 24
Bug: 189325443
Change-Id: I4a54b77c013e44bef02d612a2b93dfe71b300e32
|
|
Original change: https://android-review.googlesource.com/c/platform/hardware/libhardware/+/1687225
Change-Id: I19e5fa41a24414e66153b8cf868c04f97983f330
|
|
|
|
Test: builds
Bug: 185916167
Change-Id: Ifdb71aa9e6e9eeadd4d7c9cb4850832650dd12e8
|
|
38e37ba4c6 am: ffabaf42ef
Original change: https://android-review.googlesource.com/c/platform/hardware/libhardware/+/1642345
Change-Id: I3abaeee2a533fbd6b4f989ae6770bd724d96e295
|
|
IStream.getCapturePosition becomes mandatory in
audio HAL V7. The legacy implementation must
provide it for the default HAL implementation.
Bug: 161253754
Test: atest VtsHalAudioV7_0TargetTest
Change-Id: I2f2094f0499ba85f53f291e0a269211981b4c9d8
|
|
am: c623db5c2c am: 254f2f1062
Original change: https://android-review.googlesource.com/c/platform/hardware/libhardware/+/1588486
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: I94a1f76615214a26e33712c0a351ace4f0126527
|
|
Added SPDX-license-identifier-Apache-2.0 to:
modules/audio/Android.bp
modules/audio_remote_submix/Android.bp
modules/audio_remote_submix/tests/Android.bp
modules/camera/3_0/Android.bp
modules/consumerir/Android.bp
modules/fingerprint/Android.bp
modules/gralloc/Android.mk
modules/hwcomposer/Android.bp
modules/input/evdev/Android.bp
modules/local_time/Android.bp
modules/nfc-nci/Android.bp
modules/nfc/Android.bp
modules/power/Android.bp
modules/radio/Android.bp
modules/sensors/Android.bp
modules/sensors/Android.mk
modules/sensors/dynamic_sensor/Android.bp
modules/sensors/dynamic_sensor/HidUtils/Android.bp
modules/soundtrigger/Android.bp
modules/thermal/Android.bp
modules/tv_input/Android.bp
modules/usbaudio/Android.bp
modules/usbcamera/Android.bp
modules/vibrator/Android.bp
modules/vr/Android.bp
tests/camera3/Android.bp
tests/fingerprint/Android.bp
tests/hardware/Android.bp
tests/hwc/Android.bp
tests/input/evdev/Android.bp
tests/nusensors/Android.bp
Added SPDX-license-identifier-Apache-2.0 SPDX-license-identifier-BSD to:
Android.bp
modules/camera/3_4/Android.mk
Bug: 68860345
Bug: 151177513
Bug: 151953481
Test: m all
Exempt-From-Owner-Approval: janitorial work
Change-Id: I28924363e6c478f5d0b465b63534c4efd041c770
|
|
bd8ee49f8b am: b956508fa6 am: 350d586116
Original change: https://android-review.googlesource.com/c/platform/hardware/libhardware/+/1566240
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: Ic9632f86ac1e5b8cbf16e28e2ecc36b7ae013315
|
|
Test: mm audio.usb.default audio.usbv2.default
Bug: 134958010
Change-Id: I2664a7461afaed6f71d58d730c7b8d5463240653
|
|
Upgrading legacy usb HAL to version 3.2 and implementing
get_audio_port_v7. The API get_audio_port_v7 returns the device
capabilites with supported formats and corresponding supported
channel masks and sample rates for the formats.
Bug: 160352965
Test: manually
Test: VTS with adding usb as attached devices.
Change-Id: I90a2b2706aa2b385210fb4922e4287f9f0ff9d6c
|
|
Upgrade device version of usb audio HAL to 3.0. With this change, the
framework will use createAudioPatch API for audio routing.
When opening a stream, the HAL will open alsa device with the given
device information. The HAL will cache the io handle to identify the
stream. Before starting audio playback/recording, create_audio_patch
API is called to set the correct devices. All the devices will be
cached as a list in stream_in/stream_out. The HAL will return a unique
patch handle which is used when updating/releasing the patch. When
patch is released, the patch handle will also be removed.
Bug: 160352965
Test: playback/record with usb device
Change-Id: Iba69c5cc82d1063af8ab050183d6a57b27083ee1
|
|
This is part of supporting multiple devices playback. Currently, the usb
audio module only supports single device. The limitation is that there
is only one alsa_device_profile/proxy cached. With supporting multiple
devices playback in audio framework, it makes sense to use list to cache
alsa_device_profile/proxy so that it is possible to route audio to
multiple USB devices simultaneously.
To keep the code symemetric, the device for capture is also cached as a
list. But there will only be one device for capture.
Test: play audio via USB
Bug: 160352965
Change-Id: Ibe7bbb7000d657381b317c19fda57e6c0edaa1df
|
|
This applies to the following types:
- audio_gain_mode_t;
- audio_flags_mask_t;
- audio_channel_representation_t;
- audio_channel_mask_t;
- audio_devices_t.
Enum types are distinct thus proper overloading on the type
is possible in C++. Also, assignments to enum types are
less prone to errors.
Bug: 169889714
Test: basic audio functionality
Change-Id: I8f1e6fa2bbad8900fdae66f01ac70c75953fd62c
Merged-In: I8f1e6fa2bbad8900fdae66f01ac70c75953fd62c
|
|
This applies to the following types:
- audio_gain_mode_t;
- audio_flags_mask_t;
- audio_channel_representation_t;
- audio_channel_mask_t;
- audio_devices_t.
Enum types are distinct thus proper overloading on the type
is possible in C++. Also, assignments to enum types are
less prone to errors.
Bug: 169889714
Test: basic audio functionality
Change-Id: I8f1e6fa2bbad8900fdae66f01ac70c75953fd62c
|
|
Bug: 166295507
Merged-In: I500b53e89f132b3925e6a1912c75b7834ea47ff4
Change-Id: Ib50a9978c77eda7e20e27f2d63615599f0517b6d
|
|
Original change: https://android-review.googlesource.com/c/platform/hardware/libhardware/+/1388971
Change-Id: Idcd89f3476767814cf615190cc6d1ece461081e2
|
|
This also allows the previous kernels to still use the previous values.
Test: Builds and boots.
Change-Id: I12b5a5f15d198de642e8582bc2320fe6b1409bcf
|
|
Change-Id: I022224e6e2652ba10e3a849de3836e107c7adb13
|
|
Preparation for removing implicit include paths for jni.h from soong.
Bug: 152482542
Test: apply soong change and 'm checkbuild'
Change-Id: I0a021d293f53fdb78b37452b5aa873d809e6ca81
Merged-In: I0a021d293f53fdb78b37452b5aa873d809e6ca81
Exempt-From-Owner-Approval: build clean-up
(cherry picked from commit a49fa1c8a9bd71eeab4971b7572e6a81b233f162)
|
|
Code in adev_open_input_stream was deallocating
a structure but then using it again due to absence
of a 'return' statement.
Found by clang-tidy.
Bug: 152526318
Test: m
Change-Id: I9ec3148197715fb118e99503d2b52412a4fb2a73
|
|
Do not block in out_write() when the peer input is in standby to avoid
remaining stuck when writing to the blocking mono pipe.
Bug: 141878993
Test: atest AudioHostTest#testTwoChannelCapturing
Change-Id: Ie92d59529ac1018a6785c3ac31696dcccdbb204a
Merged-In: Ie92d59529ac1018a6785c3ac31696dcccdbb204a
|
|
cfb9a10ba2
Change-Id: If6351c622598606031c9f40e9d1690be3cb2749f
|
|
|
|
am: d8e047e20d
Change-Id: Ief54d9216855c32cf61b95a35a4ea1961879b95a
|
|
Undeclared uint8 data types are used in exif_utils.cpp file and this
change corrects their types as uint8_t instead.
Bug: 140885470
Test: mm
Change-Id: I2e48a134c24cd3f17a7b6bafdc815200ca546826
Signed-off-by: Changyeon Jo <changyeon@google.com>
|
|
The new android-mainline kernel has increase the maximum number of
SW input codes to 33, so update the code to handle more than 32
values.
Test: Builds.
Change-Id: I344de37569c1d2c4ff94b8025a7339147ac9afe7
|
|
|
|
am: 8dc561977f
Change-Id: I98ccee55403bd66f8aec783c7a9f91316a31fc19
|
|
C++20 is stricter about member ordering in designated initializers than
C99.
Bug: 139945549
Test: mm
Change-Id: I045da46821280e720286a25a0c96b5750d1ad05e
Signed-off-by: Nick Desaulniers <ndesaulniers@google.com>
|
|
am: 738edce4ac
Change-Id: Ic2a698b04ce0ca812edf8397bd835dd235a62eb9
|
|
|
|
Fix the implementation to conform to VTS expectations.
out_get_next_write_timestamp must return "NOT_SUPPORTED" (-ENOSYS)
as it is not supported.
adev_get_input_buffer_size must return a non-zero
buffer size for supported formats, regardless of whether
there are any opened streams at the moment.
Bug: 141847510
Test: atest VtsHalAudioV6_0TargetTest
Change-Id: I322bf8cf42415fddb028c9cd10db0ac82089ce85
Merged-In: I322bf8cf42415fddb028c9cd10db0ac82089ce85
|