Commit Graph

749 Commits

Author SHA1 Message Date
Thomas Zimmermann
ea7e350a24 Bug 932728: Open only one connection to DBus, r=echou,qdot
Bluetooth maintains two connections to the DBus server and the DBus
system itself maintains a third one. This implies some overhead and
makes the code more difficult to understand.

This patch changes the Bluetooth code to use the connection that is
established by the DBus system.
2013-12-12 12:56:00 +01:00
Shawn Huang
a3360114e1 Bug 941462 - Reply internal error code when getting I/O error from BlueZ, r=gyeh 2013-12-12 19:37:42 +08:00
Jamin Liu
0e31364f96 Bug 932490 - Fix the buffer overflows of OBEX packet. r=echou 2013-12-11 09:53:24 -05:00
Ben Tian
70a3ee3993 Bug 948247 - [bluedroid] Race condition in BluetoothSocket may result in segmentation fault, r=echou 2013-12-11 16:53:11 +08:00
Eric Chou
e98a57a98b Bug 947870 - Avoid assertion on receiving files via Bluetooth, r=gyeh 2013-12-11 13:17:34 +08:00
Ryan VanderMeulen
ca386608b9 Merge b2g-inbound to m-c. 2013-12-09 17:26:11 -05:00
Birunthan Mohanathas
bdda80d8b8 Bug 798033 - Remove 'using namespace' from dom/ headers. r=echou 2013-12-08 21:53:11 -05:00
Birunthan Mohanathas
759ab69b0a Bug 713082 - Part 2: Rename Util.h to ArrayUtils.h. r=Waldo
--HG--
rename : mfbt/Util.h => mfbt/ArrayUtils.h
2013-12-08 21:52:54 -05:00
Birunthan Mohanathas
2a97f4dc0d Bug 713082 - Part 1: Remove unnecessary Util.h includes. r=Waldo 2013-12-08 21:52:33 -05:00
Ben Tian
f40c952ebe Bug 946555 - Remove unused functions in BluetoothService classes and some warnings, r=echou 2013-12-06 12:20:07 +08:00
Eric Chou
9588efd947 Bug 947060 - Don't go through bonding procedure while transferring files via OPP, r=gyeh 2013-12-09 17:43:15 +08:00
Ben Tian
80ebb68b44 Bug 947096 - [Flatfish] Build break results from variable access that requires MOZ_B2G_RIL flag, r=echou 2013-12-06 15:17:24 +08:00
Eric Chou
89562bccd5 Bug 932496 - Add length check to prevent from memory pollusion, r=gyeh 2013-12-06 16:23:35 +08:00
Ryan VanderMeulen
ad71ecfc91 Merge inbound to m-c. 2013-12-05 17:29:03 -05:00
Ben Tian
7439710810 Bug 946048 - Reset mPhoneType in BluetoothHFPManager constructor, r=echou 2013-12-04 13:51:57 +08:00
Gina Yeh
37144f03e7 Bug 943752 - Refine BluetoothProfileController logic for AVRCP and HID, r=echou 2013-12-05 10:05:39 +08:00
Mike Shal
94d19c46f2 Bug 875013 - Remove VPATH; r=glandium 2013-11-21 14:57:06 -05:00
Ben Tian
b74b9e350d Bug 945193 - Print function name in bluetooth logs, r=echou 2013-12-02 18:50:23 +08:00
Ben Tian
935fb4ff2b Bug 945640 - [HFP] Pop up volume UI when bluetooth headset adjusts volume during call, r=echou 2013-12-04 10:06:10 +08:00
Ben Tian
d23170ff6e Bug 944574 - Add ConnectSco/DisconnectSco into BluetoothServiceBluedroid, r=echou 2013-12-03 09:56:27 +08:00
Gina Yeh
9c708e1df9 Bug 945149 - No event AdapterAdded is received after turning on Bluetooth, r=echou 2013-12-04 10:18:33 +08:00
Eric Chou
da286887af Bug 915533 - Remove files that were accidentally restored, r=gyeh 2013-12-03 14:45:01 +08:00
Ben Tian
eba81c2c79 Bug 944592 - Re-implement BluetoothOppManager::Disconnect(), r=echou 2013-11-29 14:13:40 +08:00
Ryan VanderMeulen
b391dde096 Merge m-c to b2g-inbound. 2013-12-02 10:38:28 -05:00
Carsten "Tomcat" Book
2499f18bd4 Backed out changeset 2faed81ad05f (bug 915533) for Build Bustage 2013-12-02 08:53:30 +01:00
Carsten "Tomcat" Book
f9a05b8a71 Backed out changeset 22ad4bbd595d (bug 915533) for Build Bustage 2013-12-02 08:53:16 +01:00
Ben Tian
ce0919f2ec Bug 915533 - Patch 2/2: [bludroid OPP] BluetoothSocket, r=echou 2013-12-02 10:39:58 +08:00
Ben Tian
74198c7595 Bug 915533 - Patch 1/2: [bludroid OPP] Move files, r=echou 2013-11-29 14:18:04 +08:00
Jamin Liu
0d3e8868b7 Bug 943753 - Fix the incorrect condition for synchronous connection to support HSP. r=echou
We don't need to check SLC status for HSP.
2013-12-02 16:38:51 +08:00
Ben Tian
003c7cef3f Bug 915533 - Patch 2/2: [bludroid OPP] BluetoothSocket, r=echou 2013-12-02 10:39:58 +08:00
Ben Tian
453bd5eb7d Bug 915533 - Patch 1/2: [bludroid OPP] Move files, r=echou 2013-11-29 14:18:04 +08:00
Eric Chou
4fb67060de Bug 942104 - Fire event 'ondiscoverystatechanged' (bluez), r=gyeh 2013-11-30 20:20:18 +08:00
Eric Chou
3f1fd8da53 Bug 942104 - Fire event 'ondiscoverystatechanged', r=gyeh
From b03fc76c1810cf3f91aa9f92732c3df4ffd471a3 Mon Sep 17 00:00:00 2001
2013-11-25 14:13:26 +08:00
Eric Chou
e25ca0c35b Bug 942104 - Add nsIDOMBluetoothDiscoveryStateChangedEvent, r=gyeh 2013-11-30 20:20:17 +08:00
Eric Chou
d3a0fe86e9 Bug 942104 - Add an event "ondiscoverystatechanged", r=gyeh, sr=mrbkap 2013-11-30 20:20:17 +08:00
Shawn Huang
8922023cee Bug 944293 - [Bluetooth] Correct IS_PERIPHERAL COD validation and add error handling if COD is invalid, r=gyeh 2013-11-29 16:01:22 +08:00
Eric Chou
e31fb582fb Bug 942712 - Ensure event 'AdapterAdded' will be fired after 'Enabled' being fired, r=gyeh 2013-11-27 16:24:51 +08:00
Eric Chou
fe02440431 Bug 942712 - Set gToggleInProgress to false when bt toggling is done, r=gyeh
From 2e8e1d84251fac968caf9104536d1b794c986670 Mon Sep 17 00:00:00 2001
2013-11-26 15:13:43 +08:00
Mike Hommey
9245936f8b Bug 874266 - Move all DEFINES that can be moved to moz.build. r=mshal 2013-11-27 22:55:07 +09:00
Mike Hommey
2b828323f2 Backout changeset 3fd4b546eed4 (bug 874266) and changeset a35d2e3a872f (bug 942043) for ASAN build bustage and Windows test bustage
--HG--
extra : amend_source : f20d09aeff1c8b5cbd0f1d24c7ce04e86f3aed1d
2013-11-28 14:24:05 +09:00
Mike Hommey
d210f8ff00 Bug 874266 - Move all DEFINES that can be moved to moz.build. r=mshal 2013-11-28 13:08:16 +09:00
Ben Tian
9b8fb0cc7b Bug 921991 - B2G BT: support multiple sim cards, r=echou, r=mrbkap 2013-11-26 14:11:06 +08:00
Jamin Liu
5a91993cbf Bug 937074 - [Bluetooth] Make sure SLC established before we set up SCO. r=echou 2013-11-26 11:28:10 +08:00
Shawn Huang
6af215f17b Bug 939500 - [bluedroid] Avrcp 1.3 prototype, r=echou 2013-11-22 23:40:22 +08:00
Eric Chou
c636f29719 Bug 932543 - Check data size before memcpy in BluetoothOppManager, r=gyeh 2013-11-22 11:55:42 +08:00
Szu-Yu Chen [:aknow]
03287a54ed Bug 856553 - Part 3: Add radiostatechange in listener (bluetooth). r=gyeh 2013-11-21 09:09:01 -05:00
Shawn Huang
39ab4f7a8f Bug 941574 - [bluedroid] Fix sometimes outgoing connection fails due to Reset() mis-placed, r=echou 2013-11-21 20:17:10 +08:00
Shawn Huang
dd0446f33a Bug 941564 - [bluedroid] Update BD address while an incoming connection established, r=echou 2013-11-21 20:17:07 +08:00
Shawn Huang
621fdc3dc3 Bug 935882 - [bluedroid] Support GetConnectedDevice API, r=echou 2013-11-21 18:12:45 +08:00
Eric Chou
b4c457c6e9 Bug 941416 - Fix regression of bug 936995, r=gyeh 2013-11-21 12:58:04 +08:00