Kyle Machulis
d96f78bec4
Bug 1069115 - Make bluetooth webapi marionette tests wait for transaction success when changing settings; r=echou
...
--HG--
extra : rebase_source : c4fdc80f904987c848bca4b839d8b3f36fefd667
2014-09-22 16:15:07 -07:00
Kartikaya Gupta
97022d597d
Bug 1068872 - Fix nullptr dereferencing. r=echou
2014-09-18 07:00:00 -04:00
Vicamo Yang
8596a24d53
Bug 1063304 - 3.c/3: accommodate other components. r=echen
2014-09-21 15:24:43 +08: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
Carsten "Tomcat" Book
f39f940858
Backed out changeset 9ff2889f236a (bug 1063304)
2014-09-17 13:13:08 +02:00
Ryan VanderMeulen
4ddd261546
Backed out changeset ed586ca080c0 (bug 1053966) for the same Mnw permafails it was backed out for previously.
2014-09-16 16:54:25 -04:00
Kyle Machulis
a0b65dd166
Bug 1068077 - Remove explicit navigation to system app from bluetooth marionette webapi tests. r=mdas
2014-09-16 09:15:31 -07:00
Mike Habicher
a4981f12d6
Bug 1053966 - move mozsettings-changed Observer info from aSubject to aData, r=bz,qDot
2014-09-16 13:15:16 -04:00
Vicamo Yang
13e05f3696
Bug 1063304 - 3.c/3: accommodate other components. r=echen
2014-09-16 21:20:18 +08:00
Eric Chou
b469c54445
Bug 1067206 - Fire DOM request even when Bluetooth pairing failed, f=jaliu, r=shuang
2014-09-16 13:14:01 +08: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
Thomas Zimmermann
310e55865c
Bug 1061489: Distribute Bluetooth HAL implementation among multiple files, r=shuang
...
The files BluetoothHALInterface.{cpp,h} are getting too large. This patch
moves helper functions and profile implementations into separate files.
2014-09-11 12:23:02 +02:00
Thomas Zimmermann
b5559181fd
Bug 1061489: Move Bluedroid code out of BluetoothInterface.{cpp,h}, r=shuang
...
This patch moves BluetoothInterface.{cpp,h} to the generic section
of Gecko's Bluetooth code, and the Bluedroid implementation into
the new files BluetoothHalImplementation.{cpp,h}.
BluetoothHalImplementation.{cpp,h} contains all Bluedroid-specific
code. The classes in BluetoothInterface.{cpp,h} are now interfaces
for Gecko.
--HG--
rename : dom/bluetooth/bluedroid/BluetoothInterface.cpp => dom/bluetooth/bluedroid/BluetoothHALInterface.cpp
2014-09-11 12:23:01 +02:00
Carsten "Tomcat" Book
a8756aec4e
Backed out changeset 8644a9c4b993 (bug 1061489) for bustage on a CLOSED TREE
...
--HG--
rename : dom/bluetooth/bluedroid/BluetoothHALInterface.cpp => dom/bluetooth/bluedroid/BluetoothInterface.cpp
2014-09-11 11:11:06 +02:00
Carsten "Tomcat" Book
b75127879c
Backed out changeset e2e2e6397253 (bug 1061489)
2014-09-11 11:10:32 +02:00
Thomas Zimmermann
d4daf1d4ea
Bug 1061489: Distribute Bluetooth HAL implementation among multiple files, r=shuang
...
The files BluetoothHALInterface.{cpp,h} are getting too large. This patch
moves helper functions and profile implementations into separate files.
2014-09-11 09:38:13 +02:00
Thomas Zimmermann
42817258a3
Bug 1061489: Move Bluedroid code out of BluetoothInterface.{cpp,h}, r=shuang
...
This patch moves BluetoothInterface.{cpp,h} to the generic section
of Gecko's Bluetooth code, and the Bluedroid implementation into
the new files BluetoothHalImplementation.{cpp,h}.
BluetoothHalImplementation.{cpp,h} contains all Bluedroid-specific
code. The classes in BluetoothInterface.{cpp,h} are now interfaces
for Gecko.
--HG--
rename : dom/bluetooth/bluedroid/BluetoothInterface.cpp => dom/bluetooth/bluedroid/BluetoothHALInterface.cpp
2014-09-11 09:38:10 +02:00
Ryan VanderMeulen
e63bf097f6
Backed out changeset 661f503ea524 (bug 1053966) for Mnw perma-fail.
2014-09-10 12:36:12 -04:00
Mike Habicher
82f45e99bf
Bug 1053966 - pass settings change notices to Observers as aSubject instead of aData, r=bz,qdot
2014-08-25 18:06:31 -04:00
Thomas Zimmermann
05a417c7dc
Bug 1059813: Use getter/setter methods of |UnixSocketRawData| in Bluetooth, r=btian
2014-09-08 11:44:02 +02:00
Thomas Zimmermann
cfe17e277b
Bug 1062754: Support peer shutdown and EOF in |SocketIOBase|, r=qdot, btian
...
Calling read on a socket that has been closed for reading by the
peer, read returns 0. The socket is still readable however, so
polling and reading will return constant results of 0 received
bytes.
With this patch, if a socket's peer shuts down reading or if
we reached the EOF, we stop watching the file descriptor for
readability. |SocketIOBase| will detect this case exactly once
and initiate the socket's shutdown.
2014-09-05 10:16:24 +02:00
Ryan VanderMeulen
afa65517bc
Backed out 6 changesets (bug 1059813) by request.
...
Backed out changeset cffeecd46cad (bug 1059813)
Backed out changeset f991f546dbcd (bug 1059813)
Backed out changeset ab4056a1aa06 (bug 1059813)
Backed out changeset d08a91fee65a (bug 1059813)
Backed out changeset 7bd0ecf96e59 (bug 1059813)
Backed out changeset 0b7a62175398 (bug 1059813)
2014-09-03 11:29:16 -04:00
Thomas Zimmermann
d9153472b0
Bug 1059813: Use getter/setter methods of |UnixSocketRawData| in Bluetooth, r=btian
2014-09-03 16:43:14 +02:00
Edgar Chen
61a3c7e57c
Bug 843452 - Part 2-2: Bluetooth changes for MobileConnectionService interface. r=echou
2014-07-02 17:14:08 +08:00
Thomas Zimmermann
0ce9195195
Bug 1061126: Cleanup ANDROID_VERSION from BluetoothA2DPManager, r=shuang
...
All interfaces for Bluetooth profiles are now always available, so we
don't have to check for specific versions of Bluedroid. Instead, we
try to call the methods, and check their results.
2014-09-02 12:46:08 +02:00
Thomas Zimmermann
80cfcd8000
Bug 1061126: Make Bluetooth AVRCP interface generally available, r=shuang
...
The methods of |BluetoothAVRCPInterface| are now always available. On
Android versions before 18, which don't support AVRCP, they always
fail with STATUS_UNSUPPORTED.
2014-09-02 12:46:07 +02:00
Thomas Zimmermann
eb87169279
Bug 1061126: Fix constants in Bluedroid HFP manager, r=shuang
...
This patch replaces the remaining Bluedroid constants from Bluedroid's
|BluetoothHfpManager| with Gecko constants.
2014-09-02 12:46:07 +02:00
Thomas Zimmermann
223b3c8c51
Bug 1061126: Add AVRCP_UID_SIZE to Bluetooth, r=shuang
...
This constant AVRCP_UID_SIZE replaces the corresponding Bluedroid
constant BTRC_UID_SIZE.
2014-09-02 12:46:07 +02:00
Thomas Zimmermann
d905860919
Bug 1061219: Don't protect |ConvertAttributeString| by ANDROID_VERSION, r=shuang
...
The function |ConvertAttributeString| doesn't depend on the Android
version is is used by generic code in Gecko. Don't protect it by
ANDROID_VERSION.
2014-09-02 12:33:05 +02:00
Thomas Zimmermann
a8c8d063d7
Bug 1061219: Fix string conversion for A2DP connection states, r=shuang
...
The C++ compiler for Flatfish lacks support for initialized arrays of
C-string pointers. This patch fixes the problem by using a switch
statement for the string conversion of A2DP connection states.
2014-09-02 12:33:05 +02:00
Thomas Zimmermann
6d9eb8bfda
Bug 1057337: Cleanup BluetoothA2DPManager and related code, r=shuang
...
The patch removes unused callbacks and helper runnables from the
Bluedroid implementation of BluetoothA2DPManager. It also removes
the last Bluedroid-specific code from BluetoothUtils.{cpp,h}.
2014-09-01 10:11:54 +02:00
Thomas Zimmermann
e94c49cdb6
Bug 1057337: Integrate helper runnables into A2DP and AVRCP notifications, r=shuang
...
The helper runnables where necessary to perform certain operations on
the main thread after having received a callback from Bluedroid. The
new notification methods already run on the main thread, so the helper
runnables can be replaced by direct calls.
2014-09-01 10:11:54 +02:00
Thomas Zimmermann
c047d2359d
Bug 1057337: Use Bluetooth A2DP and AVRCP notifications, r=shuang
...
This patch converts Bluetooth's A2DP manager and Bluedroid interface
to use notifications instead of callbacks.
2014-09-01 10:11:54 +02:00
Thomas Zimmermann
9500b07c38
Bug 1057337: Implement Bluetooth A2DP notifications, r=shuang
...
This patch adds Bluetooth A2DP and AVRCP notifications to Gecko's
A2DP manager. The code has been taken from taken from the callback
implementations, and adapted to run on the main thread. No further
cleanups have been applied.
2014-09-01 10:11:53 +02:00
Thomas Zimmermann
445b23b5e2
Bug 1057337: Add Bluetooth A2DP and AVRCP notifications, r=shuang
...
This patch adds A2DP and AVRCP notifications and callbacks to
Gecko's Bluedroid interface. Support for AVRCP depends on the
version of the Android base system and is only available on
versions 18, 19 or later.
2014-09-01 10:11:53 +02:00
Birunthan Mohanathas
882fe73908
Bug 1058101 - Flatten dom/network/src/ into parent directory. r=mccr8
...
--HG--
rename : dom/network/src/Connection.cpp => dom/network/Connection.cpp
rename : dom/network/src/Connection.h => dom/network/Connection.h
rename : dom/network/src/Constants.h => dom/network/Constants.h
rename : dom/network/src/NetUtils.cpp => dom/network/NetUtils.cpp
rename : dom/network/src/NetUtils.h => dom/network/NetUtils.h
rename : dom/network/src/NetworkStatsDB.jsm => dom/network/NetworkStatsDB.jsm
rename : dom/network/src/NetworkStatsManager.js => dom/network/NetworkStatsManager.js
rename : dom/network/src/NetworkStatsManager.manifest => dom/network/NetworkStatsManager.manifest
rename : dom/network/src/NetworkStatsService.jsm => dom/network/NetworkStatsService.jsm
rename : dom/network/src/NetworkStatsServiceProxy.js => dom/network/NetworkStatsServiceProxy.js
rename : dom/network/src/NetworkStatsServiceProxy.manifest => dom/network/NetworkStatsServiceProxy.manifest
rename : dom/network/src/PTCPServerSocket.ipdl => dom/network/PTCPServerSocket.ipdl
rename : dom/network/src/PTCPSocket.ipdl => dom/network/PTCPSocket.ipdl
rename : dom/network/src/PUDPSocket.ipdl => dom/network/PUDPSocket.ipdl
rename : dom/network/src/TCPServerSocket.js => dom/network/TCPServerSocket.js
rename : dom/network/src/TCPServerSocketChild.cpp => dom/network/TCPServerSocketChild.cpp
rename : dom/network/src/TCPServerSocketChild.h => dom/network/TCPServerSocketChild.h
rename : dom/network/src/TCPServerSocketParent.cpp => dom/network/TCPServerSocketParent.cpp
rename : dom/network/src/TCPServerSocketParent.h => dom/network/TCPServerSocketParent.h
rename : dom/network/src/TCPSocket.js => dom/network/TCPSocket.js
rename : dom/network/src/TCPSocket.manifest => dom/network/TCPSocket.manifest
rename : dom/network/src/TCPSocketChild.cpp => dom/network/TCPSocketChild.cpp
rename : dom/network/src/TCPSocketChild.h => dom/network/TCPSocketChild.h
rename : dom/network/src/TCPSocketParent.cpp => dom/network/TCPSocketParent.cpp
rename : dom/network/src/TCPSocketParent.h => dom/network/TCPSocketParent.h
rename : dom/network/src/TCPSocketParentIntermediary.js => dom/network/TCPSocketParentIntermediary.js
rename : dom/network/src/Types.h => dom/network/Types.h
rename : dom/network/src/UDPSocket.cpp => dom/network/UDPSocket.cpp
rename : dom/network/src/UDPSocket.h => dom/network/UDPSocket.h
rename : dom/network/src/UDPSocketChild.cpp => dom/network/UDPSocketChild.cpp
rename : dom/network/src/UDPSocketChild.h => dom/network/UDPSocketChild.h
rename : dom/network/src/UDPSocketParent.cpp => dom/network/UDPSocketParent.cpp
rename : dom/network/src/UDPSocketParent.h => dom/network/UDPSocketParent.h
2014-08-27 10:13:39 -07:00
Ryan VanderMeulen
a3c8179253
Merge b2g-inbound to m-c. a=merge
2014-08-29 15:26:40 -04:00
Jamin Liu
7c1c4f8f76
Bug 1060216 - [Bluedroid] Distribute "PropertyChanged" signal to notify BluetoothAdapter when discovery state changed. r=shuang
2014-08-29 02:10:00 -04:00
Kyle Machulis
d83f17e7d0
Bug 846200 - Update Marionette JS WebAPI Tests to use new settings-api permissions; r=echou r=echen
...
--HG--
extra : rebase_source : 36a9f3e055a2ff7bcf624e9ef7f8f1e4619de6da
2014-08-27 21:01:29 -07:00
Jamin Liu
19124cadfa
Bug 1056413 - Broadcast system message to notify Gaia when Bluetooth authentication failure occurs. r=shuang
2014-08-29 09:58:52 +08:00
Wes Kocher
2c9ce1520b
Backed out 17 changesets (bug 843452)
...
Backed out changeset e72a0297d488 (bug 843452)
Backed out changeset 73f62ce4190f (bug 843452)
Backed out changeset 6d4a49ebd9fc (bug 843452)
Backed out changeset ac93e396669f (bug 843452)
Backed out changeset cf4fc721821e (bug 843452)
Backed out changeset 9a94ea71d232 (bug 843452)
Backed out changeset b95ff097374d (bug 843452)
Backed out changeset 8d6428a93500 (bug 843452)
Backed out changeset e31b86ef0e80 (bug 843452)
Backed out changeset bd4efde535cd (bug 843452)
Backed out changeset 02bbcd8ac571 (bug 843452)
Backed out changeset f7f41bf82b22 (bug 843452)
Backed out changeset 20f42764cd38 (bug 843452)
Backed out changeset 82f8670f5c17 (bug 843452)
Backed out changeset 52f25f1278e3 (bug 843452)
Backed out changeset 181337820a7c (bug 843452)
Backed out changeset 9bd12641af03 (bug 843452)
--HG--
rename : dom/mobileconnection/interfaces/nsIMobileConnectionService.idl => dom/mobileconnection/interfaces/nsIMobileConnectionProvider.idl
2014-08-28 16:51:41 -07: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
dannyliang
319a156073
Bug 1057309 - Fix BT build break in flatfish. r=tzimmermann
2014-08-25 00:00:00 -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
Eric Chou
bf4cc29d32
Bug 1013748 - Use StaticRefPtr to hold BluetoothService objects, f=shuang, r=tzimmermann, r=khuey
2014-08-25 17:53:37 +08:00
Thomas Zimmermann
15fbfb1a8a
Bug 1053804: Replace |MainThreadTask| by |CloseScoRunnable|, r=shuang
...
|MainThreadTask| performs different operations on the main thread,
depending on a given command flag. There is only one command, CLOSE_SCO,
in use.
This patch removes the command infrastructure and replaces |MainThreadTask|
by |CloseScoRunnable|, which implements only this single operation.
2014-08-21 10:10:39 +02:00
Thomas Zimmermann
1360f1b2dd
Bug 1053804: Cleanup Bluetooth Handsfree manager, r=shuang
...
This patch removes the unusued callback code from Bluetooth's
Handsfree manager.
2014-08-21 10:10:39 +02:00
Thomas Zimmermann
5e5bc1cd09
Bug 1053804: Integrate runnables into Handsfree notifications, r=shuang
...
A number of notifications dispatch runnables to the main thread for
invoking actions. This is not requireed, as notifications already
run on the main thread. This patch merges the runnable's code into
the respective notifications.
2014-08-21 10:10:39 +02:00
Thomas Zimmermann
43e680c63c
Bug 1053804: Use Bluetooth Handsfree notifications, r=shuang
...
This patch replaces Handsfree callbacks by notifications. One
important change is that the first call to |BluetoothHandsfreeManager::Get|
now happens during initialization. Hence the Handsfree manager is now setup
immediately, instead of later at use.
2014-08-21 10:10:38 +02:00