Commit Graph

586 Commits

Author SHA1 Message Date
Jocelyn Liu
08e25742a0 Bug 1181482 - Patch1: Refine some data types in gecko backend for GATT server read/write request APIs. r=btian 2015-09-23 14:15:55 +08:00
Bruce Sun
ecebfa45d5 Bug 1181479: Sync the coding style; r=jocelyn 2015-09-21 14:41:02 +08:00
Bruce Sun
e03fb4f7d3 Bug 1181479: Implement GATT Server service management; r=jocelyn, r=mrbkap 2015-08-24 16:58:13 +08:00
Bruce Sun
0743c11d2e Bug 1181479: Refine GenerateUuid(); r=jocelyn 2015-09-21 14:40:11 +08:00
Bruce Sun
0b06af747b Bug 1181479: Refine StringToUuid; r=jocelyn 2015-09-21 14:39:44 +08:00
Thomas Zimmermann
cd10495a59 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
420a083cd5 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
48a8903713 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
4afaf44ef6 Bug 1205577: Use enum constants for Bluetooth Socket module, r=btian 2015-09-17 14:46:18 +02:00
Thomas Zimmermann
9da2d90e28 Bug 1205253: Use enum constants for Bluetooth Core module, r=btian 2015-09-17 10:08:47 +02:00
Thomas Zimmermann
86fcc7a88d 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
7cf66612c7 Bug 1204801: Use enum constants for Bluetooth Service module, r=btian 2015-09-16 10:37:58 +02:00
Thomas Zimmermann
83d246f318 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
066d035d3d Bug 1204801: Move |BluetoothDaemonSetupModule| into separate compilation unit, r=btian 2015-09-16 10:37:58 +02:00
Will Wang
2a1c15bc8c Bug 1203046 - Call |NRECNotification| once RFCOMM is connected. r=shuang 2015-09-15 18:19:25 +08:00
Thomas Zimmermann
948e27e61b Bug 1203092: Remove void pointers from Bluetooth's daemon backend, r=shuang 2015-09-15 12:55:02 +02:00
Thomas Zimmermann
832d543167 Bug 1203092: Inherit Bluetooth result handlers from |DaemonSocketResultHandler|, r=shuang 2015-09-15 12:55:02 +02:00
Nigel Babu
3028272315 Backed out changeset e682d4ccb6a5 (bug 1203092) 2015-09-15 15:17:33 +05:30
Nigel Babu
7a16edd7a4 Backed out changeset bed325ace368 (bug 1203092) 2015-09-15 15:17:30 +05:30
Thomas Zimmermann
22f375913e Bug 1203092: Remove void pointers from Bluetooth's daemon backend, r=shuang 2015-09-15 10:38:13 +02:00
Thomas Zimmermann
4fabbf2de8 Bug 1203092: Inherit Bluetooth result handlers from |DaemonSocketResultHandler|, r=shuang 2015-09-15 10:38:13 +02:00
Thomas Zimmermann
29e1acda61 Bug 1204506: Set 'override' attribute for overloaded Bluetooth backend methods, r=btian 2015-09-15 09:48:26 +02:00
Thomas Zimmermann
c8e8ca8ec6 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
e6170a1977 Bug 1195710 - [MAP]Implement PushMessage function, r=btian 2015-09-13 19:03:23 +08:00
Phil Ringnalda
f79d829bdf Merge b-i to m-c, a=merge 2015-09-11 20:27:20 -07:00
Carsten "Tomcat" Book
1a0ce23fe9 merge mozilla-inbound to mozilla-central a=merge 2015-09-11 16:36:35 +02:00
Shawn Huang
55be2eae10 Bug 1186836 - Implement SetMessageStatus function, r=btian 2015-09-11 22:45:18 +08:00
Shawn Huang
07b0126629 Bug 1166679 - Implement GetMessage function, r=btian 2015-09-11 21:21:19 +08:00
Phil Ringnalda
9565dedf7d Merge m-c to m-i
CLOSED TREE
2015-09-10 15:30:31 -07:00
Thomas Zimmermann
7e6c6ef201 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
4d58fd2b5f Bug 1203023 - Do not call Reset() for BluetoothMapSmsManager, r=tzimmermann 2015-09-10 17:10:04 +08:00
Thomas Zimmermann
369854d84e Bug 1202704: Move Bluetooth's |UnpackPDUInitOp| to generic HAL IPC code, r=shuang 2015-09-09 13:40:26 +02:00
Thomas Zimmermann
5621b29006 Bug 1202704: Move Bluetooth IPC unpack functions to generic HAL IPC, r=shuang 2015-09-09 13:40:26 +02:00
Thomas Zimmermann
551c2206d6 Bug 1202704: Move Bluetooth IPC pack functions to generic HAL IPC, r=shuang 2015-09-09 13:40:26 +02:00
Thomas Zimmermann
8dc1fa85d9 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
de849c6fe0 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
1123c4730a 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
5e46603952 Bug 1195685 - Transform macro |BT_APPEND_NAMED_VALUE| into function, r=shuang 2015-09-09 10:59:36 +08:00
Ben Tian
c29bbe56c0 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
6a1d0e9828 Bug 1200124 - Correct PBAP order mapping, r=shuang, r=mrbkap 2015-09-09 10:17:58 +08:00
Shawn Huang
691ea61dca Bug 1166645 - Implement MAP profile manager connection related function, r=btian 2015-09-08 11:39:13 +08:00
Ben Tian
6576fbda41 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
8137ba3e28 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
6f22aefd8f Bug 1199107 - Replace BT_WARNING with BT_LOGR in PBAP manager, r=shuang 2015-09-04 12:04:38 +08:00
Ben Tian
5db4031b4c 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
cd4473d62f Bug 1203426 - Rename StructuredCloneIPCHelper to StructuredCloneData, r=smaug
--HG--
rename : dom/ipc/StructuredCloneIPCHelper.cpp => dom/ipc/StructuredCloneData.cpp
rename : dom/ipc/StructuredCloneIPCHelper.h => dom/ipc/StructuredCloneData.h
2015-09-10 21:50:58 +01:00
Ben Tian
e610a0254c Bug 1189315 - Add daemon interface for HFP WBS callback. r=tzimmermann
--HG--
extra : rebase_source : b47a3bc53aacedec82859d44a9fcedfd069e5bd4
2015-07-31 15:55:28 +08:00
Thomas Zimmermann
f0d5f8b3dc 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
1d5487d615 Bug 1199110: Add |BluetoothAvrcpManager| to Bluedroid and BlueZ backends, r=shuang
The new |BluetoothAvrcpManager| classes are copies of |BluetoothA2dpManager|
without the A2DP bits.

--HG--
rename : dom/bluetooth/bluedroid/BluetoothA2dpManager.cpp => dom/bluetooth/bluedroid/BluetoothAvrcpManager.cpp
rename : dom/bluetooth/bluedroid/BluetoothA2dpManager.h => dom/bluetooth/bluedroid/BluetoothAvrcpManager.h
rename : dom/bluetooth/bluez/BluetoothA2dpManager.cpp => dom/bluetooth/bluez/BluetoothAvrcpManager.cpp
rename : dom/bluetooth/bluez/BluetoothA2dpManager.h => dom/bluetooth/bluez/BluetoothAvrcpManager.h
2015-08-31 17:27:47 +02:00
Thomas Zimmermann
df94c725aa 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