Commit Graph

500 Commits

Author SHA1 Message Date
Gina Yeh
0ce1c300fe Bug 830213 - Modify function NotifyStatusChanged in BluetoothHfpManager, r=echou 2013-05-11 14:06:16 +08:00
Shawn Huang
d5b9ba0b02 Bug 870304: Fix misssing icon when getting paired/connected list, r=echou 2013-05-11 00:03:55 +08:00
Gina Yeh
bdd57e7f0f Bug 830213 - Patch 3: Remove BluetoothScoManager, r=echou 2013-05-10 19:03:25 +08:00
Gina Yeh
0d6b87eddd Bug 830213 - Patch 2: Implementation of ConnectSco/DisconnectSco/IsScoConnected in BluetoothHfpManager, r=echou, sr=mrbkap 2013-05-10 19:01:10 +08:00
Gina Yeh
4fada6d52b Bug 830213 - Patch 1: Add ConnectSco, DisconnectSco, IsScoConnected in nsIDOMBluetoothAdapter, r=echou, sr=mrbkap 2013-05-10 18:58:59 +08:00
Shawn Huang
34058fefb1 Bug 869306: Update call direction if call state changes, r=echou 2013-05-10 17:47:16 +08:00
Hsin-Yi Tsai
ebbd3163f6 Bug 869306 - Add call.isOutgoing for BT Cert. r=allstars.chh 2013-05-08 18:39:05 +08:00
Eric Chou
d33055ad80 Bug 860166 - New mechanism for establishing outboung Bluetooth connection, r=mrbkap
Things we have done in this patch:

1. Make BluetoothHfpManager/BluetoothOppManager implement BluetoothProfileManagerBase
2. Add function BluetoothService::GetServiceChannel()
3. Once GetServiceChannel() is done, callback Bluetooth*Manager::OnGetServiceChannel() will be invoked
4. Remove unused function BluetoothService::GetSocketViaService()
2013-05-10 14:39:12 +08:00
Eric Chou
e8b491688d Bug 860166 - Create new class BluetoothProfileManagerBase, r=mrbkap
BluetoothProfileManagerBase is a base class of Bluetooth profile managers.
It will be a generic interface declaring basic functions that all profile
managers should implement, such as Connect(), Disconnect() and IsConnected().
Currently there is only one callback function OnGetServiceChannel(), which
will be called after calling BluetoothService::GetServiceChannel().
2013-05-10 14:39:09 +08:00
Shawn Huang
f463a1089c Bug 869337 - Fix missing At comman reply OK after +COPS, r=gyeh, r=echou 2013-05-10 13:46:50 +08:00
Eric Chou
3969d171c7 Bug 869296 - New mechanism to deal with AT commands 'AT+BLDN' and 'ATD>n', r=gyeh
According to HFP spec, when we receive AT command 'AT+BLDN', we shall respond
with:

  1. 'OK' if the call history is not empty. An outgoing call would be made
  2. 'ERROR' if the call history is empty. No call would be made.

However, with current implementation, we are unable to know whether the call
history is empty or not in Gecko. Therefore I introduce a solution, using a task
and a flag to decide if a call is made after AT+BLDN is received, which may not
be perfect but reliable, easy to understand and easy to implement.
2013-05-09 22:10:28 +08:00
Eric Chou
0c97e63278 Bug 869296 - Do 'Last Number Redial' when we receive ATD>n, r=gyeh 2013-05-09 22:10:28 +08:00
Eric Chou
2a8d3074cf Bug 869332 - Don't reset call status while receiving an unhandled CallStateChanged event, r=gyeh 2013-05-08 14:16:51 +08:00
David Zbarsky
e6b1eb46b4 Bug 866450 Part 2: Fix rooting hazards under content/ and dom/ r=bz 2013-05-02 05:12:46 -04:00
Eric Chou
fe4455f951 Bug 866615 - Modify the nsDeviceStorage type from 'movies' to 'videos', r=dougt
From 19f4e6e369439a1626fbc69ac2dd72b63e56d397 Mon Sep 17 00:00:00 2001
2013-04-29 17:10:30 +08:00
Gina Yeh
2864f876ff Bug 850157 - Add GetConnectedDevices() in nsIDOMBluetoothAdapter.idl, r=echou, sr= mrbkap 2013-04-26 18:48:21 +08:00
Eric Chou
e3926e8f4d Bug 864575 - Notify all observers of file-changing at the right time, r=gyeh
When we receive multiple files in a row, we need to notify observers of
file-changing whenever a file is completely received. Currently we only
send one notification at the end of the entire session.
2013-04-26 18:09:04 +08:00
Eric Chou
084a1b39cc Bug 817972 - Make Gecko Bluetooth capable of queueing file-sending requests, r=gyeh 2013-04-26 18:09:00 +08:00
Dave Hylands
13c9965087 Bug 860934 - Use relative paths when handling device storage r=dougt 2013-04-18 16:13:23 +02:00
David Zbarsky
f4478a4b6b [Bug 857884] Use dom::EventTarget more instead of nsIDOMEventTarget Part 6 r=Ms2ger 2013-04-19 18:18:33 -04:00
Gina Yeh
c1d82b4506 Bug 863620 - Followup of bug 848414, r=echou 2013-04-19 14:40:51 +02:00
Eric Chou
970b136c4d Bug 860166 - Revice AT command handler for Headset profile (HSP), r=gyeh 2013-04-19 17:08:06 +08:00
Eric Chou
a7bc2c708b Bug 860166 - Use two server sockets to listen to both HFP and HSP services, r=gyeh, r=mrbkap 2013-04-19 17:08:00 +08:00
John Lin
6ba6195024 Bug 860075 - Avoid duplicate BT signal observer registration from child process. r=echou, r=gyeh 2013-04-19 16:40:56 +08:00
Ryan VanderMeulen
5e0f181410 Backed out changeset 8f7ef60b6f5a (bug 860934) for mochitest asserts and crashes. 2013-04-18 12:02:27 -04:00
Gina Yeh
8cc7dd41de Bug 859727 - Remove routing logic from BluetoothScoManager, r=echou, r=rlin 2013-04-18 17:41:17 +02:00
Dave Hylands
defe3f16b6 Bug 860934 - Use relative paths when handling device storage r=dougt 2013-04-18 16:13:23 +02:00
Kyle Machulis
e77f5f1a14 Bug 862462 - Make sure BluetoothAdapter unroots before destruction; r=mrbkap 2013-04-16 14:54:00 -07:00
Kyle Machulis
02a78ca57a Bug 861980 - Change sockopt length to be a socklen_t; r=echou 2013-04-16 14:54:00 -07:00
Boris Zbarsky
774766d13e Bug 835643 part 4. Put in place all the infrastructure to switch EventListener to WebIDL codegen. r=smaug 2013-04-16 17:16:08 -04:00
Mike Shal
77cdb6567d Bug 846634 - Part 2: Move EXPORTS to moz.build; r=joey 2013-04-16 15:24:43 -04:00
Gina Yeh
510eab17b7 Bug 857896 - Convert device property "Connected" into a boolean if bluez returns a two-byte array, r=echou,qdot 2013-04-16 11:10:29 +02:00
Eric Chou
e909254f82 Bug 861085 - Enable/Disable Bluetooth based on mozSettings value at startup, r=gyeh, r=qdot 2013-04-16 11:02:23 +08:00
Eric Chou
d18ca310ca Bug 823803 - Manage two server sockets (RFCOMM/EL2CAP) in BluetoothOppManager, r=mrbkap, r=gyeh
In order to solve the problem, BluetoothOppManager should maintain
two server sockets at the same time, one is RFCOMM socket, another
is EL2CAP socket.
2013-04-12 18:45:39 +08:00
Eric Chou
6e7344ce22 Bug 823803 - Add L2CAP/EL2CAP Socket support, r=qdot, r=gyeh
This version of BlueZ from Code Aurora has added GOEP_PSM to Object
Push Profile service record, which means that remote devices may
connect with us via both L2CAP and RFCOMM. This patch completes
L2CAP/EL2CAP socket implementation.
2013-04-12 18:45:37 +08:00
Gina Yeh
80586339fa Bug 859727 - Should set force to FORCE_NONE after Sco is disconnected, r=echou 2013-04-12 16:27:21 +08:00
Kyle Machulis
71b1038b68 Bug 844705 - Add comment to mReadFileThread. r=mrbkap 2013-04-09 12:11:00 -04:00
Eric Chou
1b7aa14ffc Bug 851046: Patch 9 - Small misc fixes; r=mrbkap 2013-04-04 17:56:16 -07:00
Eric Chou
2d0a7c72d4 Bug 851046: Patch 8 - Add BluetoothSocket* as an argument of callback functions in BluetoothSocketObserver; r=mrbkap 2013-04-04 17:55:55 -07:00
Eric Chou
a74626221d Bug 851046: Patch 7 - Remove function ListenSocketViaService(); r=mrbkap 2013-04-04 17:55:34 -07:00
Eric Chou
f8e8e5baf5 Bug 851046: Patch 6 - Apply BluetoothSocket to BluetoothScoManager; r=mrbkap 2013-04-04 17:54:43 -07:00
Eric Chou
e667f57802 Bug 851046: Patch 5 - Apply BluetoothSocket to BluetoothHfpManager; r=mrbkap 2013-04-04 17:54:22 -07:00
Eric Chou
c91b2f0574 Bug 851046: Patch 4 - Apply BluetoothSocket to BluetoothOppManager; r=mrbkap 2013-04-04 17:53:08 -07:00
Eric Chou
28c1a3205a Bug 851046: Patch 3 - Replace (Bluetooth*Managers)->CloseSocket() with (Bluetooth*Managers)->Disconnect(); r=mrbkap 2013-04-04 17:52:48 -07:00
Eric Chou
701eb23509 Bug 851046: Patch 2 - New Class: BluetoothSocket; r=mrbkap 2013-04-04 17:52:12 -07:00
Eric Chou
223c009a60 Bug 851046: Patch 1 - New interface: BluetoothSocketObserver; r=mrbkap 2013-04-04 17:51:35 -07:00
Matt Brubeck
79a6cd1876 Back out bug 851046 because of rebase problems 2013-04-04 17:45:06 -07:00
Eric Chou
a71c18ea3c Bug 851046: Patch 9 - Small misc fixes; r=mrbkap
--HG--
extra : rebase_source : 12eb0cc3cdd6f8773ae9e503267dbf643f767cfc
2013-04-04 17:25:45 -07:00
Eric Chou
adebe2a8df Bug 851046: Patch 8 - Add BluetoothSocket* as an argument of callback functions in BluetoothSocketObserver; r=mrbkap
--HG--
extra : rebase_source : 0c3e6e78f59b83faf7c81892974505caa1b1723a
2013-04-04 17:25:44 -07:00
Eric Chou
616ce7b65f Bug 851046: Patch 7 - Remove function ListenSocketViaService(); r=mrbkap
--HG--
extra : rebase_source : eb7d4a12566722c759c9badda579fe66ef689ff1
2013-04-04 17:25:44 -07:00
Eric Chou
a062954a28 Bug 851046: Patch 6 - Apply BluetoothSocket to BluetoothScoManager; r=mrbkap
--HG--
extra : rebase_source : 1b005af7999f8136a2d503e708d255c5a8ed8eb9
2013-04-04 17:25:44 -07:00
Eric Chou
7a5724f9f8 Bug 851046: Patch 5 - Apply BluetoothSocket to BluetoothHfpManager; r=mrbkap
--HG--
extra : rebase_source : ec6e75948230e4b94d2d539833dc9899444d9afe
2013-04-04 17:25:44 -07:00
Eric Chou
143a369f92 Bug 851046: Patch 4 - Apply BluetoothSocket to BluetoothOppManager; r=mrbkap
--HG--
extra : rebase_source : 86f3d7acbfa097f92a2731d49ff5298ab4ad7a7c
2013-04-04 17:25:44 -07:00
Eric Chou
4dcbd2a0c8 Bug 851046: Patch 3 - Replace (Bluetooth*Managers)->CloseSocket() with (Bluetooth*Managers)->Disconnect(); r=mrbkap
--HG--
extra : rebase_source : 43524216294e08625619b5b1c6a35e0de9fadde6
2013-04-04 17:25:44 -07:00
Eric Chou
d887898329 Bug 851046: Patch 2 - New Class: BluetoothSocket; r=mrbkap
--HG--
extra : rebase_source : 692fc69bc24a212621a5ff8a37fd17c237de9b20
2013-04-04 17:25:44 -07:00
Ryan VanderMeulen
0302be40e5 Backed out 9 changesets (bug 851046) for B2G bustage on a CLOSED TREE. 2013-04-03 15:54:36 -04:00
Eric Chou
f7ec3354ff Bug 851046 - Small misc fixes. r=mrbkap
1. Rename mSocketStatus
2. Remove keyword enum
3. Remove null-checking after new Bluetooth*Manager instances
2013-04-04 00:32:28 +08:00
Eric Chou
f15416897c Bug 851046 - Add BluetoothSocket* as an argument of callback functions in BluetoothSocketObserver. r=mrbkap
A Bluetooth*Manager may hold more than one BluetoothSocket at a time, therefore
we need to identify the caller (which socket calls the callback function).
2013-03-19 17:08:44 -07:00
Eric Chou
ba4fb1b95f Bug 851046 - Remove function ListenSocketViaService(). r=mrbkap
Since we are now using BluetoothSocket directly for listening, this functions can be removed.
2013-03-19 13:53:43 -07:00
Eric Chou
35d0df609e Bug 851046 - Apply BluetoothSocket to BluetoothScoManager. r=mrbkap 2013-03-19 09:48:30 -07:00
Eric Chou
4b31e39c03 Bug 851046 - Apply BluetoothSocket to BluetoothHfpManager. r=mrbkap 2013-03-15 18:45:59 +08:00
Eric Chou
a328096a8e Bug 851046 - Apply BluetoothSocket to BluetoothOppManager. r=mrbkap 2013-03-15 17:47:35 +08:00
Eric Chou
1da32d7594 Bug 851046 - Use (Bluetooth*Managers)->Disconnect() instead of (Bluetooth*Managers)->CloseSocket() since managers are not UnixSocketConsumer anymore. r=mrbkap 2013-03-15 14:55:19 +08:00
Eric Chou
1e506a75c4 Bug 851046 - New class: BluetoothSocket. r=mrbkap
After this new class is landed, communicating with other devices on
profile level should become more intuitive and reasonable. Each
Bluetooth*Manager doesn't need to inherit UnixSocketConsumer, instead,
BluetoothSocket inherits UnixSocketConsumer. That makes Bluetooth*Manager
be able to have more than 1 Bluetooth connections at a time with different
remote devices.
2013-02-26 11:16:36 +08:00
Eric Chou
f69465699c Bug 851046 - New interface: BluetoothSocketObserver. r=mrbkap
For those instances which want to be notified for any event sent
from a BluetoothSocket instance, they need to implement this
interface to get notification.
2013-02-26 10:34:54 +08:00
Ehsan Akhgari
124e2f7dca Bug 579517 follow-up: Remove NSPR types that crept in 2013-04-02 20:59:27 -04:00
Jose Cortes
60db87874e Bug 842186 - Replace use of jsval with JS::Value in h and cpp files in the dom/telephony dom/bluetooth directories. r=jwalden
--HG--
extra : rebase_source : c1560ea8c79fbb398d3e8f132e561e7eba81520a
2013-04-02 16:06:14 -07:00
Kyle Machulis
5aa83c3e11 Bug 855465 - Add emacs python mode comments to moz.build files; r=gps 2013-04-01 11:36:59 -07:00
Ms2ger
2da2c38f03 Bug 853158 - Update the uuid of nsIDOMEventTarget and subclasses. 2013-03-30 10:45:37 +01:00
Kyle Machulis
c79ccc0693 Backout for changeset 03452b187c14 (Bug 855465) due to bustage on a CLOSED TREE; r=qdot 2013-03-29 15:12:58 -07:00
Kyle Machulis
a59d40f143 Bug 855465 - Add emacs python mode comments to moz.build files; r=gps
--HG--
extra : rebase_source : 004a756492323e1a049586e85b3be5037159df20
2013-03-29 13:56:18 -07:00
Gina Yeh
74476548cd Bug 853200 - Remove unused event handlers from idl, r=echou, sr=mrbkap 2013-03-28 18:05:58 +08:00
shuang
a1f06a50ef Bug 841336 - Remove assertion in RunDBusCallback if platform is gonk, r=echou 2013-03-26 13:15:09 +08:00
Gina Yeh
2075f6dc32 Bug 854347 - Failed to receive files after calcelling receiving a file, r=echou 2013-03-26 10:53:10 +08:00
Mike Shal
9680b82df6 Bug 844654 - Part 2: Move MODULE to moz.build; rs=gps 2013-03-19 11:47:00 -07:00
Kyle Machulis
bd7f44351c Bug 843868: Change sockaddr* to be a union of all possible sockaddr types; r=tzimmermann
--HG--
extra : rebase_source : 455aeb8c49bec2477a5ffea839a0ac3fe09434f7
2013-03-19 10:23:47 -07:00
Phil Ringnalda
8eb607560b Back out b21345c5027c (bug 843868) for build bustage
CLOSED TREE
2013-03-15 21:35:25 -07:00
Kyle Machulis
182d940454 Bug 843868 - Change sockaddr* to be a union of all possible sockaddr types; r=tzimmermann
--HG--
extra : rebase_source : 9b980684b37e2e3345414af494ddb22e6c710e52
2013-03-15 21:10:40 -07:00
Gina Yeh
7276942610 Bug 834590 - Cache adapter path in BluetoothService, r=echou 2013-03-15 15:15:47 +08:00
Gregory Szorc
ed102f4876 Merge mozilla-central into build-system 2013-03-13 08:20:09 -07:00
Gregory Szorc
94e8454958 Merge mozilla-central into build-system
dom/interfaces/svg/Makefile.in and dom/media/Makefile.in had merge
conflicts. They were resolved by hand. The former needed 2 IDLs removed.
The latter had a context conflict for EXPORTS_NAMESPACES.
2013-03-12 13:04:55 -07:00
Mike Shal
e9f8bc0fbd Bug 818246 - Part 7: Move XPIDL_MODULE to moz.build; rs=gps 2013-03-11 22:00:00 -07:00
Gregory Szorc
8b4f575df1 Bug 818246 - Part 5: Move XPIDLSRCS into moz.build (manual); r=glandium 2013-03-12 10:20:41 -07:00
Thomas Zimmermann
ce568fa6e8 Bug 843958: Support SCO in switch statement; r=qdot r=echou
The fix for bug 843958 makes b2g crash when Bluetooth gets turned
on. This patch fixes the affected switch statement.

--HG--
extra : rebase_source : dd903b58f7675dec0c1aae86a7a790ff11296db0
2013-03-12 14:27:59 -07:00
Kyle Machulis
2d36cae087 Bug 843958 - Fix compiler warning for SCO not handling LM; r=echou 2013-03-10 22:37:15 -07:00
Olli Pettay
e5921ddec1 Bug 822399 - Make Event to use Paris bindings, r=peterv 2013-03-09 13:34:29 +02:00
Eric Chou
fbc0120ad1 Bug 836715 - Fix potential memory problem in RemoveDeviceTask, r=qdot
From 6e3780271509a502462560717f7cc768dafb673b Mon Sep 17 00:00:00 2001
2013-03-04 18:47:41 +08:00
Eric Chou
d8ce2154f7 Bug 841984 - Fixed potential memory problem in SetProperty(), r=qdot 2013-03-08 12:10:09 +08:00
Eric Chou
9d915cdd0d Bug 841576 - Check if nsTHashtable has been initialized before calling Init(), r=qdot 2013-03-07 21:36:13 +08:00
Vicamo Yang
df445a6ebf Bug 834160 - Part 5/7: fix Telephony. r=smaug, f=htsai
--HG--
rename : dom/bluetooth/BluetoothRilListener.cpp => dom/bluetooth/BluetoothTelephonyListener.cpp
rename : dom/bluetooth/BluetoothRilListener.h => dom/bluetooth/BluetoothTelephonyListener.h
2013-03-06 17:53:23 +08:00
Eric Chou
a4721542d9 Bug 848414 - Reply with ERROR to unknown AT commands, r=gyeh 2013-03-12 13:46:43 +08:00
Gina Yeh
22df1218f3 Bug 846647 - Update call state before reseting call array, r=echou 2013-03-02 12:04:59 +08:00
Ms2ger
cd9c6150fe Merge m-c to b-s. 2013-02-26 19:09:25 +01:00
Gina Yeh
f94a074431 Bug 844705 - Should send socket data in main thread, r=echou 2013-02-26 18:53:44 +08:00
Gregory Szorc
e2966f651c Bug 784841 - Part 18k: Convert /dom; f=Ms2ger rs=khuey 2013-02-25 12:47:20 -08:00
Gina Yeh
424faeea8d Bug 844705 - Should send socket data in main thread, r=echou 2013-02-25 18:49:18 +08:00
Gina Yeh
786670aa37 Bug 844707 - Fix warnings in debug build, r=echou 2013-02-25 15:04:38 +08:00
Gina Yeh
76e46f4140 Bug 830551 - Send file-transfer-complete message after receiving unexpected response code from remote, r=echou 2013-02-25 12:40:31 +08:00
Gina Yeh
5bb3f08035 Bug 842471 - Invalid value type in BluetoothDevicePropertiesRunnable(), r=echou 2013-02-20 14:19:34 +08:00
Shawn Huang
24186914a1 Bug 833206 - Remove invalid OBEX header: ConnectionId, r=gyeh, r=echou 2013-02-19 10:58:03 +08:00
Eric Chou
4f7b758879 Bug 842214 - Replace JS_NewStringCopyN with JS_NewUCStringCopyN, or non-ascii chars would be shown incorrectly, r=gyeh 2013-02-18 16:02:23 +08:00
Peter Van der Beken
490e9a4afd Fix for bug 839529 (Remove various CC participants that don't do anything). r=smaug.
--HG--
extra : rebase_source : 8a272905c79396e7ae08aaaf83566ac450c45be0
2013-02-07 10:19:08 +00:00
Gregor Wagner
404ddb1215 Bug 841590 - Bluetooth: Fix hashtable remove. r=bent 2013-02-14 16:45:13 -08:00
Eric Chou
08f90d420f Bug 834816 - Disconnect all acl connections before disabling Bluetooth, r=qdot 2013-02-14 23:16:37 +08:00
Gina Yeh
55c2cf3061 Bug 838421 - After an instance of BluetoothAdapter is destroyed, no events can be received by other instances, r=echou 2013-02-08 18:03:09 +08:00
Gina Yeh
96d37dc57a Bug 838499 - Assertion failed in function SetJsObject(), r=echou 2013-02-06 20:07:27 +08:00
Eric Chou
b2938e1493 Bug 836516 - Set a system property so that WLAN firmware could be aware of BT operations, r=gyeh
Solution was provided by ggrisco@codeaurora.org
2013-02-06 15:28:04 +08:00
Gina Yeh
350f60fffa Bug 838080 - Cannot receive all events after a series of actions, r=echou 2013-02-06 09:35:29 +08:00
Eric Chou
3bbf333646 Bug 838089 - Blacklisted AT commands: AT+XAPL/AT+XEVENT, r=gyeh 2013-02-05 19:19:15 +08:00
Vicamo Yang
5075aba1fa Bug 826931 - Part 1/3: UnixSocket - allow ownership take-over in ReceiveSocketData(). r=qDot,echou 2013-02-01 20:28:15 +08:00
shuang
9efe073453 Bug 828837:Fix COD equals 0x20080c cause icon empty, r=echou 2013-02-01 17:04:07 +08:00
Eric Chou
caf94abdb6 Bug 835474 - Assign length of the message with aMessage->mSize, r=gyeh 2013-01-30 12:58:40 +08:00
Gina Yeh
a0060964a3 Bug 835740 - Modified BRSF value in hands-free profile, r=echou 2013-01-30 12:33:23 +08:00
Eric Chou
fa09a368dc Bug 834551 - Insert BT_LOG at several important check points, r=gyeh 2013-01-29 18:37:51 +08:00
Eric Chou
515d75fd39 Bug 834551 - Replace 'LOG()' with 'BT_WARNING()' defined in BluetoothCommon.h for consistency, r=qdot 2013-01-29 18:37:51 +08:00
Eric Chou
ec3404bfe2 Bug 834551 - Add Bluetooth debugging flag, r=qdot 2013-01-29 18:37:51 +08:00
Gina Yeh
dc5200d225 Bug 811569 - Patch 4: Remove asynchronous function GetProperty , r=echou 2013-01-29 14:52:58 +08:00
Gina Yeh
e514b6c920 Bug 811569 - Patch 3: Cleanup for DOMRequest related checking and do_GetService checking, r=echou 2013-01-29 14:52:48 +08:00
Gina Yeh
f0f2a72ba5 Bug 811569 - Patch 2: Support array of nsString in SetJsObject, r=echou 2013-01-29 14:52:39 +08:00
Gina Yeh
93ca9b9bee Bug 811569 - Patch 1: Remove unused files in bluetooth, r=echou 2013-01-29 14:52:30 +08:00
Ed Morley
cb0790a0ed Backout 3985cb4da6b6, 55ab9f026dc4, f7ead00b7654 and e2108ea96ae5 for a variety of build failures on a CLOSED TREE 2013-01-28 12:19:12 +00:00
Gina Yeh
7313c6cb98 Bug 828798 - [Bluetooth] [HFP] No redundant +CIEV commands are sent to bluetooth headset, r=echou 2013-01-28 19:28:51 +08:00
Eric Chou
efeafb911f Bug 834551 - Insert BT_LOG at several important check points, r=gyeh 2013-01-28 19:23:15 +08:00
Eric Chou
f1a556a1f7 Bug 834551 - Replace 'LOG()' with 'BT_WARNING()' defined in BluetoothCommon.h for consistency, r=qdot 2013-01-28 19:23:12 +08:00
Eric Chou
9c29db61dc Bug 834551 - Add Bluetooth debugging flag, r=qdot 2013-01-28 19:23:02 +08:00
Gina Yeh
a4934c9f16 Bug 827230 - [Bluetooth] [Hfp] Support feature 'Query Operator Selection' (AT+COPS?), r=echou, a=nonlibxul 2013-01-23 09:22:08 +08:00
Gina Yeh
dd518e91a0 Bug 823346 - [Bluetooth] [Hfp] Updating status change of Battery level, r=echou, a=nonlibxul 2013-01-22 13:53:28 +08:00
Steve Fink
57a2c2471b Bug 828753 - jsid rooting, mostly in jsinfer.*. Also switch JSObject from struct to class. r=terrence 2012-12-31 12:40:21 -08:00
Steve Fink
380ecf9335 Backed out changeset fce4e0f8a553 (bug 828753) for breaking windows warnings-as-errors (stop adding JSObject forward decls, please!) 2013-01-18 13:20:21 -08:00
Steve Fink
01f8a5b4d8 Bug 828753 - jsid rooting, mostly in jsinfer.*. Also switch JSObject from struct to class. r=terrence
--HG--
extra : rebase_source : c8806b27677594925ad0e6b54c47af5cf17e1153
2012-12-31 12:40:21 -08:00
Gina Yeh
bfa8e2199a Bug 828175 - Patch 1: [Bluetooth] [Hfp] Error handling for AT+CHLD command, r=echou 2013-01-18 18:53:00 +08:00
Trevor Saunders
9f0ad48b28 bug 822289 - remove NS_IMPL_CYCLE_COLLECTION_CLASS and friends r=mccr8 2013-01-12 07:40:33 -05:00
Eric Chou
0b1b9adb3b Bug 825762 - Replace VFAT reserved character with '_' to avoid file-transferring failure, r=qdot 2013-01-16 18:23:28 +08:00
Gina Yeh
7dc1a1b72b Bug 827266 - Patch 1: [Bluetooth][Hfp] Support 'call waiting notification activation', r=echou 2013-01-16 14:17:41 +08:00
Gina Yeh
502eb67eb5 Bug 827212 - Patch 2: Support feature 'Enhanced call status indications', r=echou 2013-01-16 14:13:58 +08:00
Gina Yeh
72b18d3b47 Bug 827212 - Patch 1: Move functions from public to private in BluetoothHfpManager, r=echou 2013-01-16 14:13:41 +08:00
Eric Chou
6f56a8305e Bug 829473 - Fix a wrong conditional check resulted from bug 827204, r=gyeh 2013-01-11 10:45:28 +01:00
Gina Yeh
530630a689 Bug 827255 - Patch 1: Enable AG error result code, r=echou 2013-01-11 14:00:04 +08:00
Thomas Zimmermann
c2ef416d9d Bug 827888: Fix usage of sIsParing variable [r=echou,qdot]
The variable sIsPairing signals to the Bluetooth pairing response
notifier if pairing is still requested.

Being a boolean value, the variable only supported one pairing request
at a time. To support multiple parallel pairing requests, this patch
converts it into a counter. The counter is atomic, because notifier
calls run in separate threads.

Additionally, we now set sIsPairing before starting the pairing request.
Otherwise the notifier might run before we can increment the variable.
2013-01-10 07:55:43 -08:00
Gina Yeh
1d7cd7da57 Bug 828811 - After OPP session disconnected, wait for 1 sec and close socket actively if the socket is still connected, r=echou 2013-01-10 15:14:16 +01:00
Eric Chou
54ae910692 Bug 827759 - Remove all listeners except BluetoothManagers, r=qdot 2013-01-09 16:51:53 +01:00
Doug Turner
6c17036468 Bug 827311 - Remote file update notifications. r=bent a=blocking-basecamp 2013-01-09 07:03:28 -08:00
Gina Yeh
36814f1bf2 Bug 828118 - Patch 1: Failed to answer a phone call when bluetooth headset quickly send out ATA message, r=qdot 2013-01-09 17:37:08 +08:00
Gina Yeh
711578d06b Bug 827204 - Patch 1: Activate/Deactivate indicator events reporting, r=echou 2013-01-09 14:05:34 +08:00
Eric Chou
975bccb26d Bug 827267 - Added function IsTransferring() to distinguish if there is an ongoing file-transferring session, r=gyeh 2013-01-08 14:02:00 +01:00
Gina Yeh
9e6d7c714f Bug 825861 - Patch 1: Support feature: Ability to transmit DTMF codes, r=echou 2013-01-08 17:21:00 +08:00
Gina Yeh
f171760c2a Bug 825851 - Patch 1: Handle AT command: AT+VGM, r=echou 2013-01-07 16:58:59 +08:00
Gina Yeh
dd5a70ece7 Bug 826463 - Patch 1(v1): After disconnect BT headset while in-call, audio rerouting takes too long, r=echou 2013-01-05 12:34:19 +08:00
Eric Chou
b09ac84a26 Bug 824895 - check if mConnection is ready before running SetProperty(), r=gyeh 2013-01-02 16:33:37 +08:00
Eric Chou
d38947e761 Bug 820216 - should use JS_NewUCStringCopyN to copy a Unicode string, r=gyeh 2012-12-27 10:20:17 +08:00