Commit Graph

50 Commits

Author SHA1 Message Date
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
e3926e8f4d 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
084a1b39cc Bug 817972 - Make Gecko Bluetooth capable of queueing file-sending requests, r=gyeh 2013-04-26 18:09:00 +08:00
Eric Chou
d18ca310ca 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
71b1038b68 Bug 844705 - Add comment to mReadFileThread. r=mrbkap 2013-04-09 12:11:00 -04:00
Eric Chou
1b7aa14ffc Bug 851046: Patch 9 - Small misc fixes; r=mrbkap 2013-04-04 17:56:16 -07:00
Eric Chou
2d0a7c72d4 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
c91b2f0574 Bug 851046: Patch 4 - Apply BluetoothSocket to BluetoothOppManager; r=mrbkap 2013-04-04 17:53:08 -07:00
Matt Brubeck
79a6cd1876 Back out bug 851046 because of rebase problems 2013-04-04 17:45:06 -07:00
Eric Chou
a71c18ea3c Bug 851046: Patch 9 - Small misc fixes; r=mrbkap
--HG--
extra : rebase_source : 12eb0cc3cdd6f8773ae9e503267dbf643f767cfc
2013-04-04 17:25:45 -07:00
Eric Chou
adebe2a8df 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
143a369f92 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
0302be40e5 Backed out 9 changesets (bug 851046) for B2G bustage on a CLOSED TREE. 2013-04-03 15:54:36 -04:00
Eric Chou
f7ec3354ff 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
f15416897c 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
a328096a8e Bug 851046 - Apply BluetoothSocket to BluetoothOppManager. r=mrbkap 2013-03-15 17:47:35 +08:00
Shawn Huang
24186914a1 Bug 833206 - Remove invalid OBEX header: ConnectionId, r=gyeh, r=echou 2013-02-19 10:58:03 +08:00
Vicamo Yang
5075aba1fa 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
0b1b9adb3b Bug 825762 - Replace VFAT reserved character with '_' to avoid file-transferring failure, r=qdot 2013-01-16 18:23:28 +08:00
Eric Chou
975bccb26d 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
14c2e5fa6b Bug 814341 - fix memory leak in Bluetooth, r=gyeh 2012-12-13 20:12:04 +08:00
Eric Chou
8a48eae2bf Bug 815079 - notify DeviceStorage when a file is received and saved, r=dougt 2012-12-12 16:54:54 +08:00
Gina Yeh
10eabddb07 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
65c913b3b0 Bug 817930 - Patch 1: Support for receiving multiple files sequentially, r=echou 2012-12-07 20:12:57 +08:00
Gina Yeh
199b108bb4 Bug 813817 - Patch 1: Cancelling file transferring doesn't clear the notifications, r=echou 2012-11-28 15:59:20 +08:00
Eric Chou
32a1721618 Bug 809781 - Fixed sending file failure, r=gyeh 2012-11-14 14:29:11 +08:00
Eric Chou
82ffc1cb30 Bug 809538 - refactory and handle no sdcard situation, r=qdot 2012-11-07 17:46:31 -08:00
Eric Chou
e60ed852a5 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
17cd9f8f35 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
2bc153583a Bug 805724 - patch 2: cleanup (naming, check text width, decrease build warnings), r=qdot 2012-11-03 09:36:34 +08:00
Eric Chou
6c0d16f800 Bug 805724 - patch 1: made BluetoothOppManager listen again after disconnection, r=qdot 2012-11-03 09:36:19 +08:00
Eric Chou
deb420ea77 Bug 803614 - [b2g-bluetooth] Save received file, r=qdot, r=dougt 2012-10-31 11:15:12 +08:00
Kyle Machulis
56f246da50 Bug 802288: Make BluetoothOppManager shutdown at xpcom-shutdown event; r=echou 2012-10-25 18:25:46 -07:00
Eric Chou
8d5e823c2a Bug 802590 - Patch 3: Implemented the logic, r=qdot 2012-10-19 14:16:13 +08:00
Eric Chou
443e9ef49c Bug 802590 - patch 2: IPC implementation, r=qdot 2012-10-19 14:16:13 +08:00
Eric Chou
5d3aaff109 Bug 799452 - patch 2: Parse PUT request header, r=qdot 2012-10-17 14:48:52 +08:00
Eric Chou
889978765b Bug 799452 - Patch 1: Send a system message to notify 'receiving file confirmation', r=qdot 2012-10-17 14:46:53 +08:00
Eric Chou
b85d4df899 Bug 801507 - Listen to ObjectPush service socket, r=qdot 2012-10-15 14:16:41 +08:00
Kyle Machulis
ee62993412 Bug 800247: Add disconnect events to UnixSocket, update Bluetooth*Manager; r=echou r=cjones
--HG--
extra : rebase_source : 809d46954baea51bf4053c3a48ce45b18b1a58e9
2012-10-12 11:38:14 -07:00
Eric Chou
1f6e9a31fd Bug 800313 - Refine system messages interface for bluetooth file-sharing app, r=qdot 2012-10-12 19:14:21 +08:00
Kyle Machulis
594b76c58e Bug 796176 - Patch 2: Make Bluetooth*Managers listen on startup/disconnect, stop listening to stop/connect; r=echou
--HG--
extra : rebase_source : 9ed9b4cc1ba445128a8ff6f90a9fb84044b7ca1a
2012-10-10 22:49:11 -07:00
Eric Chou
2291b0cd5c Bug 799138 - [b2g-bluetooth] Handle Connect/Disconnect/Put requests sent from remote devices, r=qdot 2012-10-09 13:56:17 +08:00
Eric Chou
3c5ec491a7 Bug 797786 - Send system message 'Update progress', r=qdot 2012-10-05 16:11:21 +08:00
Eric Chou
0d949fabe1 Bug 797345 - send a system message to notify that 'file transfer completed', r=qdot 2012-10-03 17:06:40 +08:00
Eric Chou
8f9fed01f1 Bug 796329 - implemented StopSendingFile() and fixed potential memory problem, r=qdot 2012-10-03 15:09:27 +08:00
Eric Chou
53ea233ce5 Bug 795410 - patch 3: Get file content and send, r=qdot
From 01ff8209cc5242bdf6c89432899ab4658e71e58a Mon Sep 17 00:00:00 2001
2012-09-28 20:03:36 +08:00
Eric Chou
6c110db3b7 Bug 795410 - patch 1: Basic function prototype, r=qdot
From 2231ac9d0fb159edabb891f8b89afc176fb15c2b Mon Sep 17 00:00:00 2001
2012-09-28 18:59:12 +08:00
Eric Chou
5e5b4c3299 Bug 794469 - patch 2: Implement sending "Connect" request, r=qdot
From 4de16db95fc67e644868347b0107f76751efb9cf Mon Sep 17 00:00:00 2001
2012-09-27 22:59:27 +08:00
Eric Chou
8d5cdbcd7b Bug 792823 - patch 2: BluetoothOppManager interface and prototype, r=qdot 2012-09-28 19:46:37 +08:00