Commit Graph

69 Commits

Author SHA1 Message Date
Ben Tian
fe0650c3cc Bug 897782 - Support Multiple BT file transfering, r=echou 2013-11-05 15:53:10 +08:00
Ben Tian
be5ba77695 Bug 932192 - Refactor OPP manager for multiple file transfer, r=echou 2013-11-01 11:21:13 +08:00
Gina Yeh
3643741917 Bug 913372 - Patch 2: Set mController to null before invoking callback function, r=echou
For each profile manager, we'd like to make sure that the data member of
mController is nulled out before invoking the callback function. Because, in the
callback function, we continue to handle the next connect/disconnect request,
and we'd like to null out mController of previous request before handling the
new one.
2013-10-28 12:07:01 +08:00
Gina Yeh
32041c957c Bug 913374 - Use nsRefPtr for BluetoothProfileController in profile managers, r=echou 2013-10-01 15:26:40 +08:00
Eric Chou
1e7ea56b53 Bug 914514 - Close socket right after the user stops the transmission, r=gyeh, r=btian
Instead of setting a flag, this patch would shutdown current connection
right after the user stopped the transmission.
2013-10-01 10:53:08 +08:00
Ben Tian
dac0937181 Bug 915628 - [Bluetooth] Define new log levels and add logs in profile controller, r=echou 2013-09-14 06:51:00 +08:00
Gina Yeh
81b5f996b2 Bug 906305 - Patch 5: Fix BluetoothOppManager, r=echou 2013-09-06 19:21:04 +08:00
Gina Yeh
9e71965423 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
9e476f1783 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
424e19f955 Bug 891202 - [Bluetooth][OPP cleanup] Unify obex data sending function, r=echou 2013-07-10 11:20:13 +08:00
Gina Yeh
d4801377c8 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
6af57fc8e2 Bug 882551 - Patch 3: Remove BluetoothOppManagerObserver, r=qdot, r=mrbkap, r=echou 2013-06-20 09:19:46 +08:00
Gina Yeh
bca648bfc7 Bug 872907 - Patch 4: Implement NotifyStatusChagned() and NotifyAudioManager(), r=echou, r=mrbkap 2013-06-08 23:26:01 +08:00
Shawn Huang
422a1ec197 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
8d70ccdda9 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
f906b641d5 Bug 839370 - Implement callback function OnUpdateSdpRecords() in BluetoothProfileManagers, r=gyeh 2013-05-22 19:08:21 +08:00
Dave Hylands
c53a4e7f72 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
bc36900668 Backed out changeset dbf0c9f4a4b9 (bug 858416) for B2G mochitest-3 failures. 2013-05-11 09:47:37 -04:00
Dave Hylands
a1b72bb10c Bug 858416 - Create a composite device storage interface. r=dougt 2013-05-11 02:10:18 -07:00
Eric Chou
181f73a601 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
5b81eec10f Bug 850157 - Add GetConnectedDevices() in nsIDOMBluetoothAdapter.idl, r=echou, sr= mrbkap 2013-04-26 18:48:21 +08:00
Eric Chou
be5d6421da 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
15a3719abc Bug 817972 - Make Gecko Bluetooth capable of queueing file-sending requests, r=gyeh 2013-04-26 18:09:00 +08:00
Eric Chou
a321fba2ed 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
Kyle Machulis
1a2f72467e Bug 844705 - Add comment to mReadFileThread. r=mrbkap 2013-04-09 12:11:00 -04:00
Eric Chou
0533a0f3f3 Bug 851046: Patch 9 - Small misc fixes; r=mrbkap 2013-04-04 17:56:16 -07:00
Eric Chou
6a65583423 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
3185e0f46b Bug 851046: Patch 4 - Apply BluetoothSocket to BluetoothOppManager; r=mrbkap 2013-04-04 17:53:08 -07:00
Matt Brubeck
3ee37d2232 Back out bug 851046 because of rebase problems 2013-04-04 17:45:06 -07:00
Eric Chou
c57a0afda5 Bug 851046: Patch 9 - Small misc fixes; r=mrbkap
--HG--
extra : rebase_source : 12eb0cc3cdd6f8773ae9e503267dbf643f767cfc
2013-04-04 17:25:45 -07:00
Eric Chou
f47eb75aaf 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
4b1db7627f 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
e3283fe2b4 Backed out 9 changesets (bug 851046) for B2G bustage on a CLOSED TREE. 2013-04-03 15:54:36 -04:00
Eric Chou
61331ffc6c 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
8dddfba09a 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
a6c3c3d562 Bug 851046 - Apply BluetoothSocket to BluetoothOppManager. r=mrbkap 2013-03-15 17:47:35 +08:00
Shawn Huang
7cc628f383 Bug 833206 - Remove invalid OBEX header: ConnectionId, r=gyeh, r=echou 2013-02-19 10:58:03 +08:00
Vicamo Yang
3bf0d2e152 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
bf9fbe58e5 Bug 825762 - Replace VFAT reserved character with '_' to avoid file-transferring failure, r=qdot 2013-01-16 18:23:28 +08:00
Eric Chou
2c3717fb14 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
2b9fe44710 Bug 814341 - fix memory leak in Bluetooth, r=gyeh 2012-12-13 20:12:04 +08:00
Eric Chou
992f7816cf Bug 815079 - notify DeviceStorage when a file is received and saved, r=dougt 2012-12-12 16:54:54 +08:00
Gina Yeh
ed27a7c475 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
af7472b3b6 Bug 817930 - Patch 1: Support for receiving multiple files sequentially, r=echou 2012-12-07 20:12:57 +08:00
Gina Yeh
41d963f2a9 Bug 813817 - Patch 1: Cancelling file transferring doesn't clear the notifications, r=echou 2012-11-28 15:59:20 +08:00
Eric Chou
b160bd0873 Bug 809781 - Fixed sending file failure, r=gyeh 2012-11-14 14:29:11 +08:00
Eric Chou
89b80ddd58 Bug 809538 - refactory and handle no sdcard situation, r=qdot 2012-11-07 17:46:31 -08:00
Eric Chou
32339a5cf9 Bug 805724 - patch 5: sent correct file name to Gaia and removed received incomplete file, r=qdot 2012-11-03 09:36:49 +08:00
Eric Chou
45c56232ef Bug 805724 - patch 4: fire dom request events after calling OPP related functions, r=qdot 2012-11-03 09:36:43 +08:00
Eric Chou
6efe5ae86d Bug 805724 - patch 2: cleanup (naming, check text width, decrease build warnings), r=qdot 2012-11-03 09:36:34 +08:00