Commit Graph

85 Commits

Author SHA1 Message Date
Ben Tian
f87b2c0d29 Bug 904014 - [Bluetooth] [Cleanup] Revise macros in Bluetooth*Manager.cpp under dom/bluetooth, r=echou 2013-08-13 15:04:34 +08:00
Eric Chou
6fa92a1082 Bug 899711 - Notify file change after receiving an one-packet-size file, r=gyeh 2013-08-01 12:32:18 +08:00
Gina Yeh
e9527b054f Bug 842948 - Patch 2: Handle control signal "PropertyChanged" and add IsConnected() in BluetoothProfileManagerBase, r=echou 2013-07-29 17:32:34 +08:00
Ben Tian
2db6013653 Bug 895325 - [Bluetooth][Cleanup] Revise BluetoothOppManager constructor and BluetoothOppManager::Get(), r=echou 2013-07-19 10:27:07 +08:00
Ben Tian
cacf9b5e18 Bug 891210 - [Bluetooth][OPP cleanup] Move file-transfer related static variables into class BluetoothOppManager, r=echou 2013-07-15 12:10:32 +08:00
Ben Tian
0f16be041e Bug 891202 - [Bluetooth][OPP cleanup] Unify obex data sending function, r=echou 2013-07-10 11:20:13 +08:00
Eric Chou
6225eb2d20 Bug 884253 - Define new error messages for Bluetooth profiles, r=gyeh 2013-07-04 17:45:06 +08:00
Gina Yeh
72ab1ebbaa Bug 882551 - Patch 5: Change return type of internal functions, r=qdot, r=mrbkap, r=echou 2013-06-20 09:20:16 +08:00
Gina Yeh
2c196c655a Bug 882551 - Patch 3: Remove BluetoothOppManagerObserver, r=qdot, r=mrbkap, r=echou 2013-06-20 09:19:46 +08:00
Eric Chou
ba5153a179 Bug 876823 - Fire DOMRequest.onerror event when Bluetooth*Manager.Connect() fails, r=gyeh 2013-06-11 18:24:19 +08:00
Gina Yeh
f200d479f6 Bug 872907 - Patch 4: Implement NotifyStatusChagned() and NotifyAudioManager(), r=echou, r=mrbkap 2013-06-08 23:26:01 +08:00
Shawn Huang
114390b281 Bug 869259 - Get a mount lock to prevent the sdcard from being shared with the PC, r=echou 2013-06-07 15:10:24 +08:00
Eric Chou
4cc2228843 Bug 877087 - Clear mDsFile after the OPP connection is dropped, r=gyeh 2013-05-30 15:00:06 +08:00
Eric Chou
4d7f9db013 Bug 871438 - Reset value when file transfer session starts, r=gyeh
When the transferring session was stopped, mBodySegmentLength wouldn't reset
to 0, and that would impact the next transferring if the first packet of the
next transferring doesn't contain header Body or EndOfBody, which would invoke
ExtractPacketHeaders() and refresh mBodySegmentLength in the function.
2013-05-28 15:25:42 +08:00
Eric Chou
65f1f4d1b5 Bug 875650 - Shouldn't do the same thing when receiving ABORT and DISCONNECT, r=gyeh
The original implementation would be stuck on OPP server side after dealing with
ABORT packet. This is because we do something only should be done when receiving
DISCONNECT packet.
2013-05-24 15:59:32 +08:00
Eric Chou
ba5ef18092 Bug 839370 - Implement callback function OnUpdateSdpRecords() in BluetoothProfileManagers, r=gyeh 2013-05-22 19:08:21 +08:00
Thomas Zimmermann
1eba5d1c06 Bug 873400: Fix destination directory for Bluetooth file transfers, r=echou
Bluetooth file transfers store the file in 'downloads/bluetooth'. This
patch changes the location to 'Download/Bluetooth' for consistency with
other sub-systems.
2013-05-20 11:41:03 +08:00
Eric Chou
ee0801895b Bug 830038 - Add an assertion in Bluetooth*Mangaers, r=gyeh 2013-05-13 18:08:40 +08:00
Dave Hylands
8f8841a1c4 Bug 858416 - Create a composite device storage interface. r=dougt
* * *
Bug 858416 - Fix try test failures
2013-05-11 02:10:18 -07:00
Ryan VanderMeulen
93efac58df Backed out changeset dbf0c9f4a4b9 (bug 858416) for B2G mochitest-3 failures. 2013-05-11 09:47:37 -04:00
Dave Hylands
af61fd0d1c Bug 858416 - Create a composite device storage interface. r=dougt 2013-05-11 02:10:18 -07:00
Eric Chou
5460ee2214 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
Eric Chou
f29b41001e Bug 866615 - Modify the nsDeviceStorage type from 'movies' to 'videos', r=dougt
From 19f4e6e369439a1626fbc69ac2dd72b63e56d397 Mon Sep 17 00:00:00 2001
2013-04-29 17:10:30 +08:00
Gina Yeh
f1fd626ee2 Bug 850157 - Add GetConnectedDevices() in nsIDOMBluetoothAdapter.idl, r=echou, sr= mrbkap 2013-04-26 18:48:21 +08:00
Eric Chou
2233009663 Bug 864575 - Notify all observers of file-changing at the right time, r=gyeh
When we receive multiple files in a row, we need to notify observers of
file-changing whenever a file is completely received. Currently we only
send one notification at the end of the entire session.
2013-04-26 18:09:04 +08:00
Eric Chou
90c597dd73 Bug 817972 - Make Gecko Bluetooth capable of queueing file-sending requests, r=gyeh 2013-04-26 18:09:00 +08:00
Dave Hylands
505d1f5061 Bug 860934 - Use relative paths when handling device storage r=dougt 2013-04-18 16:13:23 +02:00
Eric Chou
71d5471b39 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
1b53a5817c Bug 851046: Patch 9 - Small misc fixes; r=mrbkap 2013-04-04 17:56:16 -07:00
Eric Chou
8e91688a6f 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
30bb590e64 Bug 851046: Patch 4 - Apply BluetoothSocket to BluetoothOppManager; r=mrbkap 2013-04-04 17:53:08 -07:00
Matt Brubeck
81b4a55b18 Back out bug 851046 because of rebase problems 2013-04-04 17:45:06 -07:00
Eric Chou
a92a872e72 Bug 851046: Patch 9 - Small misc fixes; r=mrbkap
--HG--
extra : rebase_source : 12eb0cc3cdd6f8773ae9e503267dbf643f767cfc
2013-04-04 17:25:45 -07:00
Eric Chou
88a57f941c 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
7974514d04 Bug 851046: Patch 4 - Apply BluetoothSocket to BluetoothOppManager; r=mrbkap
--HG--
extra : rebase_source : 86f3d7acbfa097f92a2731d49ff5298ab4ad7a7c
2013-04-04 17:25:44 -07:00
Ryan VanderMeulen
96b06b3745 Backed out 9 changesets (bug 851046) for B2G bustage on a CLOSED TREE. 2013-04-03 15:54:36 -04:00
Eric Chou
fd3ed87d6c 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
7a0dbd1170 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
11a31e69bd Bug 851046 - Apply BluetoothSocket to BluetoothOppManager. r=mrbkap 2013-03-15 17:47:35 +08:00
Gina Yeh
5dbcaead41 Bug 854347 - Failed to receive files after calcelling receiving a file, r=echou 2013-03-26 10:53:10 +08:00
Gina Yeh
d86c245b78 Bug 844705 - Should send socket data in main thread, r=echou 2013-02-26 18:53:44 +08:00
Gina Yeh
cbe23cf219 Bug 844705 - Should send socket data in main thread, r=echou 2013-02-25 18:49:18 +08:00
Gina Yeh
73b038ddfa Bug 830551 - Send file-transfer-complete message after receiving unexpected response code from remote, r=echou 2013-02-25 12:40:31 +08:00
Shawn Huang
c7f157fbcc Bug 833206 - Remove invalid OBEX header: ConnectionId, r=gyeh, r=echou 2013-02-19 10:58:03 +08:00
Vicamo Yang
20050ee452 Bug 826931 - Part 1/3: UnixSocket - allow ownership take-over in ReceiveSocketData(). r=qDot,echou 2013-02-01 20:28:15 +08:00
Eric Chou
00071bde2e Bug 825762 - Replace VFAT reserved character with '_' to avoid file-transferring failure, r=qdot 2013-01-16 18:23:28 +08:00
Gina Yeh
8db38c00a3 Bug 828811 - After OPP session disconnected, wait for 1 sec and close socket actively if the socket is still connected, r=echou 2013-01-10 15:14:16 +01:00
Doug Turner
fd87c9795b Bug 827311 - Remote file update notifications. r=bent a=blocking-basecamp 2013-01-09 07:03:28 -08:00
Eric Chou
288fe38cb1 Bug 827267 - Added function IsTransferring() to distinguish if there is an ongoing file-transferring session, r=gyeh 2013-01-08 14:02:00 +01:00
Eric Chou
7448b00492 Bug 811683 - Increase speed of sending file, r=gyeh 2012-12-20 18:36:58 +08:00