Ben Tian
859092caad
Bug 997580 - Don't notify bluedroid of callstate change during transition. r=echou
2014-04-24 11:56:11 +08:00
Ben Tian
44c4e14766
Bug 993286 - Patch 3/3: Add Call.Set() function, r=echou, a=1.4+
2014-04-21 18:19:53 +08:00
Ben Tian
19a4883c27
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
0d89f014b5
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
Jocelyn Liu
12a0e3559f
Bug 993289: Fix the logic while updating call setup state, f=btian, r=echou
2014-04-22 16:42:38 +08:00
Jocelyn Liu
446990d843
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
9997af6979
Bug 993290 - Respond OK after receiving ATDxxx and improve readability on ProcessDialCall(). r=echou
2014-04-17 03:09:00 +02:00
Shawn Huang
362d61b71d
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
Jocelyn Liu
30a8f4051e
Bug 993280: Respond OK to HF for AT+CLCC and AT+CHLD, r=echou
2014-04-17 17:18:57 +08:00
Thomas Zimmermann
a66cd36350
Bug 992922: Cleanup unused code for Bluedroid sockets
2014-04-15 15:35:00 +02:00
Thomas Zimmermann
d777760bcf
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
3dc34550ea
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
0a4cacfaa0
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
b42332e388
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
Ben Tian
f9baee610f
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
e4e1a45e59
Bug 993275 - [Bluedroid] Ensure icon for audio service devices, r=echou
2014-04-14 09:50:47 +08:00
Ben Tian
08943460b4
Bug 989845 - [bluedroid] Implement KeyPressedCallback to handle HSP commands, r=echou
2014-04-09 17:44:03 +08:00
Shawn Huang
c5b77ab127
Bug 977023 - [bluedroid][KK] AVRCP 1.3/1.4 Pass Through command for fastwd and rewind command. r=gyeh
2014-04-04 08:19:48 -04:00
Ben Tian
81be826851
Bug 984284 - [m-c] a2dp headset icon show on the notification bar, r=echou
2014-03-26 17:02:40 +08:00
Thomas Zimmermann
a910cb0a34
Bug 985949: Correctly forget pointer references in Bluedroid backend, r=echou
...
This patch fixes a regression from bug 967364. An nsRefPtr is now
correctly cleared by |forget| without causing a crash.
2014-03-24 10:44:29 +01:00
Shawn Huang
28433a4df0
Bug 986352 - [bluedroid] Fix hfp-fallback build break due to miss Reset() for BluetoothHfpManager, r=echou
2014-03-21 17:12:16 +08:00
Thomas Zimmermann
f76d832ae7
Bug 979370: Remove |BluetoothService::IsEnabledInternal|, r=echou
...
The method |IsEnabledInternal| of |BluetoothService| is not used
any longer. This patch removes it.
2014-03-14 10:50:29 +01:00
Thomas Zimmermann
06c550c2fb
Bug 979370: Move Bluetooth thread into BlueZ backend, r=echou
...
The Bluetooth thread is only necessary for starting and stopping
Bluetooth with the BlueZ backend. Bluedroid implements its multi-
threading internally.
This patch moves the Bluetooth thread into the BlueZ backend. Two
runnables implement the starting and stopping code. The methods
|StartInternal| and |StopInternal| of |BluetoothDBusService| each
create an instance of the respective runnable and send it to the
internal BT thread. The code in |BluetoothService| runs completely
on the main thread.
For the Bluedroid back end, the patch changes a number of thread
assertions.
2014-03-14 10:49:33 +01:00
Shawn Huang
9c0179433d
Bug 976485 - [bluedroid] Fix sometimes Avrcp 1.3 play status is out of sync. r=gyeh
2014-03-13 09:12:41 -04:00
Shawn Huang
e44679a57d
Bug 979160 - Outgoing connection failure shall trigger OnConnect instead of OnDisconnect, r=echou
2014-03-10 10:33:32 +08:00
Thomas Zimmermann
99747bb5a9
Bug 978809: Remove sToggleBtMonitor from Bluedroid backend, r=echou
...
When enabling or disabling Bluetooth, the Bluedroid backend waits
on sToggleBtMonitor until a BT adapter has been activated. Once
the monitor gets notified, the backend sends a ToggleBtAck runnable
to the main thread.
This patch removes sToggleBtMonitor from the Bluetooth Bluedroid
backend. Instead of signalling the monitor's notification, the
Bluedroid handler function sends the ToggleBtAck directly.
2014-03-06 12:43:35 +01:00
Eric Chou
73b0511a00
Bug 976943 - Replace OnConnect/OnDisconnect with one function, f=btian, r=gyeh
...
In BluetoothProfileController, it's meaningless to separate OnConnect
and OnDisconnect since the following steps would be the same for both
cases. Therefore I introduced a function called NotifyCompletion() for
each profile manager to report the completion of connecting/disconnecting
operations.
2014-03-06 19:26:28 +08:00
Eric Chou
54e43ece14
Bug 976943 - Add error handing for connect/disconnect process, f=btian, r=gyeh
2014-03-06 19:26:22 +08:00
Shawn Huang
2406f1830e
Bug 951634: Add TimerCallback in Profile Controller, r=gyeh
2014-01-29 19:13:10 +08:00
Thomas Zimmermann
a8ee0089df
Bug 977146: Push ToggleBtAck into implementations of {Start|Stop}Internal, r=echou
...
The methods {Start|Stop}Internal for BlueZ and Bluedroid now send
ToggleBtAck to signal completeness of the operation.
The current patch allows for further cleanups in the BlueZ code. It
does not change the semantics or code flow.
2014-03-03 13:07:17 +01:00
Ben Tian
2a9faeacea
Bug 939672 - Patch 2/2: Move NS_DECL_ISUPPORTS and NS_DECL_NSIOBSERVER into BluetoothProfileManagerBase.h
2014-02-20 18:15:47 +08:00
Ben Tian
ccbb3da8ce
Bug 939672 - Patch 1/2: [bluedroid] Add fallback BluetoothHfpManager, r=gyeh
...
--HG--
rename : dom/bluetooth/bluedroid/BluetoothHfpManager.cpp => dom/bluetooth/bluedroid/hfp/BluetoothHfpManager.cpp
rename : dom/bluetooth/bluedroid/BluetoothHfpManager.h => dom/bluetooth/bluedroid/hfp/BluetoothHfpManager.h
2014-02-25 11:37:37 +08:00
Ben Tian
dd16b6a00e
Bug 972732 - Patch 1/2: Remove bluez/linux and bluedroid/gonk folders, r=echou
...
--HG--
rename : dom/bluetooth/bluedroid/gonk/BluetoothServiceBluedroid.cpp => dom/bluetooth/bluedroid/BluetoothServiceBluedroid.cpp
rename : dom/bluetooth/bluedroid/gonk/BluetoothServiceBluedroid.h => dom/bluetooth/bluedroid/BluetoothServiceBluedroid.h
rename : dom/bluetooth/bluez/linux/BluetoothDBusService.cpp => dom/bluetooth/bluez/BluetoothDBusService.cpp
rename : dom/bluetooth/bluez/linux/BluetoothDBusService.h => dom/bluetooth/bluez/BluetoothDBusService.h
2014-02-25 10:38:51 +08:00
Sam Joch
c47f9b1be2
Bug 968215 - SettingsService needs to have a callback when transaction are completed. r=bent
2014-02-07 12:19:58 +01:00
Eric Chou
b095e499cf
Bug 962310 - Support in-process bt file transfer, f=bent, r=gyeh
...
Currently if an app which lives in chrome process calls SendFile()
to send a file via Bluetooth, it would crash.
2014-02-11 10:07:23 +08:00
Kyle Huey
b468137875
Bug 965498 - Don't lose an already_AddRefed<T> and leak blobs in bluetooth. r=qdot
2014-01-29 17:03:51 -05:00
Ben Tian
237dfc96b7
Bug 957949 - [HFP] Add B2G common bluedroid config file, r=echou
2014-01-15 11:50:27 +08:00
Ben Tian
7e13cdc02c
Bug 921999 - Bluetooth Device connection status in Settings is incorrect if remote headset restores connection, r=gyeh
2014-01-23 10:46:45 +08:00
Ryan VanderMeulen
33dcbbf27e
Merge m-c to inbound.
2014-01-16 15:07:22 -05:00
Ryan VanderMeulen
208917083a
Merge inbound to m-c.
2014-01-16 15:06:12 -05:00
Terrence Cole
3e141bbf5e
Bug 959787 - Handlify several JSAPI interfaces that can GC, Part 3; r=sfink
...
--HG--
extra : rebase_source : ace7b0fa6ba93acbf0ec8ecaeb68ffa287a33665
2014-01-16 09:48:58 -08:00
Shawn Huang
9639f9ac86
Bug 953034 - Part 1: Reply RegisterNotification event EVENT_TRACK_CHANGED with correct parameter whether a track is selected or not. r=gyeh
2014-01-16 08:39:14 -05:00
Tom Schuster
5e3191afd2
Bug 939294 - Change xpidl jsval to handles. r=gabor,bz,khuey,bsmedberg,terrence
2014-01-09 18:39:36 +01:00
Ben Tian
b50cd00092
Bug 948337 - create BluetoothHfpManagerBase for audio manager access
2014-01-13 13:58:43 +08:00
Ben Tian
bca0e37677
Bug 956258 - [cleanup] Patch 2/2: reduce warnings and remove cancel_discovery() in SendFile(), r=echou
2014-01-03 17:25:04 +08:00
Shawn Huang
0f6916429a
Bug 946240 - [Bluetooth][gonk-kk] Add flags to support different AVRCP profile version. r=echou
2014-01-08 09:32:19 -05:00
Birunthan Mohanathas
dfbad43639
Bug 784739 - Switch from NULL to nullptr in remaining directories; r=ehsan
...
--HG--
extra : rebase_source : 1ff19b2c8fd0e77fa8e822f5007a9fa3a6b6d474
2014-01-06 10:06:04 -05:00
Ehsan Akhgari
eaa7491d77
Bug 927728 - Part 1: Replace PRUnichar with char16_t; r=roc
...
This patch was automatically generated by the following script:
#!/bin/bash
# Command to convert PRUnichar to char16_t
function convert() {
echo "Converting $1 to $2..."
find . ! -wholename "*nsprpub*" \
! -wholename "*security/nss*" \
! -wholename "*modules/libmar*" \
! -wholename "*/.hg*" \
! -wholename "obj-ff-dbg*" \
! -name prtypes.h \
! -name Char16.h \
-type f \
\( -iname "*.cpp" \
-o -iname "*.h" \
-o -iname "*.c" \
-o -iname "*.cc" \
-o -iname "*.idl" \
-o -iname "*.ipdl" \
-o -iname "*.ipdlh" \
-o -iname "*.mm" \) | \
xargs -n 1 sed -i -e "s/\b$1\b/$2/g"
}
convert PRUnichar char16_t
2014-01-04 10:02:17 -05:00
Ben Tian
b30d9c1665
Bug 947870 - Assertion in BluetoothOppManager::CreateFile (bluedroid), r=echou
2013-12-23 16:47:12 +08:00
Ben Tian
90fe54e775
Bug 939022 - BluetoothUtils for bluedroid. Patch 2/3: Modify files, r=echou
2013-12-23 11:24:11 +08:00