Age | Commit message (Collapse) | Author |
|
999 snap-temp-L30600000075741665
Change-Id: If5c34a1e85d03fdb69f3322101ad522198888b7e
|
|
Change-Id: I716100780f820574440abc5a247ea7071b630113
|
|
656 snap-temp-L93200000069424216
Change-Id: Ia550b92ea7680c3616a4e634832b0cc267eda6be
|
|
993 snap-temp-L04900000068539456
Change-Id: Id59ba43e9e7334e7db518533ce8ecdadcb3d1f82
|
|
Originally, it is not allowed to open non-sphal libraries if the device
has sphal namespace. However, some system processes are still using
libhardware to load non-sphal libraries. Since it has no harm to allow
system libraries to be loaded by libhardware, this patch loads the
library from the default namespace if the library is located in system
partition.
Bug: 38435840
Test: sailfish builds and boots
Change-Id: I206da11a2656559fcd0995d32dbd73621a79a683
Merged-In: I206da11a2656559fcd0995d32dbd73621a79a683
(cherry picked from commit c571709b287469bea052b4618d3b119ff1794883)
|
|
* Some PTS tests requires protocols and profiles to be accessed at stack
API level
* This CL creates an ID for the MCAP protocol
* An application must be able to reference stack headers in order to use
such an interface
Bug: 37867299
Test: make, no user visible effect
Change-Id: Ice654321cdeb11f93b1c8fc4a0753fe86bd82a56
(cherry picked from commit 9213f5b0430b329461b8f52f06b0ea98b1ff737c)
|
|
086 snap-temp-L16500000064871237
Change-Id: I7106713158ba0782aecd92a49f29340e2f5af319
|
|
|
|
Bug: 38123054
Test: manual
Change-Id: Idaeac24005ff4521096b4849f976c69e530d800d
(cherry picked from commit 560f2d97cd47e49659aa422df393157385ac9aa9)
|
|
'vndk' namespace should not have /vendor/lib/* in its search paths.
However, /vendor/lib/* has been included due to libhardware; it should
be able to load HAL libs in /vendor/lib and /vendor/lib/hw.
Since the HAL libs are not vndk but part of SP-HAL, they are loaded
explicitly from the 'sphal' namespace.
Bug: 37731053
Bug: 37323945
Test: sailfish builds and boots successfuly
Test: BOARD_VNDK_VERSION=current m libhardware.vendor successful
Merged-In: I1e1619de7deaa0e6610180e585bd7775887bc562
Change-Id: I1e1619de7deaa0e6610180e585bd7775887bc562
(cherry picked from commit 4d67d2e13a8591a02c63e6f89c3dbdbf94b0c629)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
oc-dev
|
|
|
|
|
|
Move default multihal configuration file path to
/vendor/etc/sensors/hals.conf. Retained old definition but changed
varible name to mark it deprecated. get_so_paths() is modified
to search both new and old path for configuration file.
MULTI_HAL_CONFIG_FILE_PATH is only used by hidl default
implementation at this moment outside multihal module.
Bug: 35947802
Test: build ok, sensor works on 2017 devices
Change-Id: I443ff71fa194383646108c8eb0c5438d150a5886
|
|
Make sure that open_input_stream() reflects audio parameters
modifications done by proxy_prepare() and returns an error with
proposed parameters if needed.
Alos do not overwrite adev->device_sample_rate when opening an
input stream as this is driven by the output stream.
Bug: 37949012
Test: audio capture, playback and calls over USB headset.
Change-Id: I45fcd895b9a95e7673f2232b4a98c74be0548d0d
|
|
|
|
Limit btsnoop file size by rotating between snoop files. The rotation occurrs
when a fixed number of packets have been logged and will start overwriting
the older file.
Bug: 35998031
Test: Enable snoop logs from developer options and let logs get large
Merged-In: Ic43600b10435d34a0528e28bd523187a6c311f61
Change-Id: Ic43600b10435d34a0528e28bd523187a6c311f61
|
|
This patchset adds a hidden method getOwnAddress, that lets app with
BLUETOOTH_PRIVILEGED permission to lear their own addreess. This is done
exclusively for PTS tests.
Bug: 35147497
Test: manual
Change-Id: I39a6395d589d0ea801fd771bf3313ed6212a6349
(cherry picked from commit 788847a61ac6281212714e831e3aeb217f024973)
|
|
Add a hidden api for reading characteristic by UUID for PTS.
Bug: 35150313
Test: sl4a GattReadTest.byUuid
Change-Id: Ia429895abf38b504975af5d53ec4c5adf5a01a9d
(cherry picked from commit f6833f45c39e1ffd41b2183bfcfcceaf1e6bacdc)
|
|
Fix an error in polling of inotify fd to avoid 100% CPU usage.
Refactored code to use android Looper.
Fix a string count accounting error that causes unpaired decStrong
crashing sensor hidl service.
Bug: 37719320
Bug: 37714835
Test: no longer have 100% CPU usage.
Test: tested connection of a few mouse/keyboard/usb disk/gnubby
no crash observed.
Test: cts still working properly after fix.
Change-Id: Ibaa026151e5e4919d8dd134c16f5865d5e30ef8a
(cherry picked from commit 172c4014f30c6d77586b1c8617682110b2b74f95)
|
|
|
|
The native camera tests will no longer be supported by 'CameraService'
and will fail during compilation. VTS already has most of these
covered except for the burst test cases, which need to be rewritten.
Merged-In: I28dc3dd6e922fc7f4b21108de227d4d42695e2e0
Bug: 34392075
Test: Succesful build of hardware library
Change-Id: I28dc3dd6e922fc7f4b21108de227d4d42695e2e0
|
|
Fix an error in polling of inotify fd to avoid 100% CPU usage.
Refactored code to use android Looper.
Fix a string count accounting error that causes unpaired decStrong
crashing sensor hidl service.
Bug: 37719320
Bug: 37714835
Test: no longer have 100% CPU usage.
Test: tested connection of a few mouse/keyboard/usb disk/gnubby
no crash observed.
Test: cts still working properly after fix.
Change-Id: Ibaa026151e5e4919d8dd134c16f5865d5e30ef8a
|
|
|
|
This fix a build breakage for mac.
Bug: 37482951
Test: m checkbuild sdk_repo -j32 works
Change-Id: I9d7f35abbaef6c830ba0f7e804451f98a128d887
|
|
-s ours
am: c739a0dd03 -s ours
Change-Id: Ia24d927036e43f48831651e91415752a1ae319ab
|
|
am: bf47a8ec52 -s ours
Change-Id: I7ad104de5138a8b18e59aa37f2659ec94eacd1f6
|
|
Bug: 32958838
Test: manual
Change-Id: I744c964e85dc78347a5d9bd69c1acc970774ecb6
|
|
Implemented HID dynamic sensor using linux hidraw driver and
HidUtils. Support the following cases:
1) HID Sensor spec defined accelerometer, gyroscope, magnetometer
and orientation (quaternion).
2) Android defined type sensors (HID sensor custom type): ambient
temperature, barometer, light and heart rate sensor.
3) Android custom type sensor (based on HID sensor custom type).
Test: run tests/examples in test/
Test: test with a USB HID hardware (launchpad sensor) and marlin
Bug: 37482951
Bug: 31026607
Change-Id: I9d679fb34d15324a9df1cf19647ea638fd1a0e68
|
|
|
|
into oc-dev
|
|
|
|
An HID utility library for constructing HID based dynamic sensor.
Primary functionality is in HidParser.h, which parses HID
descriptor into useful data structures. Supporting classes and
structures can be used individually as well.
Test: run tests in HidUtils/test
Bug: 37482274
Change-Id: Icfb59414bb6a1e7b6cdd1078a1a83820e70bbef8
|
|
|
|
|
|
hardware/audio.h uses libaudio_system_headers
Test: works with BOARD_VNDK_VERSION := current
Bug: 33241851
Change-Id: I6042c9903b2bc580ec519b713f0f19d94e1daa2d
|
|
Test: works with BOARD_VNDK_VERSION := current
Bug: 33241851
Change-Id: I145488dbf9b6e5257bee47920643c03c31eafbf4
|
|
|
|
Ensuring that the LLOB sensos naming style is consistent with other
sensor naming styles.
Bug: 36554362
Test: Verify that the sensor shows up with the appropriate name
string.
Change-Id: Ic91d13e7c1c6652179d3259509682f3c19cd89dc
|
|
Test: works
Bug: 33241851
Change-Id: I752d2a67c0dde2c635970f6aa24f58f5da85e785
|
|
|
|
libhardware uses system headers in its headers.
Test: links
Test: libraries using libhardware which don't have access to system
headers link when BOARD_VNDK_VERSION := current.
Bug: 33241851
Change-Id: I33cbd8a4d6188eed69cb8b55acb3b78b0628d82a
|