Thomas Zimmermann
052db18ce5
Bug 1206686: Use |BluetoothUuid| throughout Bluetooth backend interfaces, r=btian
...
This patch converts all public interfaces of the Bluetooth backend code
to take UUIDs as |BluetoothUuid|. The code currently uses a mixture of
|BluetoothUuid| and arrays/pointers.
2015-09-22 13:04:05 +02:00
Thomas Zimmermann
b1d71686a1
Bug 1204497: Complete AVRCP connect/disconnect from separate runnables, r=shuang
...
A2DP connects and disconnects are completed from a separate result-handler
runnable. Dispatching runnables to complete AVRCP (dis-)connects implements
the same behavior for AVRCP.
2015-09-21 11:30:52 +02:00
Thomas Zimmermann
7d657222fd
Bug 1204497: Interpret AVRCP remote features as bitmask, r=shuang
...
The current IPC parsing code is incorrect. AVRCP remote features are
specified as bitmask, but the current IPC code treats them as values.
This patch fixes this.
2015-09-21 11:30:52 +02:00
Thomas Zimmermann
dd5101d6a7
Bug 1205577: Use enum constants for Bluetooth Socket module, r=btian
2015-09-17 14:46:18 +02:00
Thomas Zimmermann
368e809c3e
Bug 1205253: Use enum constants for Bluetooth Core module, r=btian
2015-09-17 10:08:47 +02:00
Thomas Zimmermann
0ff4a88b97
Bug 1205253: Move |BluetoothDaemonCoreModule| into separate compilation unit, r=btian
...
This patch moves |BluetoothDaemonCoreModule| into its own compilation
unit. The notifications handlers are not set via getter/setter methods
o fthis class. No further code changes are made.
2015-09-17 10:08:47 +02:00
Thomas Zimmermann
15b91024c3
Bug 1204801: Use enum constants for Bluetooth Service module, r=btian
2015-09-16 10:37:58 +02:00
Thomas Zimmermann
a5a74d1099
Bug 1204801: Move |BlutoothSetupResultHandler| to generic backend interface, r=btian
...
|BluetoothSetupResultHandler| is independent from the Bluetooth backend
code. This patch moves it to the other backend interfaces.
2015-09-16 10:37:58 +02:00
Thomas Zimmermann
ba347c4e74
Bug 1204801: Move |BluetoothDaemonSetupModule| into separate compilation unit, r=btian
2015-09-16 10:37:58 +02:00
Will Wang
ff053e206d
Bug 1203046 - Call |NRECNotification| once RFCOMM is connected. r=shuang
2015-09-15 18:19:25 +08:00
Thomas Zimmermann
5a41c2f71a
Bug 1203092: Remove void pointers from Bluetooth's daemon backend, r=shuang
2015-09-15 12:55:02 +02:00
Thomas Zimmermann
c8d051a615
Bug 1203092: Inherit Bluetooth result handlers from |DaemonSocketResultHandler|, r=shuang
2015-09-15 12:55:02 +02:00
Nigel Babu
390fb37561
Backed out changeset e682d4ccb6a5 (bug 1203092)
2015-09-15 15:17:33 +05:30
Nigel Babu
8a407d3a97
Backed out changeset bed325ace368 (bug 1203092)
2015-09-15 15:17:30 +05:30
Thomas Zimmermann
aa573175d8
Bug 1203092: Remove void pointers from Bluetooth's daemon backend, r=shuang
2015-09-15 10:38:13 +02:00
Thomas Zimmermann
8f7aa0a201
Bug 1203092: Inherit Bluetooth result handlers from |DaemonSocketResultHandler|, r=shuang
2015-09-15 10:38:13 +02:00
Thomas Zimmermann
4eb00f0a1d
Bug 1204506: Set 'override' attribute for overloaded Bluetooth backend methods, r=btian
2015-09-15 09:48:26 +02:00
Thomas Zimmermann
0136105fa4
Bug 1202060: Store Bluetooth profile controller while (dis-)connecting AVRCP, r=shuang
...
AVRCP connect and disconnects can currently not be completed, because the
profile controller is not know to the manager at the time of completion.
The patch fixes this bug.
2015-09-14 16:01:45 +02:00
Shawn Huang
78ca01d880
Bug 1195710 - [MAP]Implement PushMessage function, r=btian
2015-09-13 19:03:23 +08:00
Phil Ringnalda
c5faed392a
Merge b-i to m-c, a=merge
2015-09-11 20:27:20 -07:00
Carsten "Tomcat" Book
826e271f1a
merge mozilla-inbound to mozilla-central a=merge
2015-09-11 16:36:35 +02:00
Shawn Huang
1d0e435d09
Bug 1186836 - Implement SetMessageStatus function, r=btian
2015-09-11 22:45:18 +08:00
Shawn Huang
f9d4fbfc5f
Bug 1166679 - Implement GetMessage function, r=btian
2015-09-11 21:21:19 +08:00
Phil Ringnalda
10105b6697
Merge m-c to m-i
...
CLOSED TREE
2015-09-10 15:30:31 -07:00
Thomas Zimmermann
ca0b9f0b2f
Bug 1202386: Output clear Bluetooth IPC errors, r=shuang
...
This patch improves error logging in the Bluetooth IPC code.
2015-09-10 11:32:26 +02:00
Shawn Huang
a3dfc3c7f1
Bug 1203023 - Do not call Reset() for BluetoothMapSmsManager, r=tzimmermann
2015-09-10 17:10:04 +08:00
Thomas Zimmermann
aa83d17971
Bug 1202704: Move Bluetooth's |UnpackPDUInitOp| to generic HAL IPC code, r=shuang
2015-09-09 13:40:26 +02:00
Thomas Zimmermann
7e10f6ab6f
Bug 1202704: Move Bluetooth IPC unpack functions to generic HAL IPC, r=shuang
2015-09-09 13:40:26 +02:00
Thomas Zimmermann
0fe175f937
Bug 1202704: Move Bluetooth IPC pack functions to generic HAL IPC, r=shuang
2015-09-09 13:40:26 +02:00
Thomas Zimmermann
e6ee10d8f1
Bug 1141616: Lookup service channel in Bluedroid's OPP manager, r=btian
...
Bluedroid's |BluetoothOppManager| now retrieves the OBEX service's
channel from the remote device. Previously this was done by the
Bluedroid driver internally, but having this functionality in the
manager itself will allow for future code sharing with the BlueZ
backend.
2015-09-09 13:20:57 +02:00
Thomas Zimmermann
826a618aeb
Bug 1141616: Support SDP lookups in |BluetoothServiceBluedroid|, r=btian
...
This patch adds support for SDP lookups to Bluedroid's service
manager |BluetoothServiceBluedroid|. The class now implements
looking up a remote device's services.
2015-09-09 13:20:54 +02:00
Thomas Zimmermann
4bb852bae0
Bug 1141616: Implement |BluetoothService::GetServiceChannel|, r=btian
...
This patch adds support for reading a service channel from a remote
device.
2015-09-09 13:20:45 +02:00
Ben Tian
dbe7b1f5e5
Bug 1195685 - Transform macro |BT_APPEND_NAMED_VALUE| into function, r=shuang
2015-09-09 10:59:36 +08:00
Ben Tian
5f96bd073d
Bug 1200124 - Pass order and search key with uint32_t instead of nsString to avoid string mismatch error, r=shuang
2015-09-07 10:53:40 +08:00
Ben Tian
a358748e1b
Bug 1200124 - Correct PBAP order mapping, r=shuang, r=mrbkap
2015-09-09 10:17:58 +08:00
Shawn Huang
9526e06695
Bug 1166645 - Implement MAP profile manager connection related function, r=btian
2015-09-08 11:39:13 +08:00
Ben Tian
08c988a341
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
8fd30b9504
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
9a3faad8f6
Bug 1199107 - Replace BT_WARNING with BT_LOGR in PBAP manager, r=shuang
2015-09-04 12:04:38 +08:00
Ben Tian
0ad960e49f
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
Andrea Marchesini
edb0027da6
Bug 1203426 - Rename StructuredCloneIPCHelper to StructuredCloneData, r=smaug
2015-09-10 21:50:58 +01:00
Ben Tian
9435ecc681
Bug 1189315 - Add daemon interface for HFP WBS callback. r=tzimmermann
2015-07-31 15:55:28 +08:00
Thomas Zimmermann
c32f0fdd06
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
3cdc692707
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
8576898cb9
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
1754b98de8
Bug 1193379 - Create dom/bluetooth/common/webapi folder. r=joliu
2015-08-21 15:15:41 +08:00
Thomas Zimmermann
35ae7124d7
Bug 1197815: Add missing |BluetoothHfpManager::IsNrecEnabled|, r=shuang
2015-08-25 17:06:51 +02:00
Nigel Babu
06d0282671
Backed out changeset adb6cdbdd2ed for emulator build bustage (Bug 1197815)
2015-08-25 17:59:18 +05:30
Thomas Zimmermann
f6b0b64959
Bug 1197815: Add missing |BluetoothHfpManager::IsNrecEnabled|, r=shuang
2015-08-25 13:18:00 +02:00
Thomas Zimmermann
74ddad6337
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