Age | Commit message (Collapse) | Author |
|
Minimizes intermittent failures when a device is in sniff mode.
Fixes: 245881714
Test: enable/disable with spatial audio feature enabled
Change-Id: I5fb5b9ff37a6f8a245678c87ee82e2032dc845f2
|
|
Bug: 228879057
Test: Verified in gitiles.
Change-Id: If82a5bf302cb68a2c5b486006e4679fbfc8ee545
|
|
Bug: 228369656
Test: Used uhid-sample to add a dynamic sensor and verified correct
min/max sample rate.
Change-Id: I88a1bec26a03a97ee7a3c590d2601151b89ee545
|
|
Bug: 226012902
Test: Used uhid-sample to add a dynamic sensor and verified it can be
sampled.
Test: Simulated start sampling ioctl timeout and verified operation
completes with a timeout and eventually cleans up.
Test: Simulated start sampling ioctl timeout with device removal before
completion and verified operation completes with a timeout and
eventually cleans up.
Change-Id: I9a957bc1e4000b2c587278146ecbe6e903010616
|
|
Fixes: 227766975
Test: load on device, confirm handle number changed
Change-Id: I0466784d7e468bd785f2525f1ab7cd02cc5436e8
|
|
Adapt the pipe size based on the sample rate.
Behavior is unchanged for the default sample rate (48kHz), size
is adjusted by the ratio relative to the default rate.
Bug: 141604269
Test: atest AudioHostTest#testTwoChannelCapturingMediaConversion
Change-Id: I0ba45af18ef02dc0ef77d480e1203d2cd1db9864
|
|
Bug: 189507742
Test: Verified head tracker sensor type and sampling.
Test: Verified custom Android sensor sampling.
Change-Id: Id403de916111ed737b9cebebe9850d5e5845cf56
|
|
Bug: 206035991
Test: use forrest to run boottest
Change-Id: I9e77b7d6184a0ee132b8f058f7f83302c54bcb4a
|
|
Also, don't require 16-bit strings for HID name, manufacturer, and
unique ID. Also change dump of HID unique ID to be in hex.
Bug: 213483369
Test: Verified that the standard Android head tracker sensor uses the
HID unique ID for the sensor UUID.
Test: Verified that custom Android sensors use a fabricated UUID.
Change-Id: I125f84187868543dccab758e22dce744c013578e
|
|
We no longer set force_pipe_creation after the removal of
legacy code for in-pipe conversions, so we remove it.
Test: TreeHugger
Bug: 141604269
Change-Id: I82393ba0ad3142aa75d482cc6b0edbaeebbd8116
|
|
|
|
a66b1a2486 am: 140613a961
Original change: https://android-review.googlesource.com/c/platform/hardware/libhardware/+/1935497
Change-Id: I50f08b51fbc69e8262f7cc005fc5de3f1b74739e
|
|
Original change: https://android-review.googlesource.com/c/platform/hardware/libhardware/+/1935497
Change-Id: Ib2386d226b0708a6ed0118bad02189d3ac33a4ba
|
|
Bug: 141604269
Test: see gerrit
Change-Id: I975390f8f495267ef0cd24dc8e73db859e541146
|
|
Old hacky uses of this HAL required channel and sample
rate conversion, which were never expected when this HAL
is used for its real application as the backend for
dynamic audio policies. In that context conversions are
performed in audio_flinger in the mixer.
Bug: 141604269
Test: atest AudioHostTest#testTwoChannelCapturing
Change-Id: I333e981fb3db403ab2da6f77debe49bc7d132ebc
|
|
Bug: 207008609
Test: Verified in gitiles.
Change-Id: I7bb8575aef0a8764390a6dc8f4ca785f49a1eb61
|
|
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/libhardware/+/16235226
Change-Id: I235c7d209671734473f9e5885b49e1670a19fcf2
|
|
Bug: 207008609
Test: Verified dynamic sensor sampling with proposed standard Android
head tracker.
Change-Id: I163b79c2c99f02961adebcb5dcb7e39603944e24
|
|
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
|
|
ec9039d20a
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/libhardware/+/16382054
Change-Id: Iaf36409f05f4c8e3f62fd61323f573575bed0cb7
|
|
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
|
|
99ad5c01bb
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/libhardware/+/16359454
Change-Id: I33e8fb34157fcfd27f649b1b956a4c28dddad6a3
|
|
Bug: 207008609
Test: Verified dynamic sensor sampling.
Test: Verified unit tests pass.
Change-Id: I797ccabadefa0dde59fd0f3e8541f9853d657f3f
|
|
am: 2978c08ef0
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/libhardware/+/16323898
Change-Id: I45025e510e2a836b6f43949fea7955dafd601755
|
|
Bug: 207008609
Test: Verified dynamic sensor sampling.
Change-Id: If0bef3647d5c52f9bf1d92a2a0ead72e98c70b8c
|
|
am: 9ec6c4dcf7
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/libhardware/+/16185557
Change-Id: I8023f1d8f67ab5de14e1b7c1b7631f43f8f35fd0
|
|
Bug: 205041452
Test: Verified that multiple subscriptions can be made with sensor_test
to a dynamic sensor without hanging.
Change-Id: Ie7671df8294bee04a0ebe1940242c2a83105f897
|
|
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/libhardware/+/15974606
Change-Id: Ie329b87fa137b389231aac7b467a1d13652c5f76
|
|
Bug: 201730055
Test: Verified that flush, batch, and activate sensor VTS tests pass.
Change-Id: I6721d9f8976b3ef9f6af02b2320833025b479ee6
|
|
157804a3f7
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/libhardware/+/15949542
Change-Id: Iccd67a723e6298812fe2b462e0b15b4ca1daa4de
|
|
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
|
|
am: 67ca088321
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/libhardware/+/15933544
Change-Id: Id9cd784cd5467b46facda754b31e4cdcec817bff
|
|
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
|
|
bf866d6dd4
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/libhardware/+/15905535
Change-Id: Icee05924819530890d509e990958af559811ea47
|
|
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
|
|
1d509cf815 am: fb74ed236c
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/libhardware/+/15886139
Change-Id: I774582c61e10555535317eb679b9d731b2ebea25
|
|
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
|
|
409c42afad
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/libhardware/+/15874906
Change-Id: I790c826f327c71520a7ad20850686c41f7aaa0c5
|
|
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
|
|
3482ca5bf7 am: d1f1fbbcbc
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/libhardware/+/15847974
Change-Id: I8452563bf0d49f7f767b0deb1097d586f2fef806
|
|
This reverts commit 28b58c62b5db41da83366e4b4fe3e0ef9ed32a22.
Reason for revert: 200210164
Change-Id: I6be2c972a29ec7943dbdf450ef3e491065b011a6
|
|
e9155bf1ab
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/libhardware/+/15831086
Change-Id: Id605f4fae90edd7b297242e097e06603baa0ec19
|
|
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
|
|
c939db938c
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/libhardware/+/15806307
Change-Id: I1e7f9e8a1dc30765c4e06e7e76600a24238e5583
|
|
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
|
|
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/libhardware/+/15190378
Change-Id: I03d7042c652c6494ad4a8dd085a3895eba9b3c46
|
|
Bug: 192702566
Test: atest AudioRecordTest#testTimestamp
Change-Id: I3f045b309c8a95ecbe042fd9222e627cac2cb1c9
|
|
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/libhardware/+/14894689
Change-Id: Id54f20770e527e4b1201be394de9b33c944262c5
|
|
Test: dedicated test with FCC_LIMIT = 12, 24
Bug: 189325443
Change-Id: I4a54b77c013e44bef02d612a2b93dfe71b300e32
|
|
|