Birunthan Mohanathas
807e72372f
Bug 869836 - Part 4: Use EqualsLiteral instead of Equals(NS_LITERAL_STRING(...))
. r=ehsan
2014-05-22 06:48:51 +03:00
Birunthan Mohanathas
411a8639b4
Bug 869836 - Part 3: Use Append('c')
instead of AppendLiteral("c")
. r=ehsan
2014-05-22 06:48:51 +03:00
Birunthan Mohanathas
62570a8716
Bug 869836 - Part 2: Use AppendLiteral instead of Append(NS_LITERAL_STRING(...))
. r=ehsan
2014-05-22 06:48:50 +03:00
Shawn Huang
a1a6e4f921
Bug 1005901 - [bluedroid] Always do cleanup after disable. r=btian
2014-05-16 04:48:00 -04:00
Jamin Liu
d202f378ad
Bug 1003472 - If OPP manager can't get valid service channel, refresh SDP records until timeout is hit. r=shuang
...
If user tries to send a file to a device which just completes the pairing
process, the OPP manager may update SDP records when it's not ready.
It's especially likely to occur in BT file transfer with inline pairing
since OPP manager would request for a service channel to send the file when
device is just paired.
2014-05-16 14:35:20 +08:00
Thomas Zimmermann
0ea309c2d3
Bug 997137: Inherit |DroidSocketImpl| from |UnixFdWatcher|, r=echou
...
This patch converts |DroidSocketImpl| to inherit from |UnixFdWatcher|.
|UnixFdWatcher| maintains a Unix file descriptor on the I/O loop, and
replaces similar functionality in |DroidSocketImpl|.
As a side effect, all file descriptors in |DroidSocketImpl| are now
non-blocking. This does change the way how the code works, but ensures
that it doesn't block on the I/O thread.
2014-05-14 13:21:10 +02:00
Edgar Chen
529a07f45e
Bug 898445 - Part 3: Bluetooth changes for MobileConnection webidl. r=echou
2014-02-25 18:01:23 +08:00
Ben Tian
8ca90b6b5b
Bug 1003020 - Update to the latest battery level when HFP manager initializes, r=shuang
2014-04-29 19:12:36 +08:00
Chris Peterson
47a58d1945
Bug 990764 - Replace MOZ_ASSUME_UNREACHABLE in dom. r=smaug
2014-04-20 00:36:40 -07:00
Jamin Liu
2742e6b9b5
Bug 1003663 - Handle the case that user turn off BT during the middle of BT reply. r=echou, f=shuang
...
- End the session if BT is turn off during the middle of BT profile connection.
- Clear static queues(array) when BT is on.
2014-05-08 19:20:15 +08:00
Ting-Yu Lin
255d60b2dc
Bug 1006986 - Fix build fail for flame debug. r=echou
2014-05-06 22:39:00 -04:00
Jamin Liu
8da6a0a900
Bug 1003658 - Avoid to create reference cycle in BluetoothProfileController which would cause memory leak. r=echou, f=shuang
2014-05-07 10:57:27 +08:00
Jamin Liu
b21925cf86
Bug 1003657 - Don't keep reference in GetDefaultAdapterPathInternal() to avoid memory leak. r=echou, f=shuang
2014-05-06 11:45:51 +08:00
Ben Tian
8c34890c46
Bug 1003762 - [bluedroid] Notify BluetoothRilListener of service change, r=echou
2014-05-05 09:28:20 +08:00
Nathan Froyd
4c20a67b0d
Bug 1003306 - part 2 - use services::GetPermissionManager everywhere that's appropriate; r=ehsan
2014-04-29 13:27:26 -04:00
Shawn Huang
2a5fa5a83c
Bug 993954 - Check sBluetoothChild is null when closing Settings application
...
It is possible that sBluetoothChild set to nullptr and RecvNotify get called from MessageLoop.
This patch check sBluetoothChild.
2014-04-30 16:58:15 +01:00
Hsin-Yi Tsai
8eeb07c452
Bug 1000670 - part 5 - BT - impl NotifyClirModeChanged. r=echou
2014-04-24 14:53:03 +08:00
Birunthan Mohanathas
ff8ce9bd42
Bug 900908 - Part 3: Change uses of numbered macros in nsIClassInfoImpl.h/nsISupportsImpl.h to the variadic variants. r=froydnj
2014-04-27 03:06:00 -04:00
Jamin Liu
388d09ec68
Bug 990423 - [Bluetooth] Fix the incorrect condition for reporting call held status when call state changed. r=echou, f=btian
...
---
dom/bluetooth/bluez/BluetoothHfpManager.cpp | 108 ++++++++++++++++++++++++---
dom/bluetooth/bluez/BluetoothHfpManager.h | 2 +
2 files changed, 99 insertions(+), 11 deletions(-)
2014-04-25 09:59:32 +08:00
Ben Tian
2a01a642f0
Bug 997580 - Don't notify bluedroid of callstate change during transition. r=echou
2014-04-24 11:56:11 +08:00
Ben Tian
a2f858af21
Bug 993286 - Patch 3/3: Add Call.Set() function, r=echou, a=1.4+
2014-04-21 18:19:53 +08:00
Ben Tian
c55c284956
Bug 993286 - Patch 2/3: Support AT+CHLD=3 to merge calls, r=echou, a=1.4+
2014-04-24 14:55:27 +08:00
Ben Tian
c9a21cd86a
Bug 993286 - Patch 1/3: Get call setup state from call array, r=echou, a=1.4+
2014-04-24 13:56:07 +08:00
Shawn Huang
19225b54d9
Bug 997626 - [bluez] Handle RequestPairingConsent event and reply pairing confirmation directly. r=echou, f=btian
...
Consent pairing event raises under the following conditions:
1. Local IO capabilities are DisplayYesNo and remote IO capabiltiies are DisplayOnly or NoInputNoOutput.
2. Call PairingConsent callback for "incoming" request.
This patch is try to directly reply pairing confirmation for consent cases.
How to test:
1. Initialize pairing request with IO capabilities-NoInputNoOutput as
headset role to b2g phone
2. Check pairing status of bluetooth headset
2014-04-22 08:37:01 -04:00
Jocelyn Liu
2584e96f86
Bug 993289: Fix the logic while updating call setup state, f=btian, r=echou
2014-04-22 16:42:38 +08:00
Jocelyn Liu
4a7dfdd3a9
Bug 993288 - Separate BTHF_CALL_STATE_INCOMING and BTHF_CALL_STATE_WAITING for CLCC response only, for other cases, use BTHF_CALL_STATE_INCOMING for both states. r=echou
2014-04-17 16:55:45 +08:00
Jocelyn Liu
e74eac2b9d
Bug 993290 - Respond OK after receiving ATDxxx and improve readability on ProcessDialCall(). r=echou
2014-04-17 03:09:00 +02:00
Shawn Huang
2da5c33b38
Bug 994411 - [bluedroid] Ignore pending MO call index, while making MO call with bluetooth headset, r=echou
2014-04-17 17:38:28 +08:00
Thomas Zimmermann
c2a913994c
Bug 995912: Remove BLUEZ_DBUS_BASE_IFC from RawDBusConnection, r=qdot, echou
...
This patch removes the constant BLUEZ_DBUS_BASE_IFC from the file
RawDBusconnection.cpp. The constant is specific to BlueZ, and that's
where it's located now.
2014-04-17 11:16:12 +02:00
Jocelyn Liu
0364ac79ae
Bug 993280: Respond OK to HF for AT+CLCC and AT+CHLD, r=echou
2014-04-17 17:18:57 +08:00
Shawn Huang
c5c8ab722d
Bug 994411 - [bluez] Ignore pending MO call index, while making MO call with bluetooth headset, r=echou
2014-04-17 14:26:35 +08:00
Ryan VanderMeulen
04f8f51173
Merge inbound to m-c.
2014-04-15 23:26:35 -04:00
Kyle Huey
4b25f94dc9
Bug 991812: Remove uses of RefCounted<T> that live in Gecko. r=ehsan
...
--HG--
extra : rebase_source : 239ff77ec3765a3f190ed75b1645c6011e5d1dbd
2014-04-14 12:04:24 -07:00
Thomas Zimmermann
28faa38322
Bug 992922: Cleanup unused code for Bluedroid sockets
2014-04-15 15:35:00 +02:00
Thomas Zimmermann
2abf4e8c1b
Bug 992922: Move listen operation to |DroidSocketImpl|, r=echou, f=shuang
...
With this patch, the listen operation for Bluedroid sockets
runs on the I/O thread. The related interface is identical to
the one of |UnixSocketConsumer|.
2014-04-15 15:35:00 +02:00
Thomas Zimmermann
8727cde770
Bug 992922: Move connect operation to |DroidSocketImpl|, r=echou, f=shuang
...
With this patch, the connect operation for Bluedroid sockets
runs on the I/O thread. The related interface is identical to
the one of |UnixSocketConsumer|.
2014-04-15 15:35:00 +02:00
Ben Tian
3480ebd652
Bug 995061 - Patch 2/2: [bluedroid] apply macro to append named value in bluetooth service, r=echou
2014-04-11 11:52:58 +08:00
Ben Tian
0baecb5eac
Bug 995061 - Patch 1/2: [bluedroid] define and apply macro to append named value in profile managers, r=echou
2014-04-11 11:52:44 +08:00
Benoit Jacob
5ffda8542b
Bug 987305 - Refactor EnumSerializer - r=nfroyd
2014-04-14 10:17:40 -04:00
Ben Tian
4d55872d98
Bug 993278 - [bluedroid][HFP] Respond OK even if subscriber number information is empty, r=echou
2014-04-10 16:32:54 +08:00
Ben Tian
55388258bd
Bug 993275 - [Bluedroid] Ensure icon for audio service devices, r=echou
2014-04-14 09:50:47 +08:00
Ed Morley
73c827f7b3
Merge latest green inbound changeset and mozilla-central
2014-04-10 17:55:29 +01:00
Boris Zbarsky
3738611b99
Bug 993889 part 1. Remove "scope" argument from nsContentUtils::WrapNative. r=bholley
2014-04-10 00:58:41 -04:00
Ben Tian
cec5d102b0
Bug 989845 - [bluedroid] Implement KeyPressedCallback to handle HSP commands, r=echou
2014-04-09 17:44:03 +08:00
Carsten "Tomcat" Book
bcb2828d3a
Merge m-c to b2g-inbound
2014-04-09 14:47:41 +02:00
Thomas Zimmermann
973c211aac
Bug 990392: Fix comments about shared variables in BluetoothDBusService, r=echou
2014-04-09 13:59:19 +02:00
Thomas Zimmermann
108b8d4bf2
Bug 990392: Move |sControllerArray| to main thread, r=echou
...
|sControllerArray| is only being used on the main thread, but
cleared on the I/O thread. During the BlueZ shutdown, we go
through the main thread, where we can clear |sControllerArray|;
moving the variable to main thread exclusively.
2014-04-09 13:59:15 +02:00
Thomas Zimmermann
84be1199bd
Bug 990392: Move |sAdapterPath| to I/O thread, r=echou
...
|sAdapterPath| is being accessed from within the main and the
I/O thread in a possible non-thread-safe way. This patch moves
all access to the I/O thread.
2014-04-09 13:59:11 +02:00
Thomas Zimmermann
16593f085a
Bug 990392: Cleanup |GetServiceChannel| in BluetoothDBusService, r=echou
...
This patch prepares moving |sAdapterAdded| to the I/O thread. For
|GetServiceChannel| it gets pushed into task classes on the I/O
thread and the interface of these classes is cleaned up.
2014-04-09 13:59:06 +02:00
Thomas Zimmermann
0af2313965
Bug 990392: Move sAuthorizedServiceClass to I/O thread, r=echou
...
|sAuthorizedServiceClass| is being set on the main thread, but read
from within the I/O thread. Making the variable a static constant
array and moving all access to the I/O thread fixes potential race
conditions.
2014-04-09 13:59:03 +02:00