Commit Graph

78 Commits

Author SHA1 Message Date
Ben Tian
c828f32a76 Bug 925638 - Patch 2/3: implement new webidl functions, r=echou 2013-10-16 10:38:13 +08:00
Ben Tian
e3f3bf600f Bug 925638 - Patch 1/3: hfp cdma-handling functions, r=echou 2013-10-17 12:40:17 +08:00
Eric Chou
17bce122e9 Bug 925663 - Establish HSP connection if and only if HFP service record couldn't be found, r=gyeh 2013-10-14 17:29:21 +08:00
Gina Yeh
32041c957c Bug 913374 - Use nsRefPtr for BluetoothProfileController in profile managers, r=echou 2013-10-01 15:26:40 +08:00
Ben Tian
dac0937181 Bug 915628 - [Bluetooth] Define new log levels and add logs in profile controller, r=echou 2013-09-14 06:51:00 +08:00
Gina Yeh
135f478a83 Bug 900880 - Remove unused system messages, r=echou 2013-09-11 14:56:48 +02:00
Ben Tian
f06d3327ac Bug 911986 - [HFP] Implement RilListener for voice connection and ICC info change, r=echou 2013-09-09 19:54:56 +08:00
Gina Yeh
b49c5f26fd Bug 906305 - Patch 4: Fix BluetoothHfpManager, r=echou 2013-09-06 19:20:43 +08:00
Gina Yeh
de4f45b303 Bug 853221 - Patch 1: Distribute connection/pair status to BluetoothAdapter, r=echou 2013-08-02 18:32:57 +08:00
Gina Yeh
e8935b0303 Bug 842934 - Patch 1: Add topic for hfp status changed and notify observers with device address, r=echou 2013-07-30 17:34:56 +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
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
9110d06780 Bug 879635 - [Bluetooth] [Hfp] Implement HFP 1.6 indicators activation and deactivation, r=echou 2013-06-07 16:54:13 +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
Eric Chou
0c6539ea2a 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
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
Gina Yeh
c9d8f53fef Bug 830213 - Modify function NotifyStatusChanged in BluetoothHfpManager, r=echou 2013-05-11 14:06:16 +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
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
Gina Yeh
5b81eec10f Bug 850157 - Add GetConnectedDevices() in nsIDOMBluetoothAdapter.idl, r=echou, sr= mrbkap 2013-04-26 18:48:21 +08: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
Vicamo Yang
9510ded1d6 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
Vicamo Yang
3bf0d2e152 Bug 826931 - Part 1/3: UnixSocket - allow ownership take-over in ReceiveSocketData(). r=qDot,echou 2013-02-01 20:28:15 +08:00
Gina Yeh
f8055ca4be Bug 828798 - [Bluetooth] [HFP] No redundant +CIEV commands are sent to bluetooth headset, r=echou 2013-01-28 19:28:51 +08:00
Gina Yeh
93b517e9ad 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
feafac557c Bug 827266 - Patch 1: [Bluetooth][Hfp] Support 'call waiting notification activation', r=echou 2013-01-16 14:17:41 +08:00
Gina Yeh
9739c863d6 Bug 827212 - Patch 2: Support feature 'Enhanced call status indications', r=echou 2013-01-16 14:13:58 +08:00
Gina Yeh
479c035f4b Bug 827212 - Patch 1: Move functions from public to private in BluetoothHfpManager, r=echou 2013-01-16 14:13:41 +08:00
Gina Yeh
0bc063bd59 Bug 827255 - Patch 1: Enable AG error result code, r=echou 2013-01-11 14:00:04 +08:00
Gina Yeh
259ed17fda Bug 827204 - Patch 1: Activate/Deactivate indicator events reporting, r=echou 2013-01-09 14:05:34 +08:00
Gina Yeh
29b3db421f Bug 825851 - Patch 1: Handle AT command: AT+VGM, r=echou 2013-01-07 16:58:59 +08:00
Gina Yeh
c3991c73ee Bug 820157 - Patch 1: bluetooth Hfp not sending status updates, r=echou 2012-12-20 15:28:51 +08:00