Commit Graph

93 Commits

Author SHA1 Message Date
Ed Morley
cb0790a0ed 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
efeafb911f Bug 834551 - Insert BT_LOG at several important check points, r=gyeh 2013-01-28 19:23:15 +08:00
Eric Chou
f1a556a1f7 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
c2ef416d9d 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
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
b09ac84a26 Bug 824895 - check if mConnection is ready before running SetProperty(), r=gyeh 2013-01-02 16:33:37 +08:00
Eric Chou
dc097412e2 Bug 824458 - callback function set in DBus sometimes wouldn't get called, r=gyeh 2012-12-25 14:56:26 +08:00
Justin Lebar
776a756b93 Bug 819791 - Part 7: Use explicit TArray copy constructors in Bluetooth code. r=qdot 2012-12-18 20:16:06 -05:00
Eric Chou
4fcb9b5e02 Bug 818696 - prevent "pairing failed" prompt from appearing after re-enabling Bluetooth, r=gyeh 2012-12-11 19:31:47 +08:00
Ed Morley
c538b0d243 Backout 8288c4940d1e (bug 818696) for crashes 2012-12-11 12:53:37 +00:00
Eric Chou
1e1e052d39 Bug 818696 - prevent "pairing failed" prompt from appearing after re-enabling Bluetooth, r=gyeh 2012-12-11 19:31:47 +08:00
Gina Yeh
bbc00dbb68 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
3935daabf2 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
4bbb5527a1 Bug 812391 - Patch 1: Support audio stream of bt_sco, r=echou 2012-11-19 15:10:38 +08:00
Gina Yeh
aa95503d71 Bug 812404 - Patch 1: Crash when connect with a bluetooth headset right after pairing completed, r=echou 2012-11-16 18:46:08 +08:00
Gina Yeh
9c284b5416 Bug 809515 - Patch 1: No response when failed to connect to a headset, r=qdot 2012-11-07 15:48:39 -08:00
Gina Yeh
a2d719de86 Bug 808879 - Patch 1: Expose connection status for system app, r=qdot, sr=mrbkap 2012-11-07 10:12:41 -08:00
Eric Chou
57002946d6 Bug 808193 - return 'boolean' if PROP_DEVICE_CONNECTED_TYPE is not found, r=qdot 2012-11-05 15:48:34 -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
Gina Yeh
0b21e4708d Bug 806713 - Patch 1: NS_ASSERTION failure in UnixSocket.cpp when create a sco socket, r=qdot 2012-11-01 19:49:07 +08:00
Kyle Machulis
b1710fac8d Bug 802428: Support varying adapter properties based on android version; r=ggrisco r=echou
--HG--
extra : rebase_source : 7e469ae48df6aef480e882e196ee901c27702aa8
2012-10-31 20:24:54 -07:00
Kyle Machulis
5242679a56 Backed out changeset f57c433cb7bc: Wrong patch version r=echou r=qdot
--HG--
extra : rebase_source : 51f68f0f2c32ac4f41d0bd8fb21f323331ae3418
2012-10-31 20:24:15 -07:00
Kyle Machulis
486db47187 Bug 802428: Support varying adapter properties based on android version; r=ggrisco r=echou
--HG--
extra : rebase_source : 7acc2d356afd1578ea9f6266e2056eb9f02571e1
2012-10-31 13:45:50 -07:00
Gina Yeh
fc3f599f06 Bug 803475 - Failed to transfer audio back to bluetooth headset while in a phone call, r=qdot 2012-10-26 17:48:47 +08:00
Gina Yeh
a59063cab6 Bug 800695 - Final version: Audio route is set to sco before connecting to a bluetooth headset, r=qdot 2012-10-22 18:34:15 +08:00
Eric Chou
443e9ef49c Bug 802590 - patch 2: IPC implementation, r=qdot 2012-10-19 14:16:13 +08:00
Eric Chou
b85d4df899 Bug 801507 - Listen to ObjectPush service socket, r=qdot 2012-10-15 14:16:41 +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
Kyle Machulis
c6bfffd40f Bug 799243 - Patch 2: Fix static nsTArray initialization in BluetoothDBusService; r=echou 2012-10-08 22:00:02 -07:00
Gina Yeh
39e7cb71f5 Bug 782586 - Final version: Firing onadapteradded event when bluetooth is ready to get default adapter, r=qdot 2012-10-09 11:29:37 +08:00
Gina Yeh
bae321fb7a Bug 797810 - Patch 2: Cleanup for profile connect function, r=qdot 2012-10-05 18:48:05 +08:00
Gina Yeh
2a3e70a90d Bug 797801 - Final version: Cannot receive agent events after crash, r=qdot 2012-10-05 17:19:31 +08:00
Gina Yeh
1d84205ec3 Bug 795659 - Final version: Follow-up to bug 795458, r=qdot 2012-10-04 11:13:12 +08:00
Eric Chou
8f9fed01f1 Bug 796329 - implemented StopSendingFile() and fixed potential memory problem, r=qdot 2012-10-03 15:09:27 +08:00
Gina Yeh
349708da74 Bug 796300 - Final version: Set audio device BLUETOOTH_SCO_HEADSET to unavailable when disconnect Sco socket, r=qdot 2012-10-03 10:55:28 +08:00
Gina Yeh
e98a47c01b Bug 795249 - Final version: Broadcast hfp connection status with system message, r=qdot 2012-10-01 15:44:48 +08:00
Kyle Machulis
348f07e1d1 Bug 790739: Patch 3 - Service and Manager changes for Bluetooth server sockets; r=cjones 2012-10-01 00:04:01 -07:00
Eric Chou
c10fa5f9db Bug 795410 - patch 2: Complete call flow, r=qdot
From 9fb76c07818c989ec8edc26b54ba84e1e6ec41ed Mon Sep 17 00:00:00 2001
2012-09-28 19:42:04 +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
Kyle Machulis
fbe3ed43ff Backing out 9a88f0d57e7d (Bug 790739) due to bustage
--HG--
extra : rebase_source : 1f6e7eda80f1b66b854c5c112f1b0816381f27e2
2012-09-30 23:16:26 -07:00
Kyle Machulis
de09ce7cbc Bug 790739: Patch 3 - Service and Manager changes for Bluetooth server sockets; r=cjones 2012-09-30 22:55:27 -07:00
Eric Chou
ec1ba51743 Bug 795458 - a workaround for this bug and fixed a typo, r=qdot 2012-09-30 10:45:21 +08:00
Eric Chou
9c95154f0c Bug 794514 - patch 3: added requests and completed call flow, r=qdot 2012-09-29 18:26:46 +08:00
Eric Chou
0a7b0f9afb Bug 794514 - patch 2: implemented newly added functions, r=qdot 2012-09-29 18:26:46 +08:00
Gina Yeh
88282bd920 Bug 794903 - Final version: BluetoothScoManager implementation, r=qdot 2012-09-29 17:39:05 +08:00
Eric Chou
4af42360ce Bug 794791 - [b2g-bluetooth] Update Device/Adapter properties table; r=qdot 2012-09-27 10:28:19 -07:00
Kyle Machulis
2901f9e7ab Bug 776182: Patch 3 - Socket I/O for ipc unix sockets; r=cjones r=echou
--HG--
rename : ipc/socket/Makefile.in => ipc/unixsocket/Makefile.in
rename : ipc/socket/Socket.cpp => ipc/unixsocket/UnixSocket.cpp
rename : ipc/socket/Socket.h => ipc/unixsocket/UnixSocket.h
extra : rebase_source : 18f401b047424a187863c9fbe8943364330d1f4d
2012-09-25 13:13:15 -07:00
Kyle Machulis
34e4b7b9fb Bug 789428: Fix object path setting for BluetoothDevice; r=echou
--HG--
extra : rebase_source : 7712835dfa55640910721f9a04bb4ee48e8168b4
2012-09-25 11:48:51 -07:00
Eric Chou
e412c3d761 Bug 793609 - [b2g-bluetooth] Wrong value passed into KeepDBusPairingMessage(), r=qdot 2012-09-25 10:44:00 +08:00
Gina Yeh
bb033e8515 Bug 791928 - Final version: Broadcast bonding-related events with device name, r=qdot 2012-09-21 14:17:35 +08:00