Jamin Liu
fc7f5eef9a
Bug 1180554 - Dispatch events to PBAP event handlers when the PBAP requests comes. r=btian, r=mrbkap
2015-08-19 11:40:36 +08:00
Ben Tian
d4e5970e84
Bug 1195608 - [cleanup] Fix too long lines and revise some comments under dom/bluetooth, r=joliu
2015-08-18 11:29:45 +08:00
Ben Tian
758a5e9af8
Bug 1195604 - [cleanup] Integrate similar BluetoothResultHandlers into basic one, r=tzimmermann
2015-08-18 15:53:41 +08:00
Ben Tian
9c177c52d4
Bug 1055434 - Do not inform gaia of current blob's sending failure before assigning it, r=shuang
2015-08-18 17:31:41 +08:00
Ben Tian
9636b618b1
Bug 1192693 - [03] Remove bluetooth1 code from backend, r=tzimmermann
2015-08-17 15:30:37 +08:00
Will Wang
9fd88cded3
Bug 825149 - Support HFP NREC feature. r=shuang
2015-08-10 04:51:00 -04:00
Will Wang
80bbaca7f1
Bug 825149 - Add NREC feature bit in bluetooth stack. r=shuang
2015-08-07 03:15:00 -04:00
Ben Tian
ba68749da3
Bug 1190730 - Patch 5/5: Wrap get device related variables into get device request, r=joliu
2015-08-07 14:43:44 +08:00
Ben Tian
f465f5fca3
Bug 1190730 - Patch 4/5: Make runnable arrays member variables, r=joliu
2015-08-07 10:38:21 +08:00
Ben Tian
0764f341f9
Bug 1190730 - Patch 3/5: Make address-name mapping table member variable, r=joliu
2015-08-07 10:31:42 +08:00
Ben Tian
195a54c7fa
Bug 1190730 - Patch 2/5: Make backend recovery variables member ones, r=joliu
2015-08-07 10:29:16 +08:00
Ben Tian
5662156042
Bug 1190730 - Patch 1/5: Make adapter properties member variables, r=joliu
2015-08-07 10:31:27 +08:00
Ben Tian
e5a7ce7584
Bug 1173266 - [cleanup] Remove unused |isConnected| from bluetooth2, r=tzimmermann
2015-08-05 15:19:43 +08:00
Ben Tian
a67db0a86c
Bug 1106007
- Cleanup include guards. r=tzimmermann
2015-08-04 17:39:30 +08:00
Thomas Zimmermann
0358354bf5
Bug 1187904: Remove |BluetoothDaemonConnector| and random-address creator, r=shuang
2015-08-03 13:17:02 +02:00
Thomas Zimmermann
55f1cb92b7
Bug 1187904: Convert |BluetoothDaemonInterface| to use |DaemonSocketConnector|, r=shuang
2015-08-03 13:17:02 +02:00
Thomas Zimmermann
66fa98429a
Bug 1187249: Cleanup BluetoothInterfaceHelpers.{cpp,h}, r=shuang
...
This patch moves the last conversion function to Bluetooth's daemon
backend and removes the files BluetoothInterfaceHelpers.{cpp,h}.
2015-07-30 10:34:51 +02:00
Thomas Zimmermann
518504fa87
Bug 1187249: Move Bluetooth init operators to ipc/hal, r=shuang
2015-07-30 10:34:51 +02:00
Thomas Zimmermann
59844436d8
Bug 1183249: Move PDU helper functions to ipc/hal, r=shuang
2015-07-30 10:34:51 +02:00
Thomas Zimmermann
2a71f700c8
Bug 1187249: Move |DaemonSocketPDUHeader| to hal/ipc, r=shuang
2015-07-30 10:34:51 +02:00
Thomas Zimmermann
2f7aeaeba9
Bug 1187872: Remove HAL backend from Bluetooth, r=shuang
...
Bluedroid's HAL backend has been superseded by the Bluetooth daemon, and
already been unused in current releases. This patch removes the code from
Gecko.
2015-07-30 09:09:26 +02:00
Ben Tian
bf72269e00
Bug 1127701 - Fix warning: NS_ENSURE_TRUE(value.isNumber()) failed, r=joliu
2015-07-29 16:40:39 +08:00
Thomas Zimmermann
d360346df2
Bug 1187230: Convert Bluetooth to use daemon runnables, r=shuang
...
With this patch, Bluetooth uses the generic daemon runnables.
2015-07-27 13:33:17 +02:00
Ben Tian
ec7a3fd8bc
Bug 1181827 - [Aries-L] Store remote device address and name mapping for pairing, r=shuang
2015-07-22 10:23:45 +08:00
Carsten "Tomcat" Book
bfa6c9a51b
Backed out changeset 83cd70d2b0bb (bug 1187230)
2015-07-24 15:42:08 +02:00
Thomas Zimmermann
1c60aeafa6
Bug 1187230: Convert Bluetooth to use daemon runnables, r=shuang
...
With this patch, Bluetooth uses the generic daemon runnables.
2015-07-24 14:50:06 +02:00
Thomas Zimmermann
664b02a26f
Bug 1186331: Check for \0 when parsing Bluetooth device names, r=btian
...
This patch adds an explicit check for the terminal \0 character to
the parser that reads Bluetooth device names from bluetoothd. There's
a maximum length of 249 characters per name. If we don't find \0 we
interpret the whole range to contain the device name.
2015-07-24 11:24:47 +02:00
Thomas Zimmermann
2eb3afa0bc
Bug 1185478: Remove strong references from socket I/O class to socket classes
...
The shutdown procedure for socket classes ensures that the I/O class is
deleted independently from its socket class. If the socket class has been
deleted, no I/O is performed and no socket events are forwarded. The I/O
class therefore doesn't require a strong reference to its socket class.
This patch removes the remaining ref-counted pointers from the socket I/O
classes. The socket class clears the weak reference in its socket I/O class
when closing the socket.
2015-07-21 08:06:29 +02:00
Thomas Zimmermann
7a8e54aa54
Bug 1185478: Add leak checks to socket I/O classes
2015-07-21 08:06:29 +02:00
Thomas Zimmermann
8270c9b2f7
Bug 1180965: Don't disable BT before daemon has been shut down, r=btian
...
The current shutdown code for Bluetooth contains a race condition
between closing the daemon sockets and re-opening them for the next
instance of the daemon.
This patch fixes the problem by not disabling the Bluetooth adapter
before the sockets have been closed. During the shutdown, no new
instances of the daemon can be started.
2015-07-14 13:28:18 +02:00
Birunthan Mohanathas
a8939590de
Bug 1182996 - Fix and add missing namespace comments. rs=ehsan
...
The bulk of this commit was generated by running:
run-clang-tidy.py \
-checks='-*,llvm-namespace-comment' \
-header-filter=^/.../mozilla-central/.* \
-fix
2015-07-13 08:25:42 -07:00
Jocelyn Liu
539e9fd925
Bug 1170071 - Part 4: Add Gatt server interfaces for Bluetooth daemon. r=shuang
...
CLOSED TREE
2015-07-08 04:34:00 -04:00
Jocelyn Liu
9fc0663fab
Bug 1170071 - Part 3: Add gatt server support to GATT module for Bluetooth daemon. r=shuang
2015-07-08 04:33:00 -04:00
Jocelyn Liu
a1b39d5a02
Bug 1170071 - Part 2: Add helpers for Bluetooth daemon GATT server support. r=shuang
2015-07-08 04:31:00 -04:00
Jocelyn Liu
ba11710dae
Bug 1170071 - Part 1: Revise BluetoothGattInterface, result handler, and interface helper for daemon support of gatt server. r=shuang
2015-07-08 04:30:00 -04:00
Bruce Sun
e3ecdbc77a
Bug 1161991: Gatt server neutral-backend interface; r=jocelyn
2015-07-06 13:43:54 +08:00
Shawn Huang
758af86f5a
Bug 1160126 - Restart bluetoothd daemon automatically for API V2, r=jocelyn
2015-07-07 15:16:57 +08:00
Juan Gomez
258ad59e3f
Bug 1171931 - Refactor duplicated code using XRE_IsParent/ContentProcess. r=froydnj
2015-07-03 18:29:00 -07:00
Bruce Sun
d4a4b4f0a1
Bug 1164387 - Use |btgatt_client_interface_t.get_device_type| to get the device type. r=jocelyn
2015-07-02 12:07:43 +08:00
Ben Tian
da8ddddc60
Bug 1179141 - Remove macro |BT_API2_LOGR|, r=joliu
2015-07-02 15:13:41 +08:00
Thomas Zimmermann
8fc78fed3e
Bug 1172914: Merge duplicated code in |BluetoothServiceBluedroid| for simple cases, r=btian
2015-06-16 17:28:07 +02:00
Thomas Zimmermann
584df01b4a
Bug 1172914: Minimize Bluetooth v1/v2 duplication in BluetoothServiceBluedroid.cpp, r=btian
2015-06-16 17:28:07 +02:00
Thomas Zimmermann
91bea80ee8
Bug 1172914: Minimize Bluetooth v1/v2 duplication in BluetoothServiceBluedroid.h, r=btian
2015-06-16 17:28:07 +02:00
Jocelyn Liu
0d4e05f63a
Bug 1167064
- Patch1: Switch to bluetooth APIv2. r=shuang
2015-06-16 09:38:50 +08:00
Thomas Zimmermann
3126a07df4
Bug 1171017: Move classes from ipc/bluetooth to ipc/hal, r=shuang
...
The class |DaemonSocket| and its helpers implement a service-
neutral connection to a HAL daemon. This patch moves the code
to an appropriate directory and breaks up the code into smaller
pieces.
--HG--
rename : ipc/bluetooth/BluetoothDaemonConnection.cpp => ipc/hal/DaemonSocket.cpp
rename : ipc/bluetooth/BluetoothDaemonConnection.h => ipc/hal/DaemonSocket.h
rename : ipc/bluetooth/BluetoothDaemonConnectionConsumer.cpp => ipc/hal/DaemonSocketConsumer.cpp
rename : ipc/bluetooth/BluetoothDaemonConnectionConsumer.h => ipc/hal/DaemonSocketConsumer.h
rename : ipc/bluetooth/moz.build => ipc/hal/moz.build
2015-06-15 14:44:03 +02:00
Thomas Zimmermann
41d8f3ac72
Bug 1171017: Rename |BluetoothDaemonConnection| to |DaemonSocket|, r=shuang
2015-06-15 14:44:03 +02:00
Thomas Zimmermann
160760d61d
Bug 1171017: Rename |BluetoothSocketPDU| to |DaemonSocketPDU|, r=shuang
2015-06-15 14:44:03 +02:00
Thomas Zimmermann
4a2cc0e217
Bug 1171017: Rename |BluetoothDaemonPDUConsumer| to |DaemonSocketIOConsumer|, r=shuang
2015-06-15 14:44:03 +02:00
Thomas Zimmermann
de38317b09
Bug 1171017: Rename |BluetoothDaemonConnectionConsumer| to |DaemonSocketConsumer|, r=shuang
2015-06-15 14:44:03 +02:00
Shawn Huang
434fcb6904
Backed out changesets 0832ffdd8144 for Bug 1167064
2015-06-15 19:05:03 +08:00