Commit Graph

114 Commits

Author SHA1 Message Date
Ben Tian
66990b2788 Bug 895325 - [Bluetooth][Cleanup] Revise BluetoothOppManager constructor and BluetoothOppManager::Get(), r=echou 2013-07-19 10:27:07 +08:00
Eric Chou
18f39902a2 Bug 893546 - Fix memory leakage in BluetoothHfpManager.cpp, r=mrbkap 2013-07-18 10:52:20 +08:00
Szu-Yu Chen [:aknow]
a5518c1c58 Bug 881142 - Part 3: Remove call state busy (bluetooth dom). r=gyeh 2013-07-15 08:54:07 -04:00
Edgar Chen
7038f1a697 Bug 875721 - Part 4: Bluetooth changes for iccInfo. r=echou 2013-05-30 18:56:11 +08:00
Eric Chou
4a9e7fa0c5 Bug 884253 - Define new error messages for Bluetooth profiles, r=gyeh 2013-07-04 17:45:06 +08:00
Ben Tian
b5ce9bb471 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
e2f9cd0dde Bug 883619 - No busy tone on Bluetooth Car kit, r=gyeh 2013-06-24 12:10:07 +08:00
Gina Yeh
d4801377c8 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
c79345626f Bug 882551 - Patch 2: Remove BluetoothHfpManagerObserver, r=qdot, r=mrbkap, r=echou 2013-06-20 09:19:31 +08:00
Ben Tian
67d0fb5343 Bug 883505 - [Bluetooth] Support for CHLD=0 of HFP, r=echou 2013-06-18 15:42:10 +08:00
Ben Tian
9110d06780 Bug 879635 - [Bluetooth] [Hfp] Implement HFP 1.6 indicators activation and deactivation, r=echou 2013-06-07 16:54:13 +08:00
Eric Chou
c12b12b7e7 Bug 876823 - Fire DOMRequest.onerror event when Bluetooth*Manager.Connect() fails, r=gyeh 2013-06-11 18:24:19 +08:00
Gina Yeh
54c2ac4730 Bug 872907 - Patch 5: Handle A2DP status changed in AudioManager, r=echou, r=mwu 2013-06-08 23:26:28 +08:00
Gina Yeh
bca648bfc7 Bug 872907 - Patch 4: Implement NotifyStatusChagned() and NotifyAudioManager(), r=echou, r=mrbkap 2013-06-08 23:26:01 +08:00
Ben Tian
bed7bf866d Bug 878728 - Support in-band ringtone, r=echou 2013-06-05 16:53:22 +08:00
Ben Tian
7a57639bd9 Bug 878672 - Remove extra CRLF of result codes, r=echou 2013-06-03 15:04:10 +08:00
Eric Chou
b61bb4e699 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
f458810e2e 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
9c540a5368 Bug 876639 - Address unsafe references from JS_ParseJSON() - Fix browser r=smaug 2013-05-29 09:29:39 +01:00
Ed Morley
8a9ae6677a Backed out changeset 7acdb79e4d71 (bug 876639) 2013-05-29 12:09:10 +01:00
Jon Coppeard
1daad09663 Bug 876639 - Address unsafe references from JS_ParseJSON() - Fix browser r=smaug 2013-05-29 09:29:39 +01:00
Eric Chou
39261467eb 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
f906b641d5 Bug 839370 - Implement callback function OnUpdateSdpRecords() in BluetoothProfileManagers, r=gyeh 2013-05-22 19:08:21 +08:00
Eric Chou
c005576fa2 Bug 871366 - Cut operator name if it is longer than 16 characters, r=gyeh 2013-05-15 17:12:48 +08:00
Eric Chou
8a6beecda8 Bug 830038 - Add an assertion in Bluetooth*Mangaers, r=gyeh 2013-05-13 18:08:40 +08:00
Gina Yeh
c9d8f53fef Bug 830213 - Modify function NotifyStatusChanged in BluetoothHfpManager, r=echou 2013-05-11 14:06:16 +08:00
Gina Yeh
5c04951efe Bug 830213 - Patch 3: Remove BluetoothScoManager, r=echou 2013-05-10 19:03:25 +08:00
Gina Yeh
725f4e197f 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
77a3d4dcb3 Bug 869306: Update call direction if call state changes, r=echou 2013-05-10 17:47:16 +08:00
Eric Chou
181f73a601 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
b55b5aa158 Bug 869337 - Fix missing At comman reply OK after +COPS, r=gyeh, r=echou 2013-05-10 13:46:50 +08:00
Eric Chou
4ec461dfed 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
82b92c045e Bug 869296 - Do 'Last Number Redial' when we receive ATD>n, r=gyeh 2013-05-09 22:10:28 +08:00
Eric Chou
f042f8e0de 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
5b81eec10f Bug 850157 - Add GetConnectedDevices() in nsIDOMBluetoothAdapter.idl, r=echou, sr= mrbkap 2013-04-26 18:48:21 +08:00
Gina Yeh
869e5a2f5d Bug 863620 - Followup of bug 848414, r=echou 2013-04-19 14:40:51 +02:00
Eric Chou
ee172b786c Bug 860166 - Revice AT command handler for Headset profile (HSP), r=gyeh 2013-04-19 17:08:06 +08:00
Eric Chou
3ac7b4375f 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
0533a0f3f3 Bug 851046: Patch 9 - Small misc fixes; r=mrbkap 2013-04-04 17:56:16 -07:00
Eric Chou
6a65583423 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
aa28265e8c Bug 851046: Patch 5 - Apply BluetoothSocket to BluetoothHfpManager; r=mrbkap 2013-04-04 17:54:22 -07:00
Matt Brubeck
3ee37d2232 Back out bug 851046 because of rebase problems 2013-04-04 17:45:06 -07:00
Eric Chou
c57a0afda5 Bug 851046: Patch 9 - Small misc fixes; r=mrbkap
--HG--
extra : rebase_source : 12eb0cc3cdd6f8773ae9e503267dbf643f767cfc
2013-04-04 17:25:45 -07:00
Eric Chou
f47eb75aaf 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
46829e2784 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
e3283fe2b4 Backed out 9 changesets (bug 851046) for B2G bustage on a CLOSED TREE. 2013-04-03 15:54:36 -04:00
Eric Chou
61331ffc6c 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
8dddfba09a 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
14f56ca7cc Bug 851046 - Apply BluetoothSocket to BluetoothHfpManager. r=mrbkap 2013-03-15 18:45:59 +08:00
Jose Cortes
1810d47a66 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