Commit Graph

1165 Commits

Author SHA1 Message Date
Bruce Sun
cca4d5bdd6 Bug 1102703 - Porting bluetooth interface of bluez 5.26 (handsfree). r=btian, f=tzimmermann 2015-01-08 11:50:21 +08:00
Bruce Sun
d1bced91fd Bug 1102703 - Porting bluetooth interface of bluez 5.26 (a2dp). r=btian, f=tzimmermann 2015-01-08 11:49:49 +08:00
Bruce Sun
c7cec9cc74 Bug 1102703 - Porting bluetooth interface of bluez 5.26 (core). r=btian, f=tzimmermann 2015-01-08 11:49:17 +08:00
Bruce Sun
c0dbb00e6e Bug 1102703 - Porting bluetooth interface of android lollipop (handsfree). r=shawnjohnjr, r=btian, r=tzimmermann 2015-01-08 11:48:21 +08:00
Bruce Sun
d5c61aa01b Bug 1102703 - Porting bluetooth interface of android lollipop (a2dp). r=shawnjohnjr 2015-01-08 11:47:42 +08:00
Bruce Sun
febc3661a2 Bug 1102703 - Porting bluetooth interface of android lollipop (core). r=btian, r=tzimmermann, r=shawnjohnjr 2015-01-08 11:47:12 +08:00
Bruce Sun
52639a51c5 Bug 1102703 - Extend internal interfaces to sync with android lollipop and bluez 5.26 (handsfree). r=btian, r=tzimmermann 2015-01-08 11:46:43 +08:00
Bruce Sun
1b4bd92d8d Bug 1102703 - Extend internal interfaces to sync with android lollipop and bluez 5.26 (a2dp). r=shawnjohnjr 2015-01-08 11:46:10 +08:00
Bruce Sun
6e48ed7475 Bug 1102703 - Extend internal interfaces to sync with android lollipop and bluez 5.26 (core). r=btian, f=tzimmermann 2015-01-08 11:44:49 +08:00
Szu-Yu Chen [:aknow]
59dcf3d87d Bug 1115603 - Part 4: Use nsITelephonyCallInfo for call data (bluetooth). r=btian 2015-01-08 16:33:51 +08:00
Giovanny Andres Gongora Granada
9f0ba888e8 Bug 1116371 - Correct #endif comment in BluetoothMessageUtils.h, r=btian 2015-01-08 14:43:10 +08:00
Thomas Zimmermann
35b067bf4b Bug 1095488: Added AVRCP support for Bluetooth daemon backend, r=shuang 2015-01-07 11:32:06 +01:00
Thomas Zimmermann
63fc34197c Bug 1095488: Added Bluetooth AVRCP interface, r=shuang 2015-01-07 11:32:05 +01:00
Thomas Zimmermann
fe7039fa24 Bug 1095488: Add Bluetooth AVRCP module, r=shuang 2015-01-07 11:32:05 +01:00
Thomas Zimmermann
2cae7e7a6f Bug 1095488: Add Bluetooth AVRCP helpers, r=shuang 2015-01-07 11:32:05 +01:00
Dave Huseby
2dd498d6d5 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
6fb6ee9265 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
efdb547089 Bug 1087847 - Make sure the Icc status in MobileConnection and IccManager are synced. r=hsinyi,smaug 2014-11-13 19:12:11 +08:00
Ben Hsu
155e93dfbd Bug 1070831 - Part 6: Clean up BluetoothRilListener. r=btian 2014-12-21 17:37:00 +01:00
Botond Ballo
16adb2810a Bug 1073081 - Fix -Wsign-compare and -Wsign-conversion warnings. r=ehsan
--HG--
extra : source : 88c58a8cc276a4691ed23fd8b8f2f6c0713b50fd
2014-11-24 19:54:33 -05:00
Botond Ballo
0315765d81 Bug 1073081 - Fix -Wdelete-non-virtual-dtor warnings by marking some classes as MOZ_FINAL. r=ehsan
--HG--
extra : source : 7a909c534cf723b252ea5b0a225a6656399b5b2e
2014-11-24 18:38:23 -05:00
Thomas Zimmermann
c49012e1db Bug 1095487: Add Blueooth A2DP support when using daemon backend, r=shuang 2014-12-11 10:53:14 +01:00
Thomas Zimmermann
6174199d2d Bug 1095487: Added Blueooth A2DP interface for daemon backend, r=shuang 2014-12-11 10:53:14 +01:00
Thomas Zimmermann
6394e66c0a Bug 1095487: Added Bluetooth A2DP module for daemon backend, r=shuang 2014-12-11 10:53:14 +01:00
Thomas Zimmermann
c7cbb3e438 Bug 1095487: Add Bluetooth A2DP helpers, r=shuang 2014-12-11 10:53:14 +01:00
Wes Kocher
8384912619 Backed out changeset bf25101e66cf (bug 1095098) for build bustage 2014-12-08 16:27:12 -08:00
Denis Volk
29c122c0d3 Bug 1095098: move do_QueryObject templates into their own header r=froydnj 2014-11-20 12:20:10 +01:00
Thomas Zimmermann
d4d6e5c1dd Bug 1105308: Merge BluetoothUtils.{cpp,h}, r=btian
This patch merges BluetoothUtils.{cpp,h} from BlueZ and Bluedroid
backends. The resulting files of the same name are located in the
generic code's directory.

This change requires a rebuild of dependency information, so the
patch touches CLOBBER as well.

--HG--
rename : dom/bluetooth/bluedroid/BluetoothUtils.cpp => dom/bluetooth/BluetoothUtils.cpp
rename : dom/bluetooth/bluedroid/BluetoothUtils.h => dom/bluetooth/BluetoothUtils.h
2014-11-28 11:49:40 +01:00
Thomas Zimmermann
9bbac52e9d Bug 1105308: Cleanup non-shared functions in Bluedroid's BluetoothUtils.{cpp,h}, r=btian
This patch moves functions out of Bluedroid's BluetoothUtils.{cpp,h}
that are specific to this backend.
2014-11-28 11:49:40 +01:00
Thomas Zimmermann
866b03d090 Bug 1105308: Cleanup non-shared functions in BlueZ' BluetoothUtils.{cpp,h}, r=btian
This patch moves functions out of BlueZ' BluetoothUtils.{cpp,h} that
are specific to this backend.
2014-11-28 11:49:40 +01:00
Thomas Zimmermann
6ec358aebb Bug 1091588: Support Handsfree profile when using Bluetooth daemon, r=shuang 2014-11-24 09:02:52 +01:00
Thomas Zimmermann
1389af013e Bug 1091588: Add Handsfree interface for Bluetooth daemon, r=shuang 2014-11-24 09:02:42 +01:00
Thomas Zimmermann
0701e3e8a1 Bug 1091588: Add Handsfree module for Bluetooth daemon, r=shuang 2014-11-24 09:02:31 +01:00
Thomas Zimmermann
d23a955c61 Bug 1091588: Add helpers for Bluetooth daemon Handsfree support, r=shuang
This patch adds helpers for packing, unpacking and converting
Handsfree values to and from Bluetooth PDUs.
2014-11-24 09:02:03 +01:00
Thomas Zimmermann
67dca89a28 Bug 1100883: Cleanup |BluetoothServiceBluedroid::AdapterStateChangedNotification|, 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-20 11:06:01 +01:00
Thomas Zimmermann
ae9b29a692 Bug 1100883: Replace most instances of |ToggleBtAck| with calls to |AcknowledgeToggleBt|, 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-20 11:06:01 +01:00
Thomas Zimmermann
eb7160da9a Bug 1100883: Move |ToggleBtAck| into |BluetoothService|, 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-20 11:06:00 +01:00
Thomas Zimmermann
8ff9ece4ee Bug 1100883: Move helpers of |BluetoothServiceBluedroid| into its namespace, r=btian 2014-11-20 11:06:00 +01:00
Shawn Huang
593f8bce45 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
41c39d8255 Bug 1079649: Use a temporary (.part) file to store incoming file. (bluetooth/bluedroid) r=btian 2014-11-10 18:53:21 +08:00
Bruce Sun
789a258906 Bug 1079649: Use a temporary (.part) file to store incoming file. (bluetooth/bluez) r=btian 2014-11-10 18:55:11 +08:00
Thomas Zimmermann
fe9d8b3837 Bug 1091577: Remove unused helpers from daemon backend, r=shawnjohnjr
This patch removes unused unpack functions, notification and
interface runnables from Bluetooth's daemon backend.
2014-11-05 15:43:07 +01:00
Thomas Zimmermann
47ba320636 Bug 1091577: Use general-purpose result runnable in Bluetooth daemon backend, r=shawnjohnjr
This patch converts all interface runnables in Bluetooth's daemon
backend by generic result runnables. Init operator classes replace
unpack functions. Init operator classes will warn about unused data
at the end of a PDU.
2014-11-05 15:43:07 +01:00
Thomas Zimmermann
8971b645fb Bug 1091577: Use general-purpose notification runnable in Bluetooth daemon backend, r=shawnjohnjr
This patch converts all notification runnables in Bluetooth's daemon
backend to use the generic implementation. Unpack functions are replaced
by init operator classes. The init operator classes also validate the
complete unpacking of a PDU and warn about unused trailing data.
2014-11-05 15:43:07 +01:00
Thomas Zimmermann
308e04ffa0 Bug 1091577: Added general-purpose notification runnables for Bluetooth, r=shawnjohnjr
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 the Bluetooth backends.

This patch adds new runnables that are independend from any backend
code or data structures.
2014-11-05 15:43:06 +01:00
Thomas Zimmermann
4360b323d1 Bug 1073548: Add support for Bluetooth daemon backend, r=shawnjohnjr 2014-11-03 13:03:49 +01:00
Thomas Zimmermann
198d7a65f7 Bug 1073548: Implement Socket module for Bluetooth daemon, r=shawnjohnjr
This patch adds support for the Bluetooth daemon's Socket module,
which provides OPP functionality.
2014-11-03 13:03:49 +01:00
Thomas Zimmermann
6aa9274df2 Bug 1073548: Implement Bluetooth Core module for Bluetooth daemon, r=shawnjohnjr
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-03 13:03:49 +01:00
Thomas Zimmermann
099bc5cc64 Bug 1073548: Add core interfaces and Setup module for Bluetooth daemon, r=shawnjohnjr
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-03 13:03:49 +01:00
Thomas Zimmermann
d2fac1048c Bug 1073548: Support Bluetooth daemon in build system, r=mh+mozilla 2014-11-03 13:03:48 +01:00