summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2017-07-21Merge "Fix build by adding bt_types to bluetooth.h (2/2)"android-o-iot-preview-5o-iot-preview-5Treehugger Robot
2017-07-21Fix build by adding bt_types to bluetooth.h (2/2)johnshamoon
Allow bt_types to be included as a shared or static library. Test: Compiles Change-Id: Idabc1da73f1d735ea874942a08ebfcd655a7833b
2017-07-19Merge "hardware/libhardware: use proper nativehelper headers"Treehugger Robot
2017-07-18hardware/libhardware: use proper nativehelper headersSteven Moreland
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
2017-07-11Merge "GATT: Expose opportunistic client API to Java"android-o-preview-4Treehugger Robot
2017-07-07GATT: Expose opportunistic client API to JavaJack He
* 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
2017-07-07Merge "Make RawAddress into a class (2/3)"Treehugger Robot
2017-07-06Make RawAddress into a class (2/3)Jakub Pawlowski
* 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
2017-07-05Merge "Add some additional owners."Treehugger Robot
2017-07-05Add some additional owners.Steven Moreland
Because CLs can't currently be merged and the original list was too restrictive. Test: pass Change-Id: Ic9616536c47edf16c2c10061af1d396f1978c739
2017-06-29Merge "Rename bt_bdaddr_t into RawAddress (1/3)"Jakub Pawlowski
2017-06-28Rename bt_bdaddr_t into RawAddress (1/3)Jakub Pawlowski
Test: compilation test Change-Id: I80288013ce1c75538c45949815660cbb66ffed2e
2017-06-27Merge "libhardware_headers export headers from libcutils"Treehugger Robot
2017-06-26libhardware_headers export headers from libcutilsJiyong Park
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
2017-06-21Merge "Use references in GATT client/server API (1/3)"Jakub Pawlowski
2017-06-21Use references in GATT client/server API (1/3)Jakub Pawlowski
This allows to get rid of some unnecessary null checks, and guarantee proper values are passed. Test: compilation test Change-Id: Id5508477809a5c0b038eed71403a8bf93bd03203
2017-06-15Merge "Bluetooth 5: Update LE2M implementation through DM (2/3)"Treehugger Robot
2017-06-14Bluetooth 5: Update LE2M implementation through DM (2/3)Avish Shah
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
2017-06-13Merge "Add OWNERS in hardware/libhardware"Chih-hung Hsieh
2017-06-12Add OWNERS in hardware/libhardwareChih-Hung Hsieh
* 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
2017-06-09Merge "tune command execute time to resolve FPE_INTDIV error"Tomasz Wasilczyk
2017-06-08Merge "Provide HFP API to set AG SCO policy"Treehugger Robot
2017-06-07Provide HFP API to set AG SCO policyZach Johnson
Bug: 32958838 Test: manual Change-Id: I744c964e85dc78347a5d9bd69c1acc970774ecb6
2017-05-24Merge "MCAP: Add test interface ID (1/2)"android-o-preview-3Treehugger Robot
2017-05-23MCAP: Add test interface ID (1/2)Jack He
* 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
2017-05-16Merge "Discover primary service by UUID for PTS tests (2/4)"android-n-iot-preview-4n-iot-preview-4Treehugger Robot
2017-05-16Discover primary service by UUID for PTS tests (2/4)Jakub Pawlowski
Bug: 38123054 Test: manual Change-Id: Idaeac24005ff4521096b4849f976c69e530d800d
2017-05-11Merge "Bluetooth: HID: Add support for Set Idle and Get Idle commands (1/4)"Andre Eisenbach
2017-05-05Bluetooth: HID: Add support for Set Idle and Get Idle commands (1/4)Hemant Gupta
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
2017-05-01Merge "Convert radio.fm.default to soong, set Werror flag and fix warnings."android-wear-o-preview-4android-wear-o-preview-3android-o-preview-2Tomasz Wasilczyk
2017-04-28Convert radio.fm.default to soong, set Werror flag and fix warnings.Tomasz Wasilczyk
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
2017-04-27Merge "Limit btsnoop file size (1/8)"Ajay Panicker
2017-04-27Limit btsnoop file size (1/8)Ajay Panicker
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
2017-04-20Merge changes from topic 'system-vendor-internal-pick'Treehugger Robot
* changes: gralloc: fix dependencies libhardware: add libaudio_system_headers libhardware: export system headers nfc.default: remove unneeded dependency
2017-04-19gralloc: fix dependenciesSteven Moreland
Test: works with BOARD_VNDK_VERSION := current Bug: 33241851 (cherry picked from commit e7722d4e3fa8bee3e700cb2e33b72678a1cb1cc9) Merged-In: I145488dbf9b6e5257bee47920643c03c31eafbf4 Change-Id: I145488dbf9b6e5257bee47920643c03c31eafbf4
2017-04-19Merge "Expose LE advertiser address for easier PTS tests (3/6)"Jakub Pawlowski
2017-04-19libhardware: add libaudio_system_headersSteven Moreland
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
2017-04-19libhardware: export system headersSteven Moreland
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
2017-04-19nfc.default: remove unneeded dependencySteven Moreland
libcutils was not used Test: links Bug: 33241851 (cherry picked from commit d23bf8aabb893555b7f6c74f1ded06e291427d8d) Merged-In: Ic53e48b95461bb09b44df83952288a96ba9af65a Change-Id: Ic53e48b95461bb09b44df83952288a96ba9af65a
2017-04-19Expose LE advertiser address for easier PTS tests (3/6)Jakub Pawlowski
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
2017-04-19Merge "Read by UUID for PTS tests (3/5)"Treehugger Robot
2017-04-18Read by UUID for PTS tests (3/5)Jakub Pawlowski
Add a hidden api for reading characteristic by UUID for PTS. Bug: 35150313 Test: sl4a GattReadTest.byUuid Change-Id: Ia429895abf38b504975af5d53ec4c5adf5a01a9d
2017-04-18Merge "Fix format string warnings in InputHub.cpp."Treehugger Robot
2017-04-18tune command execute time to resolve FPE_INTDIV errorLiu Changcheng
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>
2017-04-12Merge "consumerir.default: remove unneeded dependency."Treehugger Robot
2017-04-12Merge "Mark as vendor_available"Treehugger Robot
2017-04-12consumerir.default: remove unneeded dependency.Steven Moreland
Only liblog things are being used but libcutils was being included. Test: links Merged-In: I50492f49cef449256cad49823a21166f0d089bac Change-Id: I50492f49cef449256cad49823a21166f0d089bac
2017-04-12Merge "Include what you use"Treehugger Robot
2017-04-12Merge "audio.*.default: remove unneeded dependency/IWYU"Treehugger Robot
2017-04-12Merge "libhardware: deprecate cutils/log.h"Mark Salyzyn