Commit Graph

800 Commits

Author SHA1 Message Date
Shawn Huang
2039a2f666 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
31b12ffadb Bug 942712 - Ensure event 'AdapterAdded' will be fired after 'Enabled' being fired, r=gyeh 2013-11-27 16:24:51 +08:00
Eric Chou
a258270b4d 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
fdd3247a81 Bug 874266 - Move all DEFINES that can be moved to moz.build. r=mshal 2013-11-27 22:55:07 +09:00
Mike Hommey
2f727b6d62 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
b038245b8d Bug 874266 - Move all DEFINES that can be moved to moz.build. r=mshal 2013-11-28 13:08:16 +09:00
Jamin Liu
d5e5d7ff3f Bug 881194 - [Bluetooth] Send +CIEV callheld for conference call. r=echou 2013-12-16 08:37:33 -05:00
Jamin Liu
e86eab105a Bug 881194 - [Bluetooth] Send +CIEV callheld properly to indicate call hold status. r=echou
- Send +CIEV callheld=1 when active calls become held calls
- Send +CIEV callheld=0 when all held calls become active calls.
2013-11-15 14:48:00 +08:00
Jamin Liu
6e6aa7aac0 Bug 881194 - [Bluetooth] Support AT+CHLD=3 in dom bluetooth. When "AT+CHLD=3" is received from a hands-free device, notify the Dialer app to "Add a held call to the conversation". r=echou 2013-11-28 14:05:05 +08:00
Vicamo Yang
69f91289f2 Bug 939637: B2G Bluetooth: add test case for navigator.BluetoothManager.adapteradded. r=echou 2013-12-13 15:31:21 +08:00
Vicamo Yang
310306a5fe Bug 939441: B2G Bluetooth: add test cases for navigator.BluetoothManager.enabled. r=echou, f=jgriffin 2013-12-13 15:31:16 +08:00
Thomas Zimmermann
8149608bb0 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
c4a0e658bf 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
bdb4e62641 Bug 932490 - Fix the buffer overflows of OBEX packet. r=echou 2013-12-11 09:53:24 -05:00
Ben Tian
9be1a17136 Bug 948247 - [bluedroid] Race condition in BluetoothSocket may result in segmentation fault, r=echou 2013-12-11 16:53:11 +08:00
Eric Chou
083ca04c04 Bug 947870 - Avoid assertion on receiving files via Bluetooth, r=gyeh 2013-12-11 13:17:34 +08:00
Ryan VanderMeulen
6428c27a28 Merge b2g-inbound to m-c. 2013-12-09 17:26:11 -05:00
Birunthan Mohanathas
00360187c4 Bug 798033 - Remove 'using namespace' from dom/ headers. r=echou 2013-12-08 21:53:11 -05:00
Birunthan Mohanathas
58325c73be 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
bd0f161288 Bug 713082 - Part 1: Remove unnecessary Util.h includes. r=Waldo 2013-12-08 21:52:33 -05:00
Ben Tian
15a244dc81 Bug 946555 - Remove unused functions in BluetoothService classes and some warnings, r=echou 2013-12-06 12:20:07 +08:00
Eric Chou
03f4d1a518 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
29b2fcdacb 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
e4bc76a74b Bug 932496 - Add length check to prevent from memory pollusion, r=gyeh 2013-12-06 16:23:35 +08:00
Ryan VanderMeulen
fe93ce0fd5 Merge inbound to m-c. 2013-12-05 17:29:03 -05:00
Ben Tian
c54108e05a Bug 946048 - Reset mPhoneType in BluetoothHFPManager constructor, r=echou 2013-12-04 13:51:57 +08:00
Gina Yeh
de4f25fcff Bug 943752 - Refine BluetoothProfileController logic for AVRCP and HID, r=echou 2013-12-05 10:05:39 +08:00
Mike Shal
009ce11f2a Bug 875013 - Remove VPATH; r=glandium 2013-11-21 14:57:06 -05:00
Ben Tian
2983de1747 Bug 945193 - Print function name in bluetooth logs, r=echou 2013-12-02 18:50:23 +08:00
Ben Tian
c3f2dd37af 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
ce80fd4ac3 Bug 944574 - Add ConnectSco/DisconnectSco into BluetoothServiceBluedroid, r=echou 2013-12-03 09:56:27 +08:00
Gina Yeh
1dbb62f7d2 Bug 945149 - No event AdapterAdded is received after turning on Bluetooth, r=echou 2013-12-04 10:18:33 +08:00
Eric Chou
52c42a6be6 Bug 915533 - Remove files that were accidentally restored, r=gyeh 2013-12-03 14:45:01 +08:00
Ben Tian
ef469db7a2 Bug 944592 - Re-implement BluetoothOppManager::Disconnect(), r=echou 2013-11-29 14:13:40 +08:00
Ryan VanderMeulen
3de5acfddf Merge m-c to b2g-inbound. 2013-12-02 10:38:28 -05:00
Carsten "Tomcat" Book
4f1cc24db3 Backed out changeset 2faed81ad05f (bug 915533) for Build Bustage 2013-12-02 08:53:30 +01:00
Carsten "Tomcat" Book
47a9fe8e52 Backed out changeset 22ad4bbd595d (bug 915533) for Build Bustage 2013-12-02 08:53:16 +01:00
Ben Tian
2e7c598429 Bug 915533 - Patch 2/2: [bludroid OPP] BluetoothSocket, r=echou 2013-12-02 10:39:58 +08:00
Ben Tian
eeaacaa8cf Bug 915533 - Patch 1/2: [bludroid OPP] Move files, r=echou 2013-11-29 14:18:04 +08:00
Jamin Liu
14608576aa 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
a21c6b6e29 Bug 915533 - Patch 2/2: [bludroid OPP] BluetoothSocket, r=echou 2013-12-02 10:39:58 +08:00
Ben Tian
47bb7aa534 Bug 915533 - Patch 1/2: [bludroid OPP] Move files, r=echou 2013-11-29 14:18:04 +08:00
Ben Tian
1ad0367958 Bug 921991 - B2G BT: support multiple sim cards, r=echou, r=mrbkap 2013-11-26 14:11:06 +08:00
Jamin Liu
d613f625f0 Bug 937074 - [Bluetooth] Make sure SLC established before we set up SCO. r=echou 2013-11-26 11:28:10 +08:00
Shawn Huang
ced02707a8 Bug 939500 - [bluedroid] Avrcp 1.3 prototype, r=echou 2013-11-22 23:40:22 +08:00
Eric Chou
d2b2f6bd8c Bug 932543 - Check data size before memcpy in BluetoothOppManager, r=gyeh 2013-11-22 11:55:42 +08:00
Szu-Yu Chen [:aknow]
85de6e4a45 Bug 856553 - Part 3: Add radiostatechange in listener (bluetooth). r=gyeh 2013-11-21 09:09:01 -05:00
Shawn Huang
c93895bf4e 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
8fea4aff20 Bug 941564 - [bluedroid] Update BD address while an incoming connection established, r=echou 2013-11-21 20:17:07 +08:00
Shawn Huang
af24ad3ad4 Bug 935882 - [bluedroid] Support GetConnectedDevice API, r=echou 2013-11-21 18:12:45 +08:00
Eric Chou
3acf0d2d68 Bug 941416 - Fix regression of bug 936995, r=gyeh 2013-11-21 12:58:04 +08:00
Shawn Huang
937b91c858 Bug 935578 - Patch 3: Enable connect/disconnect, r=echou 2013-11-20 16:19:09 +08:00
Shawn Huang
de7d3246e2 Bug 935578 - Patch 2: BluetoothA2dpManager bluedroid version, r=echou 2013-11-20 16:19:09 +08:00
Shawn Huang
3308e127dd Bug 935578 - Patch 1: Separate BluetoothA2dpManager implementation for bluez/bluedroid stack, r=echou 2013-11-20 16:19:08 +08:00
Eric Chou
8855291faa Bug 936995 - Fire event Disable after Bluetooth is really disabled, r=gyeh 2013-11-20 15:01:54 +08:00
Eric Chou
fc53895714 Backed out changeset 40ecdab580b3 (bug 936995) for potential JB build error 2013-11-20 15:17:00 +08:00
Eric Chou
e6daad1cd4 Bug 936995 - Fire event Disable after Bluetooth is really disabled, r=gyeh 2013-11-20 15:01:54 +08:00
Eric Chou
5af154446f Bug 940271 - Don't fire PropertyChanged if the device address has been already in the array, r=gyeh 2013-11-19 20:13:02 +08:00
Gina Yeh
17dd18187e Bug 932914 - Broadcast AdapterAdded after adapter name is updated, r=echou 2013-11-19 15:58:48 +08:00
Ben Tian
a4e3a52112 Bug 938524 - Bluedroid HFP prototype, r=echou 2013-11-18 15:41:16 +08:00
Ben Tian
94e89deac6 Bug 938521 - Make bt interface accessible from profile managers, r=echou 2013-11-14 17:45:26 +08:00
Eric Chou
c238635a93 Bug 939669 - Append missed properties to BluetoothAdapter, r=gyeh 2013-11-19 11:12:17 +08:00
Mike Hommey
931cb49886 Bug 939632 - Remove LIBRARY_NAME for leaf libraries. r=gps
Landing on a CLOSED TREE.
2013-11-19 11:50:54 +09:00
Mike Hommey
db9e5129bc Bug 939074 - Remove most LIBXUL_LIBRARY. rs=gps 2013-11-19 11:48:10 +09:00
Mike Hommey
f0d1cd1e10 Bug 939044 - Remove most definitions of MODULE. r=mshal 2013-11-19 11:47:39 +09:00
Mike Hommey
f81885e53b Bug 935881 - Use FINAL_LIBRARY for all (fake) libraries that end up linked in a single other library. r=gps 2013-11-19 11:47:14 +09:00
Shawn Huang
ee7d258415 Bug 938529 - [bluedroid] Set BT_SCAN_MODE to Connectable after Bluetooth turned on. r=echou 2013-11-18 12:39:03 -05:00
Ben Tian
d29f02da1b Bug 936732 - Patch 2/3: BT file changes, r=khuey 2013-11-18 14:29:45 +08:00
Ben Tian
0279b76fae Bug 936732 - Patch 1/3: relocate files, r=echou 2013-11-14 17:30:32 +08:00
Eric Chou
f37223aadf Bug 933113 - Modify Pair/Unpair interface for Gaia being able to Pair/Unpair with only BD address, r=gyeh, sr=mrbkap
NFC handover is a mechanism for two devices to exchange their Bluetooth device
address with each other. Then one device would be initialize the Bluetooth
pairing process with received Bluetooth device address. However currently we
need a BluetoothDevice object for Pairing/Unpairing, but actually the address
of the Bluetooth device object is the only thing Gecko requires.
2013-11-15 17:19:31 +08:00
Ben Tian
e623b2c1ad Bug 937572 - debug build MOZ_ASSERT fails in BluetoothOppManager::Disconnect(), r=echou 2013-11-15 09:42:53 +08:00
Eric Chou
90c8be2215 Bug 937973 - Fix discoverable not working problem, r=gyeh 2013-11-14 14:51:17 +08:00
Eric Chou
74e291e0c0 Bug 936711 - Fix crash which happened at disabling Bluetooth during reconnection, r=gyeh 2013-11-12 17:37:30 +08:00
Ben Tian
ba5eed092f Bug 935573 - [bluedroid] Add Connect/Disconnect api, r=echou 2013-11-12 11:59:01 +08:00
Gregor Wagner
1aec9cc529 Backout 69acb8830b8c for real. 2013-11-11 10:40:50 -08:00
Gregor Wagner
5df0704249 Backout 26407a874057 for causing Bug 937199. 2013-11-11 10:28:56 -08:00
Ben Tian
aa1eeeceab Bug 935573 - [bluedroid] Add Connect/Disconnect api, r=echou 2013-11-11 14:16:28 +08:00
Carsten "Tomcat" Book
905fe735af merge b2g-inbound to mozilla-central 2013-11-11 12:03:04 +01:00
Ms2ger
786aa40195 No bug - Fix some style issues in DOM code. 2013-11-11 09:04:41 +01:00
Ben Tian
7287f4d0fa Bug 921991 - B2G BT: support multiple sim cards, r=echou 2013-11-08 14:41:12 +08:00
Shawn Huang
a1c09137f7 Bug 932770 - [bluedroid] Implement GetPairedDeviceInternal, r=echou 2013-11-08 23:25:20 +08:00
Gina Yeh
3e6d25c78b Bug 934891 - Remove DISCONNECTING state from A2DP, r=echou 2013-11-08 12:53:27 +08:00
Ben Tian
ef3f933806 Bug 934552 - Crash in bluetooth while monkey testing, r=echou 2013-11-06 14:26:46 +08:00
Ben Tian
3cd142b992 Bug 897782 - Support Multiple BT file transfering, r=echou 2013-11-05 15:53:10 +08:00
Gina Yeh
60e1d9d07c Bug 935368 - Wrong interface for dbus method of DefaultAdapter, r=echou 2013-11-06 19:46:23 +08:00
Shawn Huang
9b32fc9d8e Bug 932682 - [bluedroid] Support Pair/Unpair, Bond state changed callback, r=echou 2013-11-05 19:30:46 +08:00
Ryan VanderMeulen
bdb89f6681 Merge b2g-inbound to m-c. 2013-11-04 16:17:59 -05:00
Carsten "Tomcat" Book
dc3520d4b7 merge b2g-inbound to mozilla-central 2013-11-04 13:52:18 +01:00
Shawn Huang
c5092b0c54 Bug 931802 - [bluedroid] Support DeviceFound/DiscoveryStateChange callback, r=echou 2013-11-04 19:05:48 +08:00
Gina Yeh
a78e003eff Bug 933195 - Replace object path with device address, r=echou 2013-11-04 14:42:51 +08:00
Nathan Froyd
e2ede970d2 Bug 918651 - part 5 - qualify all IPDL using statements with required header; r=ehsan 2013-10-01 15:25:07 -04:00
Hsin-Yi Tsai
ac71b9a804 Bug 912849 - part5 - BT impl. r=gyeh 2013-10-28 14:48:59 +08:00
Szu-Yu Chen [:aknow]
fed3573d63 Bug 814625 - Part 9: Bluetooth: Add serviceId in listener. r=gyeh 2013-10-31 08:06:28 -04:00
Edgar Chen
dba3f9d142 Bug 926343 - Part 3: Bluetooth changes for adding clientId in nsIIccProvider. r=gyeh 2013-09-30 18:22:33 +08:00
Ryan VanderMeulen
6a6ba035dd Backed out 9 changesets (bug 814625) for desktop build bustage.
Backed out changeset a107de5616a0 (bug 814625)
Backed out changeset 416665a419f4 (bug 814625)
Backed out changeset b6fc8734864f (bug 814625)
Backed out changeset 9f5e2e44a914 (bug 814625)
Backed out changeset 17b3050df362 (bug 814625)
Backed out changeset 43a047c081c8 (bug 814625)
Backed out changeset 90bdcd099320 (bug 814625)
Backed out changeset 8957cc31cce2 (bug 814625)
Backed out changeset de45eb7a8d16 (bug 814625)
2013-10-30 15:48:39 -04:00
Szu-Yu Chen [:aknow]
3a0706dbd2 Bug 814625 - Part 9: Bluetooth: Add serviceId in listener. r=gyeh 2013-10-30 15:07:15 -04:00
Shawn Huang
537f574ab5 Bug 930853 - [Bluetooth] Support SetProperty function which enables SetName, SetDiscoverable, SetDiscoveryTimeout, r=echou 2013-10-30 19:23:39 +08:00
Shawn Huang
f06729ee5e Bug 929941- Listening bluetooth address, name, scan mode events for bluedroid stack, r=echou 2013-10-30 13:46:03 +08:00
Jessica Jong
cb27ea8e51 Bug 818353 - Part 3: DOM changes - use default client id (0) in BT. r=gyeh 2013-10-30 12:03:25 +08:00
Ed Morley
4326269d4b Merge mozilla-central and b2g-inbound 2013-10-29 16:34:46 +00:00