Commit Graph
78 Commits
Author SHA1 Message Date
Gina Yeh e0a322c4d7 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 cc2ff7da67 Bug 882551 - Patch 3: Remove BluetoothOppManagerObserver, r=qdot, r=mrbkap, r=echou 2013-06-20 09:19:46 +08:00
Eric Chou f17bca7fbc Bug 876823 - Fire DOMRequest.onerror event when Bluetooth*Manager.Connect() fails, r=gyeh 2013-06-11 18:24:19 +08:00
Gina Yeh 30fdc9e874 Bug 872907 - Patch 4: Implement NotifyStatusChagned() and NotifyAudioManager(), r=echou, r=mrbkap 2013-06-08 23:26:01 +08:00
Shawn Huang 1a3435643b 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 6cdae7beab Bug 877087 - Clear mDsFile after the OPP connection is dropped, r=gyeh 2013-05-30 15:00:06 +08:00
Eric Chou 1ac7b64bfe 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 fd0cee274b 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 6356519df9 Bug 839370 - Implement callback function OnUpdateSdpRecords() in BluetoothProfileManagers, r=gyeh 2013-05-22 19:08:21 +08:00
Thomas Zimmermann 7d3e0ed034 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 1d111967ad Bug 830038 - Add an assertion in Bluetooth*Mangaers, r=gyeh 2013-05-13 18:08:40 +08:00
Dave Hylands bd99240e6a 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 4c1b436fcc Backed out changeset dbf0c9f4a4b9 (bug 858416) for B2G mochitest-3 failures. 2013-05-11 09:47:37 -04:00
Dave Hylands fa47a69c18 Bug 858416 - Create a composite device storage interface. r=dougt 2013-05-11 02:10:18 -07:00
Eric Chou 2818ed37f4 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 bcbce868fa 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 d801c37a63 Bug 850157 - Add GetConnectedDevices() in nsIDOMBluetoothAdapter.idl, r=echou, sr= mrbkap 2013-04-26 18:48:21 +08:00
Eric Chou d1ad8903a0 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 66e4932441 Bug 817972 - Make Gecko Bluetooth capable of queueing file-sending requests, r=gyeh 2013-04-26 18:09:00 +08:00
Dave Hylands 45dc2e3a1e Bug 860934 - Use relative paths when handling device storage r=dougt 2013-04-18 16:13:23 +02:00
Eric Chou a0a2bf4b92 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 a3a16c0e72 Bug 851046: Patch 9 - Small misc fixes; r=mrbkap 2013-04-04 17:56:16 -07:00
Eric Chou 99ee3cddf3 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 a99494d7f4 Bug 851046: Patch 4 - Apply BluetoothSocket to BluetoothOppManager; r=mrbkap 2013-04-04 17:53:08 -07:00
Matt Brubeck b7dabb3866 Back out bug 851046 because of rebase problems 2013-04-04 17:45:06 -07:00
Eric Chou 3cced97345 Bug 851046: Patch 9 - Small misc fixes; r=mrbkap 2013-04-04 17:25:45 -07:00
Eric Chou 7e8ae9c33a Bug 851046: Patch 8 - Add BluetoothSocket* as an argument of callback functions in BluetoothSocketObserver; r=mrbkap 2013-04-04 17:25:44 -07:00
Eric Chou 3e8c76c887 Bug 851046: Patch 4 - Apply BluetoothSocket to BluetoothOppManager; r=mrbkap 2013-04-04 17:25:44 -07:00
Ryan VanderMeulen c906a315ce Backed out 9 changesets (bug 851046) for B2G bustage on a CLOSED TREE. 2013-04-03 15:54:36 -04:00
Eric Chou ef209793b0 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 edf1303345 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 b6e24ba16f Bug 851046 - Apply BluetoothSocket to BluetoothOppManager. r=mrbkap 2013-03-15 17:47:35 +08:00
Gina Yeh e734f4fe00 Bug 854347 - Failed to receive files after calcelling receiving a file, r=echou 2013-03-26 10:53:10 +08:00
Gina Yeh ba13dada89 Bug 844705 - Should send socket data in main thread, r=echou 2013-02-26 18:53:44 +08:00
Gina Yeh e3e4765556 Bug 844705 - Should send socket data in main thread, r=echou 2013-02-25 18:49:18 +08:00
Gina Yeh 602aa57b8d 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 f3a13d0b47 Bug 833206 - Remove invalid OBEX header: ConnectionId, r=gyeh, r=echou 2013-02-19 10:58:03 +08:00
Vicamo Yang 397e642605 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 372e8da2c0 Bug 825762 - Replace VFAT reserved character with '_' to avoid file-transferring failure, r=qdot 2013-01-16 18:23:28 +08:00
Gina Yeh 1e7e92e7fb 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 3a3a8532da Bug 827311 - Remote file update notifications. r=bent a=blocking-basecamp 2013-01-09 07:03:28 -08:00
Eric Chou 3ed89f4e46 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 faf049335c Bug 811683 - Increase speed of sending file, r=gyeh 2012-12-20 18:36:58 +08:00
Eric Chou ebd0d8311d Bug 815079 - notify DeviceStorage when a file is received and saved, r=dougt 2012-12-12 16:54:54 +08:00
Gina Yeh fea3c55db1 Bug 819832 - Patch 1: Sending files to Mac would fail at the end of sending process, r=echou 2012-12-11 13:55:37 +08:00
Gina Yeh 53853cfd8b Bug 817930 - Patch 1: Support for receiving multiple files sequentially, r=echou 2012-12-07 20:12:57 +08:00
Gina Yeh 30eaba8ba8 Bug 816859 - Patch 1: Failed to receive a file, r=echou 2012-11-30 17:49:08 +08:00
Gina Yeh 1a82cbc056 Bug 813817 - Patch 1: Cancelling file transferring doesn't clear the notifications, r=echou 2012-11-28 15:59:20 +08:00
Eric Chou 8c3be6c874 Bug 811946 - remove annoying compiler warnings and define a more structured interface for Bluetooth uuid, r=qdot 2012-11-27 14:12:19 +08:00
Eric Chou 1ecaf1614b Bug 814376 - Improve the mechanism for setting file extension of a blob, r=sicking 2012-11-26 20:51:29 +08:00