Carsten "Tomcat" Book
b4dc8a79b7
merge mozilla-inbound to mozilla-central a=merge
2015-05-21 14:56:34 +02:00
Ben Tian
ea0745da15
Bug 1166587 - Check OBEX packet length before accessing it, r=shuang
2015-05-21 14:11:20 +08:00
Cameron McCormack
c7b07bee01
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
12f69af823
merge mozilla-inbound to mozilla-central a=merge
2015-05-20 15:52:31 +02:00
Thomas Zimmermann
840f154d6b
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
1237cad18c
Bug 1164425: Rename |SocketBase::CloseSocket| to |SocketBase::Close|, r=kmachulis
2015-05-20 10:50:43 +02:00
Carsten "Tomcat" Book
1aa07d706a
Backed out changeset 1e93024c9fec (bug 1164425) for bustage
2015-05-20 10:31:55 +02:00
Carsten "Tomcat" Book
1a15bd1430
Backed out changeset 17bd0777339a (bug 1164425)
2015-05-20 10:30:55 +02:00
Thomas Zimmermann
6a46c5c7cf
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
533d048a4b
Bug 1164425: Rename |SocketBase::CloseSocket| to |SocketBase::Close|, r=kmachulis
2015-05-20 09:54:27 +02:00
Ben Tian
478901b821
Bug 1162902 - Implement PBAP SetPhoneBook function, r=shuang
2015-05-20 14:40:01 +08:00
Jamin Liu
cf0fd0d19c
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
8aa4af6efd
Bug 1166176 - [cleanup] Simplify volume related code in OPP manager, r=shuang
2015-05-19 17:09:56 +08:00
Ben Tian
2248c8f63a
Bug 1166180 - [cleanup] Remove function |EnsureBluetoothHalLoad| in BluetoothServiceBluedroid, r=shuang
2015-05-19 17:02:01 +08:00
Thomas Zimmermann
a4face3b55
Bug 1161020: Remove old interface and implementation from socket-connector classes, r=kmachulis
2015-05-19 13:28:46 +02:00
Thomas Zimmermann
34117f6140
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
c9ea3365c5
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
Andrea Marchesini
3aa189b5ff
Bug 1163388 - patch 2 - get rid of nsIDOMFile, r=ehsan
...
--HG--
rename : dom/base/nsIDOMFile.idl => dom/base/nsIDOMBlob.idl
2015-05-18 14:52:26 +01:00
Andrea Marchesini
338c67e420
Bug 1163388 - patch 1 - make nsIDOMFile an empty interface, r=ehsan
2015-05-18 14:51:54 +01:00
Jamin Liu
3242c56050
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
cf42e317ab
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
1d0552ae6a
Bug 1164314 - Fire devicefound in RemoteDevicePropertiesNotification only during discovery, r=shuang
2015-05-15 14:14:02 +08:00
Will Wang
e761135e3c
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
Ben Tian
23b0ee66cf
Bug 1159179 - Patch 3/3: [PBAP] Implement PBAP manger, r=shuang
2015-05-13 10:52:58 +08:00
Ben Tian
d61dda2930
Bug 1159179 - Patch 2/3: [PBAP] Revise profile disconnection when BT stops, r=shuang
2015-05-13 16:29:50 +08:00
Ben Tian
a482aeaa6d
Bug 1159179 - Patch 1/3: [PBAP] Add OBEX related functions, r=shuang
2015-05-07 17:07:58 +08:00
Bruce Sun
3c8da08a08
Bug 1163912: Set |Type| property of BluetoothDevice a initial value during LeScan; f=elin, r=jocelyn
2015-05-13 15:50:21 +08:00
Carsten "Tomcat" Book
90096e4744
merge mozilla-central to mozilla-inbound
...
--HG--
rename : dom/base/MultipartFileImpl.cpp => dom/base/MultipartBlobImpl.cpp
rename : dom/base/MultipartFileImpl.h => dom/base/MultipartBlobImpl.h
2015-05-12 17:07:10 +02:00
Andrea Marchesini
f4538bb921
Bug 1163387 - Rename FileImpl to BlobImpl, r=ehsan
...
--HG--
rename : dom/base/MultipartFileImpl.cpp => dom/base/MultipartBlobImpl.cpp
rename : dom/base/MultipartFileImpl.h => dom/base/MultipartBlobImpl.h
2015-05-12 13:11:03 +01:00
Andrea Marchesini
368a198972
Bug 1159401 - Split Blob and File classes, r=bz
2015-05-12 13:09:51 +01:00
Shawn Huang
76d664e594
Bug 1160127 - Send HFP/A2DP profile disconnection notification, r=btian
2015-05-11 11:47:31 +08:00
Ben Tian
e11afd073e
Bug 1156503 - Update device name from |RemoteDevicePropertiesNotification| during discovery, r=shuang
2015-04-30 16:48:39 +08:00
Thomas Zimmermann
362da7534b
Bug 1161003
: Don't send PDU when connection to Bluetooth daemon is closed, r=shuang
...
During restarts of the Bluetooth daemon, it can occur that Gecko tries
to send without having a connection to bluetoothd opened. This patch adds
a check to prevent this.
2015-05-06 10:00:02 +02:00
Thomas Zimmermann
a9b8c25faa
Bug 1159267: Share Bluedroid's A2DP manager between Bluetooth v1 and v2, r=btian
...
Bluedroid's A2DP manager is the same for Bluetooth v1 and v2, except
fixes for bug 1062697 and bug 1148311 in v1. This patch merges both
variants. The last remaining difference is a call to |DistributeSignal|,
which differs between both implementations.
2015-05-06 09:58:04 +02:00
Thomas Zimmermann
80366e6970
Bug 1159267: Share Bluedroid's HFP manager between Bluetooth v1 and v2, r=btian
...
The implementation of the Bluedroid HFP manager in Bluetoth v1 and v2
differs by a number of interface changes. This patch merges both variants
into a single one, were possible.
2015-05-06 09:58:04 +02:00
Thomas Zimmermann
e608040aea
Bug 1159267: Share Bluedroid's OPP manager between Bluetooth v1 and v2, r=btian
...
Bluedroid's OPP manager is the same for Bluetooth v1 and v2; except
for bug 1118177, which is fixed in v1. So with this patch, the v1
implementation is used for both variants.
2015-05-06 09:58:04 +02:00
Wes Kocher
71ab142db5
Backed out changeset ffad198d409b (bug 1161003
) for b2g windows build bustage
2015-05-05 13:15:42 -07:00
Thomas Zimmermann
4f5dc0f157
Bug 1161003
: Don't send PDU when connection to Bluetooth daemon is closed, r=shuang
...
During restarts of the Bluetooth daemon, it can occur that Gecko tries
to send without having a connection to bluetoothd opened. This patch adds
a check to prevent this.
2015-05-05 17:02:43 +02:00
Carsten "Tomcat" Book
ba5c4e1c0c
Merge mozilla-central to b2g-inbound
2015-05-04 15:26:45 +02:00
Jamin Liu
da0f8172bb
Bug 1063444 - Implement LE scan related methods and LE device event. r=joliu, r=mrbkap
2015-05-04 18:59:02 +08:00
Andrew McCreight
9e8f4b219e
Bug 1152551, part 2 - Fix mode lines in dom/. r=jst
2015-05-03 15:32:37 -04:00
Jocelyn Liu
79a1ee1c61
Bug 1159685 - Fix BluetoothSspVariant argument passing for SspRequestNotification. r=shuang
2015-04-30 01:04:00 -04:00
Shawn Huang
c982fdb5b1
Bug 1143925 - Restart bluetoothd daemon automatically for API V2. r=tzimmermann
2015-04-30 05:46:00 -04:00
Shawn Huang
548f72bad6
Bug 1143925 - Avoid crash for HFP/A2DP manager during restart daemon. r=tzimmermann
2015-04-30 05:14:00 -04:00
Shawn Huang
2f5a4a338c
Bug 1143925 - Restart bluetoothd daemon automatically for V1 API. r=tzimmermann
2015-04-30 05:13:00 -04:00
Thomas Zimmermann
36282f45ee
Bug 1159709: Cleanup inherited methods of Bluedroid's |BluetoothSocket|, r=kmachulis
...
This patch cleans up the inherited methods of Bluedroid's
|BluetooothSocket|. Methods of the same base class are grouped
within the file, and each method is labeled with 'override'.
2015-04-30 12:55:37 +02:00
Thomas Zimmermann
92706b5790
Bug 1159709: Inherit |BluetoothDaemonConnection| from |DataSocket|, r=kmachulis
...
|BluetoothDaemonConnection| sends and receives data. With this patch
it inherits from |DataSocket|, which provides the respective abstract
interfaces.
2015-04-30 12:55:37 +02:00
Thomas Zimmermann
79b0cc601a
Bug 1158818: Only store Bluetooth result runnable after command has been sent successfully, r=shuang
...
With the current code, the Bluetooth result runnable is saved for
receiving before a command has been sent successfully. If sending
fails afterwards, the saved result runnable will still sit in the
result queue, and interfere with later, successful commands.
With this patch, the result runnable is saved only if the sending
was successful.
2015-04-30 11:29:25 +02:00
Thomas Zimmermann
625ab90911
Bug 1159209: Remove template parameters from |DataSocketIO|, r=kmachulis
...
This patch removes the template parameters from |DataSocketIO| and
moves its methods into the C++ source file. All users have been
adapted.
2015-04-29 11:19:28 +02:00
Thomas Zimmermann
9cdb8ad654
Bug 1159209: Remove template parameters from |SocketIOShutdownTask|, r=kmachulis
...
This patch removes the template parameters from |SocketIOShutdownTask|
and moves its methods into the C++ source file. All users have been
adapted.
2015-04-29 11:19:28 +02:00