Commit Graph

1545 Commits

Author SHA1 Message Date
Shawn Huang
46d99b2cef Bug 1166645 - Implement MAP profile manager connection related function, r=btian 2015-09-08 11:39:13 +08:00
Ben Tian
857ff8816f Bug 1191715 - Store local pointer of thread to shutdwon to avoid reentry crash, f=jesup, r=shuang 2015-09-08 11:15:49 +08:00
Ben Tian
5845f0216c Bug 1199548 - Do not append vCard Body payload in PBAP replies when |MaxListCount| is zero, r=shuang 2015-09-04 15:47:22 +08:00
Ben Tian
96ab13f6dc Bug 1199107 - Replace BT_WARNING with BT_LOGR in PBAP manager, r=shuang 2015-09-04 12:04:38 +08:00
Ben Tian
ffed6b761b Bug 1199107 - Access PBAP vCard input stream directly instead of passing it as input parameter, r=shuang 2015-09-04 12:04:37 +08:00
Ben Tian
728f47b1aa Bug 1189315 - Add daemon interface for HFP WBS callback. r=tzimmermann 2015-07-31 15:55:28 +08:00
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