Commit Graph

278 Commits

Author SHA1 Message Date
Thomas Zimmermann
a01f7739b4 Bug 1123077: Protect PROPERTY_REMOTE_VERSION_INFO by ANDROID_VERSION, r=shuang 2015-02-03 12:26:56 +01:00
Ben Tian
4a78f1b54b Bug 1128797 - [bluetooth2] Fix build break on emulators, r=shuang 2015-02-03 12:02:07 +08:00
Ben Tian
8d30181595 Bug 1106017 - Patch 2/2: Merge BluetoothUtils.{cpp,h}, r=tzimmermann
--HG--
rename : dom/bluetooth2/bluedroid/BluetoothUtils.cpp => dom/bluetooth2/BluetoothUtils.cpp
rename : dom/bluetooth2/bluedroid/BluetoothUtils.h => dom/bluetooth2/BluetoothUtils.h
2015-02-03 10:06:53 +08:00
Ben Tian
91eb52fd5b Bug 1106017 - Patch 1/2: Cleanup non-shared functions in BlueZ' BluetoothUtils.{cpp,h}, r=tzimmermann 2015-02-02 12:03:11 +08:00
Thomas Zimmermann
ad45e70877 Bug 1118693: Added AVRCP support for Bluetooth daemon backend (bluetooth2/), r=btian 2015-01-30 10:05:48 +01:00
Thomas Zimmermann
d0d2425bd1 Bug 1118693: Added Bluetooth AVRCP interface (under bluetooth2/), r=btian 2015-01-30 10:05:48 +01:00
Thomas Zimmermann
f4a5685a22 Bug 1118693: Add Bluetooth AVRCP module (under bluetooth2/), r=btian 2015-01-30 10:05:48 +01:00
Thomas Zimmermann
57eed9ca42 Bug 1118693: Add Bluetooth AVRCP helpers (under bluetooth2/), r=btian 2015-01-30 10:05:48 +01:00
Jamin Liu
21112546e2 Bug 1121404 - Cache addresses of bonded devices and notify adapter properly. r=btian 2015-01-29 15:49:53 +08:00
Jocelyn Liu
8799c4f27b Bug 1126151 - Fix build break resulting from bug 1125356. r=shuang 2015-01-26 22:28:00 -05:00
Thomas Zimmermann
cdf296e1bb Bug 1110049: Add Blueooth A2DP support when using daemon backend (under bluetooth2/), r=btian 2015-01-26 18:39:09 +01:00
Thomas Zimmermann
5906dfd40d Bug 1110049: Added Blueooth A2DP interface for daemon backend (under bluetooth2/), r=btian 2015-01-26 18:39:09 +01:00
Thomas Zimmermann
a5d441e42c Bug 1110049: Added Bluetooth A2DP module for daemon backend (under bluetooth2/), r=btian 2015-01-26 18:39:08 +01:00
Thomas Zimmermann
105f2a4a7a Bug 1110049: Add Bluetooth A2DP helpers (under bluetooth2/), r=btian 2015-01-26 18:39:08 +01:00
Tom Schuster
66ad9a2e49 Bug 1125356 - Use JS_NewPlainObject in the browser. r=bz 2015-01-24 16:38:08 +01:00
Carsten "Tomcat" Book
935a218dcb merge b2g-inbound to mozilla-central a=merge 2015-01-20 12:12:12 +01:00
Nicholas Nethercote
cc06604267 Bug 1123527 - Fix syntax error in BT_WARNING and BT_LOGD. r=btian.
cppcheck identified the extra ')' at the end of these macros. This code must
not be compiled in any of our standard configurations.

--HG--
extra : rebase_source : 4044d377e3a15ef725ac276ab54a192df63a8eb6
2015-01-19 19:12:43 -08:00
Jamin Liu
fed4403689 Bug 1119734 - Delay registering Bluetooth signal handler if pairing event handlers haven't been attached. r=btian 2015-01-20 09:52:41 +08:00
Ben Tian
313c39fbfe Bug 1121334 - [bluetooth2] Append device name to BluetoothDevice in BluetoothPairingEvent, r=shuang, f=jaliu 2015-01-16 10:53:55 +08:00
Ms2ger
b83d21c58c Bug 914067 - Remove JSVAL_VOID from dom/; r=jst 2015-01-14 08:59:06 +01:00
Jamin Liu
df265548a3 Bug 1120774 - Include a header file for nsITelephonyCallInfo in bluetooth2/BluetoothRilListener.h. r=btian 2015-01-13 15:05:32 +08:00
Masatoshi Kimura
bf312ad056 Bug 1120062 - Part 1: Remove most Nullptr.h includes. r=waldo 2015-01-11 11:34:52 +09:00
Ben Tian
a2cbd8e9e6 Bug 1118163 - Restore received file for small size (1-packet) file, r=shuang 2015-01-08 18:11:37 +08:00
Szu-Yu Chen [:aknow]
741ad71bdd Bug 1115603 - Part 4: Use nsITelephonyCallInfo for call data (bluetooth). r=btian 2015-01-08 16:33:51 +08:00
Giovanny Andres Gongora Granada
cb3533a9d3 Bug 1116371 - Correct #endif comment in BluetoothMessageUtils.h, r=btian 2015-01-08 14:43:10 +08:00
Dave Huseby
83a6796724 Bug 1107681 - fix up the dom uses of WrapptedJSToDictionary to use the cx-less interface. r=bholley 2014-12-29 11:56:00 +01:00
Jamin Liu
3988677a6b Bug 1088527 - Modify BluetoothOppManager.IsConnected to indicate whether profile is connected or not. r=btian
BluetoothOppManager.IsConnected() couldn't represent the connection status
of Opp profile since it only return true if there is an ongoing
file-transfer session.

This function was used to named |IsTransferring()| in Bug 827267, however,
it was renamed to |IsConnected()| when Bug 842948 landed.
2014-12-26 16:58:11 +08:00
Edgar Chen
23f6b7be43 Bug 1087847 - Make sure the Icc status in MobileConnection and IccManager are synced. r=hsinyi,smaug 2014-11-13 19:12:11 +08:00
Jamin Liu
ddc5bebb10 Bug 1096266 - Avoid to create Bluetooth profiles on content process since HFP manager need permission to create setting lock. r=shuang, f=btian 2014-12-25 14:46:37 +08:00
Ben Hsu
42d775afda Bug 1070831 - Part 6: Clean up BluetoothRilListener. r=btian 2014-12-21 17:37:00 +01:00
Jamin Liu
4cb966142e Bug 1100818 - Launch bluetooth certified app by sending system message if it's not ready for receiving BluetoothPairingEvent. r=btian 2014-12-19 11:12:33 +08:00
Wes Kocher
126b4f108e Backed out changeset bf25101e66cf (bug 1095098) for build bustage 2014-12-08 16:27:12 -08:00
Denis Volk
0f94bddfc8 Bug 1095098: move do_QueryObject templates into their own header r=froydnj 2014-11-20 12:20:10 +01:00
Thomas Zimmermann
0fd8a33278 Bug 1103872: Support Handsfree profile when using Bluetooth daemon (under bluetooth2/), r=btian 2014-11-28 11:37:47 +01:00
Thomas Zimmermann
f1c6c7ae79 Bug 1103872: Add Handsfree interface for Bluetooth daemon (under bluetooth2/), r=btian 2014-11-28 11:37:47 +01:00
Thomas Zimmermann
e7723624c9 Bug 1103872: Add Handsfree module for Bluetooth daemon (under bluetooth2/), r=btian 2014-11-28 11:37:47 +01:00
Thomas Zimmermann
28c30fed04 Bug 1103872: Add helpers for Bluetooth daemon Handsfree support (under bluetooth2/), r=btian
This patch adds helpers for packing, unpacking and converting
Handsfree values to and from Bluetooth PDUs.
2014-11-28 11:37:46 +01:00
Thomas Zimmermann
bd5f4fc799 Bug 1102161: Cleanup |BluetoothServiceBluedroid::AdapterStateChangedNotification| (under bluetooth2/), r=btian
This patch replaces |ToggleBtAck| with |AcknowledgeToggleBt| in
|BluetoothServiceBluedroid::AdapterStateChangedNotification| and
cleans up the remaining runnables used by this method.

All runnables need to be handled in the same patch, because the
order of operation must not be changed.
2014-11-28 11:18:15 +01:00
Thomas Zimmermann
67e7eb5b54 Bug 1102161: Replace most instances of |ToggleBtAck| with calls to |AcknowledgeToggleBt| (under bluetooth2/), r=btian
|AcknowledgeToggleBt| completes a Bluetooth start or stop operation
in the context of |BluetoothService|; That was done by |ToggleBtAck|
before.

This patch replaces |ToggleBtAck| with calls to |AcknowledgeToggleBt|
in |BluetoothServiceBluedroid| for all the trivial cases.
2014-11-28 11:18:15 +01:00
Thomas Zimmermann
c0dd5f6357 Bug 1102161: Move |ToggleBtAck| into |BluetoothService| (under bluetooth2/), r=btian
|ToggleBtAck| completes a start of stop operation on the main thread.

This patch moves the runnable's functionality into |BluetoothService|
and makes it available for methods running on the main thread.
2014-11-28 11:18:15 +01:00
Thomas Zimmermann
c7eed9ce1c Bug 1102161: Move helpers of |BluetoothServiceBluedroid| into its namespace (under bluetooth2/), r=btian 2014-11-28 11:18:15 +01:00
Thomas Zimmermann
9bd9aa53a8 Bug 1091575: Add support for Bluetooth daemon backend (under bluetooth2/), r=btian 2014-11-14 10:04:34 +01:00
Thomas Zimmermann
4f56ee0d82 Bug 1091575: Implement Socket module for Bluetooth daemon (under bluetooth2/), r=btian
This patch adds support for the Bluetooth daemon's Socket module,
which provides OPP functionality.
2014-11-14 10:04:34 +01:00
Thomas Zimmermann
6ff9e20ab8 Bug 1091575: Implement Bluetooth Core module for Bluetooth daemon (under bluetooth2/), r=btian
This patch adds support for the Bluetooth daemon's Core module. It
provides the basic Bluetooth functionality, such as searching and
pairing with devices, and accessing device properties.
2014-11-14 10:04:34 +01:00
Thomas Zimmermann
2b6d77373a Bug 1091575: Add core interfaces and Setup module for Bluetooth daemon (under bluetooth2/), r=btian
This patch adds the core interfaces and the Setup module for
the Bluetooth Daemon. The Setup module implements commands
for enabling and disabling Bluetooth profiles in the daemon.
2014-11-14 10:04:33 +01:00
Thomas Zimmermann
6568591a99 Bug 1091575: Added general-purpose notification runnables for Bluetooth (under bluetooth2/), r=btian
A backend notification runnable in Bluetooth is used to transfer
a notification from the I/O thread to the main thread; an interface
runnable transfers and executes a result handler. Both are currently
implemented by Bluetooth backends.

This patch adds new runnables that are independend from any backend
code or data structures.
2014-11-14 10:04:33 +01:00
Thomas Zimmermann
b2a41bba13 Bug 1091575: Cleanup Bluetooth's CONVERT macro (under bluetooth2/), r=btian
The patch moves the array handling out of Bluetooth's CONVERT
macro. The change allows the use of the functionality in non-
conversion code.
2014-11-14 10:04:33 +01:00
Shawn Huang
042f661de2 Bug 1096194 - Responding Enhanced call control with ERROR if enhanced call control is not supported, r=btian 2014-11-12 11:15:21 +08:00
Bruce Sun
9aa9fd587b Bug 1079649: Use a temporary (.part) file to store incoming file. (bluetooth2/bluedroid) r=btian 2014-11-10 18:55:50 +08:00
Bruce Sun
0fb740de24 Bug 1079649: Use a temporary (.part) file to store incoming file. (bluetooth2/bluez) r=btian 2014-11-10 18:56:24 +08:00