Commit Graph

382 Commits

Author SHA1 Message Date
Dave Hylands
13c9965087 Bug 860934 - Use relative paths when handling device storage r=dougt 2013-04-18 16:13:23 +02:00
David Zbarsky
f4478a4b6b [Bug 857884] Use dom::EventTarget more instead of nsIDOMEventTarget Part 6 r=Ms2ger 2013-04-19 18:18:33 -04:00
Gina Yeh
c1d82b4506 Bug 863620 - Followup of bug 848414, r=echou 2013-04-19 14:40:51 +02:00
Eric Chou
970b136c4d Bug 860166 - Revice AT command handler for Headset profile (HSP), r=gyeh 2013-04-19 17:08:06 +08:00
Eric Chou
a7bc2c708b Bug 860166 - Use two server sockets to listen to both HFP and HSP services, r=gyeh, r=mrbkap 2013-04-19 17:08:00 +08:00
John Lin
6ba6195024 Bug 860075 - Avoid duplicate BT signal observer registration from child process. r=echou, r=gyeh 2013-04-19 16:40:56 +08:00
Ryan VanderMeulen
5e0f181410 Backed out changeset 8f7ef60b6f5a (bug 860934) for mochitest asserts and crashes. 2013-04-18 12:02:27 -04:00
Gina Yeh
8cc7dd41de Bug 859727 - Remove routing logic from BluetoothScoManager, r=echou, r=rlin 2013-04-18 17:41:17 +02:00
Dave Hylands
defe3f16b6 Bug 860934 - Use relative paths when handling device storage r=dougt 2013-04-18 16:13:23 +02:00
Kyle Machulis
e77f5f1a14 Bug 862462 - Make sure BluetoothAdapter unroots before destruction; r=mrbkap 2013-04-16 14:54:00 -07:00
Kyle Machulis
02a78ca57a Bug 861980 - Change sockopt length to be a socklen_t; r=echou 2013-04-16 14:54:00 -07:00
Boris Zbarsky
774766d13e Bug 835643 part 4. Put in place all the infrastructure to switch EventListener to WebIDL codegen. r=smaug 2013-04-16 17:16:08 -04:00
Mike Shal
77cdb6567d Bug 846634 - Part 2: Move EXPORTS to moz.build; r=joey 2013-04-16 15:24:43 -04:00
Gina Yeh
510eab17b7 Bug 857896 - Convert device property "Connected" into a boolean if bluez returns a two-byte array, r=echou,qdot 2013-04-16 11:10:29 +02:00
Eric Chou
e909254f82 Bug 861085 - Enable/Disable Bluetooth based on mozSettings value at startup, r=gyeh, r=qdot 2013-04-16 11:02:23 +08:00
Eric Chou
d18ca310ca Bug 823803 - Manage two server sockets (RFCOMM/EL2CAP) in BluetoothOppManager, r=mrbkap, r=gyeh
In order to solve the problem, BluetoothOppManager should maintain
two server sockets at the same time, one is RFCOMM socket, another
is EL2CAP socket.
2013-04-12 18:45:39 +08:00
Eric Chou
6e7344ce22 Bug 823803 - Add L2CAP/EL2CAP Socket support, r=qdot, r=gyeh
This version of BlueZ from Code Aurora has added GOEP_PSM to Object
Push Profile service record, which means that remote devices may
connect with us via both L2CAP and RFCOMM. This patch completes
L2CAP/EL2CAP socket implementation.
2013-04-12 18:45:37 +08:00
Gina Yeh
80586339fa Bug 859727 - Should set force to FORCE_NONE after Sco is disconnected, r=echou 2013-04-12 16:27:21 +08:00
Kyle Machulis
71b1038b68 Bug 844705 - Add comment to mReadFileThread. r=mrbkap 2013-04-09 12:11:00 -04:00
Eric Chou
1b7aa14ffc Bug 851046: Patch 9 - Small misc fixes; r=mrbkap 2013-04-04 17:56:16 -07:00
Eric Chou
2d0a7c72d4 Bug 851046: Patch 8 - Add BluetoothSocket* as an argument of callback functions in BluetoothSocketObserver; r=mrbkap 2013-04-04 17:55:55 -07:00
Eric Chou
a74626221d Bug 851046: Patch 7 - Remove function ListenSocketViaService(); r=mrbkap 2013-04-04 17:55:34 -07:00
Eric Chou
f8e8e5baf5 Bug 851046: Patch 6 - Apply BluetoothSocket to BluetoothScoManager; r=mrbkap 2013-04-04 17:54:43 -07:00
Eric Chou
e667f57802 Bug 851046: Patch 5 - Apply BluetoothSocket to BluetoothHfpManager; r=mrbkap 2013-04-04 17:54:22 -07:00
Eric Chou
c91b2f0574 Bug 851046: Patch 4 - Apply BluetoothSocket to BluetoothOppManager; r=mrbkap 2013-04-04 17:53:08 -07:00
Eric Chou
28c1a3205a Bug 851046: Patch 3 - Replace (Bluetooth*Managers)->CloseSocket() with (Bluetooth*Managers)->Disconnect(); r=mrbkap 2013-04-04 17:52:48 -07:00
Eric Chou
701eb23509 Bug 851046: Patch 2 - New Class: BluetoothSocket; r=mrbkap 2013-04-04 17:52:12 -07:00
Eric Chou
223c009a60 Bug 851046: Patch 1 - New interface: BluetoothSocketObserver; r=mrbkap 2013-04-04 17:51:35 -07:00
Matt Brubeck
79a6cd1876 Back out bug 851046 because of rebase problems 2013-04-04 17:45:06 -07:00
Eric Chou
a71c18ea3c Bug 851046: Patch 9 - Small misc fixes; r=mrbkap
--HG--
extra : rebase_source : 12eb0cc3cdd6f8773ae9e503267dbf643f767cfc
2013-04-04 17:25:45 -07:00
Eric Chou
adebe2a8df Bug 851046: Patch 8 - Add BluetoothSocket* as an argument of callback functions in BluetoothSocketObserver; r=mrbkap
--HG--
extra : rebase_source : 0c3e6e78f59b83faf7c81892974505caa1b1723a
2013-04-04 17:25:44 -07:00
Eric Chou
616ce7b65f Bug 851046: Patch 7 - Remove function ListenSocketViaService(); r=mrbkap
--HG--
extra : rebase_source : eb7d4a12566722c759c9badda579fe66ef689ff1
2013-04-04 17:25:44 -07:00
Eric Chou
a062954a28 Bug 851046: Patch 6 - Apply BluetoothSocket to BluetoothScoManager; r=mrbkap
--HG--
extra : rebase_source : 1b005af7999f8136a2d503e708d255c5a8ed8eb9
2013-04-04 17:25:44 -07:00
Eric Chou
7a5724f9f8 Bug 851046: Patch 5 - Apply BluetoothSocket to BluetoothHfpManager; r=mrbkap
--HG--
extra : rebase_source : ec6e75948230e4b94d2d539833dc9899444d9afe
2013-04-04 17:25:44 -07:00
Eric Chou
143a369f92 Bug 851046: Patch 4 - Apply BluetoothSocket to BluetoothOppManager; r=mrbkap
--HG--
extra : rebase_source : 86f3d7acbfa097f92a2731d49ff5298ab4ad7a7c
2013-04-04 17:25:44 -07:00
Eric Chou
4dcbd2a0c8 Bug 851046: Patch 3 - Replace (Bluetooth*Managers)->CloseSocket() with (Bluetooth*Managers)->Disconnect(); r=mrbkap
--HG--
extra : rebase_source : 43524216294e08625619b5b1c6a35e0de9fadde6
2013-04-04 17:25:44 -07:00
Eric Chou
d887898329 Bug 851046: Patch 2 - New Class: BluetoothSocket; r=mrbkap
--HG--
extra : rebase_source : 692fc69bc24a212621a5ff8a37fd17c237de9b20
2013-04-04 17:25:44 -07:00
Ryan VanderMeulen
0302be40e5 Backed out 9 changesets (bug 851046) for B2G bustage on a CLOSED TREE. 2013-04-03 15:54:36 -04:00
Eric Chou
f7ec3354ff Bug 851046 - Small misc fixes. r=mrbkap
1. Rename mSocketStatus
2. Remove keyword enum
3. Remove null-checking after new Bluetooth*Manager instances
2013-04-04 00:32:28 +08:00
Eric Chou
f15416897c Bug 851046 - Add BluetoothSocket* as an argument of callback functions in BluetoothSocketObserver. r=mrbkap
A Bluetooth*Manager may hold more than one BluetoothSocket at a time, therefore
we need to identify the caller (which socket calls the callback function).
2013-03-19 17:08:44 -07:00
Eric Chou
ba4fb1b95f Bug 851046 - Remove function ListenSocketViaService(). r=mrbkap
Since we are now using BluetoothSocket directly for listening, this functions can be removed.
2013-03-19 13:53:43 -07:00
Eric Chou
35d0df609e Bug 851046 - Apply BluetoothSocket to BluetoothScoManager. r=mrbkap 2013-03-19 09:48:30 -07:00
Eric Chou
4b31e39c03 Bug 851046 - Apply BluetoothSocket to BluetoothHfpManager. r=mrbkap 2013-03-15 18:45:59 +08:00
Eric Chou
a328096a8e Bug 851046 - Apply BluetoothSocket to BluetoothOppManager. r=mrbkap 2013-03-15 17:47:35 +08:00
Eric Chou
1da32d7594 Bug 851046 - Use (Bluetooth*Managers)->Disconnect() instead of (Bluetooth*Managers)->CloseSocket() since managers are not UnixSocketConsumer anymore. r=mrbkap 2013-03-15 14:55:19 +08:00
Eric Chou
1e506a75c4 Bug 851046 - New class: BluetoothSocket. r=mrbkap
After this new class is landed, communicating with other devices on
profile level should become more intuitive and reasonable. Each
Bluetooth*Manager doesn't need to inherit UnixSocketConsumer, instead,
BluetoothSocket inherits UnixSocketConsumer. That makes Bluetooth*Manager
be able to have more than 1 Bluetooth connections at a time with different
remote devices.
2013-02-26 11:16:36 +08:00
Eric Chou
f69465699c Bug 851046 - New interface: BluetoothSocketObserver. r=mrbkap
For those instances which want to be notified for any event sent
from a BluetoothSocket instance, they need to implement this
interface to get notification.
2013-02-26 10:34:54 +08:00
Ehsan Akhgari
124e2f7dca Bug 579517 follow-up: Remove NSPR types that crept in 2013-04-02 20:59:27 -04:00
Jose Cortes
60db87874e Bug 842186 - Replace use of jsval with JS::Value in h and cpp files in the dom/telephony dom/bluetooth directories. r=jwalden
--HG--
extra : rebase_source : c1560ea8c79fbb398d3e8f132e561e7eba81520a
2013-04-02 16:06:14 -07:00
Kyle Machulis
5aa83c3e11 Bug 855465 - Add emacs python mode comments to moz.build files; r=gps 2013-04-01 11:36:59 -07:00