Thomas Zimmermann
8503ec5fb1
Bug 1100883: Move |ToggleBtAck| into |BluetoothService|, r=btian
...
|ToggleBtAck| completes a start of stop operation on the main thread.
This patch moves the runnable's functionality into |BluetoothService|
and makes it available for methods running on the main thread.
2014-11-20 11:06:00 +01:00
Ben Turner
141df104d6
Bug 994190 - 'Modify main-thread IndexedDB to use PBackground', r=khuey.
2014-09-26 16:21:57 -07:00
Mike Habicher
03a030b03e
Bug 1053966 - move mozsettings-changed Observer info from aSubject to aData, r=bz,qDot
2014-09-16 13:15:16 -04:00
Ben Turner
26edfb8667
Backout bug 994190 and merge over some stuff that landed afterwards on a CLOSED TREE.
2014-09-17 19:36:01 -04:00
Ben Turner
b3c31c0c49
Bug 994190 - 'Modify main-thread IndexedDB to use PBackground', r=khuey.
...
--HG--
rename : dom/indexedDB/ipc/SerializationHelpers.h => dom/indexedDB/SerializationHelpers.h
rename : dom/indexedDB/ipc/unit/head.js => dom/indexedDB/test/unit/xpcshell-head-child-process.js
rename : dom/indexedDB/test/unit/head.js => dom/indexedDB/test/unit/xpcshell-head-parent-process.js
rename : dom/ipc/Blob.h => dom/ipc/BlobParent.h
rename : dom/ipc/FileDescriptorSetChild.cpp => ipc/glue/FileDescriptorSetChild.cpp
rename : dom/ipc/FileDescriptorSetChild.h => ipc/glue/FileDescriptorSetChild.h
rename : dom/ipc/FileDescriptorSetParent.cpp => ipc/glue/FileDescriptorSetParent.cpp
rename : dom/ipc/FileDescriptorSetParent.h => ipc/glue/FileDescriptorSetParent.h
rename : dom/ipc/PFileDescriptorSet.ipdl => ipc/glue/PFileDescriptorSet.ipdl
2014-09-13 12:12:19 -04:00
Jamin Liu
65d64d181f
Bug 929376 - Part 2: Move 'IsConnected' from BluetoothManager to BluetoothAdapter and allow it to be used on content process. r=shawnjohnjr
2014-08-26 18:50:35 +08:00
Ryan VanderMeulen
468fb8552d
Backed out changesets d9cbdfbed1f5 and a38ad201299f (bug 929376) for bustage.
2014-08-25 10:46:22 -04:00
Jamin Liu
0bb7727ee9
Bug 929376 - Part 2: Move 'IsConnected' from BluetoothManager to BluetoothAdapter and allow it to be used on content process. r=shawnjohnjr
2014-08-25 03:53:00 -04:00
Ben Tian
bab289bead
Bug 1016243 - [cleanup] Remove unused function BluetoothService::RemoveObserverFromTable, r=shuang
2014-05-27 17:02:44 +08:00
Thomas Zimmermann
8b1eb0343a
Bug 979370: Remove |BluetoothService::IsEnabledInternal|, r=echou
...
The method |IsEnabledInternal| of |BluetoothService| is not used
any longer. This patch removes it.
2014-03-14 10:50:29 +01:00
Thomas Zimmermann
37bbe5d22a
Bug 979370: Split |BluetoothService::StartStopBluetooth|, r=echou
...
This patch splits |BluetoothService::StartStopBluetooth| into two
separate functions. Both have mostly different code paths.
2014-03-14 10:50:02 +01:00
Thomas Zimmermann
d5c4098cf9
Bug 979370: Move Bluetooth thread into BlueZ backend, r=echou
...
The Bluetooth thread is only necessary for starting and stopping
Bluetooth with the BlueZ backend. Bluedroid implements its multi-
threading internally.
This patch moves the Bluetooth thread into the BlueZ backend. Two
runnables implement the starting and stopping code. The methods
|StartInternal| and |StopInternal| of |BluetoothDBusService| each
create an instance of the respective runnable and send it to the
internal BT thread. The code in |BluetoothService| runs completely
on the main thread.
For the Bluedroid back end, the patch changes a number of thread
assertions.
2014-03-14 10:49:33 +01:00
Thomas Zimmermann
714a2b2204
Bug 977146: Declare ToggleBtAck in header file, r=echou
...
Declaring ToggleBtAck in the header file of BluetoothService makes
it available ot others classes.
2014-03-03 13:07:17 +01:00
Eric Chou
fff01c4303
Bug 962310 - Support in-process bt file transfer, f=bent, r=gyeh
...
Currently if an app which lives in chrome process calls SendFile()
to send a file via Bluetooth, it would crash.
2014-02-11 10:07:23 +08:00
Ben Tian
f40c952ebe
Bug 946555 - Remove unused functions in BluetoothService classes and some warnings, r=echou
2013-12-06 12:20:07 +08:00
Eric Chou
e31fb582fb
Bug 942712 - Ensure event 'AdapterAdded' will be fired after 'Enabled' being fired, r=gyeh
2013-11-27 16:24:51 +08:00
Carsten "Tomcat" Book
0f2643ecd1
Backed out changeset b064b9271e0e (bug 942712) Build bustage on a CLOSED TREE
2013-11-28 12:09:46 +01:00
Eric Chou
48b5f1417e
Bug 942712 - Ensure event 'AdapterAdded' will be fired after 'Enabled' being fired, r=gyeh
2013-11-28 17:49:04 +08:00
Ed Morley
d54e219b06
Merge mozilla-central and b2g-inbound
2013-10-29 16:34:46 +00:00
Vicamo Yang
485512d8af
Bug 920551 - 2.i/2: fix Bluetooth. r=echou
2013-10-29 16:12:46 +08:00
Birunthan Mohanathas
7a599eb1ae
Bug 784739 - Switch from NULL to nullptr in dom/ (1/2); r=ehsan
2013-10-28 10:04:12 -04:00
Ben Tian
d551eb0740
Bug 925638 - Patch 2/3: implement new webidl functions, r=echou
2013-10-16 10:38:13 +08:00
Gina Yeh
4edcc8e685
Bug 906305 - Patch 3: Remove BluetoothReplyRunnable in SendInputMessage. Error handling for dbus error, r=echou
2013-09-06 19:20:27 +08:00
Gina Yeh
49799186d1
Bug 906305 - Patch 2: Make parameter service UUID of Connect() optional, r=echou, sr=mrbkap
2013-09-06 19:19:46 +08:00
Robert O'Callahan
33cdb42706
Bug 910989. Remove nsTHashtable::Init, fallible allocation, and MT hashtables. r=ehsan,bsmedberg
...
--HG--
extra : rebase_source : 0787130b1814c74bfb38dc178de94022f0b2e64e
2013-09-02 20:41:57 +12:00
Thomas Zimmermann
1d16ad0801
Bug 853550: Replace Bluetooth command thread, r=echou,gyeh
...
Starting and stopping Bluetooth support can block the executing thread
for an indefinite amount of time. In most cases these operations are
only performed when Gecko starts and stops, so we don't want to keep
a separate Bluetooth command thread for this.
This patch replaces the Bluetooth command thread by a LazyIdleThread,
which only consumes resources while it executes actual code. After a
timeout period, the LazyIdleThread cleans up its internal state. The
timeout is currently 3 seconds, which has been choosen arbitrarily.
Thanks to bent for helping with the details of LazyIdleThread.
2013-08-30 20:18:43 +02:00
Thomas Zimmermann
5b04320f03
Bug 853550: Fix whitespace errors, r=echou
2013-08-29 01:21:52 +02:00
Gina Yeh
9edb7b4db6
Bug 889795 - Reply 'Authorize' signal for supported profile, r=echou, sr=mrbkap
2013-08-14 13:54:18 +08:00
Ben Tian
369f563f79
Bug 899014 - [Bluetooth][HID] HID dom bluetooth implementation, r=echou
2013-08-12 17:32:25 +08:00
Eric Chou
94d685e575
Bug 892392 - Execute BluetoothService::StartInternal() at startup, r=gyeh
2013-08-02 11:58:01 +08:00
Gina Yeh
cb1dd152e8
Bug 842948 - Patch 6: Implement dictionaries, r=echou
2013-07-29 17:32:35 +08:00
Gina Yeh
e2b601ffc3
Bug 842948 - Patch 4: Handle signal "GetPlayStatus", r=echou
2013-07-29 17:32:34 +08:00
Gina Yeh
a07f368f4e
Bug 842948 - Patch 1: Implement API for AVRCP 1.3, r=echou, sr=mrbkap
2013-07-29 17:32:34 +08:00
Gina Yeh
1d2d5b22e3
Bug 878745 - BluetoothService cleanup, r=echou
2013-06-10 12:18:00 +08:00
Gina Yeh
406431e0fa
Bug 872907 - Patch 2: Implement SendSinkMessage in BluetoothService, r=echou, r=mrbkap
2013-06-08 23:25:18 +08:00
Eric Chou
8f97249989
Bug 839370 - Implement function UpdateSdpRecords(), r=gyeh
2013-05-22 19:08:17 +08:00
Gina Yeh
4fada6d52b
Bug 830213 - Patch 1: Add ConnectSco, DisconnectSco, IsScoConnected in nsIDOMBluetoothAdapter, r=echou, sr=mrbkap
2013-05-10 18:58:59 +08:00
Eric Chou
d33055ad80
Bug 860166 - New mechanism for establishing outboung Bluetooth connection, r=mrbkap
...
Things we have done in this patch:
1. Make BluetoothHfpManager/BluetoothOppManager implement BluetoothProfileManagerBase
2. Add function BluetoothService::GetServiceChannel()
3. Once GetServiceChannel() is done, callback Bluetooth*Manager::OnGetServiceChannel() will be invoked
4. Remove unused function BluetoothService::GetSocketViaService()
2013-05-10 14:39:12 +08:00
Gina Yeh
2864f876ff
Bug 850157 - Add GetConnectedDevices() in nsIDOMBluetoothAdapter.idl, r=echou, sr= mrbkap
2013-04-26 18:48:21 +08: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
a74626221d
Bug 851046: Patch 7 - Remove function ListenSocketViaService(); r=mrbkap
2013-04-04 17:55:34 -07:00
Matt Brubeck
79a6cd1876
Back out bug 851046 because of rebase problems
2013-04-04 17:45:06 -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
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
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
Gina Yeh
7276942610
Bug 834590 - Cache adapter path in BluetoothService, r=echou
2013-03-15 15:15:47 +08:00
Gina Yeh
55c2cf3061
Bug 838421 - After an instance of BluetoothAdapter is destroyed, no events can be received by other instances, r=echou
2013-02-08 18:03:09 +08:00
Gina Yeh
dc5200d225
Bug 811569 - Patch 4: Remove asynchronous function GetProperty , r=echou
2013-01-29 14:52:58 +08:00
Eric Chou
54ae910692
Bug 827759 - Remove all listeners except BluetoothManagers, r=qdot
2013-01-09 16:51:53 +01:00
Gina Yeh
bbc00dbb68
Bug 815325 - Patch 1: Turning bluetooth on and off multiple times causes restart, r=echou
2012-11-30 17:46:55 +08:00