Commit Graph

1598 Commits

Author SHA1 Message Date
Bruce Sun
a3bf2b4842 Backed out changeset 784aae3f40bf (bug 1181479) 2015-09-23 13:44:02 +08:00
Bruce Sun
5d6ede596a Backed out changeset 7c07214ac152 (bug 1181479) 2015-09-23 13:44:02 +08:00
Bruce Sun
8266b6d9ff Backed out changeset 89c64eb24508 (bug 1181479) 2015-09-23 13:44:02 +08:00
Bruce Sun
14c88a179e Backed out changeset 778062b31fd9 (bug 1181479) 2015-09-23 13:44:02 +08:00
Bruce Sun
442de07947 Bug 1181479: Sync the coding style; r=jocelyn 2015-09-21 14:41:02 +08:00
Bruce Sun
17fafcf585 Bug 1181479: Implement GATT Server service management; r=jocelyn, r=mrbkap 2015-08-24 16:58:13 +08:00
Bruce Sun
023a07ff63 Bug 1181479: Refine GenerateUuid(); r=jocelyn 2015-09-21 14:40:11 +08:00
Bruce Sun
a4b9d44437 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
8bdf56f23b Bug 1205635: Don't define methods of Bluetooth backend interfaces in header, r=btian
Except the d'tors, we usually don't call any interfaces of the Bluetooth
backend interfaces. All methods are overriden in child classes.

This patch move the methods from the interface's header file to the source
file. Only the result handlers' d'tors are located in the header, as they
can be inlined.
2015-09-21 11:18:11 +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
Wes Kocher
ebdcf9fc9e Merge b2ginbound to central, a=merge CLOSED TREE 2015-09-16 11:00:55 -07: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
Wes Kocher
3eef2f434b Merge m-c to inbound, a=merge 2015-09-15 17:20:16 -07:00
Shu-yu Guo
64db2267cf Bug 1202902 - Mass replace toplevel 'let' with 'var' in preparation for global lexical scope. (rs=jorendorff) 2015-09-15 11:19:45 -07:00
Wes Kocher
f75a43f2af Merge b2ginbound to central, a=merge 2015-09-14 17:23:34 -07: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
Jocelyn Liu
b144643f0d Bug 1203900 - Fix cycle collection and array buffer creation bug in the implementation of MediaKeyMessageEvent, MediaEncryptedEvent, and BluetoothLeDeviceEvent. r=bz 2015-09-11 21:05:00 +02: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
Jocelyn Liu
d2e1fc818b Bug 1199653 - Correctly set |sInShutdown| in BluetoothService for content processes. f=tzimmermann, r=shuang 2015-09-10 10:55:02 +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