Commit Graph

117 Commits

Author SHA1 Message Date
Jon Coppeard
8278efd42a Bug 897484 - GC: Convert JS_GetProperty APIs to take MutableHandleValue r=terrence r=bholley r=smaug 2013-07-26 10:00:38 +01:00
Carsten "Tomcat" Book
8c89deb65b Backed out changeset ae8d72538dee (bug 897484) for b2g bustage 2013-07-26 12:34:25 +02:00
Jon Coppeard
fc9b509d4f Bug 897484 - GC: Convert JS_GetProperty APIs to take MutableHandleValue r=terrence r=bholley r=smaug 2013-07-26 10:00:38 +01:00
Ben Tian
4367251a81 Bug 895325 - [Bluetooth][Cleanup] Revise BluetoothOppManager constructor and BluetoothOppManager::Get(), r=echou 2013-07-19 10:27:07 +08:00
Eric Chou
602adf6071 Bug 893546 - Fix memory leakage in BluetoothHfpManager.cpp, r=mrbkap 2013-07-18 10:52:20 +08:00
Szu-Yu Chen [:aknow]
b91ec053d3 Bug 881142 - Part 3: Remove call state busy (bluetooth dom). r=gyeh 2013-07-15 08:54:07 -04:00
Edgar Chen
4fbd36568e Bug 875721 - Part 4: Bluetooth changes for iccInfo. r=echou 2013-05-30 18:56:11 +08:00
Eric Chou
e5c03e1344 Bug 884253 - Define new error messages for Bluetooth profiles, r=gyeh 2013-07-04 17:45:06 +08:00
Ben Tian
6db44eeec5 Bug 884190 - [Bluetooth] Rename commands from dom bluetooth to Dialer app (in dom bluetooth), r=echou 2013-07-01 11:04:02 +08:00
Ben Tian
5e6adb36d9 Bug 883619 - No busy tone on Bluetooth Car kit, r=gyeh 2013-06-24 12:10:07 +08:00
Gina Yeh
d8ae704353 Bug 882551 - Patch 5: Change return type of internal functions, r=qdot, r=mrbkap, r=echou 2013-06-20 09:20:16 +08:00
Gina Yeh
e1a7a2500d Bug 882551 - Patch 2: Remove BluetoothHfpManagerObserver, r=qdot, r=mrbkap, r=echou 2013-06-20 09:19:31 +08:00
Ben Tian
f0e4b1fc60 Bug 883505 - [Bluetooth] Support for CHLD=0 of HFP, r=echou 2013-06-18 15:42:10 +08:00
Ben Tian
dfbf757ac3 Bug 879635 - [Bluetooth] [Hfp] Implement HFP 1.6 indicators activation and deactivation, r=echou 2013-06-07 16:54:13 +08:00
Eric Chou
0adbf805bd Bug 876823 - Fire DOMRequest.onerror event when Bluetooth*Manager.Connect() fails, r=gyeh 2013-06-11 18:24:19 +08:00
Gina Yeh
9b9e96c828 Bug 872907 - Patch 5: Handle A2DP status changed in AudioManager, r=echou, r=mwu 2013-06-08 23:26:28 +08:00
Gina Yeh
a6765ae76d Bug 872907 - Patch 4: Implement NotifyStatusChagned() and NotifyAudioManager(), r=echou, r=mrbkap 2013-06-08 23:26:01 +08:00
Ben Tian
cc5d97396f Bug 878728 - Support in-band ringtone, r=echou 2013-06-05 16:53:22 +08:00
Ben Tian
c75cbc3e85 Bug 878672 - Remove extra CRLF of result codes, r=echou 2013-06-03 15:04:10 +08:00
Eric Chou
c9b60cd79e Bug 878005 - Send system message 'ATD>' to Gaia instead of sending 'BLDN' when receive 'ATD>' from headset, r=gyeh 2013-05-31 20:43:18 +08:00
Eric Chou
0b00c94948 Bug 875677 - Modify the logic of sending 'callheld' indicator to fit HFP 1.6, r=gyeh
According to HFP spec 1.6, we should update callheld status very carefully when
the status of other calls are changed.
2013-05-31 21:49:42 +08:00
Jon Coppeard
6fec5f0632 Bug 876639 - Address unsafe references from JS_ParseJSON() - Fix browser r=smaug 2013-05-29 09:29:39 +01:00
Ed Morley
ebb42781a7 Backed out changeset 7acdb79e4d71 (bug 876639) 2013-05-29 12:09:10 +01:00
Jon Coppeard
a5f7aee9a5 Bug 876639 - Address unsafe references from JS_ParseJSON() - Fix browser r=smaug 2013-05-29 09:29:39 +01:00
Eric Chou
48159027b0 Bug 875719 - Simplify and correct the mechanism of handling call state change event, r=gyeh
1. Remove variable mCurrentCallIndex and replace with using function FindFirstCall(aState)
2. Remove unused variable index and callArrayLength
2013-05-28 14:58:51 +08:00
Eric Chou
21442832e7 Bug 839370 - Implement callback function OnUpdateSdpRecords() in BluetoothProfileManagers, r=gyeh 2013-05-22 19:08:21 +08:00
Eric Chou
dee3a48ec3 Bug 871366 - Cut operator name if it is longer than 16 characters, r=gyeh 2013-05-15 17:12:48 +08:00
Eric Chou
09593e64ab Bug 830038 - Add an assertion in Bluetooth*Mangaers, r=gyeh 2013-05-13 18:08:40 +08:00
Gina Yeh
0ce1c300fe Bug 830213 - Modify function NotifyStatusChanged in BluetoothHfpManager, r=echou 2013-05-11 14:06:16 +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
Shawn Huang
34058fefb1 Bug 869306: Update call direction if call state changes, r=echou 2013-05-10 17:47:16 +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
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
Gina Yeh
2864f876ff Bug 850157 - Add GetConnectedDevices() in nsIDOMBluetoothAdapter.idl, r=echou, sr= mrbkap 2013-04-26 18:48:21 +08: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
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
e667f57802 Bug 851046: Patch 5 - Apply BluetoothSocket to BluetoothHfpManager; r=mrbkap 2013-04-04 17:54:22 -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
7a5724f9f8 Bug 851046: Patch 5 - Apply BluetoothSocket to BluetoothHfpManager; r=mrbkap
--HG--
extra : rebase_source : ec6e75948230e4b94d2d539833dc9899444d9afe
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