Commit Graph

31 Commits

Author SHA1 Message Date
Jocelyn Liu
86ca3f75c7 Bug 1163499 - Part 2: Add helpers for Bluetooth daemon GATT client support. r=tzimmermann 2015-05-27 00:03:00 -04:00
Andrew McCreight
c979f253c0 Bug 1152551, part 2 - Fix mode lines in dom/. r=jst 2015-05-03 15:32:37 -04:00
Thomas Zimmermann
03d2fc746b Bug 1153796: Share BluetoothInterfaceHelpers.{cpp,h} between Bluetooth v1 and v2, r=btian
The v1 implementation of BluetoothInterfaceHelpers.{cpp,h} is more
up-to-date than the v2 variant. So we can just use the v1 version and
remove the v2 version entirely. Bluetooth v2 contains its own version
of |Convert(nsresult, BluetoothStatus)|, which has been removed in
favor of the shared implementation.
2015-04-15 11:46:33 +02:00
Thomas Zimmermann
2375784a70 Bug 1153796: Unify variants of |BluetoothInterface::SspReply|, r=btian
Bluetooth use different types for the second argument of their variant
of |BluetoothInterface::SspReply|. This patch standardizes them on the
v2 version.
2015-04-15 11:46:33 +02:00
Carsten "Tomcat" Book
e3df58001f Backed out changeset 3a16edeb9ed2 (bug 1153796) for bustage on a CLOSED TREE 2015-04-15 11:33:02 +02:00
Carsten "Tomcat" Book
5555def988 Backed out changeset 868ace3fafba (bug 1153796) 2015-04-15 11:32:10 +02:00
Thomas Zimmermann
0cebf16a97 Bug 1153796: Share BluetoothInterfaceHelpers.{cpp,h} between Bluetooth v1 and v2, r=btian
The v1 implementation of BluetoothInterfaceHelpers.{cpp,h} is more
up-to-date than the v2 variant. So we can just use the v1 version and
remove the v2 version entirely. Bluetooth v2 contains its own version
of |Convert(nsresult, BluetoothStatus)|, which has been removed in
favor of the shared implementation.
2015-04-15 11:04:43 +02:00
Thomas Zimmermann
2cc4962b9f Bug 1153796: Unify variants of |BluetoothInterface::SspReply|, r=btian
Bluetooth use different types for the second argument of their variant
of |BluetoothInterface::SspReply|. This patch standardizes them on the
v2 version.
2015-04-15 11:04:43 +02:00
Thomas Zimmermann
96e22c7dc5 Bug 1146355: Prepare Bluetooth backend helpers to handle v1 and v2 implementations, r=brsun
This patch updates the helpers of Bluetooth backends to support all data
structures required by Bluetooth v2.
2015-04-09 15:57:40 +02:00
Thomas Zimmermann
0dc43bdf9f Bug 1146923: Rename |BluetoothSspPairingVariant| to |BluetoothSspVariant|, r=btian 2015-03-26 10:29:58 +01:00
Thomas Zimmermann
92f9682a53 Bug 1146923: Rename |BluetoothDeviceType| to |BluetoothTypeOfDevice|, r=btian 2015-03-26 10:29:58 +01:00
Thomas Zimmermann
95f6380c43 Bug 1146923: Merge |CONVERT| macros of Bluetooth backends, r=btian 2015-03-26 10:29:58 +01:00
Ryan VanderMeulen
375407bce2 Backed out 4 changesets (bug 1146923) for bustage.
Backed out changeset 926351238914 (bug 1146923)
Backed out changeset 7d8eb56f1e24 (bug 1146923)
Backed out changeset c5d4efed15e9 (bug 1146923)
Backed out changeset 045020b31842 (bug 1146923)

CLOSED TREE
2015-03-25 10:05:42 -04:00
Thomas Zimmermann
49fb865724 Bug 1146923: Rename |BluetoothSspPairingVariant| to |BluetoothSspVariant|, r=btian 2015-03-25 10:38:00 +01:00
Thomas Zimmermann
6a9328655b Bug 1146923: Rename |BluetoothDeviceType| to |BluetoothTypeOfDevice|, r=btian 2015-03-25 10:38:00 +01:00
Thomas Zimmermann
e50d23b7aa Bug 1146923: Merge |CONVERT| macros of Bluetooth backends, r=btian 2015-03-25 10:38:00 +01:00
Ehsan Akhgari
5cccea6f0f Bug 1145631 - Part 1: Replace MOZ_OVERRIDE and MOZ_FINAL with override and final in the tree; r=froydnj
This patch was automatically generated using the following script:

function convert() {
echo "Converting $1 to $2..."
find . \
       ! -wholename "*/.git*" \
       ! -wholename "obj-ff-dbg*" \
         -type f \
      \( -iname "*.cpp" \
         -o -iname "*.h" \
         -o -iname "*.c" \
         -o -iname "*.cc" \
         -o -iname "*.idl" \
         -o -iname "*.ipdl" \
         -o -iname "*.ipdlh" \
         -o -iname "*.mm" \) | \
    xargs -n 1 sed -i -e "s/\b$1\b/$2/g"
}

convert MOZ_OVERRIDE override
convert MOZ_FINAL final
2015-03-21 12:28:04 -04:00
Shawn Huang
dbb1dd1aa3 Bug 1142408 - Add data length parameter for Register Notification Response Command. r=tzimmermann 2015-03-18 02:52:00 -04:00
Bruce Sun
1130cb6f7f Bug 1129846 - Handle all used type in PDU explicitly. r=tzimmermann 2015-02-05 15:35:57 +08:00
Bruce Sun
55be18cd5c Bug 1129257 - Use |int32_t| for |Channel| in Bluetooth Socket HAL. r=tzimmermann 2015-02-04 17:21:50 +08:00
Bruce Sun
bcf97aa7ba Bug 1121930: Sync Bluetooth daemon protocol with BlueZ 5.27, r=shuang 2015-01-15 19:44:02 +08:00
Bruce Sun
d963132951 Bug 1102703: (9/10) Porting bluetooth interface of bluez 5.26 (handsfree) r=btian, f=tzimmermann 2015-01-09 13:39:27 +08:00
Bruce Sun
ab37e51ad8 Bug 1102703: (7/10) Porting bluetooth interface of bluez 5.26 (core) r=btian, f=tzimmermann 2015-01-09 13:38:15 +08:00
Thomas Zimmermann
2cae7e7a6f Bug 1095488: Add Bluetooth AVRCP helpers, r=shuang 2015-01-07 11:32:05 +01:00
Thomas Zimmermann
c7cbb3e438 Bug 1095487: Add Bluetooth A2DP helpers, r=shuang 2014-12-11 10:53:14 +01:00
Thomas Zimmermann
d23a955c61 Bug 1091588: Add helpers for Bluetooth daemon Handsfree support, r=shuang
This patch adds helpers for packing, unpacking and converting
Handsfree values to and from Bluetooth PDUs.
2014-11-24 09:02:03 +01:00
Thomas Zimmermann
fe9d8b3837 Bug 1091577: Remove unused helpers from daemon backend, r=shawnjohnjr
This patch removes unused unpack functions, notification and
interface runnables from Bluetooth's daemon backend.
2014-11-05 15:43:07 +01:00
Thomas Zimmermann
8971b645fb Bug 1091577: Use general-purpose notification runnable in Bluetooth daemon backend, r=shawnjohnjr
This patch converts all notification runnables in Bluetooth's daemon
backend to use the generic implementation. Unpack functions are replaced
by init operator classes. The init operator classes also validate the
complete unpacking of a PDU and warn about unused trailing data.
2014-11-05 15:43:07 +01:00
Thomas Zimmermann
198d7a65f7 Bug 1073548: Implement Socket module for Bluetooth daemon, r=shawnjohnjr
This patch adds support for the Bluetooth daemon's Socket module,
which provides OPP functionality.
2014-11-03 13:03:49 +01:00
Thomas Zimmermann
6aa9274df2 Bug 1073548: Implement Bluetooth Core module for Bluetooth daemon, r=shawnjohnjr
This patch adds support for the Bluetooth daemon's Core module. It
provides the basic Bluetooth functionality, such as searching and
pairing with devices, and accessing device properties.
2014-11-03 13:03:49 +01:00
Thomas Zimmermann
099bc5cc64 Bug 1073548: Add core interfaces and Setup module for Bluetooth daemon, r=shawnjohnjr
This patch adds the core interfaces and the Setup module for
the Bluetooth Daemon. The Setup module implements commands
for enabling and disabling Bluetooth profiles in the daemon.
2014-11-03 13:03:49 +01:00