Commit Graph

129 Commits

Author SHA1 Message Date
Eric Chou
ba5ef18092 Bug 839370 - Implement callback function OnUpdateSdpRecords() in BluetoothProfileManagers, r=gyeh 2013-05-22 19:08:21 +08:00
Eric Chou
a16b1e81ec Bug 839370 - Implement function UpdateSdpRecords(), r=gyeh 2013-05-22 19:08:17 +08:00
Gina Yeh
e1e19c9cdb Bug 853235 - Combine pairing-related system messages into one type, r=echou 2013-05-20 15:34:45 +08:00
Shawn Huang
743e52c6ec Bug 870304: Fix misssing icon when getting paired/connected list, r=echou 2013-05-11 00:03:55 +08:00
Gina Yeh
a8ebac2175 Bug 830213 - Patch 3: Remove BluetoothScoManager, r=echou 2013-05-10 19:03:25 +08:00
Gina Yeh
2101483114 Bug 830213 - Patch 1: Add ConnectSco, DisconnectSco, IsScoConnected in nsIDOMBluetoothAdapter, r=echou, sr=mrbkap 2013-05-10 18:58:59 +08: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
Gina Yeh
f1fd626ee2 Bug 850157 - Add GetConnectedDevices() in nsIDOMBluetoothAdapter.idl, r=echou, sr= mrbkap 2013-04-26 18:48:21 +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
Gina Yeh
6cb6e4c549 Bug 857896 - Convert device property "Connected" into a boolean if bluez returns a two-byte array, r=echou,qdot 2013-04-16 11:10:29 +02:00
Eric Chou
83d8ea0931 Bug 861085 - Enable/Disable Bluetooth based on mozSettings value at startup, r=gyeh, r=qdot 2013-04-16 11:02:23 +08:00
Eric Chou
edadb6b84d Bug 851046: Patch 7 - Remove function ListenSocketViaService(); r=mrbkap 2013-04-04 17:55:34 -07:00
Eric Chou
bf2f4be4a5 Bug 851046: Patch 5 - Apply BluetoothSocket to BluetoothHfpManager; r=mrbkap 2013-04-04 17:54:22 -07:00
Eric Chou
a0b0306990 Bug 851046: Patch 3 - Replace (Bluetooth*Managers)->CloseSocket() with (Bluetooth*Managers)->Disconnect(); r=mrbkap 2013-04-04 17:52:48 -07:00
Matt Brubeck
81b4a55b18 Back out bug 851046 because of rebase problems 2013-04-04 17:45:06 -07:00
Eric Chou
aa759d45b9 Bug 851046: Patch 7 - Remove function ListenSocketViaService(); r=mrbkap
--HG--
extra : rebase_source : eb7d4a12566722c759c9badda579fe66ef689ff1
2013-04-04 17:25:44 -07:00
Eric Chou
c841ea1f5b Bug 851046: Patch 5 - Apply BluetoothSocket to BluetoothHfpManager; r=mrbkap
--HG--
extra : rebase_source : ec6e75948230e4b94d2d539833dc9899444d9afe
2013-04-04 17:25:44 -07:00
Eric Chou
e200a451bc Bug 851046: Patch 3 - Replace (Bluetooth*Managers)->CloseSocket() with (Bluetooth*Managers)->Disconnect(); r=mrbkap
--HG--
extra : rebase_source : 43524216294e08625619b5b1c6a35e0de9fadde6
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
b98cd3e0f0 Bug 851046 - Remove function ListenSocketViaService(). r=mrbkap
Since we are now using BluetoothSocket directly for listening, this functions can be removed.
2013-03-19 13:53:43 -07:00
Eric Chou
35a54afb18 Bug 851046 - Apply BluetoothSocket to BluetoothHfpManager. r=mrbkap 2013-03-15 18:45:59 +08:00
Eric Chou
d11f230c13 Bug 851046 - Use (Bluetooth*Managers)->Disconnect() instead of (Bluetooth*Managers)->CloseSocket() since managers are not UnixSocketConsumer anymore. r=mrbkap 2013-03-15 14:55:19 +08:00
Ehsan Akhgari
aa3139644f Bug 579517 follow-up: Remove NSPR types that crept in 2013-04-02 20:59:27 -04:00
shuang
01e0bbbf11 Bug 841336 - Remove assertion in RunDBusCallback if platform is gonk, r=echou 2013-03-26 13:15:09 +08:00
Gina Yeh
418152901b Bug 834590 - Cache adapter path in BluetoothService, r=echou 2013-03-15 15:15:47 +08:00
Eric Chou
7ad8ab6e26 Bug 836715 - Fix potential memory problem in RemoveDeviceTask, r=qdot
From 6e3780271509a502462560717f7cc768dafb673b Mon Sep 17 00:00:00 2001
2013-03-04 18:47:41 +08:00
Eric Chou
1278a17f48 Bug 841984 - Fixed potential memory problem in SetProperty(), r=qdot 2013-03-08 12:10:09 +08:00
Eric Chou
960e073d4c Bug 841576 - Check if nsTHashtable has been initialized before calling Init(), r=qdot 2013-03-07 21:36:13 +08:00
Gina Yeh
d327d0163b Bug 844707 - Fix warnings in debug build, r=echou 2013-02-25 15:04:38 +08:00
Gina Yeh
2f19e49764 Bug 842471 - Invalid value type in BluetoothDevicePropertiesRunnable(), r=echou 2013-02-20 14:19:34 +08:00
Eric Chou
e08bf536bc Bug 834816 - Disconnect all acl connections before disabling Bluetooth, r=qdot 2013-02-14 23:16:37 +08:00
shuang
fb75f92e79 Bug 828837:Fix COD equals 0x20080c cause icon empty, r=echou 2013-02-01 17:04:07 +08:00
Eric Chou
492be7deab Bug 834551 - Insert BT_LOG at several important check points, r=gyeh 2013-01-29 18:37:51 +08:00
Eric Chou
3c923fe145 Bug 834551 - Replace 'LOG()' with 'BT_WARNING()' defined in BluetoothCommon.h for consistency, r=qdot 2013-01-29 18:37:51 +08:00
Gina Yeh
9ae2cfbdcb Bug 811569 - Patch 4: Remove asynchronous function GetProperty , r=echou 2013-01-29 14:52:58 +08:00
Gina Yeh
f1698ce19d Bug 811569 - Patch 1: Remove unused files in bluetooth, r=echou 2013-01-29 14:52:30 +08:00
Ed Morley
4083c0c3a6 Backout 3985cb4da6b6, 55ab9f026dc4, f7ead00b7654 and e2108ea96ae5 for a variety of build failures on a CLOSED TREE 2013-01-28 12:19:12 +00:00
Eric Chou
2ae028d66d Bug 834551 - Insert BT_LOG at several important check points, r=gyeh 2013-01-28 19:23:15 +08:00
Eric Chou
1aa08b1878 Bug 834551 - Replace 'LOG()' with 'BT_WARNING()' defined in BluetoothCommon.h for consistency, r=qdot 2013-01-28 19:23:12 +08:00
Thomas Zimmermann
eb0a50ab1b Bug 827888: Fix usage of sIsParing variable [r=echou,qdot]
The variable sIsPairing signals to the Bluetooth pairing response
notifier if pairing is still requested.

Being a boolean value, the variable only supported one pairing request
at a time. To support multiple parallel pairing requests, this patch
converts it into a counter. The counter is atomic, because notifier
calls run in separate threads.

Additionally, we now set sIsPairing before starting the pairing request.
Otherwise the notifier might run before we can increment the variable.
2013-01-10 07:55:43 -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
b401fae1ce Bug 824895 - check if mConnection is ready before running SetProperty(), r=gyeh 2013-01-02 16:33:37 +08:00
Eric Chou
8bb47d0605 Bug 824458 - callback function set in DBus sometimes wouldn't get called, r=gyeh 2012-12-25 14:56:26 +08:00
Justin Lebar
1ce158bdfa Bug 819791 - Part 7: Use explicit TArray copy constructors in Bluetooth code. r=qdot 2012-12-18 20:16:06 -05:00
Eric Chou
2163cdf657 Bug 818696 - prevent "pairing failed" prompt from appearing after re-enabling Bluetooth, r=gyeh 2012-12-11 19:31:47 +08:00
Ed Morley
db9fdcb9c5 Backout 8288c4940d1e (bug 818696) for crashes 2012-12-11 12:53:37 +00:00
Eric Chou
ff2cd83c25 Bug 818696 - prevent "pairing failed" prompt from appearing after re-enabling Bluetooth, r=gyeh 2012-12-11 19:31:47 +08:00
Gina Yeh
726dc442eb Bug 815325 - Patch 1: Turning bluetooth on and off multiple times causes restart, r=echou 2012-11-30 17:46:55 +08:00
Eric Chou
df73d06773 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
Gina Yeh
e9e59bb835 Bug 812391 - Patch 1: Support audio stream of bt_sco, r=echou 2012-11-19 15:10:38 +08:00