Shawn Huang
dc60031751
Bug 1015819 - Part 2: [bluez] Restore CoD value based on SDP records. r=echou, f=btian
2014-06-24 02:36:00 -04:00
Shawn Huang
e6b1b70641
Bug 1015819 - Part 1: [bluedroid] Restore CoD value based on SDP records. r=echou, f=btian
2014-06-20 00:48:00 -04:00
Bob Owen
e76d054e70
Bug 1023969 - Part 4: Replace |AutoPushJSContext|s in BluetoothDevice::SetPropertyByValue. r=bholley
2014-06-20 14:42:33 +01:00
Bob Owen
b828377db3
Bug 1023969 - Part 3: Replace AutoPushJSContext in BluetoothManager GetAdapterTask::ParseSuccessfulReply. r=bholley
2014-06-19 20:17:59 +01:00
Bob Owen
4b4458afd0
Bug 1023969 - Part 2: Replace |AutoPushJSContext|s in BluetoothAdapter::SetPropertyByValue. r=bholley
2014-06-19 20:14:32 +01:00
Bob Owen
a39259183d
Bug 1023969 - Part 1: Replace AutoPushJSContext in BluetoothAdapter GetDevicesTask::ParseSuccessfulReply. r=bholley
2014-06-19 20:09:03 +01:00
Hsin-Yi Tsai
97186eb499
Bug 981519 - number and name presentation - part 5 - BT module. r=btian
2014-04-17 11:46:03 +08:00
Shawn Huang
eb0ca1eef1
Bug 989976 - [bluedroid] Hit SIGBUS on unaligned access while doing AdapterPropertiesChangeCallback. r=echou
2014-06-17 01:38:00 -04:00
Jamin Liu
5294727471
Bug 968709 - Add a marionette test for pairing APIs of BluetoothAdapter. r=echou, f=vyang
2014-06-05 19:17:00 -04:00
Jamin Liu
06b1c291b8
Bug 968709 - Add a marionette test case to Bluetooth set to make sure the URL of Marionette client is correct. r=vyang
...
Few marionette tests in unit-test set may navigate to specific URL and
wouldn't restore the URL of marionette client when the tests end.
Navigate the URL to default value before running Bluetooth test to make
sure the correctness of test.
2014-06-18 00:20:00 -04:00
Hsin-Yi Tsai
3e0fc2db93
Backed out changeset e152089ae843 (bug 981519) for causing regression bug 1026081
2014-06-17 15:37:31 +08:00
Jamin Liu
aea82587a6
Bug 1009157 - Ensures that we can receive BT enable/disabled events in marionette test every times. r=echou
...
Ensures that we can always receive that "enabled"/"disabled" event by
installing the event handler *before* we ever enable/disable Bluetooth. Or
we might just miss those events and get a timeout error.
2014-06-15 22:50:00 +02:00
Hsin-Yi Tsai
1e95e74425
Bug 981519 - number and name presentation - part 5 - BT module. r=btian
2014-04-17 11:46:03 +08:00
Boris Zbarsky
2bb59ed300
Bug 1009675 part 2. Return WebIDL 'any' values as handles. r=peterv
2014-06-11 16:26:52 -04:00
Ed Morley
ac5be5b713
Backed out changeset 5f7e58de5d56 (bug 968709) for causing bug 1023167
2014-06-10 11:49:10 +01:00
Ed Morley
3c56ef504b
Backed out changeset 8d2cc1387119 (bug 968709)
2014-06-10 11:48:43 +01:00
Daniel Holbert
0d630da6ac
Bug 1022417: Annotate BluetoothHfpManager::GetVolumeTask as MOZ_FINAL to calm GCC Wdelete-non-virtual-dtor build warning. blanket-r=ehsan
2014-06-08 14:58:02 -07:00
Eric Chou
0912f285c0
Bug 1002391 - Get the latest SDP records of the target device, r=shuang
...
Use BlueZ API 'CreateDevice' to update the SDP records of those
unknown devices. On the other hand, still use 'DiscoverServices'
to update SDP records of paired devices.
2014-06-06 18:14:22 +08:00
Jamin Liu
977cebb36f
Bug 968709 - Add a marionette test for pairing APIs of BluetoothAdapter. r=echou, f=vyang
2014-06-06 11:38:24 +08:00
Jamin Liu
3b2cb1758d
Bug 968709 - Add a marionette test case to Bluetooth set to make sure the URL of Marionette client is correct. r=echou, f=vyang
...
Few marionette tests in unit-test set may navigate to specific URL and
wouldn't restore the URL of marionette client when the tests end.
Navigate the URL to default value before running Bluetooth test to make
sure the correctness of test.
2014-06-06 11:38:24 +08:00
Vicamo Yang
709ef83097
Bug 927320 - 2/2: rename related variables. r=aknow,btian
2014-06-03 22:15:30 +08:00
Vicamo Yang
546cc64d56
Bug 927320 - 1/2: rename TelephonyProvider to TelephonyService. r=aknow
...
--HG--
rename : dom/telephony/gonk/TelephonyProvider.js => dom/telephony/gonk/TelephonyService.js
rename : dom/telephony/gonk/TelephonyProvider.manifest => dom/telephony/gonk/TelephonyService.manifest
rename : dom/telephony/ipc/TelephonyIPCProvider.cpp => dom/telephony/ipc/TelephonyIPCService.cpp
rename : dom/telephony/ipc/TelephonyIPCProvider.h => dom/telephony/ipc/TelephonyIPCService.h
rename : dom/telephony/nsIGonkTelephonyProvider.idl => dom/telephony/nsIGonkTelephonyService.idl
rename : dom/telephony/nsITelephonyProvider.idl => dom/telephony/nsITelephonyService.idl
2014-06-03 22:15:25 +08:00
Kyle Huey
7dda430ff2
Bug 1011110: Don't allow replying to a BluetoothRequest twice. r=bent
2014-06-02 19:02:27 -07:00
Steve Fink
6a809adfba
Bug 1017419 - Handlify nsTArrayToJSArray, r=terrence
...
--HG--
extra : rebase_source : 802407d2c25fe060e16b546890859720664158ae
2014-06-02 09:40:13 -07:00
Szu-Yu Chen [:aknow]
1031fdbf4e
Bug 1016849 - Part 3: Remove isActive (bluetooth). r=btian
2014-05-29 00:16:00 -04:00
Eric Chou
25ee764abf
Bug 1015826 - Dispatch part of BondStateChangedCallback to main thread, r=tzimmermann
2014-05-29 11:24:09 +08:00
Eric Chou
bf0d7f264c
Bug 1015826 - Dispatch part of RemoteDevicePropertiesCallback to main thread, r=tzimmermann
2014-05-29 11:24:07 +08:00
Eric Chou
5572a1a5d5
Bug 1015826 - Use Atomic to ensure thread-safe, r=tzimmermann
2014-05-29 11:24:05 +08:00
Eric Chou
0980661ae0
Bug 1015826 - Dispatch part of AdapterPropertiesCallback to main thread, r=tzimmermann
...
Please note that sSetPropertyRunnableArray[0] should be fired after
firing "PropertyChanged" to BluetoothAdapter, however this is not
guaranteed in current implementation. This patch also fixed this
potential problem.
2014-05-29 11:24:03 +08:00
Eric Chou
fbc70bfd29
Bug 1015826 - Remove unneccessary variable sIsBtEnabled to avoid racing issues, r=tzimmermann
2014-05-29 11:24:02 +08:00
Carsten "Tomcat" Book
4c97b95c90
Backed out changeset 349ca77481c0 (bug 968709) for marionette test failures
2014-05-28 13:02:01 +02:00
Jamin Liu
4de2888b23
Bug 968709 - Add a marionette test for pairing APIs of BluetoothAdapter. r=echou, f=vyang
2014-05-22 22:42:00 +02:00
Ben Tian
bab289bead
Bug 1016243 - [cleanup] Remove unused function BluetoothService::RemoveObserverFromTable, r=shuang
2014-05-27 17:02:44 +08:00
Ryan VanderMeulen
f2349a07bd
Merge inbound to m-c on a CLOSED TREE.
2014-05-27 16:23:41 -04:00
Reuben Morais
7943a9dc65
Bug 952486 - Use CheckPermissions instead of Func for several interfaces. r=bz
2014-05-25 15:31:11 -03:00
Eric Chou
ba6482b08a
Bug 942104 - Notify BluetoothAdapter about discovery state changed (bluez), r=gyeh
2014-05-23 14:01:41 +08:00
Eric Chou
d0e72e9eb8
Bug 942104 - Notify BluetoothAdapter about discovery state changed (bluedroid), r=gyeh
2014-05-23 14:01:37 +08:00
Eric Chou
cc37d09a62
Bug 942104 - Fire event 'discoverystatechanged', r=gyeh
2014-05-23 14:00:25 +08:00
Eric Chou
12595ba7a4
Bug 942104 - Add an event listener "ondiscoverystatechanged", r=gyeh, r=mrbkap
2014-05-23 14:00:14 +08:00
Eric Chou
a495946ef1
Bug 942104 - Avoid exposing Bluetooth interface to all web pages, r=bz
...
Current Bluetooth related webidl implementation would make interfaces
such as BluetoothAdapter exposed to all web pages, and obviously we
don't want to see that.
2014-05-23 14:00:10 +08:00
Birunthan Mohanathas
807e72372f
Bug 869836 - Part 4: Use EqualsLiteral instead of Equals(NS_LITERAL_STRING(...))
. r=ehsan
2014-05-22 06:48:51 +03:00
Birunthan Mohanathas
411a8639b4
Bug 869836 - Part 3: Use Append('c')
instead of AppendLiteral("c")
. r=ehsan
2014-05-22 06:48:51 +03:00
Birunthan Mohanathas
62570a8716
Bug 869836 - Part 2: Use AppendLiteral instead of Append(NS_LITERAL_STRING(...))
. r=ehsan
2014-05-22 06:48:50 +03:00
Birunthan Mohanathas
562904c002
Bug 869836 - Part 12: Use Assign('c')
instead of AssignLiteral("c")
. r=ehsan
...
--HG--
extra : rebase_source : a6b15019cee452973dd8bf3112c15e14175855a9
2014-05-26 21:55:08 +03:00
Birunthan Mohanathas
f9b1b35c3e
Bug 869836 - Part 11: Use Append('c')
instead of AppendLiteral("c")
. r=ehsan
...
--HG--
extra : rebase_source : 08bcbfd804f1adcab40c7d59fa56deda1f6e0829
2014-05-26 21:54:58 +03:00
Birunthan Mohanathas
84d3adc780
Bug 869836 - Part 10: Use Truncate instead of AssignLiteral("")
. r=ehsan
...
--HG--
extra : rebase_source : e75c900e72e5367518f2b923a839fd23acf29a42
2014-05-26 21:54:53 +03:00
Shawn Huang
a1a6e4f921
Bug 1005901 - [bluedroid] Always do cleanup after disable. r=btian
2014-05-16 04:48:00 -04:00
Jamin Liu
d202f378ad
Bug 1003472 - If OPP manager can't get valid service channel, refresh SDP records until timeout is hit. r=shuang
...
If user tries to send a file to a device which just completes the pairing
process, the OPP manager may update SDP records when it's not ready.
It's especially likely to occur in BT file transfer with inline pairing
since OPP manager would request for a service channel to send the file when
device is just paired.
2014-05-16 14:35:20 +08:00
Thomas Zimmermann
0ea309c2d3
Bug 997137: Inherit |DroidSocketImpl| from |UnixFdWatcher|, r=echou
...
This patch converts |DroidSocketImpl| to inherit from |UnixFdWatcher|.
|UnixFdWatcher| maintains a Unix file descriptor on the I/O loop, and
replaces similar functionality in |DroidSocketImpl|.
As a side effect, all file descriptors in |DroidSocketImpl| are now
non-blocking. This does change the way how the code works, but ensures
that it doesn't block on the I/O thread.
2014-05-14 13:21:10 +02:00
Edgar Chen
529a07f45e
Bug 898445 - Part 3: Bluetooth changes for MobileConnection webidl. r=echou
2014-02-25 18:01:23 +08:00
Ben Tian
8ca90b6b5b
Bug 1003020 - Update to the latest battery level when HFP manager initializes, r=shuang
2014-04-29 19:12:36 +08:00
Chris Peterson
47a58d1945
Bug 990764 - Replace MOZ_ASSUME_UNREACHABLE in dom. r=smaug
2014-04-20 00:36:40 -07:00
Jamin Liu
2742e6b9b5
Bug 1003663 - Handle the case that user turn off BT during the middle of BT reply. r=echou, f=shuang
...
- End the session if BT is turn off during the middle of BT profile connection.
- Clear static queues(array) when BT is on.
2014-05-08 19:20:15 +08:00
Ting-Yu Lin
255d60b2dc
Bug 1006986 - Fix build fail for flame debug. r=echou
2014-05-06 22:39:00 -04:00
Jamin Liu
8da6a0a900
Bug 1003658 - Avoid to create reference cycle in BluetoothProfileController which would cause memory leak. r=echou, f=shuang
2014-05-07 10:57:27 +08:00
Jamin Liu
b21925cf86
Bug 1003657 - Don't keep reference in GetDefaultAdapterPathInternal() to avoid memory leak. r=echou, f=shuang
2014-05-06 11:45:51 +08:00
Ben Tian
8c34890c46
Bug 1003762 - [bluedroid] Notify BluetoothRilListener of service change, r=echou
2014-05-05 09:28:20 +08:00
Nathan Froyd
4c20a67b0d
Bug 1003306 - part 2 - use services::GetPermissionManager everywhere that's appropriate; r=ehsan
2014-04-29 13:27:26 -04:00
Shawn Huang
2a5fa5a83c
Bug 993954 - Check sBluetoothChild is null when closing Settings application
...
It is possible that sBluetoothChild set to nullptr and RecvNotify get called from MessageLoop.
This patch check sBluetoothChild.
2014-04-30 16:58:15 +01:00
Hsin-Yi Tsai
8eeb07c452
Bug 1000670 - part 5 - BT - impl NotifyClirModeChanged. r=echou
2014-04-24 14:53:03 +08:00
Birunthan Mohanathas
ff8ce9bd42
Bug 900908 - Part 3: Change uses of numbered macros in nsIClassInfoImpl.h/nsISupportsImpl.h to the variadic variants. r=froydnj
2014-04-27 03:06:00 -04:00
Jamin Liu
388d09ec68
Bug 990423 - [Bluetooth] Fix the incorrect condition for reporting call held status when call state changed. r=echou, f=btian
...
---
dom/bluetooth/bluez/BluetoothHfpManager.cpp | 108 ++++++++++++++++++++++++---
dom/bluetooth/bluez/BluetoothHfpManager.h | 2 +
2 files changed, 99 insertions(+), 11 deletions(-)
2014-04-25 09:59:32 +08:00
Ben Tian
2a01a642f0
Bug 997580 - Don't notify bluedroid of callstate change during transition. r=echou
2014-04-24 11:56:11 +08:00
Ben Tian
a2f858af21
Bug 993286 - Patch 3/3: Add Call.Set() function, r=echou, a=1.4+
2014-04-21 18:19:53 +08:00
Ben Tian
c55c284956
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
c9a21cd86a
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
Shawn Huang
19225b54d9
Bug 997626 - [bluez] Handle RequestPairingConsent event and reply pairing confirmation directly. r=echou, f=btian
...
Consent pairing event raises under the following conditions:
1. Local IO capabilities are DisplayYesNo and remote IO capabiltiies are DisplayOnly or NoInputNoOutput.
2. Call PairingConsent callback for "incoming" request.
This patch is try to directly reply pairing confirmation for consent cases.
How to test:
1. Initialize pairing request with IO capabilities-NoInputNoOutput as
headset role to b2g phone
2. Check pairing status of bluetooth headset
2014-04-22 08:37:01 -04:00
Jocelyn Liu
2584e96f86
Bug 993289: Fix the logic while updating call setup state, f=btian, r=echou
2014-04-22 16:42:38 +08:00
Jocelyn Liu
4a7dfdd3a9
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
e74eac2b9d
Bug 993290 - Respond OK after receiving ATDxxx and improve readability on ProcessDialCall(). r=echou
2014-04-17 03:09:00 +02:00
Shawn Huang
2da5c33b38
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
Thomas Zimmermann
c2a913994c
Bug 995912: Remove BLUEZ_DBUS_BASE_IFC from RawDBusConnection, r=qdot, echou
...
This patch removes the constant BLUEZ_DBUS_BASE_IFC from the file
RawDBusconnection.cpp. The constant is specific to BlueZ, and that's
where it's located now.
2014-04-17 11:16:12 +02:00
Jocelyn Liu
0364ac79ae
Bug 993280: Respond OK to HF for AT+CLCC and AT+CHLD, r=echou
2014-04-17 17:18:57 +08:00
Shawn Huang
c5c8ab722d
Bug 994411 - [bluez] Ignore pending MO call index, while making MO call with bluetooth headset, r=echou
2014-04-17 14:26:35 +08:00
Ryan VanderMeulen
04f8f51173
Merge inbound to m-c.
2014-04-15 23:26:35 -04:00
Kyle Huey
4b25f94dc9
Bug 991812: Remove uses of RefCounted<T> that live in Gecko. r=ehsan
...
--HG--
extra : rebase_source : 239ff77ec3765a3f190ed75b1645c6011e5d1dbd
2014-04-14 12:04:24 -07:00
Thomas Zimmermann
28faa38322
Bug 992922: Cleanup unused code for Bluedroid sockets
2014-04-15 15:35:00 +02:00
Thomas Zimmermann
2abf4e8c1b
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
8727cde770
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
3480ebd652
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
0baecb5eac
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
Benoit Jacob
5ffda8542b
Bug 987305 - Refactor EnumSerializer - r=nfroyd
2014-04-14 10:17:40 -04:00
Ben Tian
4d55872d98
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
55388258bd
Bug 993275 - [Bluedroid] Ensure icon for audio service devices, r=echou
2014-04-14 09:50:47 +08:00
Ed Morley
73c827f7b3
Merge latest green inbound changeset and mozilla-central
2014-04-10 17:55:29 +01:00
Boris Zbarsky
3738611b99
Bug 993889 part 1. Remove "scope" argument from nsContentUtils::WrapNative. r=bholley
2014-04-10 00:58:41 -04:00
Ben Tian
cec5d102b0
Bug 989845 - [bluedroid] Implement KeyPressedCallback to handle HSP commands, r=echou
2014-04-09 17:44:03 +08:00
Carsten "Tomcat" Book
bcb2828d3a
Merge m-c to b2g-inbound
2014-04-09 14:47:41 +02:00
Thomas Zimmermann
973c211aac
Bug 990392: Fix comments about shared variables in BluetoothDBusService, r=echou
2014-04-09 13:59:19 +02:00
Thomas Zimmermann
108b8d4bf2
Bug 990392: Move |sControllerArray| to main thread, r=echou
...
|sControllerArray| is only being used on the main thread, but
cleared on the I/O thread. During the BlueZ shutdown, we go
through the main thread, where we can clear |sControllerArray|;
moving the variable to main thread exclusively.
2014-04-09 13:59:15 +02:00
Thomas Zimmermann
84be1199bd
Bug 990392: Move |sAdapterPath| to I/O thread, r=echou
...
|sAdapterPath| is being accessed from within the main and the
I/O thread in a possible non-thread-safe way. This patch moves
all access to the I/O thread.
2014-04-09 13:59:11 +02:00
Thomas Zimmermann
16593f085a
Bug 990392: Cleanup |GetServiceChannel| in BluetoothDBusService, r=echou
...
This patch prepares moving |sAdapterAdded| to the I/O thread. For
|GetServiceChannel| it gets pushed into task classes on the I/O
thread and the interface of these classes is cleaned up.
2014-04-09 13:59:06 +02:00
Thomas Zimmermann
0af2313965
Bug 990392: Move sAuthorizedServiceClass to I/O thread, r=echou
...
|sAuthorizedServiceClass| is being set on the main thread, but read
from within the I/O thread. Making the variable a static constant
array and moving all access to the I/O thread fixes potential race
conditions.
2014-04-09 13:59:03 +02:00
Thomas Zimmermann
434babd26f
Bug 990392: Make |sIsPairing| non-atomic, r=echou
...
|sIsPairing| is not a shared resource. No need to make it atomic.
2014-04-09 13:58:59 +02:00
Boris Zbarsky
35fca5eeeb
Bug 991742 part 8. Remove the "aScope" argument of WebIDL/nsWrapperCache WrapObject() methods. r=bholley
...
This patch was mostly generated with the following command:
find . -name "*.h" -o -name "*.cpp" | xargs sed -e '/WrapObject(JSContext/ {; N; s/\(WrapObject(JSContext *\* *a\{0,1\}[Cc]x\),\n\{0,1\} *JS::Handle<JSObject\*> a\{0,1\}[sS]cope/\1/ ; }' -i ""
and then reverting the changes that made to
dom/bindings/BindingUtils.h, since those WrapObject methods are not
the ones we're trying to change here, plus a bunch of manual fixups
for cases that this command did not catch (including all the callsites
of WrapObject()).
2014-04-08 18:27:18 -04:00
Boris Zbarsky
56f44fdf10
Bug 991742 part 6. Remove the "aScope" argument of binding Wrap() methods. r=bholley
...
This patch was mostly generated with this command:
find . -name "*.h" -o -name "*.cpp" | xargs sed -e 's/Binding::Wrap(aCx, aScope, this/Binding::Wrap(aCx, this/' -e 's/Binding_workers::Wrap(aCx, aScope, this/Binding_workers::Wrap(aCx, this/' -e 's/Binding::Wrap(cx, scope, this/Binding::Wrap(cx, this/' -i ""
plus a few manual fixes to dom/bindings/Codegen.py, js/xpconnect/src/event_impl_gen.py, and a few C++ files that were not caught in the search-and-replace above.
2014-04-08 18:27:17 -04:00
Shawn Huang
b140a61fc3
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
Carsten "Tomcat" Book
86f64e50c7
Backed out changeset 3ad927b99e82 (bug 972249) for permanent test failure in marionette on a CLOSED TREE
2014-04-03 15:09:43 +02:00
Thomas Zimmermann
dc1661df84
Bug 972249: Remove |sGetPropertyMonitor|, r=echou
...
This bug has probably been solved by bug 983576, so we can remove
the extra locking.
2014-04-03 13:01:09 +02:00
Jamin Liu
091b0c9469
Bug 860698 - B2G Bluetooth: Add a test case for discover remote device through BluetoothAdapter. r=vyang, r=echou
2014-04-02 08:51:46 -04:00
Ben Tian
44b29d714f
Bug 990428 - Do not reset mSlcConnected=false when indicator status update is disabled, f=jaliu, r=echou
2014-04-01 14:40:49 +08:00
Dave Hylands
0afb7715b3
Bug 984269 - Fix bustage on a CLOSED TREE
2014-04-01 16:32:21 -07:00
Ryan VanderMeulen
6a3fa988ca
Merge inbound to m-c.
2014-04-01 16:45:00 -04:00
Jamin Liu
590fcf6f3e
Bug 988111 - Unregister Bluetooth signal handler when BT objects were disconnected from owner window. r=echou, f=shuang
2014-04-01 08:58:56 -04:00
Jamin Liu
31875fd9d8
Bug 980039 - Don't create BT adapter if the owner window of BT manager was cleaned up. r=echou, f=shuang
...
It's meaningless to create a adapter for a BluetoothManager which was disconnected from its owner window.
2014-04-01 08:58:55 -04:00
Jamin Liu
26e7826180
Bug 860697 - B2G Bluetooth: Add test cases to set/get properties of BluetoothAdapter. r=vyang, r=echou
2014-04-01 08:58:54 -04:00
Ben Tian
01a9265b6c
Bug 984284 - [m-c] a2dp headset icon show on the notification bar, r=echou
2014-03-26 17:02:40 +08:00
Masayuki Nakano
54d409dfca
Bug 984269 Rename nsDOMEventTargetHelper to mozilla::DOMEventTargetHelper r=smaug
...
--HG--
rename : dom/events/nsDOMEventTargetHelper.cpp => dom/events/DOMEventTargetHelper.cpp
rename : dom/events/nsDOMEventTargetHelper.h => dom/events/DOMEventTargetHelper.h
2014-04-01 15:13:50 +09:00
Thomas Zimmermann
c9dc7ab17c
Bug 983576: Annotate all assertions for non-main threads in BlueZ backend, r=echou
...
This patch adds an annotation to each assertion for non-main threads in
the BlueZ backend of Bluetooth. This should make is easy and obvious to
see in which context a method or function is expected to run.
2014-03-27 11:43:49 +01:00
Thomas Zimmermann
3613f3d91e
Bug 983576: Annotate global BlueZ variables, r=echou
...
The global variables in BluetoothDBusService.cpp are now annotated
for their multi-threading access. Some code still seems to access
some of these variables in an unprotected manner. Follow-up patches
should clean this up.
As a side effect, this patch makes several variables as constant,
which improves correctness of the code.
2014-03-27 11:43:49 +01:00
Thomas Zimmermann
866006ef98
Bug 983576: Fail if sDBusConnection is not set, r=echou
...
Until now, we had corner cases in Bluetooth where DBus messages might
have been received on connections that are shutting down. This can't
happen any longer and this patch replaces the respective tests with
assertions.
2014-03-27 11:43:49 +01:00
Thomas Zimmermann
92743c5ab4
Bug 983576: Refactor BlueZ start/stop code, r=echou
...
With this patch, the start code of Bluetooth's BlueZ back mostly
runs on the I/O thread. Only the loading of the BT firmware and
the blocking connection setup is done on the BT thread.
The stop code has been moved to the I/O thread, except for some
initial waiting and the final cleanup of the firmware. The code
doesn't wait for errors anymore when cleaning up the connection
to DBus. This makes it run completely non-blocking. The initial
waiting may later be replaced by something more sophisticated.
2014-03-27 11:43:48 +01:00
Thomas Zimmermann
a0cd2b4846
Bug 983576: Move DispatchToBtThread to mozilla::bluetooth namespace, r=echou
...
This patch moves DispatchToBtThread to mozilla::bluetooth, so that
it is available on the I/O thread.
2014-03-27 11:43:48 +01:00
Jocelyn Liu
9b2b4705a6
Bug 986375 - Use defined constants for HFP result code to avoid typo. r=echou
2014-03-26 19:08:00 +01:00
Thomas Zimmermann
3de553dd1d
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
Thomas Zimmermann
4aaccae2b5
Bug 985949: Fix pointer handling in BlueZ backend, r=echou
...
This is caused by bug 967364. We need to hand over data structures
to DBus operations and forget about them if the operation returned
success. Until now, we could just tell their nsRefPtrs to |forget|
about them, but with bug 967364 applied we need to swap an empty
value into the pointer.
2014-03-24 10:44:28 +01:00
Shawn Huang
b214332845
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
8b1eb0343a
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
48270a0cf3
Bug 979370: Remove |ToggleBtTask|, r=echou
...
|ToggleBtTask| runs on the same thread as the start and stop methods
of |BluetoothService|. This patch merges the code of |ToggleBtTask|
into the start and stop methods and removes the class.
2014-03-14 10:50:18 +01:00
Thomas Zimmermann
37bbe5d22a
Bug 979370: Split |BluetoothService::StartStopBluetooth|, r=echou
...
This patch splits |BluetoothService::StartStopBluetooth| into two
separate functions. Both have mostly different code paths.
2014-03-14 10:50:02 +01:00
Thomas Zimmermann
d5c4098cf9
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
2e7b14e994
Bug 976485 - [bluedroid] Fix sometimes Avrcp 1.3 play status is out of sync. r=gyeh
2014-03-13 09:12:41 -04:00
Ben Tian
a1bfbbd31e
Bug 981458 - Revise +CIEV string for battery charge indicator, r=gyeh
2014-03-12 17:21:07 +08:00
Vicamo Yang
6193669e39
Bug 957917 - 2/2: test cases. r=hsinyi
2014-03-11 22:18:00 +08:00
Shawn Huang
ca6d9f4f08
Bug 979160 - Outgoing connection failure shall trigger OnConnect instead of OnDisconnect, r=echou
2014-03-10 10:33:32 +08:00
Ryan VanderMeulen
fee54ff24f
Backed out changesets a7ea2d51414d and 901717199390 (bug 957917) for causing bug 980375.
2014-03-06 16:30:35 -05:00
Thomas Zimmermann
358e315d3e
Bug 978809: Send ToggleBtAck after finishing BlueZ connection setup, r=echou
...
With this patch, ToggleBtAck is sent by the BlueZ backend of
Bluetooth after the connection has been set up completely.
2014-03-06 12:45:16 +01:00
Thomas Zimmermann
59813d6a1f
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
e7759d8ae3
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
1fc9272c77
Bug 976943 - Add error handing for connect/disconnect process, f=btian, r=gyeh
2014-03-06 19:26:22 +08:00
Eric Chou
fbb9be6ba1
Bug 976883 - Handle unknown property sent from bt stack properly, f=btian, r=shuang
2014-03-05 15:50:54 +08:00
Shawn Huang
d55fedaad4
Bug 951634: Add TimerCallback in Profile Controller, r=gyeh
2014-01-29 19:13:10 +08:00
Vicamo Yang
1df6a7d262
Bug 957917 - 2/2: test cases. r=hsinyi
2014-03-05 10:37:45 +08:00
Jamin Liu
8eeb05bde8
Bug 972730 - Avoid disabling BT before the BT adapter is initialized in marionette test. r=echou, f=vicamo
...
The current Bluetooth API can't allow user to disable BT before the BT
adapter is initialized.
In practice, We block the clicking event in gaia layer to prevent user
to turn off BT before BT enable procedure complete.
If we use marionette test to force emulator turn on and turn off BT in
a short period of time, it may crash emulator.
Listen to 'adapteradded' event rather than 'enabled' as the end of
BT enable to make sure we wouldn't disable BT when it's not ready.
2014-03-03 10:20:24 -05:00
Thomas Zimmermann
f3401e1c87
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
Thomas Zimmermann
714a2b2204
Bug 977146: Declare ToggleBtAck in header file, r=echou
...
Declaring ToggleBtAck in the header file of BluetoothService makes
it available ot others classes.
2014-03-03 13:07:17 +01:00
Thomas Zimmermann
f9675b3254
Bug 977146: Set PROP_BLUETOOTH_ENABLED in ToggleBtAck, r=echou
...
PROP_BLUETOOTH_ENABLED signals the Bluetooth state to other
components in the system. Setting its value in ToggleBtAck
on the main thread avoids duplicated code in the upcoming
patches.
2014-03-03 13:07:16 +01:00
Carsten "Tomcat" Book
236427f5bf
Merge mozilla-central to b2g-inbound
2014-02-27 15:59:39 +01:00
Hsin-Yi Tsai
334747f140
Bug 881174 - part5 - cdma 3way call: BT. r=gyeh
2014-02-21 17:53:23 +08:00
Ben Tian
7214cc65d3
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
b0d8828c19
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
b13bcbca73
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
Ehsan Akhgari
f870f4f3d0
Bug 975732 - Move one CXXFLAGS variable in dom/bluetooth to DEFINES; r=mshal
2014-02-22 21:42:12 -05:00
Ehsan Akhgari
f1e844fd62
Bug 935778 - Part 0.4: Spray even more MOZ_DECLARE_REFCOUNTED_TYPENAME across the tree
2014-02-21 09:11:33 -05:00
Thomas Zimmermann
405bf0e97a
Bug 972253: Remove GetDBusConnection, r=echou
...
All calls to GetDBusConnection have been replaced by direct references
to sDBusConnection.
2014-02-20 12:56:11 +01:00
Thomas Zimmermann
dc6988b2be
Bug 972253: Cleanup Start/Stop methods in BlueZ backend, r=echou
...
This patch cleans up the code for starting and stopping DBus
connections in the BlueZ backend of Bluetooth. It also fixes
a bug were the initial 'adapteradded' reply might have been
missed.
2014-02-20 12:55:57 +01:00
Thomas Zimmermann
e55b242e41
Bug 972253: Merge the content of DBusThread.cpp into Bluetooth code, r=echou
...
DBusThread.{cpp,h} maintains state for Bluetooth. This patch moves
the content of these files to Bluetooth's Bluez backend.
2014-02-20 12:55:41 +01:00
Sam Joch
05d227e6b6
Bug 968215 - SettingsService needs to have a callback when transaction are completed. r=bent
2014-02-07 12:19:58 +01:00
Thomas Zimmermann
524ed620dd
Bug 969314: Cleanup Gonk start/stop code in BluetoothDBusService, r=echou
...
This patch removes all unnecessary code when starting and stopping
Gonk in BluetoothDBusService. The change simplifies the respective
methods considerably.
2014-02-13 16:28:11 +01:00
Thomas Zimmermann
e2ca916054
Bug 969314: Cleanup handling of libbluedroid.so, r=echou
...
This patch cleans up the handling of libbluedroid.so and its
interfaces. Open and closing the library is now handled internally
and contained functions are wrapped in class methods.
2014-02-13 16:28:09 +01:00
Thomas Zimmermann
05248a2faa
Bug 969314: Merge BluetoothGonkService into BluetoothDBusService, r=echou
...
This patch merges the code from BluetoothGonkService into
BluetoothDBusService. The merged code is protected by ifdef
statements.
2014-02-13 16:28:07 +01:00
Vicamo Yang
688d10a1be
Bug 969109 follow-up: strictly define the order of participating promises. r=echou, f=jaliu
2014-02-13 19:52:05 +08:00
Ben Tian
a4430f867c
Bug 969447 - Unable to turn bluetooth on after turning it on and off several times, r=echou, a=1.3+
2014-02-13 12:08:41 +08:00
Ryan VanderMeulen
d2ec89c8d0
Backed out changeset eea91c2d859d (bug 969447) for Marionette-webapi bustage.
...
CLOSED TREE
2014-02-11 12:48:09 -05:00
Ben Tian
8c22c727a9
Bug 969447 - Unable to turn bluetooth on after turning it on and off several times, r=echou
2014-02-11 18:14:58 +08:00
Eric Chou
fff01c4303
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
Carsten "Tomcat" Book
fdd1afb70a
merge b2g-inbound to mozilla-central
2014-02-10 12:52:16 +01:00
Vicamo Yang
fdbcbdbad9
Bug 969109: fix racing condition in test_dom_BluetoothManager_enabled.js. r=echou, f=jaliu
2014-02-10 12:03:43 +08:00
Chris Peterson
c87e8bfa46
Bug 952785 - RawDBusConnection::SendWithReply() returns bool, not nsresult. r=echou
2014-02-09 12:44:05 -08:00
Thomas Zimmermann
1e6a5b445b
Bug 964817: Invoke DBus send operations on I/O thread, r=echou
...
Currently, the DBus connection for Bluetooth is shared between the
main thread and the I/O thread. This causes race conditions when
starting or stopping Bluetooth.
This patch moves all occurences of main-thread-invoked DBus send
operations to the I/O thread. This is mostly refactoring. Internally,
send operations are already executed on the main thread, so there is
no change in the over all logic of these methods.
2014-02-06 13:44:46 +01:00
Thomas Zimmermann
257bd53794
Bug 843857: Don't listen if connect fails on BT server, r=echou
...
If the listen operation fails for Bluetooth servers, we should
not call listen again in the error handler. Otherwise, we run
into an endless loop of listen calls and error callbacks.
2014-02-05 14:17:22 +01:00
Jon Coppeard
50e1f34d5a
Bug 959787 - Handlify JS_GetProperty and related APIs r=terrence r=bz
2014-01-31 09:55:20 +00:00
Birunthan Mohanathas
e81a8f702d
Bug 828300 - Replace NS_ARRAY_LENGTH with mozilla::ArrayLength/MOZ_ARRAY_LENGTH. r=ehsan
2014-01-30 13:26:54 -05:00
Kyle Huey
f105033d5c
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
edea0147d3
Bug 957949 - [HFP] Add B2G common bluedroid config file, r=echou
2014-01-15 11:50:27 +08:00
Ben Tian
88b73b0670
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
Gina Yeh
a3eb2efd58
Bug 952907 - Patch 1: Use WebIDL codegen to implement Bluetooth events, r=smaug
2014-01-22 14:26:29 +08:00
L. David Baron
4f04bcdc57
Bug 976350 patch 1: Move the contents of nsTraceRefcnt.h into nsISupportsImpl.h. r=bsmedberg
...
This makes sense since the file no longer contains anything with the
nsTraceRefcnt name in it, and it will allow renaming nsTraceRefcntImpl
back to nsTraceRefcnt.
2014-02-26 13:36:35 -08:00
Jamin Liu
a4869641e7
Bug 953045 - Fix a bug of bluetooth AVRCP to support media metadata updating correctly. f=shuang, r=echou
2014-01-17 18:15:37 +08:00
Ryan VanderMeulen
aabad2abb4
Merge m-c to inbound.
2014-01-16 15:07:22 -05:00
Ryan VanderMeulen
b05202b7e2
Merge inbound to m-c.
2014-01-16 15:06:12 -05:00
Terrence Cole
f017da90d9
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
1793a7b7be
Bug 953034 - Part 2: Change MediaNumber type to uint64_t. r=gyeh
2014-01-16 08:39:34 -05:00
Shawn Huang
08d8978fb6
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
Shawn Huang
c231ddb423
Bug 950220 - Unable to change Bluetooth device name from Settings UI, r=echou
2014-01-16 14:36:35 +08:00
Tom Schuster
e64b35e141
Bug 939294 - Change xpidl jsval to handles. r=gabor,bz,khuey,bsmedberg,terrence
2014-01-09 18:39:36 +01:00
Ben Tian
0e05b3a258
Bug 948337 - create BluetoothHfpManagerBase for audio manager access
2014-01-13 13:58:43 +08:00
Jamin Liu
6c1b84b456
Bug 953036 - Set HSP flag when BluetoothHfpManager chooses to connect HSP. r=echou
2014-01-10 08:23:13 -05:00
Ben Tian
b09206d9f0
Bug 956258 - [cleanup] Patch 2/2: reduce warnings and remove cancel_discovery() in SendFile(), r=echou
2014-01-03 17:25:04 +08:00
Ben Tian
d395920253
Bug 956258 - [cleanup] Patch 1/2: rename g* variables to s* ones, r=echou
2014-01-10 09:34:43 +08:00
Thomas Zimmermann
473a6d5afc
Bug 950891: Don't run GetServiceChannel while turning Bluetooth on/off, r=echou
...
This patch adds a check to BluetoothDBusService::GetServiceChannel to
ensure that Bluetooth is ready. If the system is in a transition from
on to off, or vice versa, the method might operate on an undefined
state.
2014-01-07 13:46:20 +01:00
Shawn Huang
b769ea8f1c
Bug 946240 - [Bluetooth][gonk-kk] Add flags to support different AVRCP profile version. r=echou
2014-01-08 09:32:19 -05:00
Boris Zbarsky
9cdaf7bf8e
Bug 950188. DOMRequest should only have a constructor taking a Window. r=khuey
2014-01-06 21:53:23 -05:00
Birunthan Mohanathas
c293ca84b8
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
ebd358dfd7
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
1551465c06
Bug 947870 - Assertion in BluetoothOppManager::CreateFile (bluedroid), r=echou
2013-12-23 16:47:12 +08:00
Ben Tian
6fe5d8ef31
Bug 939022 - BluetoothUtils for bluedroid. Patch 2/3: Modify files, r=echou
2013-12-23 11:24:11 +08:00
Ben Tian
c232ce69db
Bug 939022 - BluetoothUtils for bluedroid. Patch 1/3: Move files, r=echou
...
--HG--
rename : dom/bluetooth/BluetoothUtils.cpp => dom/bluetooth/bluedroid/BluetoothUtils.cpp
rename : dom/bluetooth/BluetoothUtils.h => dom/bluetooth/bluedroid/BluetoothUtils.h
rename : dom/bluetooth/BluetoothUtils.cpp => dom/bluetooth/bluez/BluetoothUtils.cpp
rename : dom/bluetooth/BluetoothUtils.h => dom/bluetooth/bluez/BluetoothUtils.h
2013-12-16 19:00:54 +08:00
Ms2ger
dda2a3ced0
Bug 942104 - Fix a mismerge from the backout on a CLOSED TREE; a=Tomcat
2013-12-20 15:19:14 +01:00
Ms2ger
4720fc16e5
Merge backout.
2013-12-20 11:36:27 +01:00
Ms2ger
09229ed637
Backout bug 942104 (changesets 4e5746a65a5e:62e32a84a9fb) for missing review.
2013-12-20 11:33:37 +01:00
Eric Chou
5e59ce2690
Bug 949772 - Fire PropertyChanged to registered BluetoothDevice objects, r=gyeh
2013-12-18 18:21:37 +08:00
Eric Chou
510e723f79
Bug 949772 - Make BluetoothAdpater be able to deal with multiple properties in one PropertyChanged event, f=btian, r=gyeh
2013-12-18 18:21:05 +08:00
Ben Tian
aed903d3cd
Bug 949843 - Don't use char* str = NS_ConvertUTF16toUTF8(aBdAddress).get();, r=echou
2013-12-18 09:53:11 +08:00
Eric Chou
4fb67060de
Bug 942104 - Fire event 'ondiscoverystatechanged' (bluez), r=gyeh
2013-11-30 20:20:18 +08:00
Eric Chou
3f1fd8da53
Bug 942104 - Fire event 'ondiscoverystatechanged', r=gyeh
...
From b03fc76c1810cf3f91aa9f92732c3df4ffd471a3 Mon Sep 17 00:00:00 2001
2013-11-25 14:13:26 +08:00
Eric Chou
e25ca0c35b
Bug 942104 - Add nsIDOMBluetoothDiscoveryStateChangedEvent, r=gyeh
2013-11-30 20:20:17 +08:00
Eric Chou
d3a0fe86e9
Bug 942104 - Add an event "ondiscoverystatechanged", r=gyeh, sr=mrbkap
2013-11-30 20:20:17 +08:00
Shawn Huang
8922023cee
Bug 944293 - [Bluetooth] Correct IS_PERIPHERAL COD validation and add error handling if COD is invalid, r=gyeh
2013-11-29 16:01:22 +08:00
Eric Chou
e31fb582fb
Bug 942712 - Ensure event 'AdapterAdded' will be fired after 'Enabled' being fired, r=gyeh
2013-11-27 16:24:51 +08:00
Eric Chou
fe02440431
Bug 942712 - Set gToggleInProgress to false when bt toggling is done, r=gyeh
...
From 2e8e1d84251fac968caf9104536d1b794c986670 Mon Sep 17 00:00:00 2001
2013-11-26 15:13:43 +08:00
Mike Hommey
9245936f8b
Bug 874266 - Move all DEFINES that can be moved to moz.build. r=mshal
2013-11-27 22:55:07 +09:00
Mike Hommey
2b828323f2
Backout changeset 3fd4b546eed4 (bug 874266) and changeset a35d2e3a872f (bug 942043) for ASAN build bustage and Windows test bustage
...
--HG--
extra : amend_source : f20d09aeff1c8b5cbd0f1d24c7ce04e86f3aed1d
2013-11-28 14:24:05 +09:00
Mike Hommey
d210f8ff00
Bug 874266 - Move all DEFINES that can be moved to moz.build. r=mshal
2013-11-28 13:08:16 +09:00
Jamin Liu
100bf64d24
Bug 881194 - [Bluetooth] Send +CIEV callheld for conference call. r=echou
2013-12-16 08:37:33 -05:00
Jamin Liu
84ab62f5c1
Bug 881194 - [Bluetooth] Send +CIEV callheld properly to indicate call hold status. r=echou
...
- Send +CIEV callheld=1 when active calls become held calls
- Send +CIEV callheld=0 when all held calls become active calls.
2013-11-15 14:48:00 +08:00
Jamin Liu
adb2431ed7
Bug 881194 - [Bluetooth] Support AT+CHLD=3 in dom bluetooth. When "AT+CHLD=3" is received from a hands-free device, notify the Dialer app to "Add a held call to the conversation". r=echou
2013-11-28 14:05:05 +08:00
Vicamo Yang
d66bff1ccd
Bug 939637: B2G Bluetooth: add test case for navigator.BluetoothManager.adapteradded. r=echou
2013-12-13 15:31:21 +08:00
Vicamo Yang
2b9f628cc2
Bug 939441: B2G Bluetooth: add test cases for navigator.BluetoothManager.enabled. r=echou, f=jgriffin
2013-12-13 15:31:16 +08:00
Thomas Zimmermann
ea7e350a24
Bug 932728: Open only one connection to DBus, r=echou,qdot
...
Bluetooth maintains two connections to the DBus server and the DBus
system itself maintains a third one. This implies some overhead and
makes the code more difficult to understand.
This patch changes the Bluetooth code to use the connection that is
established by the DBus system.
2013-12-12 12:56:00 +01:00
Shawn Huang
a3360114e1
Bug 941462 - Reply internal error code when getting I/O error from BlueZ, r=gyeh
2013-12-12 19:37:42 +08:00
Jamin Liu
0e31364f96
Bug 932490 - Fix the buffer overflows of OBEX packet. r=echou
2013-12-11 09:53:24 -05:00
Ben Tian
70a3ee3993
Bug 948247 - [bluedroid] Race condition in BluetoothSocket may result in segmentation fault, r=echou
2013-12-11 16:53:11 +08:00
Eric Chou
e98a57a98b
Bug 947870 - Avoid assertion on receiving files via Bluetooth, r=gyeh
2013-12-11 13:17:34 +08:00
Ryan VanderMeulen
ca386608b9
Merge b2g-inbound to m-c.
2013-12-09 17:26:11 -05:00
Birunthan Mohanathas
bdda80d8b8
Bug 798033 - Remove 'using namespace' from dom/ headers. r=echou
2013-12-08 21:53:11 -05:00
Birunthan Mohanathas
759ab69b0a
Bug 713082 - Part 2: Rename Util.h to ArrayUtils.h. r=Waldo
...
--HG--
rename : mfbt/Util.h => mfbt/ArrayUtils.h
2013-12-08 21:52:54 -05:00
Birunthan Mohanathas
2a97f4dc0d
Bug 713082 - Part 1: Remove unnecessary Util.h includes. r=Waldo
2013-12-08 21:52:33 -05:00
Ben Tian
f40c952ebe
Bug 946555 - Remove unused functions in BluetoothService classes and some warnings, r=echou
2013-12-06 12:20:07 +08:00
Eric Chou
9588efd947
Bug 947060 - Don't go through bonding procedure while transferring files via OPP, r=gyeh
2013-12-09 17:43:15 +08:00
Ben Tian
80ebb68b44
Bug 947096 - [Flatfish] Build break results from variable access that requires MOZ_B2G_RIL flag, r=echou
2013-12-06 15:17:24 +08:00
Eric Chou
89562bccd5
Bug 932496 - Add length check to prevent from memory pollusion, r=gyeh
2013-12-06 16:23:35 +08:00
Ryan VanderMeulen
ad71ecfc91
Merge inbound to m-c.
2013-12-05 17:29:03 -05:00
Ben Tian
7439710810
Bug 946048 - Reset mPhoneType in BluetoothHFPManager constructor, r=echou
2013-12-04 13:51:57 +08:00
Gina Yeh
37144f03e7
Bug 943752 - Refine BluetoothProfileController logic for AVRCP and HID, r=echou
2013-12-05 10:05:39 +08:00
Mike Shal
94d19c46f2
Bug 875013 - Remove VPATH; r=glandium
2013-11-21 14:57:06 -05:00
Ben Tian
b74b9e350d
Bug 945193 - Print function name in bluetooth logs, r=echou
2013-12-02 18:50:23 +08:00
Ben Tian
935fb4ff2b
Bug 945640 - [HFP] Pop up volume UI when bluetooth headset adjusts volume during call, r=echou
2013-12-04 10:06:10 +08:00
Ben Tian
d23170ff6e
Bug 944574 - Add ConnectSco/DisconnectSco into BluetoothServiceBluedroid, r=echou
2013-12-03 09:56:27 +08:00
Gina Yeh
9c708e1df9
Bug 945149 - No event AdapterAdded is received after turning on Bluetooth, r=echou
2013-12-04 10:18:33 +08:00
Eric Chou
da286887af
Bug 915533 - Remove files that were accidentally restored, r=gyeh
2013-12-03 14:45:01 +08:00
Ben Tian
eba81c2c79
Bug 944592 - Re-implement BluetoothOppManager::Disconnect(), r=echou
2013-11-29 14:13:40 +08:00
Ryan VanderMeulen
b391dde096
Merge m-c to b2g-inbound.
2013-12-02 10:38:28 -05:00
Carsten "Tomcat" Book
2499f18bd4
Backed out changeset 2faed81ad05f (bug 915533) for Build Bustage
2013-12-02 08:53:30 +01:00
Carsten "Tomcat" Book
f9a05b8a71
Backed out changeset 22ad4bbd595d (bug 915533) for Build Bustage
2013-12-02 08:53:16 +01:00
Ben Tian
ce0919f2ec
Bug 915533 - Patch 2/2: [bludroid OPP] BluetoothSocket, r=echou
2013-12-02 10:39:58 +08:00
Ben Tian
74198c7595
Bug 915533 - Patch 1/2: [bludroid OPP] Move files, r=echou
2013-11-29 14:18:04 +08:00
Jamin Liu
0d3e8868b7
Bug 943753 - Fix the incorrect condition for synchronous connection to support HSP. r=echou
...
We don't need to check SLC status for HSP.
2013-12-02 16:38:51 +08:00
Ben Tian
003c7cef3f
Bug 915533 - Patch 2/2: [bludroid OPP] BluetoothSocket, r=echou
2013-12-02 10:39:58 +08:00
Ben Tian
453bd5eb7d
Bug 915533 - Patch 1/2: [bludroid OPP] Move files, r=echou
2013-11-29 14:18:04 +08:00
Ben Tian
9b8fb0cc7b
Bug 921991 - B2G BT: support multiple sim cards, r=echou, r=mrbkap
2013-11-26 14:11:06 +08:00
Jamin Liu
5a91993cbf
Bug 937074 - [Bluetooth] Make sure SLC established before we set up SCO. r=echou
2013-11-26 11:28:10 +08:00
Shawn Huang
6af215f17b
Bug 939500 - [bluedroid] Avrcp 1.3 prototype, r=echou
2013-11-22 23:40:22 +08:00
Eric Chou
c636f29719
Bug 932543 - Check data size before memcpy in BluetoothOppManager, r=gyeh
2013-11-22 11:55:42 +08:00
Szu-Yu Chen [:aknow]
03287a54ed
Bug 856553 - Part 3: Add radiostatechange in listener (bluetooth). r=gyeh
2013-11-21 09:09:01 -05:00
Shawn Huang
39ab4f7a8f
Bug 941574 - [bluedroid] Fix sometimes outgoing connection fails due to Reset() mis-placed, r=echou
2013-11-21 20:17:10 +08:00
Shawn Huang
dd0446f33a
Bug 941564 - [bluedroid] Update BD address while an incoming connection established, r=echou
2013-11-21 20:17:07 +08:00
Shawn Huang
621fdc3dc3
Bug 935882 - [bluedroid] Support GetConnectedDevice API, r=echou
2013-11-21 18:12:45 +08:00
Eric Chou
b4c457c6e9
Bug 941416 - Fix regression of bug 936995, r=gyeh
2013-11-21 12:58:04 +08:00
Shawn Huang
ff2e8fc2f5
Bug 935578 - Patch 3: Enable connect/disconnect, r=echou
2013-11-20 16:19:09 +08:00
Shawn Huang
76c13d78b7
Bug 935578 - Patch 2: BluetoothA2dpManager bluedroid version, r=echou
2013-11-20 16:19:09 +08:00
Shawn Huang
757566e5b0
Bug 935578 - Patch 1: Separate BluetoothA2dpManager implementation for bluez/bluedroid stack, r=echou
2013-11-20 16:19:08 +08:00
Eric Chou
63371f309f
Bug 936995 - Fire event Disable after Bluetooth is really disabled, r=gyeh
2013-11-20 15:01:54 +08:00
Eric Chou
445a605652
Backed out changeset 40ecdab580b3 (bug 936995) for potential JB build error
2013-11-20 15:17:00 +08:00
Eric Chou
0449e68552
Bug 936995 - Fire event Disable after Bluetooth is really disabled, r=gyeh
2013-11-20 15:01:54 +08:00
Eric Chou
5e565e0f10
Bug 940271 - Don't fire PropertyChanged if the device address has been already in the array, r=gyeh
2013-11-19 20:13:02 +08:00
Gina Yeh
dd6be722b6
Bug 932914 - Broadcast AdapterAdded after adapter name is updated, r=echou
2013-11-19 15:58:48 +08:00
Ben Tian
f8d1adb7cd
Bug 938524 - Bluedroid HFP prototype, r=echou
2013-11-18 15:41:16 +08:00
Ben Tian
ec67963ed2
Bug 938521 - Make bt interface accessible from profile managers, r=echou
2013-11-14 17:45:26 +08:00
Eric Chou
57c131832d
Bug 939669 - Append missed properties to BluetoothAdapter, r=gyeh
2013-11-19 11:12:17 +08:00
Mike Hommey
a65383e1e9
Bug 939632 - Remove LIBRARY_NAME for leaf libraries. r=gps
...
Landing on a CLOSED TREE.
2013-11-19 11:50:54 +09:00
Mike Hommey
8ceb917350
Bug 939074 - Remove most LIBXUL_LIBRARY. rs=gps
2013-11-19 11:48:10 +09:00
Mike Hommey
bb6779efe3
Bug 939044 - Remove most definitions of MODULE. r=mshal
2013-11-19 11:47:39 +09:00
Mike Hommey
d7b6f95761
Bug 935881 - Use FINAL_LIBRARY for all (fake) libraries that end up linked in a single other library. r=gps
2013-11-19 11:47:14 +09:00
Shawn Huang
81a490c523
Bug 938529 - [bluedroid] Set BT_SCAN_MODE to Connectable after Bluetooth turned on. r=echou
2013-11-18 12:39:03 -05:00
Ben Tian
c0173d91b0
Bug 936732 - Patch 2/3: BT file changes, r=khuey
2013-11-18 14:29:45 +08:00
Ben Tian
374135d9f7
Bug 936732 - Patch 1/3: relocate files, r=echou
2013-11-14 17:30:32 +08:00
Eric Chou
0500470c76
Bug 933113 - Modify Pair/Unpair interface for Gaia being able to Pair/Unpair with only BD address, r=gyeh, sr=mrbkap
...
NFC handover is a mechanism for two devices to exchange their Bluetooth device
address with each other. Then one device would be initialize the Bluetooth
pairing process with received Bluetooth device address. However currently we
need a BluetoothDevice object for Pairing/Unpairing, but actually the address
of the Bluetooth device object is the only thing Gecko requires.
2013-11-15 17:19:31 +08:00
Ben Tian
e7995022be
Bug 937572 - debug build MOZ_ASSERT fails in BluetoothOppManager::Disconnect(), r=echou
2013-11-15 09:42:53 +08:00
Eric Chou
7753f8a9e9
Bug 937973 - Fix discoverable not working problem, r=gyeh
2013-11-14 14:51:17 +08:00
Eric Chou
19c827586a
Bug 936711 - Fix crash which happened at disabling Bluetooth during reconnection, r=gyeh
2013-11-12 17:37:30 +08:00
Ben Tian
922a375475
Bug 935573 - [bluedroid] Add Connect/Disconnect api, r=echou
2013-11-12 11:59:01 +08:00
Gregor Wagner
c9d954d8dc
Backout 69acb8830b8c for real.
2013-11-11 10:40:50 -08:00
Gregor Wagner
b9f5f3ac75
Backout 26407a874057 for causing Bug 937199.
2013-11-11 10:28:56 -08:00
Ben Tian
2a75c1f0f7
Bug 935573 - [bluedroid] Add Connect/Disconnect api, r=echou
2013-11-11 14:16:28 +08:00
Carsten "Tomcat" Book
54656e2880
merge b2g-inbound to mozilla-central
2013-11-11 12:03:04 +01:00
Ms2ger
5e1bd894df
No bug - Fix some style issues in DOM code.
2013-11-11 09:04:41 +01:00
Ben Tian
eb401b4b9a
Bug 921991 - B2G BT: support multiple sim cards, r=echou
2013-11-08 14:41:12 +08:00
Shawn Huang
5667cb55ae
Bug 932770 - [bluedroid] Implement GetPairedDeviceInternal, r=echou
2013-11-08 23:25:20 +08:00
Gina Yeh
d9057b1d15
Bug 934891 - Remove DISCONNECTING state from A2DP, r=echou
2013-11-08 12:53:27 +08:00
Ben Tian
b2df6870c1
Bug 934552 - Crash in bluetooth while monkey testing, r=echou
2013-11-06 14:26:46 +08:00
Ben Tian
f262377cca
Bug 897782 - Support Multiple BT file transfering, r=echou
2013-11-05 15:53:10 +08:00
Gina Yeh
2b2a23ee2b
Bug 935368 - Wrong interface for dbus method of DefaultAdapter, r=echou
2013-11-06 19:46:23 +08:00
Shawn Huang
97b337a9aa
Bug 932682 - [bluedroid] Support Pair/Unpair, Bond state changed callback, r=echou
2013-11-05 19:30:46 +08:00
Ryan VanderMeulen
a6b084b84f
Merge b2g-inbound to m-c.
2013-11-04 16:17:59 -05:00
Carsten "Tomcat" Book
f10da167db
merge b2g-inbound to mozilla-central
2013-11-04 13:52:18 +01:00
Shawn Huang
e3e70d8b7b
Bug 931802 - [bluedroid] Support DeviceFound/DiscoveryStateChange callback, r=echou
2013-11-04 19:05:48 +08:00
Gina Yeh
f63f92db70
Bug 933195 - Replace object path with device address, r=echou
2013-11-04 14:42:51 +08:00
Nathan Froyd
ad3ed9e5be
Bug 918651 - part 5 - qualify all IPDL using statements with required header; r=ehsan
2013-10-01 15:25:07 -04:00
Hsin-Yi Tsai
f4d9a8c617
Bug 912849 - part5 - BT impl. r=gyeh
2013-10-28 14:48:59 +08:00
Szu-Yu Chen [:aknow]
91af100e20
Bug 814625 - Part 9: Bluetooth: Add serviceId in listener. r=gyeh
2013-10-31 08:06:28 -04:00
Edgar Chen
9eb881e4fb
Bug 926343 - Part 3: Bluetooth changes for adding clientId in nsIIccProvider. r=gyeh
2013-09-30 18:22:33 +08:00
Ryan VanderMeulen
d9c8a6c13c
Backed out 9 changesets (bug 814625) for desktop build bustage.
...
Backed out changeset a107de5616a0 (bug 814625)
Backed out changeset 416665a419f4 (bug 814625)
Backed out changeset b6fc8734864f (bug 814625)
Backed out changeset 9f5e2e44a914 (bug 814625)
Backed out changeset 17b3050df362 (bug 814625)
Backed out changeset 43a047c081c8 (bug 814625)
Backed out changeset 90bdcd099320 (bug 814625)
Backed out changeset 8957cc31cce2 (bug 814625)
Backed out changeset de45eb7a8d16 (bug 814625)
2013-10-30 15:48:39 -04:00
Szu-Yu Chen [:aknow]
c44d0d7b14
Bug 814625 - Part 9: Bluetooth: Add serviceId in listener. r=gyeh
2013-10-30 15:07:15 -04:00
Shawn Huang
c4ee7e8f79
Bug 930853 - [Bluetooth] Support SetProperty function which enables SetName, SetDiscoverable, SetDiscoveryTimeout, r=echou
2013-10-30 19:23:39 +08:00
Shawn Huang
33ce93fa5b
Bug 929941- Listening bluetooth address, name, scan mode events for bluedroid stack, r=echou
2013-10-30 13:46:03 +08:00
Jessica Jong
f28caa33d1
Bug 818353 - Part 3: DOM changes - use default client id (0) in BT. r=gyeh
2013-10-30 12:03:25 +08:00
Ed Morley
d54e219b06
Merge mozilla-central and b2g-inbound
2013-10-29 16:34:46 +00:00
Vicamo Yang
485512d8af
Bug 920551 - 2.i/2: fix Bluetooth. r=echou
2013-10-29 16:12:46 +08:00
Gina Yeh
f1d8e5fc85
Bug 913372 - Patch 3: Make a queue for active connection requests, r=echou
2013-10-28 12:07:15 +08:00