Commit Graph

1748 Commits

Author SHA1 Message Date
Ben Tian
229e8200e1 Bug 1230066 - Add missing STATUS_AUTH_REJECTED into enum BluetoothStatus,r=tzimmermann 2015-12-03 18:25:03 +08:00
Louis_Chang
b2a2023a68 Bug 1217778 - Ensure sBluetoothGattService is not null before accessing GattInterface in GattManager. r=jocelyn 2015-12-02 09:31:45 +08:00
Wes Kocher
630a557841 Merge inbound to central, a=merge 2015-12-01 15:43:33 -08:00
Jocelyn Liu
48a37281e6 Bug 1229290 - Pack/unpack UUIDs in a reverse order when adding characteristics and descriptors in GATT server API. r=brsun 2015-12-01 18:54:55 +08:00
Shawn Huang
a513a61d4f Bug 1186840 - [MAP] Implement MessageUpdate function, r=btian 2015-12-01 15:55:41 +08:00
Ben Tian
2f0ce4487f Bug 1228471 - use Endian.h to write filename and handleId into OBEX packet, r=shuang 2015-12-01 10:36:43 +08:00
Jocelyn Liu
463e5a355d Bug 1228519 - Fix RequestReadNotification for GATT Server API. r=brsun 2015-11-30 20:24:07 +08:00
Jocelyn Liu
95b7d3e033 Bug 1228521 - Fix PDU packing in |ServerSendResponseCmd| for GATT Server API. r=brsun 2015-11-30 20:23:04 +08:00
Jocelyn Liu
cda2b07179 Bug 1228909 - Fix PDU packing in |ClientSetAdvDataCmd| for GATT API. r=brsun 2015-11-30 20:21:52 +08:00
Thomas Zimmermann
c2bd52a594 Bug 1228946: Remove '#if 0' block from Bluetooth module, r=joliu
This is a cleanup patch for removing an '#if 0' that was landed in
the Bluetooth code.
2015-11-30 12:46:09 +01:00
Ben Tian
b99794a59f Bug 1228479 - Remove redundant blob handling in BluetoothMapRequestHandle::ReplyToFolderListing, r=shuang 2015-11-27 14:03:03 +08:00
Ben Tian
d77d11887e Bug 1227440 - Reject pin reply by cancelling bond to trigger BondStateChangedNotification, in order to inform gaia setting app, r=shuang 2015-11-26 16:31:42 +08:00
Nathan Froyd
b89227bd9d Bug 1224240 - fix memory leak in Bluetooth*Manager::CompareHeaderTarget; r=btian
ObexHeaderSet::GetTarget copies the data associated with the
ObexHeaderId::Target id into a newly-allocated buffer.  All callers of
this function, however, fail to free the buffer once they are done with it.

Instead of simply freeing the buffer in the caller, however, let's add
an API to ObexHeaderSet that gives direct access to the desired header.
Doing this means that we have direct access to the data--no copying
necessary--and we also make the caller slightly faster, since it no
longer has to verify that the appropriate header is there, followed by
re-searching for the header it already knows is there.
2015-11-04 10:42:01 -05:00
Carsten "Tomcat" Book
d6cede4d9c Merge mozilla-central to b2g-inbound 2015-11-23 14:53:00 +01:00
Ben Tian
593648c827 Bug 1225340 - Refine nullity check macros in BluetoothServiceBluedroid, r=tzimmermann 2015-11-23 10:09:47 +08:00
Carsten "Tomcat" Book
8a1da009a9 Merge mozilla-central to b2g-inbound on a CLOSED TREE 2015-11-20 14:36:21 +01:00
Bruce Sun
6e745a862e Bug 1225787: Fix wrong arguments of BluetoothGattInterface::AddCharacteristic; r=jocelyn 2015-11-19 14:26:58 +08:00
Bruce Sun
1c8d930d76 Bug 1225785: Fix WriteRequested mismatch; r=jocelyn 2015-11-19 14:26:23 +08:00
Wes Kocher
069905e5d9 Merge b2ginbound to central, a=merge 2015-11-19 13:36:16 -08:00
Nathan Froyd
8384f35242 Bug 1226063 - take advantage of UniquePtr in BluetoothMapSmsManager::SendMasObexData; r=btian
Now that UnixSocketRawData can assume ownership of UniquePtrs, we can
enhance SendMasObexData to accept UniquePtrs where possible.
2015-11-18 17:14:07 -05:00
Thomas Zimmermann
4b9b98e34e Bug 1223806: Convert Bluetooth to |BluetoothCoreInterface|, r=btian 2015-11-19 11:21:03 +01:00
Thomas Zimmermann
32c68a403f Bug 1223806: Add |BluetoothDaemonCoreInterface|, r=btian 2015-11-19 11:21:03 +01:00
Thomas Zimmermann
ae895f7d0c Bug 1223806: Convert Bluetooth to |BluetoothCoreNotificationHandler|, r=btian 2015-11-19 11:21:03 +01:00
Thomas Zimmermann
a4bd89fb96 Bug 1223806: Convert Bluetooth to |BluetoothCoreResultHandler|, r=btian 2015-11-19 11:21:03 +01:00
Thomas Zimmermann
759431efb8 Bug 1223806: Add Bluetooth Core interface, notification and result handler, r=btian 2015-11-19 11:21:03 +01:00
Thomas Zimmermann
f96741e146 Bug 1223720: Support UUIDs and addresses for Bluetooth signal paths, r=joliu
This patch improves the Bluetooth signal API by adding methods for
dealing with UUIDs and addresses directly. Callers have been converted
where possible.
2015-11-17 11:25:34 +01:00
Bevis Tseng
6315247b7b Bug 1110619 - Part 3: Bluetooth Changes. r=btian 2015-11-12 17:04:00 +08:00
Thomas Zimmermann
d158d72867 Bug 1220121: Convert IPDL of Bluetooth GATT API to |BluetoothUuid|, r=joliu 2015-11-13 15:26:50 +01:00
Thomas Zimmermann
781c6f9551 Bug 1220121: Convert IPDL of Bluetooth GATT API to |BluetoothAddress|, r=joliu 2015-11-13 15:26:50 +01:00
Thomas Zimmermann
a32110ccd0 Bug 1220121: Convert IPDL of Bluetooth AVRCP API to |ControlPlayStatus|, r=shuang 2015-11-13 15:26:50 +01:00
Thomas Zimmermann
2f086bb470 Bug 1220121: Convert IPDL of Bluetooth OPP API to |BluetoothAddress|, r=btian 2015-11-13 15:26:50 +01:00
Thomas Zimmermann
f38c066162 Bug 1220121: Convert IPDL of Bluetooth Core API to |BluetoothPinCode|, r=brsun 2015-11-13 15:26:50 +01:00
Thomas Zimmermann
6c9fb95dba Bug 1220121: Convert IPDL of Bluetooth Core API to |BluetoothAddress|, r=brsun 2015-11-13 15:26:50 +01:00
Thomas Zimmermann
a95391e5e2 Bug 1220121: Prepare IPDL support for additional Bluetooth types, r=brsun
This patch adds IPDL helpers for transfering |BluetoothAddress|,
|BluetoothPinCode|, and |ControlPlayStatus|.
2015-11-13 15:26:50 +01:00
Thomas Zimmermann
b3c55a99b7 Bug 1224166: Build BluetoothCommon.cpp unconditionally, r=shuang 2015-11-13 15:23:41 +01:00
Thomas Zimmermann
67b7d44406 Bug 1224166: Define Bluetooth debug flag in BluetoothCommon.cpp, r=shuang
This patch moves |gBluetoothDebugFlag| to BluetoothCommon.cpp. In the long
run, it should be cleaned up.
2015-11-13 15:23:41 +01:00
Kyle Huey
286f2da9bc Bug 1224061: Fuck bluetooth. r=me CLOSED TREE 2015-11-13 11:01:40 +08:00
Kyle Huey
4af397cabd Bug 1224061: Followup to fix b2g bustage r=me CLOSED TREE 2015-11-13 10:27:43 +08:00
Wes Kocher
cc9ff8e1cc Merge m-c to inbound, a=merge CLOSED TREE 2015-11-12 16:26:18 -08:00
Carsten "Tomcat" Book
eb567914d1 Backed out changeset 0f1e0ea245ef (bug 1220121) for bustage on a CLOSED TREE 2015-11-12 11:49:13 +01:00
Carsten "Tomcat" Book
68a4d78464 Backed out changeset 31a5c454f6fc (bug 1220121) 2015-11-12 11:48:59 +01:00
Carsten "Tomcat" Book
352e275f83 Backed out changeset dc164758f576 (bug 1220121) 2015-11-12 11:48:57 +01:00
Carsten "Tomcat" Book
fb53c2e843 Backed out changeset 71d0b47d316a (bug 1220121) 2015-11-12 11:48:56 +01:00
Carsten "Tomcat" Book
38af5c8f0b Backed out changeset 6fc769997278 (bug 1220121) 2015-11-12 11:48:54 +01:00
Carsten "Tomcat" Book
7379bd3b4c Backed out changeset 0f3562e114b1 (bug 1220121) 2015-11-12 11:48:53 +01:00
Carsten "Tomcat" Book
cb52fc020f Backed out changeset 74199d201199 (bug 1220121) 2015-11-12 11:48:51 +01:00
Thomas Zimmermann
5b150b0ab0 Bug 1220121: Convert IPDL of Bluetooth GATT API to |BluetoothUuid|, r=joliu 2015-11-12 11:23:36 +01:00
Thomas Zimmermann
5ac2534705 Bug 1220121: Convert IPDL of Bluetooth GATT API to |BluetoothAddress|, r=joliu 2015-11-12 11:23:36 +01:00
Thomas Zimmermann
ab757b646d Bug 1220121: Convert IPDL of Bluetooth AVRCP API to |ControlPlayStatus|, r=shuang 2015-11-12 11:23:35 +01:00
Thomas Zimmermann
339b98b18d Bug 1220121: Convert IPDL of Bluetooth OPP API to |BluetoothAddress|, r=btian 2015-11-12 11:23:35 +01:00