Age | Commit message (Collapse) | Author |
|
|
|
Allow bt_types to be included as a shared or static library.
Test: Compiles
Change-Id: Idabc1da73f1d735ea874942a08ebfcd655a7833b
|
|
|
|
libnativeheader exports headers under nativeheader. These were
available before incorrectly as global headers in order to give
access to jni.h.
Test: modules using hardware/libhardware find headers
Bug: 63762847
Change-Id: I94305b7ab189ca0f3f89f4d87be2b113857f461f
|
|
|
|
* Opportunistic GATT connection allows system service to subscribe to
characteristic notifications without holding the BLE connection
* Exposing this flag to Java allows Android applications to use it
Bug: 35874078
Test: make, test on Android App
Change-Id: If4683b2281d743dacdece6b08db49ec539af3b18
|
|
|
|
* Add libbluetooth-types - library containing types implementation, that
is common between stystem/bt and packages/apps/Bluetooth. It must be
included in every project using btif interface.
* Put Raw Address implementation into libbluetooth-types
* Unify all "to/from string" helper methods into ToString and FromString
* bd_addr_empty -> RawAddress::kEmpty
* bd_addr_any -> RawAddress::kAny
Also fix leaks in jni str2addr by adding ReleaseStringUTFChars
Test: types_unittest
Change-Id: I2a0eb8d50ff777f494eed26bd58b5c502d2a0716
Merged-In: I2a0eb8d50ff777f494eed26bd58b5c502d2a0716
|
|
|
|
Because CLs can't currently be merged and the original list was
too restrictive.
Test: pass
Change-Id: Ic9616536c47edf16c2c10061af1d396f1978c739
|
|
|
|
Test: compilation test
Change-Id: I80288013ce1c75538c45949815660cbb66ffed2e
|
|
|
|
Some headers of libhardware are using headers from libcutils.
Bug: 33241851
Test: BOARD_VNDK_VERSION=current m -j successful with aosp_arm target
Change-Id: I649056285ced1cd5da4aba6a19b25e22c43c8621
|
|
|
|
This allows to get rid of some unnecessary null checks, and guarantee
proper values are passed.
Test: compilation test
Change-Id: Id5508477809a5c0b038eed71403a8bf93bd03203
|
|
|
|
This patch moves LE2M implementation to the DM instead of tied to GATT.
Below are the reasons to make this change:
1) Per link setting usually be done under DM, such as link policy etc.
2) In the future, if LECOC is coming to use in more profile/apps,
we can not rely on GATT API for these. Separate API should be required.
3) we could have multiple logical GATT user on top of the same link.
4) Also this will avoid duplicating all the APIs on GATTC and GATTS.
Bug: 37586939
Test: manual
Change-Id: I71579d6160fb16fb891e75cca64fe3cf9745116a
|
|
|
|
* Owners are selected from top CL approvals or owners.
They will be suggested to review/approve future CLs.
* OWNERS files are recognized by the new find-owners plugin, see .md files in
https://gerrit.googlesource.com/plugins/find-owners/+/master/src/main/resources/Documentation/
Test: build/make/tools/checkowners.py -c -v OWNERS
Change-Id: I94e4b13782e32b185eeb499d620a350239bed6b5
|
|
|
|
|
|
Bug: 32958838
Test: manual
Change-Id: I744c964e85dc78347a5d9bd69c1acc970774ecb6
|
|
|
|
* 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
|
|
|
|
Bug: 38123054
Test: manual
Change-Id: Idaeac24005ff4521096b4849f976c69e530d800d
|
|
|
|
Provides an interface for application to send Set Idle
and Get Idle commands to remote HID Device. Support for these
two commands was missing from existing code, so existing code
design is reused to add support for these two commands.
Without this support following mandatory PTS test cases for HID 1.0
cannot be passed, TC_HOS_HID_BV_05/06
Test: Executed PTS tests TC_HOS_HID_BV_05/06 and confirmed if they can
pass
Bug: 34344715
Change-Id: I4c528a510edd847bc6121ce0b875ae313f090b9c
|
|
|
|
It requires all devices that set AUDIOSERVER_MULTILIB := 64, to specify
64-bit binary when installed (PRODUCT_PACKAGES += radio.fm.default:64).
Bug: 37512442
Bug: 37159108
Test: it builds
Change-Id: I9be897bb1794a12953fe77665596d00519aeac28
|
|
|
|
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
|
|
* changes:
gralloc: fix dependencies
libhardware: add libaudio_system_headers
libhardware: export system headers
nfc.default: remove unneeded dependency
|
|
Test: works with BOARD_VNDK_VERSION := current
Bug: 33241851
(cherry picked from commit e7722d4e3fa8bee3e700cb2e33b72678a1cb1cc9)
Merged-In: I145488dbf9b6e5257bee47920643c03c31eafbf4
Change-Id: I145488dbf9b6e5257bee47920643c03c31eafbf4
|
|
|
|
hardware/audio.h uses libaudio_system_headers
Test: works with BOARD_VNDK_VERSION := current
Bug: 33241851
(cherry picked from commit d24879050a28098a8a20a64d9f25e2574df180d2)
Merged-In: I6042c9903b2bc580ec519b713f0f19d94e1daa2d
Change-Id: I6042c9903b2bc580ec519b713f0f19d94e1daa2d
|
|
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
(cherry picked from commit d39335254a55089a37ac63c2764dfe7efd292ec4)
Merged-In: I33cbd8a4d6188eed69cb8b55acb3b78b0628d82a
Change-Id: I33cbd8a4d6188eed69cb8b55acb3b78b0628d82a
|
|
libcutils was not used
Test: links
Bug: 33241851
(cherry picked from commit d23bf8aabb893555b7f6c74f1ded06e291427d8d)
Merged-In: Ic53e48b95461bb09b44df83952288a96ba9af65a
Change-Id: Ic53e48b95461bb09b44df83952288a96ba9af65a
|
|
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
|
|
|
|
Add a hidden api for reading characteristic by UUID for PTS.
Bug: 35150313
Test: sl4a GattReadTest.byUuid
Change-Id: Ia429895abf38b504975af5d53ec4c5adf5a01a9d
|
|
|
|
There's below error which trigger FPE_INTDIV becuase tuner->config isn't
set in time.
CMD_TUNE is executed before CMD_CONFIG after being opened immediately
11:27:10.307 21151 21151 I radio_hw_stub: rdev_open_tuner rdev 0x7b36ea03e000
11:27:10.307 21151 21151 V radio_hw_stub: send_command_l 1 delay_ms 500
11:27:10.307 21151 21151 V radio_hw_stub: send_command_l CMD_CONFIG type 0
11:27:10.307 21151 21151 I radio_hw_stub: rdev_open_tuner DONE
11:27:10.307 21151 22015 I radio_hw_stub: callback_thread_loop
11:27:10.603 21151 22015 E radio_hw_stub: callback_thread_loop processing command 4 time 1321010830.603019830
11:27:10.604 21151 22015 F libc : Fatal signal 8 (SIGFPE), code 1, fault addr 0x7b36e704b5d6 in tid 22015 (sound trigger c)
11:27:10.632 22021 22021 F DEBUG : signal 8 (SIGFPE), code 1 (FPE_INTDIV), fault addr 0x7b36e704b5d6
There's no need to use seq lock to correct the sequence. Adjust the time
is the simple way to fix above error.
Change-Id: I1bd5535840fe990db1f6c355af85c93443d9de87
Signed-off-by: Liu Changcheng <changcheng.liu@intel.com>
Signed-off-by: Jerry Liu <primerlink@gmail.com>
|
|
|
|
|
|
Only liblog things are being used but libcutils was being included.
Test: links
Merged-In: I50492f49cef449256cad49823a21166f0d089bac
Change-Id: I50492f49cef449256cad49823a21166f0d089bac
|
|
|
|
|
|
|