Carsten "Tomcat" Book
be8b65eeff
Merge mozilla-central to b2g-inbound
2015-05-21 15:19:27 +02:00
Carsten "Tomcat" Book
967e6f7f03
merge mozilla-inbound to mozilla-central a=merge
2015-05-21 14:56:34 +02:00
Thomas Zimmermann
5362ed1bf6
Bug 1164417: Add |ConnectionOrientedSocket::PrepareAccept| for accepting socket connections, r=kmachulis
...
With this patch, stream and listening sockets handle the setup of
accepted sockets internally. Sub-classes of |StreamSocket| don't
have to overload StreamSocket's |GetIO| any longer.
2015-05-21 13:34:37 +02:00
Thomas Zimmermann
e5eabe4c03
Bug 1164417: Store PDU consumer in |BluetoothDaemonConnection|, r=kmachulis
2015-05-21 13:34:37 +02:00
Thomas Zimmermann
25b408e533
Bug 1164417: Add |UnixSocketConnector::Duplicate|, r=kmachulis
...
The new method |UnixSocketConnector::Duplicate| allows a socket
connector to duplicate itself. Listening sockets will used this
feature to create socket connectors for accepted connections.
2015-05-21 13:34:37 +02:00
Ben Tian
62eb33f04b
Bug 1166587 - Check OBEX packet length before accessing it, r=shuang
2015-05-21 14:11:20 +08:00
Ben Hsu
857431c2f5
Bug 1147736 - Part 4: Deprecate NotifyError(Bluetooth). r=btian
2015-05-08 00:21:00 -04:00
Wes Kocher
80159a0c99
Merge m-c to inbound, a=merge
2015-05-20 18:30:33 -07:00
Bobby Holley
c88c2e4f75
Bug 1165162 - Serialize originSuffix into .origin. r=gabor,sr=sicking
...
We also provide an opt-out for the original behavior, and use it in various
consumers that look like they need fixing up. Most of the usage here is in
code with persistence considerations, where we may need some sort of migration
path.
2015-05-20 17:11:49 -07:00
Cameron McCormack
fedc4dfb41
Bug 1166575 - Silence uninitialized variable error in BluetoothHALInterface.cpp when building a debug B2G build. r=tzimmermann
2015-05-21 10:01:59 +10:00
Carsten "Tomcat" Book
df805f488e
merge mozilla-inbound to mozilla-central a=merge
2015-05-20 15:52:31 +02:00
Thomas Zimmermann
8fb67a5055
Bug 1164425: Cleanup interfaces of |ListenSocket|, r=kmachulis
...
This patch removes |ListenSocket::GetSocketAddr|, which is unused
and not thread-safe. The |Listen| methods now return error codes.
2015-05-20 10:50:43 +02:00
Thomas Zimmermann
797b11df18
Bug 1164425: Rename |SocketBase::CloseSocket| to |SocketBase::Close|, r=kmachulis
2015-05-20 10:50:43 +02:00
Carsten "Tomcat" Book
c89b0c098f
Backed out changeset 1e93024c9fec (bug 1164425) for bustage
2015-05-20 10:31:55 +02:00
Carsten "Tomcat" Book
70b8a9bab5
Backed out changeset 17bd0777339a (bug 1164425)
2015-05-20 10:30:55 +02:00
Thomas Zimmermann
60a59f574c
Bug 1164425: Cleanup interfaces of |ListenSocket|, r=kmachulis
...
This patch removes |ListenSocket::GetSocketAddr|, which is unused
and not thread-safe. The |Listen| methods now return error codes.
2015-05-20 09:54:27 +02:00
Thomas Zimmermann
8e10928ea3
Bug 1164425: Rename |SocketBase::CloseSocket| to |SocketBase::Close|, r=kmachulis
2015-05-20 09:54:27 +02:00
Ben Tian
9f4209af71
Bug 1162902 - Implement PBAP SetPhoneBook function, r=shuang
2015-05-20 14:40:01 +08:00
Jamin Liu
b1fb76fae6
Bug 1166215 - Cast 'BluetoothTypeOfDevice' to uint32_t before the BT signal is distributed to BluetoothAdapter. r=joliu
2015-05-20 14:29:25 +08:00
Ben Tian
911f506d9d
Bug 1166176 - [cleanup] Simplify volume related code in OPP manager, r=shuang
2015-05-19 17:09:56 +08:00
Ben Tian
88a49dc76f
Bug 1166180 - [cleanup] Remove function |EnsureBluetoothHalLoad| in BluetoothServiceBluedroid, r=shuang
2015-05-19 17:02:01 +08:00
Thomas Zimmermann
86db93eaf2
Bug 1161020: Remove old interface and implementation from socket-connector classes, r=kmachulis
2015-05-19 13:28:46 +02:00
Thomas Zimmermann
1097a756a3
Bug 1161020: Use new socket-connector interface in socket classes, r=kmachulis
...
This patch converts the socket I/O classes to use the new interface
of the socket-connector classes. All sockets are now created and set
up by a socket connector.
2015-05-19 13:28:46 +02:00
Thomas Zimmermann
64ac4538b3
Bug 1161020: Implement new socket-connector interface for Bluetooth sockets, r=btian
2015-05-19 13:28:46 +02:00
Thomas Zimmermann
22475e3348
Bug 1161020: Implement new socket-connector interface for Bluetooth daemon socket, r=shuang
...
This patch moves |BluetoothDaemonSocketConnector| into its own file,
renames it to |BluetoothDaemonConnector| and implements the new socket-
connector interface.
2015-05-19 13:28:46 +02:00
Thomas Zimmermann
b1655e9352
Bug 1164498: Remove |DispatchBluetoothReply|, r=btian
...
This patch removes |DispatchBluetoothReply|. The only remaining user
is |BluetoothDBusService|, but it comes with its own implemenation of
the function.
2015-05-19 12:28:38 +02:00
Thomas Zimmermann
f62c2b2bcb
Bug 1164498: Remove |DispatchBluetoothReply| from |BluetoothHfpManger|, r=btian
...
This patch replaces |DispatchBluetoothReply| in |BluetoothHfpManager|
with corresponding calls to |DispatchReplySuccess| or |DispatchReplyError|.
2015-05-19 12:28:38 +02:00
Thomas Zimmermann
9420568af4
Bug 1164498: Remove |DispatchBluetoothReply| from |BluetoothProfileController|, r=btian
...
This patch replaces |DispatchBluetoothReply| in |BluetoothProfileController|
with corresponding calls to |DispatchReplySuccess| or |DispatchReplyError|.
2015-05-19 12:28:38 +02:00
Thomas Zimmermann
d24e02cf38
Bug 1164498: Remove |DispatchBluetoothReply| from |BluetoothServiceBluedroid|, r=btian
...
This patch replaces |DispatchBluetoothReply| in |BluetoothServiceBluedroid|
by corresponding calls to |DispatchReplySuccess| or |DispatchReplyError|.
2015-05-19 12:28:38 +02:00
Thomas Zimmermann
3fa2e45165
Bug 1164498: Cleanup Bluetooth utility functions for dispatching replies, r=btian
...
This patch adds support for |DispatchReplySuccess| and |DispatchReplyError|
to Bluetooth v1.
2015-05-19 12:28:38 +02:00
Ryan VanderMeulen
41d95849b2
Merge inbound to m-c. a=merge
2015-05-18 16:32:50 -04:00
Andrea Marchesini
6ce7c91736
Bug 1163388 - patch 2 - get rid of nsIDOMFile, r=ehsan
2015-05-18 14:52:26 +01:00
Andrea Marchesini
b18aab69b4
Bug 1163388 - patch 1 - make nsIDOMFile an empty interface, r=ehsan
2015-05-18 14:51:54 +01:00
Jamin Liu
6fcfaaaabc
Bug 1098228 - Set Bluetooth discoverable to default value when BT state is BT_STATE_OFF. r=shuang
2015-05-18 09:27:23 +08:00
Neil Rashbrook
441960eebc
Bug 1155963 Only allow NS_LITERAL_CSTRING to be used on compile-time literals r=froydnj,ehsan
2015-05-16 09:07:10 +01:00
Ben Tian
084852da66
Bug 1164314 - Fire devicefound in RemoteDevicePropertiesNotification only during discovery, r=shuang
2015-05-15 14:14:02 +08:00
Will Wang
b142123c7f
Bug 1161888 - remove first CKPD flag and do not set |mDialingRequestProcessed| flag to avoid the redundant HFP_AT_RESPONSE_OK. r=shuang
2015-05-15 14:35:46 +08:00
Wes Kocher
2b18d5b966
Merge b2ginbound to m-c a=merge
2015-05-14 15:37:44 -07:00
Naoki Hirata
9215df432a
Backed out 4 changesets (bug 1147736)
...
Backed out changeset 80ad8826d772 (bug 1147736)
Backed out changeset 1f69ddad07bb (bug 1147736)
Backed out changeset 34aee78127f5 (bug 1147736)
Backed out changeset 8a8c735fb984 (bug 1147736)
2015-05-13 14:15:57 -07:00
Jamin Liu
2e4db95721
Bug 1163969 - Reject the stopLeScan request only if there's no ongoing LE Scan using the given handle. r=joliu
2015-05-13 15:58:22 +08:00
Bruce Sun
4e58e0c109
Bug 1163912: Set |Type| property of BluetoothDevice a initial value during LeScan; f=elin, r=jocelyn
2015-05-13 15:50:21 +08:00
Ben Tian
1ec291824e
Bug 1159179 - Patch 3/3: [PBAP] Implement PBAP manger, r=shuang
2015-05-13 10:52:58 +08:00
Ben Tian
46770eac8f
Bug 1159179 - Patch 2/3: [PBAP] Revise profile disconnection when BT stops, r=shuang
2015-05-13 16:29:50 +08:00
Carsten "Tomcat" Book
4a467cfa03
merge mozilla-central to mozilla-inbound
2015-05-12 17:07:10 +02:00
Andrea Marchesini
d991fa6d9b
Bug 1163387 - Rename FileImpl to BlobImpl, r=ehsan
2015-05-12 13:11:03 +01:00
Andrea Marchesini
7a35ed6840
Bug 1159401 - Split Blob and File classes, r=bz
2015-05-12 13:09:51 +01:00
Jocelyn Liu
8821a2c128
Bug 1162910 - Make bluetooth daemon as the default backend of BT APIv2. r=tzimmermann
2015-05-11 03:44:00 -04:00
Bruce Sun
c585977111
Bug 1162893 - Fix BluetoothGattWriteType serialization problem. f=elin, r=jocelyn
2015-05-11 16:43:53 +08:00
Ben Tian
138d8e7743
Bug 1159179 - Patch 1/3: [PBAP] Add OBEX related functions, r=shuang
2015-05-07 17:07:58 +08:00
Ben Hsu
80abb87236
Bug 1147736 - Part 4: Deprecate NotifyError(Bluetooth). r=btian
2015-05-08 00:21:00 -04:00