Commit Graph

1539 Commits

Author SHA1 Message Date
Ryan VanderMeulen
5c3e18cb4d Merge inbound to m-c. a=merge 2015-08-31 15:21:02 -04:00
Thomas Zimmermann
d444f637b8 Bug 1199110: Remove AVRCP support from |BluetoothA2dpManager| and convert callers, r=shuang
This patch removes AVRCP support from |BluetoothA2dpManager| and
converts all callers to use |BluetoothAvrcpManager| instead.
2015-08-31 17:27:47 +02:00
Thomas Zimmermann
f0c1517e51 Bug 1199110: Add |BluetoothAvrcpManager| to Bluedroid and BlueZ backends, r=shuang
The new |BluetoothAvrcpManager| classes are copies of |BluetoothA2dpManager|
without the A2DP bits.
2015-08-31 17:27:47 +02:00
Thomas Zimmermann
12cc30b3d7 Bug 1199110: Use mPlayStatus to determine track selection, r=shuang
This change removes AVRCP's dependency on the A2DP state.
2015-08-31 17:27:47 +02:00
Ben Tian
f62d399880 Bug 1193379 - Create dom/bluetooth/common/webapi folder. r=joliu 2015-08-21 15:15:41 +08:00
Ben Tian
aa6c378010 Bug 1193379 - Move backend-neutral files into dom/bluetooth/common. r=joliu 2015-08-21 15:17:44 +08:00
Ben Tian
3e896e68b6 Bug 1193379 - Rename bluetooth2 folder to common. r=joliu 2015-08-21 15:19:12 +08:00
Ben Tian
f86e612405 Bug 1193379 - Move ipc and tests folders out from dom/bluetooth/bluetooth2. r=joliu 2015-08-25 17:57:09 +08:00
Thomas Zimmermann
5b0d7bdd34 Bug 1197815: Add missing |BluetoothHfpManager::IsNrecEnabled|, r=shuang 2015-08-25 17:06:51 +02:00
Nigel Babu
97b2fcff0c Backed out changeset adb6cdbdd2ed for emulator build bustage (Bug 1197815) 2015-08-25 17:59:18 +05:30
Thomas Zimmermann
50d369dc3a Bug 1197815: Add missing |BluetoothHfpManager::IsNrecEnabled|, r=shuang 2015-08-25 13:18:00 +02:00
Thomas Zimmermann
582d74a87c Bug 1197877: Remove |INIT_AT| macro from Bluetooth, r=btian
|INIT_AT| works around missing compiler features for gcc before
version 4.7. All B2G targets have been lifted to gcc 4.8, so the
workaround is not required any longer.
2015-08-25 10:00:56 +02:00
Thomas Zimmermann
ef9e5a492b Bug 1197877: Remove |CONVERT| macro from Bluetooth, r=btian
The macro |CONVERT| implements a workaround for GCC compilers
before version 4.7. All targets of B2G have been lifted to GCC
4.8, so |CONVERT| is not required any longer.
2015-08-25 10:00:56 +02:00
Fernando Jimenez
a790033caf Bug 1162281 - Invalid system message handler in an App Manifest can break the entire system. r=fabrice 2015-07-02 11:00:23 +02:00
Thomas Zimmermann
a538d39a0f Bug 1195729: Fix ref-counting of Bluetooth result handlers for failed send operations, r=brsun
Usually references to Bluetooth result handlers are kept until the
command's response has been received and the result handler ran. If
sending the command fails, the extra reference has to be dropped.
With this patch, Gecko will correctly dereference Bluetooth result
handlers when send operations fail.

Thanks to Bruce Sun for finding this bug.
2015-08-24 15:21:38 +02:00
Jamin Liu
1621f43a19 CLOSED TREE Bug 1180556 - Pack PBAP replies to OBEX response message and reply to remote device. r=btian
Conflicts:

	dom/bluetooth/bluedroid/BluetoothPbapManager.cpp
2015-08-24 10:30:07 +08:00
Jamin Liu
5fd73e8dd7 CLOSED TREE Bug 1180555 - Handle PBAP replies and pass the results through IPC to PbapManager. r=btian 2015-08-24 10:30:03 +08:00
Jamin Liu
c2c163b7d7 CLOSED TREE Bug 1180554 - Dispatch events to PBAP event handlers when the PBAP requests comes. r=btian, r=mrbkap 2015-08-24 10:29:56 +08:00
Sebastian Hengst
15700f72e4 Backed out 3 changesets (131251625ee8 for bug 1180556, 5bdcc058e6d6 for bug 1180555, f7e0cd74c082 for bug 1180554) for B"G ICS Emulator opt M8 and debug M19 failures. r=backout
Backed out changeset 131251625ee8 (bug 1180556)
Backed out changeset 5bdcc058e6d6 (bug 1180555)
Backed out changeset f7e0cd74c082 (bug 1180554)
2015-08-21 11:19:41 +02:00
Jocelyn Liu
4b67be84c1 Bug 1181480 - Add and implement GATT server connection related Web APIs. r=btian, r=mrbkap 2015-08-21 17:11:14 +08:00
Nicholas Nethercote
10d95cca57 Bug 1198334 (part 1) - Replace the opt-in FAIL_ON_WARNINGS with the opt-out ALLOW_COMPILER_WARNINGS. r=glandium.
The patch removes 455 occurrences of FAIL_ON_WARNINGS from moz.build files, and
adds 78 instances of ALLOW_COMPILER_WARNINGS. About half of those 78 are in
code we control and which should be removable with a little effort.
2015-08-27 20:44:53 -07:00
Jamin Liu
e1662c77d5 Bug 1180556 - Pack PBAP replies to OBEX response message and reply to remote device. r=btian 2015-08-21 09:52:04 +08:00
Jamin Liu
cdf8d7b17d Bug 1180555 - Handle PBAP replies and pass the results through IPC to PbapManager. r=btian 2015-08-21 09:51:50 +08:00
Jamin Liu
21d468cf8e Bug 1180554 - Dispatch events to PBAP event handlers when the PBAP requests comes. r=btian, r=mrbkap 2015-08-21 09:51:41 +08:00
Jocelyn Liu
1c4e9df863 Bug 1181512 - Use a single GATT interface, result handler, and notification handler for both GATT client and server operations in bluetooth daemon backend as bluez ipc protocol. r=tzimmermann 2015-08-19 14:28:06 -07:00
Ryan VanderMeulen
a90634b569 Backed out 3 changesets (bug 1180556, bug 1180555, bug 1180554) for test_interfaces.html failures.
Backed out changeset 3210b4a21f50 (bug 1180556)
Backed out changeset d08f41259fb9 (bug 1180555)
Backed out changeset ad74716bf6e7 (bug 1180554)
2015-08-19 07:26:50 -04:00
Jamin Liu
9b8d31eb65 Bug 1180556 - Pack PBAP replies to OBEX response message and reply to remote device. r=btian 2015-08-19 11:41:24 +08:00
Jamin Liu
c1ae506b05 Bug 1180555 - Handle PBAP replies and pass the results through IPC to PbapManager. r=btian 2015-08-19 11:41:01 +08:00
Jamin Liu
64837bee0e 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
005e283bc7 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
a9f4a1073f Bug 1195604 - [cleanup] Integrate similar BluetoothResultHandlers into basic one, r=tzimmermann 2015-08-18 15:53:41 +08:00
Ben Tian
1c5283cf24 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
90cc7b8cec Bug 1192693 - [03] Remove bluetooth1 code from backend, r=tzimmermann 2015-08-17 15:30:37 +08:00
Ben Tian
cac4eb9266 Bug 1192693 - [02] Remove bluetooth1 folder and rename webidl files, r=joliu, r=mrbkap 2015-08-17 15:30:34 +08:00
Aryeh Gregor
a0d8e26be1 Bug 1179451 - Part 1: Rewrite some ternary operators as if/else. r=froydnj 2015-08-13 15:22:48 +03:00
Jamin Liu
7c9df6e2b5 Bug 1192695 - Use pref instead of pre-defined C string as origin of bluetooth app. r=btian 2015-08-13 12:56:09 +08:00
Aryeh Gregor
f5961e4a6b Bug 874842 - Return Event instead of nsIDOMEvent 2015-08-12 14:39:31 +03:00
Will Wang
d3b5fac4cd Bug 825149 - Support HFP NREC feature. r=shuang 2015-08-10 04:51:00 -04:00
Will Wang
260e94039a Bug 825149 - Add NREC feature bit in bluetooth stack. r=shuang 2015-08-07 03:15:00 -04:00
Ben Tian
f45330c637 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
10e1d68bfe Bug 1190730 - Patch 4/5: Make runnable arrays member variables, r=joliu 2015-08-07 10:38:21 +08:00
Ben Tian
dd4c0dbf93 Bug 1190730 - Patch 3/5: Make address-name mapping table member variable, r=joliu 2015-08-07 10:31:42 +08:00
Ben Tian
b45bfe1212 Bug 1190730 - Patch 2/5: Make backend recovery variables member ones, r=joliu 2015-08-07 10:29:16 +08:00
Ben Tian
fdf74b9639 Bug 1190730 - Patch 1/5: Make adapter properties member variables, r=joliu 2015-08-07 10:31:27 +08:00
Ben Tian
5898c6cfd0 Bug 1173266 - [cleanup] Remove unused |isConnected| from bluetooth2, r=tzimmermann 2015-08-05 15:19:43 +08:00
Ben Tian
fa725020b0 Bug 1106007 - Cleanup include guards. r=tzimmermann 2015-08-04 17:39:30 +08:00
Thomas Zimmermann
c28a8e19a2 Bug 1187904: Remove |BluetoothDaemonConnector| and random-address creator, r=shuang 2015-08-03 13:17:02 +02:00
Thomas Zimmermann
6c0a6541d5 Bug 1187904: Convert |BluetoothDaemonInterface| to use |DaemonSocketConnector|, r=shuang 2015-08-03 13:17:02 +02:00
Bruce Sun
6a8f411661 Bug 1181478 - Expose BluetoothGattServer object in BluetoothAdapter. r=btian, r=mrbkap, a=me 2015-07-24 16:32:35 +08:00
Thomas Zimmermann
246d700785 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