Jakub Pawlowski
d82fbad4aa
BLE OOB Pairing - parse address type (2/5)
...
When address type is not parsed, creating bond to devices not using
random address is impossible.
Bug: 32780409
Test: try pairing with nRF52DK using random address
Change-Id: I1265b6abdefa12dc024d00ecf232f7fc7722d178
2016-11-10 01:06:48 +00:00
TreeHugger Robot
e6054936be
Merge "libhardware: fix a use after free warning."
2016-11-09 18:14:30 +00:00
Glenn Kasten
36010722e0
Remove executable bit from source file
...
Test: builds OK
Change-Id: Ib5a3926386bc827f75e354fa752e5d5983b37110
2016-11-09 07:44:30 -08:00
Yunlian Jiang
fe562510bc
fix a memory leak.
...
This fixes a memory leak of pointer 'ascii_out'
BUG: None
Test: The warning is gone.
Change-Id: If3caa4c38dc9df377f1c06abb1ed9c963c9b353d
2016-11-08 17:13:03 -08:00
Glenn Kasten
841b9e8783
Declare struct timespec before first use
...
Test: builds without warnings
Bug: 32747393
Change-Id: Ie59b1e577771c55ccb264f54ead2df953165da90
2016-11-08 15:34:07 -08:00
Yunlian Jiang
ce3cd0cf4a
libhardware: fix a use after free warning.
...
This fixes the warning that mModule is used
after being freed.
BUG: None
Test: The warning is gone.
Change-Id: I8d081b544f0bcd69559a10dd3e925ce5cf065c28
2016-11-08 15:20:20 -08:00
Jakub Pawlowski
555b8aeef9
Unify advertising API (2/3)
...
This patch unifies advertising API. On startup, if VSC multi advertising
is avaliable, it will be used, otherwise
BleAdvertiserLegacyHciInterfaceImpl will be used, which provides one
advertising instance.
Test: sl4a tests are passing, all proper tests updated accordingly
Change-Id: I02d3996f694beb6614d342d6c15a8c27b7b7274a
2016-11-08 11:51:17 -08:00
Nick Vaccaro
cfd950b679
Add low latency offbody detect sensor type
...
Bug: 32492601
Test: no
Change-Id: Ieb0047c2a134b5b3c54ab48ac71b33827a353075
2016-11-04 16:10:08 -07:00
Jakub Pawlowski
337f2f14be
Merge "Move start advertise method to advertising interface (2/3)" am: 8ba3a3007e
am: 204b309411
am: 9a170e4ac3
...
am: 7ce74e5ad3
Change-Id: I45feae8b2177abc5aa7648ff4d150dd4e525c9e6
2016-11-01 22:42:18 +00:00
Jakub Pawlowski
7ce74e5ad3
Merge "Move start advertise method to advertising interface (2/3)" am: 8ba3a3007e
am: 204b309411
...
am: 9a170e4ac3
Change-Id: I8f2d2afe7b7389e1df10e4d56be9e16007f29f6b
2016-11-01 22:39:27 +00:00
Jakub Pawlowski
9a170e4ac3
Merge "Move start advertise method to advertising interface (2/3)" am: 8ba3a3007e
...
am: 204b309411
Change-Id: I7894a7e8b0dbd8fe1fdf46bd97c7df9771cd75c6
2016-11-01 22:36:57 +00:00
Jakub Pawlowski
204b309411
Merge "Move start advertise method to advertising interface (2/3)"
...
am: 8ba3a3007e
Change-Id: I03805002789374a884116d0c47287c6dc5ec3fca
2016-11-01 22:34:27 +00:00
Jakub Pawlowski
8ba3a3007e
Merge "Move start advertise method to advertising interface (2/3)"
2016-11-01 22:30:43 +00:00
Sanket Agarwal
f60bb6d1ad
Merge "Add API for AVRCP CT get_play_status_cmd" am: 0d2ae67cc9
am: 8c840392dd
am: 520d034717
...
am: d731e85a4f
Change-Id: I1b6f4c9f1456050be609d9e57e4f923f79b8725b
2016-11-01 20:10:47 +00:00
Sanket Agarwal
d731e85a4f
Merge "Add API for AVRCP CT get_play_status_cmd" am: 0d2ae67cc9
am: 8c840392dd
...
am: 520d034717
Change-Id: Ifd3ecf675281bd21fe8176cb645515a87f258082
2016-11-01 20:08:17 +00:00
Sanket Agarwal
520d034717
Merge "Add API for AVRCP CT get_play_status_cmd" am: 0d2ae67cc9
...
am: 8c840392dd
Change-Id: I878f5c805ec7d1a25c7284ac2180215ea6b2722a
2016-11-01 20:05:47 +00:00
Sanket Agarwal
8c840392dd
Merge "Add API for AVRCP CT get_play_status_cmd"
...
am: 0d2ae67cc9
Change-Id: Ib30f724f4dfbdbf48a3774e294cafb61625384cd
2016-11-01 20:03:18 +00:00
Sanket Agarwal
0d2ae67cc9
Merge "Add API for AVRCP CT get_play_status_cmd"
2016-11-01 20:00:29 +00:00
Sanket Agarwal
9d0d6700b1
Add API for AVRCP CT get_play_status_cmd
...
Bug: b/31684931
Change-Id: I5e47e3b1ab30f457ee2581d02a384ffb76454a21
(cherry picked from commit de0f636db2035deff127fdd5f62ed2043650b270)
2016-11-01 19:59:36 +00:00
Sanket Agarwal
0d3b17074f
Merge "Implement set addressed player." am: 7798d9ddfc
am: f787d1e7e3
am: daa0071b3d
...
am: a57247ff06
Change-Id: I225951a67f0b399cfa7b8ddc744d5e155cb02860
2016-11-01 17:39:10 +00:00
Sanket Agarwal
a57247ff06
Merge "Implement set addressed player." am: 7798d9ddfc
am: f787d1e7e3
...
am: daa0071b3d
Change-Id: I9c6cac5bb7b69b0653e1076482761b45c28e20a8
2016-11-01 17:32:49 +00:00
Sanket Agarwal
daa0071b3d
Merge "Implement set addressed player." am: 7798d9ddfc
...
am: f787d1e7e3
Change-Id: I3d0ff25a0d7662e764c70a36b3c9167007fe9455
2016-11-01 17:30:07 +00:00
Sanket Agarwal
f787d1e7e3
Merge "Implement set addressed player."
...
am: 7798d9ddfc
Change-Id: I580191f4ddb9743103f5b25d519f7ab43f3b655e
2016-11-01 17:28:21 +00:00
Sanket Agarwal
7798d9ddfc
Merge "Implement set addressed player."
2016-11-01 17:22:49 +00:00
Sanket Agarwal
8f8171ac23
Implement set addressed player.
...
Bug: b/31554234
Change-Id: I32b5d33605b06c70fea1c20942af82a1f9561b46
(cherry picked from commit f01b2391410485aa4cb82bc2d91085d10350c84d)
2016-11-01 15:55:32 +00:00
Sanket Agarwal
b1f571fd1e
Merge "[AVRCP1.6 CT] Add reply status to get_folder_items_callback." am: 5096f9c288
am: 04badf7fb6
am: 12bfc782e0
...
am: 371a5fffca
Change-Id: I2d86a990fe45e9d364be53a0634541bfb981ee9c
2016-11-01 00:55:08 +00:00
Sanket Agarwal
371a5fffca
Merge "[AVRCP1.6 CT] Add reply status to get_folder_items_callback." am: 5096f9c288
am: 04badf7fb6
...
am: 12bfc782e0
Change-Id: I61d308321781cc67679c79de9196292a9af691c8
2016-11-01 00:51:50 +00:00
Sanket Agarwal
12bfc782e0
Merge "[AVRCP1.6 CT] Add reply status to get_folder_items_callback." am: 5096f9c288
...
am: 04badf7fb6
Change-Id: Iba32324bb2d4ac22b0656d1b50ce50f22585a82b
2016-11-01 00:49:19 +00:00
Sanket Agarwal
04badf7fb6
Merge "[AVRCP1.6 CT] Add reply status to get_folder_items_callback."
...
am: 5096f9c288
Change-Id: Iff066328ccc4fa763d65777d27c9f01e1ecceb96
2016-11-01 00:46:23 +00:00
Treehugger Robot
5096f9c288
Merge "[AVRCP1.6 CT] Add reply status to get_folder_items_callback."
2016-11-01 00:43:42 +00:00
Sanket Agarwal
f65a26b962
[AVRCP1.6 CT] Add reply status to get_folder_items_callback.
...
It is useful to know what error code the get_folder_items_cmd gets back
with since it can help the UI decide if to keep fetching more. For ex.
if the return code is out of range then the UI does not need to keep
fetching anymore. This is useful for folders where we do not know the
size before hand (Media Player List or Now Playing List).
Bug: b/31253501
Change-Id: Ia6544de4845b8b72feaa359ef1481290dc54348a
(cherry picked from commit fdc7153966f9aecdbfd962b8a7655b5db3e464e0)
2016-10-31 16:17:48 -07:00
Jakub Pawlowski
f82a249795
Move start advertise method to advertising interface (2/3)
...
Advertising related code should be exposed through
BleAdvertiserInterface. Move client.listen function into this interface.
Remove reduntant clientif parameter.
Bug: 30622771
Bug: 24099160
Test: no tests necessary
Change-Id: Ic4335f2c65c1e21f20d3ae08222fba4341b63e27
2016-10-31 11:14:46 -07:00
Jakub Pawlowski
f62db9e531
Merge "Separate LE scanner and GATT client BTIF interfaces (2/3)" am: 86f508d45d
am: d3ea3edc18
am: b89575fc0d
...
am: b88c92125e
Change-Id: I1bb38b236162ee9b294b629b5fb0d1f5064f0b45
2016-10-28 21:05:04 +00:00
Jakub Pawlowski
b88c92125e
Merge "Separate LE scanner and GATT client BTIF interfaces (2/3)" am: 86f508d45d
am: d3ea3edc18
...
am: b89575fc0d
Change-Id: I1a0906eff3e247aa3af15f58e1cc0086255fae17
2016-10-28 20:59:33 +00:00
Jakub Pawlowski
b89575fc0d
Merge "Separate LE scanner and GATT client BTIF interfaces (2/3)" am: 86f508d45d
...
am: d3ea3edc18
Change-Id: I711b71f5f00a4ab52bf5edda7e654c35ff0e305c
2016-10-28 20:54:30 +00:00
Jakub Pawlowski
d3ea3edc18
Merge "Separate LE scanner and GATT client BTIF interfaces (2/3)"
...
am: 86f508d45d
Change-Id: I7a6b7b8b1241c9bb35a1eb91acf5e5f38ed3d34f
2016-10-28 20:49:45 +00:00
Treehugger Robot
86f508d45d
Merge "Separate LE scanner and GATT client BTIF interfaces (2/3)"
2016-10-28 20:45:10 +00:00
Jakub Pawlowski
1e24ce9167
Separate LE scanner and GATT client BTIF interfaces (2/3)
...
In order to properly separate low level structures associated with LE
scanner and GATT client, their interfaces must be separated first.
Test: sl4a BleScanApiTest
Bug: 30622771
Change-Id: Idf8c5b7285b68e59f18f5216380488bfe8404b22
2016-10-28 12:07:45 -07:00
Jakub Pawlowski
c3f94a8b9e
Merge "Separate LE scanner from GATT client (3/4)" am: 1f4fc31367
am: 7fd804c526
am: a20012f9a6
...
am: 51025ea2e4
Change-Id: Ief7ff12192f2dad84f00caf5d5dde11d76f4108a
2016-10-28 03:24:40 +00:00
Jakub Pawlowski
51025ea2e4
Merge "Separate LE scanner from GATT client (3/4)" am: 1f4fc31367
am: 7fd804c526
...
am: a20012f9a6
Change-Id: I8134a54bb1fa49006ac7a13f3e827e185d8689df
2016-10-28 03:02:00 +00:00
Jakub Pawlowski
a20012f9a6
Merge "Separate LE scanner from GATT client (3/4)" am: 1f4fc31367
...
am: 7fd804c526
Change-Id: Id319acb96d70749c5abc78b7279a4542145fbdad
2016-10-28 02:56:58 +00:00
Jakub Pawlowski
7fd804c526
Merge "Separate LE scanner from GATT client (3/4)"
...
am: 1f4fc31367
Change-Id: Ifcafcd480cbf5111dfa1575ca8127951bfd395df
2016-10-28 02:50:58 +00:00
Jakub Pawlowski
1f4fc31367
Merge "Separate LE scanner from GATT client (3/4)"
2016-10-27 23:18:54 +00:00
Jakub Pawlowski
8cb1baefa1
Separate LE scanner from GATT client (3/4)
...
Right now, LE scanning functionality is combined with the GATT client.
This is the source of various bugs, like scans suddenly stoppinging when
a GATT client is killed. It also increases memory consumption, because
we associate many structures with a GATT client, which are not necessary
when just scanning.
Test: sl4a BleScanApiTest ConcurrentBleScanTest
Bug: 30622771
Change-Id: I5c2608b769bd6aec54900357cdccfa22987962c9
2016-10-27 23:10:20 +00:00
Eric Laurent
f85751eebe
Merge "radio: fixes in stub FM radio HAL."
2016-10-27 15:23:08 +00:00
Dmitry Shmidt
aab2aab847
resolve merge conflicts of d20fe45
to stage-aosp-master am: a905c234da
am: 4d2f024df6
...
am: 5ac0c14258
Change-Id: I4ccc40937ad7e3532327222860de1b6981145cab
2016-10-26 23:22:30 +00:00
Dmitry Shmidt
5ac0c14258
resolve merge conflicts of d20fe45
to stage-aosp-master am: a905c234da
...
am: 4d2f024df6
Change-Id: Ic0c6f705e02fa8109008f9a75dd3fb3706a26ab9
2016-10-26 23:17:59 +00:00
Dmitry Shmidt
4d2f024df6
resolve merge conflicts of d20fe45
to stage-aosp-master
...
am: a905c234da
Change-Id: I7406c544bdb2a0ffa545640bc6a4e56acbd4e1ef
2016-10-26 23:13:58 +00:00
Dmitry Shmidt
a905c234da
resolve merge conflicts of d20fe45
to stage-aosp-master
...
Change-Id: I4669a7566205f01217c9104b489fed4ee8d3fe3b
2016-10-26 16:02:39 -07:00
Dmitry Shmidt
d20fe45ed5
Merge "audio: Fix size_t related warnings"
2016-10-26 22:48:41 +00:00