OSDN Git Service

android-x86/packages-apps-Bluetooth.git
10 years agoAdd an AdvertiseManager for LE advertise operations.
Wei Wang [Wed, 16 Jul 2014 06:12:20 +0000 (23:12 -0700)]
Add an AdvertiseManager for LE advertise operations.

Move all advertise logic out of GattServiceStateMachine.

Change-Id: I9bc9be29372e79e863fc6a0b16d4808918bfb404

10 years agoAdd ALLOW_ALL filter logic to scan filters. Note filter index 1 is
Wei Wang [Tue, 15 Jul 2014 18:06:36 +0000 (11:06 -0700)]
Add ALLOW_ALL filter logic to scan filters. Note filter index 1 is
reserved for ALLOW_ALL filter now.

Change-Id: Ie8b2f94a0112f95bc88323a8319f94fb780790a2

10 years agoRemove MR2 BLE Advertising hidden API from L codebase (2/2)
Wei Wang [Thu, 10 Jul 2014 22:40:28 +0000 (15:40 -0700)]
Remove MR2 BLE Advertising hidden API from L codebase (2/2)

Change-Id: I1430cef859544fc97b7c39ead42dcb184707aa5f

10 years agoam 24b52ce7: Merge "Revert "Bluetooth: MAP: Do not set body header if maxlist count...
Matthew Xie [Sat, 12 Jul 2014 07:31:12 +0000 (07:31 +0000)]
am 24b52ce7: Merge "Revert "Bluetooth: MAP: Do not set body header if maxlist count is 0"" into klp-wireless-dev

* commit '24b52ce786d8c5fa4bf1c4294ec9fbfd3738754f':
  Revert "Bluetooth: MAP: Do not set body header if maxlist count is 0"

10 years agoam c73bd48e: Merge "Bluetooth: MAP: Do not set body header if maxlist count is 0...
Matthew Xie [Sat, 12 Jul 2014 05:54:48 +0000 (05:54 +0000)]
am c73bd48e: Merge "Bluetooth: MAP: Do not set body header if maxlist count is 0" into klp-wireless-dev

* commit 'c73bd48e5351a12103cb58a15fa9fc33825c9b07':
  Bluetooth: MAP: Do not set body header if maxlist count is 0

10 years agoam 5693ce1f: Merge "Bluetooth-OPP: Avoid IndexOutOfBoundsException if share is zero...
Matthew Xie [Sat, 12 Jul 2014 05:54:47 +0000 (05:54 +0000)]
am 5693ce1f: Merge "Bluetooth-OPP: Avoid IndexOutOfBoundsException if share is zero" into klp-wireless-dev

* commit '5693ce1fb60f7ebf858b4e35750a9335ebe47c72':
  Bluetooth-OPP: Avoid IndexOutOfBoundsException if share is zero

10 years agoam ead7ebb5: Merge "Bluetooth: Fix to avoid crash while sending deleted file" into...
Matthew Xie [Sat, 12 Jul 2014 05:54:46 +0000 (05:54 +0000)]
am ead7ebb5: Merge "Bluetooth: Fix to avoid crash while sending deleted file" into klp-wireless-dev

* commit 'ead7ebb5ccb5bf81435437b4210a6e5413eb1c2f':
  Bluetooth: Fix to avoid crash while sending deleted file

10 years agoUnhide Bluetooth batch APIs. Deprecate BluetoothAdpater scan APIs. (2/2)
Andre Eisenbach [Fri, 11 Jul 2014 09:55:58 +0000 (02:55 -0700)]
Unhide Bluetooth batch APIs. Deprecate BluetoothAdpater scan APIs. (2/2)

Change-Id: If29034da523a4f2a0ce9807226363f038f0360cd

10 years agoMerge "Bluetooth: MAP: Do not set body header if maxlist count is 0" into klp-wireles...
Matthew Xie [Sat, 12 Jul 2014 05:50:51 +0000 (05:50 +0000)]
Merge "Bluetooth: MAP: Do not set body header if maxlist count is 0" into klp-wireless-dev

10 years agoBluetooth: MAP: Do not set body header if maxlist count is 0
Pradeep Panigrahi [Wed, 18 Dec 2013 14:09:04 +0000 (19:39 +0530)]
Bluetooth: MAP: Do not set body header if maxlist count is 0

As per MAP profile spec when message listing or folder
listing is done with 0 as max list count, then the response
should not contain the body header. Hence add change for the
same

Change-Id: I09b44a07bb9d15f248c0657563da4927ce4b4996

10 years agoMerge "Revert "Bluetooth: MAP: Do not set body header if maxlist count is 0"" into...
Matthew Xie [Sat, 12 Jul 2014 07:26:41 +0000 (07:26 +0000)]
Merge "Revert "Bluetooth: MAP: Do not set body header if maxlist count is 0"" into klp-wireless-dev

10 years agoRevert "Bluetooth: MAP: Do not set body header if maxlist count is 0"
Matthew Xie [Sat, 12 Jul 2014 07:26:20 +0000 (07:26 +0000)]
Revert "Bluetooth: MAP: Do not set body header if maxlist count is 0"

This reverts commit 7f25f97c92b970ef5d58b36f963e7233efd5bf2a.

Change-Id: Ib07fd8439f07de8e6028e88eb0a9798c1aec61a0

10 years agoMerge "Bluetooth-OPP: Avoid IndexOutOfBoundsException if share is zero" into klp...
Matthew Xie [Thu, 10 Jul 2014 18:14:05 +0000 (18:14 +0000)]
Merge "Bluetooth-OPP: Avoid IndexOutOfBoundsException if share is zero" into klp-wireless-dev

10 years agoMerge "Bluetooth: Fix to avoid crash while sending deleted file" into klp-wireless-dev
Matthew Xie [Thu, 10 Jul 2014 17:57:39 +0000 (17:57 +0000)]
Merge "Bluetooth: Fix to avoid crash while sending deleted file" into klp-wireless-dev

10 years agoBluetooth: Fix to avoid crash while sending deleted file
Nitin Shivpure [Fri, 6 Jun 2014 09:36:57 +0000 (15:06 +0530)]
Bluetooth: Fix to avoid crash while sending deleted file

A case where DUT send a file "A" to remote device from
download app(which was already deleted it in file explorer app)
via bluetooth, file sharing is unsuccessful. Now slide down the
status bar, Press bluetooth share item, enter to outbound
transfers screen & Press the "Try again" for file "A" on
file transfer pop-up box. Bluetooth share application is crashed
due to security exception, because it does not have following
permission android.permission.MANAGE_DOCUMENTS. So Adding
android.permission.MANAGE_DOCUMENTS permission to solve this
issue.

Change-Id: I1fea7c359edabf0e653a6afbd8fc864cd65c9663

10 years agoFix filter index stack initialization issue caused by GattServiceStateMachine created...
Wei Wang [Thu, 10 Jul 2014 02:37:21 +0000 (19:37 -0700)]
Fix filter index stack initialization issue caused by GattServiceStateMachine created before adapter property is filled.

Change-Id: I4f487378b332d3b33c8646fd78d9ccec41431975

10 years agoOnFound and Onlost found integration
Prerepa Viswanadham [Wed, 9 Jul 2014 00:03:25 +0000 (17:03 -0700)]
OnFound and Onlost found integration

Change-Id: Ia7bdcd180a318844ab390e23a1f61168e79c324b

10 years agoBluetooth-OPP: Avoid IndexOutOfBoundsException if share is zero
Juffin Alex Varghese [Tue, 4 Mar 2014 08:38:37 +0000 (14:08 +0530)]
Bluetooth-OPP: Avoid IndexOutOfBoundsException if share is zero

This change will avoid IndexOutOfBoundsException if number of sharing
files are zero. Otherwise, Bluetooth application will force close itself
when exception encountered.

Change-Id: I42473c8ca2d9116c6d57707ab8f3c452d7027e67

10 years agoFix a bug that swapped LOW_POWER AND LOW_LATENCY for advertising.
Wei Wang [Wed, 9 Jul 2014 04:27:20 +0000 (21:27 -0700)]
Fix a bug that swapped LOW_POWER AND LOW_LATENCY for advertising.

Change-Id: I21c95ef69c6f54f9d60395a9427d30b875e8e261

10 years agoMerge "resolved conflicts for merge of dc497463 to master"
Matthew Xie [Wed, 9 Jul 2014 01:25:24 +0000 (01:25 +0000)]
Merge "resolved conflicts for merge of dc497463 to master"

10 years agoresolved conflicts for merge of dc497463 to master
Matthew Xie [Wed, 9 Jul 2014 01:24:08 +0000 (18:24 -0700)]
resolved conflicts for merge of dc497463 to master

Change-Id: I7bb1b91da3ae3b6e7e21b34a0cdfb5ed417135bc

10 years agoMake ACTION_CONNECTION_ACCESS_REQUEST to be sent in ordered fashion.
Ang Li [Wed, 9 Jul 2014 00:40:46 +0000 (17:40 -0700)]
Make ACTION_CONNECTION_ACCESS_REQUEST to be sent in ordered fashion.

The purpose of this change is to enable automated testing
to confirm incoming connection without involving human.
Remove .setClass so the intent is no longer only sent to Settings.
This is ok because the intent is still hidden and protected.
Remove unused imports.

Change-Id: I3be5df4ab440b299a75ec41d566f9eecb0ab3f31

10 years agoam 7efa9db2: Merge "HFP: Fix missing OK for AT+CLCC in virtual call"
Matthew Xie [Tue, 8 Jul 2014 20:12:11 +0000 (20:12 +0000)]
am 7efa9db2: Merge "HFP: Fix missing OK for AT+CLCC in virtual call"

* commit '7efa9db2129c99475684a2e44c4fb89cce3134bc':
  HFP: Fix missing OK for AT+CLCC in virtual call

10 years agoam ddfaa805: DO NOT MERGE: Fix concurrency issues with wakelock support
Dmitry Grinberg [Mon, 7 Jul 2014 19:50:54 +0000 (19:50 +0000)]
am ddfaa805: DO NOT MERGE: Fix concurrency issues with wakelock support

* commit 'ddfaa805da01f2d543430c6ed15ce02a3f9d0160':
  DO NOT MERGE: Fix concurrency issues with wakelock support

10 years agoDO NOT MERGE: Fix concurrency issues with wakelock support
Dmitry Grinberg [Fri, 13 Jun 2014 22:55:34 +0000 (15:55 -0700)]
DO NOT MERGE: Fix concurrency issues with wakelock support

Bluedroid seems to have paths through it that lead us to here in many
ways. Add a lock to prevent confusing ourselves.

Bug: 15532889
Change-Id: Idaa828d9c49fbca5d52bfeeb6e6109df20170e0b

10 years agoMerge "HFP: Fix missing OK for AT+CLCC in virtual call"
Matthew Xie [Tue, 8 Jul 2014 20:05:17 +0000 (20:05 +0000)]
Merge "HFP: Fix missing OK for AT+CLCC in virtual call"

10 years agoam 58adcf54: (-s ours) am 13ca31dc: (-s ours) am d18a7b47: (-s ours) Import translati...
Baligh Uddin [Sun, 6 Jul 2014 19:36:33 +0000 (19:36 +0000)]
am 58adcf54: (-s ours) am 13ca31dc: (-s ours) am d18a7b47: (-s ours) Import translations. DO NOT MERGE

* commit '58adcf540f82e85e88248a3af71bc8cdf5a86efb':
  Import translations. DO NOT MERGE

10 years agoam 13ca31dc: (-s ours) am d18a7b47: (-s ours) Import translations. DO NOT MERGE
Baligh Uddin [Sun, 6 Jul 2014 19:31:25 +0000 (19:31 +0000)]
am 13ca31dc: (-s ours) am d18a7b47: (-s ours) Import translations. DO NOT MERGE

* commit '13ca31dcf258d139fc514ee5b55194495d352b0d':
  Import translations. DO NOT MERGE

10 years agoam d18a7b47: (-s ours) Import translations. DO NOT MERGE
Baligh Uddin [Sun, 6 Jul 2014 19:25:28 +0000 (19:25 +0000)]
am d18a7b47: (-s ours) Import translations. DO NOT MERGE

* commit 'd18a7b47b99f233f1e381879396c9cfd6395ee4a':
  Import translations. DO NOT MERGE

10 years agoImport translations. DO NOT MERGE
Baligh Uddin [Sat, 5 Jul 2014 12:06:45 +0000 (05:06 -0700)]
Import translations. DO NOT MERGE

Change-Id: I58cd4eda734be2858f20e090393cde2721db79da
Auto-generated-cl: translation import

10 years agoMerge "Fix "Clone" call"
Nick Kralevich [Tue, 8 Jul 2014 18:41:27 +0000 (18:41 +0000)]
Merge "Fix "Clone" call"

10 years agoMerge "Implementation of batch scan."
Wei Wang [Tue, 8 Jul 2014 18:02:51 +0000 (18:02 +0000)]
Merge "Implementation of batch scan."

10 years agoImplementation of batch scan.
Wei Wang [Tue, 1 Jul 2014 22:10:43 +0000 (15:10 -0700)]
Implementation of batch scan.

Change-Id: I247a1676d20131ca05674da44a06d8c21785d71d

10 years agoRemove dependency on deprecated mms-common module
Ye Wen [Tue, 8 Jul 2014 00:28:27 +0000 (17:28 -0700)]
Remove dependency on deprecated mms-common module

Change-Id: I9e655e305651d2eca123fa0ee79678488e00fd13

10 years agoSpecify a thead name when attaching a bluedroid thread to ART.
Sharvil Nanavati [Thu, 3 Jul 2014 20:20:06 +0000 (13:20 -0700)]
Specify a thead name when attaching a bluedroid thread to ART.

Change-Id: I0c9804d7ed1ff64cb155902f91bc5b52e981458c

10 years agoam cd9fbb28: (-s ours) am ddfaa805: DO NOT MERGE: Fix concurrency issues with wakeloc...
Dmitry Grinberg [Mon, 7 Jul 2014 19:56:55 +0000 (19:56 +0000)]
am cd9fbb28: (-s ours) am ddfaa805: DO NOT MERGE: Fix concurrency issues with wakelock support

* commit 'cd9fbb2852d8eba5a97c5d4b924db7276c406715':
  DO NOT MERGE: Fix concurrency issues with wakelock support

10 years agoam 60bd3f42: (-s ours) am 58adcf54: (-s ours) am 13ca31dc: (-s ours) am d18a7b47...
Baligh Uddin [Sun, 6 Jul 2014 19:39:33 +0000 (19:39 +0000)]
am 60bd3f42: (-s ours) am 58adcf54: (-s ours) am 13ca31dc: (-s ours) am d18a7b47: (-s ours) Import translations. DO NOT MERGE

* commit '60bd3f42ecf248b158f3add7a29557e79a40ff86':
  Import translations. DO NOT MERGE

10 years agoFix "Clone" call
Nick Kralevich [Sat, 5 Jul 2014 21:43:11 +0000 (14:43 -0700)]
Fix "Clone" call

The function name is "clone", not "Clone".

Also, add @Override so errors like this can be detected at
compile time.

Change-Id: Iaf5ec35cdfcd49dec786f14a72c1ebe42aa6bf05

10 years agoImport translations. DO NOT MERGE
Baligh Uddin [Sat, 5 Jul 2014 12:12:36 +0000 (05:12 -0700)]
Import translations. DO NOT MERGE

Change-Id: I6af30c799e7a89afa6b004b9ca98dc3580b765e3
Auto-generated-cl: translation import

10 years agoam 40422f10: Obtain capabilities from BLE chipset for it\'s support of various features
Prerepa Viswanadham [Wed, 2 Jul 2014 21:16:36 +0000 (21:16 +0000)]
am 40422f10: Obtain capabilities from BLE chipset for it\'s support of various features

* commit '40422f101e8ea8c852173a63d4faa1f01dcfa150':
  Obtain capabilities from BLE chipset for it's support of various features

10 years agoObtain capabilities from BLE chipset for it's support of various features
Prerepa Viswanadham [Wed, 2 Jul 2014 16:48:03 +0000 (09:48 -0700)]
Obtain capabilities from BLE chipset for it's support of various features

Change-Id: I594790bd837a22488c1e080e340cb1c66ed4367b

10 years agoRestrict bluetooth tethering with user restrictions.
Julia Reynolds [Tue, 1 Jul 2014 17:47:05 +0000 (13:47 -0400)]
Restrict bluetooth tethering with user restrictions.

Bug: 15852213
Change-Id: I641b03c3e5fa4018b382f5ed835218f4196ef7f7

10 years agoam 5eff2b04: (-s ours) am f718b924: (-s ours) Import translations. DO NOT MERGE
Baligh Uddin [Tue, 1 Jul 2014 18:20:20 +0000 (18:20 +0000)]
am 5eff2b04: (-s ours) am f718b924: (-s ours) Import translations. DO NOT MERGE

* commit '5eff2b04d8a0a98b77029d543f1c23070b2a0e69':
  Import translations. DO NOT MERGE

10 years agoam f718b924: (-s ours) Import translations. DO NOT MERGE
Baligh Uddin [Tue, 1 Jul 2014 18:14:32 +0000 (18:14 +0000)]
am f718b924: (-s ours) Import translations. DO NOT MERGE

* commit 'f718b924d87a42fb159c8c4ebbfc11dd7d8a9941':
  Import translations. DO NOT MERGE

10 years agoBluetooth: Support MAP Client role on Bluedroid.
Hemant Gupta [Fri, 16 Aug 2013 09:31:59 +0000 (15:01 +0530)]
Bluetooth: Support MAP Client role on Bluedroid.

Implementation changes to support Message Access Profile
client role in Bluetooth Apk.

Change-Id: I209909a2b18e43c7931571526b983453795f6c6b

10 years agoImport translations. DO NOT MERGE
Baligh Uddin [Tue, 1 Jul 2014 17:22:11 +0000 (10:22 -0700)]
Import translations. DO NOT MERGE

Change-Id: I06306963deb2a8a064bbff1662bcb7bdd7fe9d82
Auto-generated-cl: translation import

10 years agoam f66efab4: fix build error on kwd
Wei Wang [Tue, 1 Jul 2014 01:44:13 +0000 (01:44 +0000)]
am f66efab4: fix build error on kwd

* commit 'f66efab444805947fd67c5ce1f8f0a592260fcf5':
  fix build error on kwd

10 years agofix build error on kwd
Wei Wang [Tue, 1 Jul 2014 01:27:11 +0000 (18:27 -0700)]
fix build error on kwd

Change-Id: I29debb4ea6a1bb33e2a5e182b86c066179f8ac92

10 years agoam a61c69cd: Phase 2 scan filter implementation. Also provides skeleton for batching...
Wei Wang [Tue, 1 Jul 2014 01:02:50 +0000 (01:02 +0000)]
am a61c69cd: Phase 2 scan filter implementation. Also provides skeleton for batching and onFound/onLost integration.

* commit 'a61c69cd9e1fb148f56f16b1b768bed427b3b51d':
  Phase 2 scan filter implementation. Also provides skeleton for batching and onFound/onLost integration.

10 years agoPhase 2 scan filter implementation. Also provides skeleton for batching and onFound...
Wei Wang [Sat, 28 Jun 2014 01:24:42 +0000 (18:24 -0700)]
Phase 2 scan filter implementation. Also provides skeleton for batching and onFound/onLost integration.

DO NOT MERGE : Cherrypick from master to kwd.

Change-Id: I2e838296191ff6f55481fcde7d05d7cd6d4899dc

10 years agoMerge "Change some rule in Pbap to fix Test case issues"
Todd Poynor [Mon, 30 Jun 2014 23:35:23 +0000 (23:35 +0000)]
Merge "Change some rule in Pbap to fix Test case issues"

10 years agoam ecb463f9: Merge "[BT] Fix bug: MAP client can not get MessageListing for draft...
Matthew Xie [Mon, 30 Jun 2014 23:23:30 +0000 (23:23 +0000)]
am ecb463f9: Merge "[BT] Fix bug: MAP client can not get MessageListing for draft folder" into klp-wireless-dev

* commit 'ecb463f9e1974fa5980a69f1370275972107143f':
  [BT] Fix bug: MAP client can not get MessageListing for draft folder

10 years agoam bf765c09: change bt_headset_wbs to bt_wbs
Matthew Xie [Mon, 30 Jun 2014 23:23:29 +0000 (23:23 +0000)]
am bf765c09: change bt_headset_wbs to bt_wbs

* commit 'bf765c090de4b973f4eede4f4248f5e422454c2d':
  change bt_headset_wbs to bt_wbs

10 years agochange bt_headset_wbs to bt_wbs
Matthew Xie [Wed, 21 May 2014 19:11:28 +0000 (12:11 -0700)]
change bt_headset_wbs to bt_wbs

Change-Id: I8942b29231e4df024bbf3b174abd83e8b5876c96

10 years agoChange some rule in Pbap to fix Test case issues
Mick Lin [Fri, 20 Jun 2014 10:49:40 +0000 (18:49 +0800)]
Change some rule in Pbap to fix Test case issues

Change-Id: Iec6db0c52cf05fd6fada40b7726b02768474181a
(cherry picked from commit e529b58896b2191eacbc6aa0f01f1f0341626d21)

10 years agoam b6132733: Add WBS support on Bluedroid (5/6)
Matthew Xie [Mon, 30 Jun 2014 22:47:19 +0000 (22:47 +0000)]
am b6132733: Add WBS support on Bluedroid (5/6)

* commit 'b6132733b6e386cc8c93b5598c72ed8efe04bf3e':
  Add WBS support on Bluedroid (5/6)

10 years agoAdd WBS support on Bluedroid (5/6)
Matthew Xie [Mon, 28 Apr 2014 04:12:07 +0000 (21:12 -0700)]
Add WBS support on Bluedroid (5/6)

Bug 13764086

Change-Id: Ib6c5d5f4321006ce1a35045907618abc417e6352

10 years agoMerge "[BT] Fix bug: MAP client can not get MessageListing for draft folder" into...
Matthew Xie [Mon, 30 Jun 2014 23:20:38 +0000 (23:20 +0000)]
Merge "[BT] Fix bug: MAP client can not get MessageListing for draft folder" into klp-wireless-dev

10 years agoFix build error.
Wei Wang [Mon, 30 Jun 2014 22:12:32 +0000 (15:12 -0700)]
Fix build error.

Change-Id: Ic0fe44304477e9ba488bab141804e1e1a3db675d

10 years agoMerge "Phase 2 scan filter implementation. Also provides skeleton for batching and...
Wei Wang [Mon, 30 Jun 2014 21:30:04 +0000 (21:30 +0000)]
Merge "Phase 2 scan filter implementation. Also provides skeleton for batching and onFound/onLost integration."

10 years agoPhase 2 scan filter implementation. Also provides skeleton for batching and onFound...
Wei Wang [Sat, 28 Jun 2014 01:24:42 +0000 (18:24 -0700)]
Phase 2 scan filter implementation. Also provides skeleton for batching and onFound/onLost integration.

Change-Id: I2e838296191ff6f55481fcde7d05d7cd6d4899dc

10 years agoImport translations. DO NOT MERGE
Baligh Uddin [Mon, 30 Jun 2014 03:24:05 +0000 (20:24 -0700)]
Import translations. DO NOT MERGE

Change-Id: I4bb8350e2c624b77730c475d3b20139d9231a841
Auto-generated-cl: translation import

10 years agoam 43b941ed: MAP: Remove pending MAP authorization pop up
Hemant Gupta [Sun, 29 Jun 2014 18:18:34 +0000 (18:18 +0000)]
am 43b941ed: MAP: Remove pending MAP authorization pop up

* commit '43b941ed67f10876a3d730cc095ddb6589e9c1b6':
  MAP: Remove pending MAP authorization pop up

10 years agoam 5079ae05: MAP: Modify XML serializer to escape double quote
Hemant Gupta [Sun, 29 Jun 2014 18:18:33 +0000 (18:18 +0000)]
am 5079ae05: MAP: Modify XML serializer to escape double quote

* commit '5079ae05a3fa7cf09d2d8e564b71382dfc70a1ae':
  MAP: Modify XML serializer to escape double quote

10 years agoam 5c397073: MAP: Return OBEX_HTTP_NOT_IMPLEMENTED response code for msgUpdate
Hemant Gupta [Sun, 29 Jun 2014 18:18:33 +0000 (18:18 +0000)]
am 5c397073: MAP: Return OBEX_HTTP_NOT_IMPLEMENTED response code for msgUpdate

* commit '5c3970730dee1da5d1f37bc03a595dc1e9c47152':
  MAP: Return OBEX_HTTP_NOT_IMPLEMENTED response code for msgUpdate

10 years agoam c1f597b3: MAP: Set messageList element to proper size based on offset/count
Hemant Gupta [Sun, 29 Jun 2014 18:18:32 +0000 (18:18 +0000)]
am c1f597b3: MAP: Set messageList element to proper size based on offset/count

* commit 'c1f597b3ec02ccc112f3c917fd079588034c3eac':
  MAP: Set messageList element to proper size based on offset/count

10 years agoam 0e7e1496: MAP: Fix MNS observer sync and sendevent exception issue.
Hemant Gupta [Sun, 29 Jun 2014 18:18:32 +0000 (18:18 +0000)]
am 0e7e1496: MAP: Fix MNS observer sync and sendevent exception issue.

* commit '0e7e149687b0b5e340991b20c9d8e5232e8d3e39':
  MAP: Fix MNS observer sync and sendevent exception issue.

10 years agoam 400eaf87: MAP: Fix fatal exception due to missing looper for current thread
Hemant Gupta [Sun, 29 Jun 2014 18:18:31 +0000 (18:18 +0000)]
am 400eaf87: MAP: Fix fatal exception due to missing looper for current thread

* commit '400eaf8761223196a18b84247b066f0201226c3b':
  MAP: Fix fatal exception due to missing looper for current thread

10 years agoam 6db8e703: PBAP: Add Filters support.
Hemant Gupta [Sun, 29 Jun 2014 18:18:31 +0000 (18:18 +0000)]
am 6db8e703: PBAP: Add Filters support.

* commit '6db8e703719f301f75acdf4acacc3296cc1b5016':
  PBAP: Add Filters support.

10 years agoam 29ab94a0: PBAP: Strip unwanted braces and spaces from telephone number.
Hemant Gupta [Sun, 29 Jun 2014 18:18:30 +0000 (18:18 +0000)]
am 29ab94a0: PBAP: Strip unwanted braces and spaces from telephone number.

* commit '29ab94a024ffce08229f1c2c6776d1e72d2a3f75':
  PBAP: Strip unwanted braces and spaces from telephone number.

10 years agoam 4216387d: PBAP: Remove the PBAP pop up in various scenarios
Hemant Gupta [Sun, 29 Jun 2014 18:13:25 +0000 (18:13 +0000)]
am 4216387d: PBAP: Remove the PBAP pop up in various scenarios

* commit '4216387d9887926cebd652f8d3807d780642fc87':
  PBAP: Remove the PBAP pop up in various scenarios

10 years agoMAP: Remove pending MAP authorization pop up
Hemant Gupta [Tue, 26 Nov 2013 12:12:46 +0000 (17:42 +0530)]
MAP: Remove pending MAP authorization pop up

- If USER turn off BT on DUT before accepting incoming
authorization request for MAP connection, then MAP
authorization pop up should be removed. Thsi was failing
as user time-out scenario was not handled currently,
where MAP OBEX session is stopped. So MAP OBEX session will
not get cleared till BT OFF. So MAP OBEX connection was failing
from next iteration onward. Queuing User time-out(30 seconds)
to disconnect MAP OBEX session to solve this issue.

-If ACL is disconnected by remote device before accepting
incoming authorization request for MAP connection, then MAP
authorization pop up should be removed.

Change-Id: Ib8068f793eb1b55a155d3ff657efefc40728233c

10 years agoMAP: Modify XML serializer to escape double quote
Hemant Gupta [Fri, 31 Jan 2014 07:01:13 +0000 (12:31 +0530)]
MAP: Modify XML serializer to escape double quote

Modify code to use FastXmlSerializer instead of XmlSerializer
to escape double quote character with " and always enclose
XML attribute value within double quotes

Change-Id: I097e6d6de2e4cd44579a6d07842d0cffe26c0139

10 years agoMAP: Return OBEX_HTTP_NOT_IMPLEMENTED response code for msgUpdate
Hemant Gupta [Wed, 4 Dec 2013 12:27:18 +0000 (17:57 +0530)]
MAP: Return OBEX_HTTP_NOT_IMPLEMENTED response code for msgUpdate

In MAP profile message update is not implemented for sms/mms, but
we are returning OBEX_HTTP_OK response code for message update put
request, which is causing PTS test case to fail. Hence returning
proper response code to pass pts.

Change-Id: I40a45cea2d85750583bb7ae205d1ff57fe806a4d

10 years agoMAP: Set messageList element to proper size based on offset/count
Hemant Gupta [Thu, 2 Jan 2014 14:48:13 +0000 (20:18 +0530)]
MAP: Set messageList element to proper size based on offset/count

Handle all the cases based on offset and count to create message list
element when message listing is performed from car kit for any folder

Change-Id: Ibcc6f8ed24c47464e05f26a79b38b99d233ca58b

10 years agoMAP: Fix MNS observer sync and sendevent exception issue.
Hemant Gupta [Fri, 8 Nov 2013 05:10:57 +0000 (10:40 +0530)]
MAP: Fix MNS observer sync and sendevent exception issue.

Allow MNS Client sendEvent only when MNS Client is registered
and connected to fix NullPointer exceptions. Mark MNS disconnect
and observer registration as synchronized to handle synchronization
for operations from worker and main threads.

Change-Id: If34a6b67a1774f693ed42cfb6c871cd9563abe55

10 years agoMAP: Fix fatal exception due to missing looper for current thread
Hemant Gupta [Wed, 23 Oct 2013 09:23:05 +0000 (14:53 +0530)]
MAP: Fix fatal exception due to missing looper for current thread

While creating handler for the thread, there was fatal exception getting
thrown because the present thread does not have a looper. So passing the
applications looper to be used , while creating the handler to avoid this
exception.

Change-Id: Id8c121439d7a93af7592a15df67523e96a1312ff

10 years agoPBAP: Add Filters support.
Hemant Gupta [Mon, 13 May 2013 13:33:21 +0000 (19:03 +0530)]
PBAP: Add Filters support.

This patch adds attribute filter support to PBAP. It will allow remote
devices to request the particular attributes.

Change-Id: Ia0a4f55f14925b0cf8d0553c64222d781edef2fd

10 years agoPBAP: Strip unwanted braces and spaces from telephone number.
Hemant Gupta [Thu, 29 Aug 2013 13:37:22 +0000 (19:07 +0530)]
PBAP: Strip unwanted braces and spaces from telephone number.

This patch removes unwanted spaces and braces from the telephone
number on vcard entry formation. Handsfree call was failing because
of these characters due to handling of only digits in utl_isdialstr
API in BD stack (external/bluetooth/bluedroid/bta/ag/bta_ag_cmd.c)

Change-Id: I2d63967059a9cb97f214b370fac17234f6e58f55

10 years agoPBAP: Remove the PBAP pop up in various scenarios
Hemant Gupta [Thu, 8 May 2014 07:15:38 +0000 (12:45 +0530)]
PBAP: Remove the PBAP pop up in various scenarios

    -If ACL is disconnected by remote device OR DUT(unbond from
    the DUT) before accepting incoming authorization request for
    PBAP connection. PBAP authorization pop up should be removed.

    - If authorization is cancelled due to USER_TIMEOUT(30 second),
    then PBAP authorization pop up should be removed.

Change-Id: I0a69f23c7882a43de9fe207c84926de91713c79b

10 years agoam 8f5a4787: Merge "PBAP: Check for spurious entries of searched contacts" into klp...
Matthew Xie [Sun, 29 Jun 2014 05:15:21 +0000 (05:15 +0000)]
am 8f5a4787: Merge "PBAP: Check for spurious entries of searched contacts" into klp-wireless-dev

* commit '8f5a4787761ebdaa852c0b5d7c7b89c339e140b8':
  PBAP: Check for spurious entries of searched contacts

10 years agoam 1ebce7fb: LE: Add is_connected() function (3/3)
Andre Eisenbach [Sat, 28 Jun 2014 19:30:58 +0000 (19:30 +0000)]
am 1ebce7fb: LE: Add is_connected() function (3/3)

* commit '1ebce7fb88348be7b984b1a778bd1bbeea20d6d7':
  LE: Add is_connected() function (3/3)

10 years agoam a03c33b3: (-s ours) Adding a method BluetoothDevice.isConnected()
Andre Eisenbach [Sat, 28 Jun 2014 19:30:58 +0000 (19:30 +0000)]
am a03c33b3: (-s ours) Adding a method BluetoothDevice.isConnected()

* commit 'a03c33b370420dc6ad688b217b5a37bfa43169cf':
  Adding a method BluetoothDevice.isConnected()

10 years agoam af471e1d: LE: Add notification sent and congestion callbacks (4/4)
Andre Eisenbach [Sat, 28 Jun 2014 19:24:43 +0000 (19:24 +0000)]
am af471e1d: LE: Add notification sent and congestion callbacks (4/4)

* commit 'af471e1d5765aa9f1b15909ed488c6c9eb57090e':
  LE: Add notification sent and congestion callbacks (4/4)

10 years agoam 6fb74b22: Fix issue with converting byte array into unsigned integers
Ganesh Ganapathi Batta [Sat, 28 Jun 2014 09:05:24 +0000 (09:05 +0000)]
am 6fb74b22: Fix issue with converting byte array into unsigned integers

* commit '6fb74b225ec5efc8caef0fec82692e33392b8ecb':
  Fix issue with converting byte array into unsigned integers

10 years agoam b83d7c60: Rename BluetoothHandsfreeClient to BluetoothHeadsetClient
Mike Lockwood [Sat, 28 Jun 2014 09:05:24 +0000 (09:05 +0000)]
am b83d7c60: Rename BluetoothHandsfreeClient to BluetoothHeadsetClient

* commit 'b83d7c6016ccd2b95b5e3b08581f5e2b21d68905':
  Rename BluetoothHandsfreeClient to BluetoothHeadsetClient

10 years agoam b824e262: (-s ours) Move AVRCP Controller support to new BluetoothAvrcpController...
Mike Lockwood [Sat, 28 Jun 2014 09:05:23 +0000 (09:05 +0000)]
am b824e262: (-s ours) Move AVRCP Controller support to new BluetoothAvrcpController profile

* commit 'b824e2624524d039b12ce3b7de2747ff558bfe94':
  Move AVRCP Controller support to new BluetoothAvrcpController profile

10 years agoam 9ebf7624: (-s ours) A2DP Sink: Add support for BluetoothA2dpSink profile
Mike Lockwood [Sat, 28 Jun 2014 09:00:15 +0000 (09:00 +0000)]
am 9ebf7624: (-s ours) A2DP Sink: Add support for BluetoothA2dpSink profile

* commit '9ebf7624eb97e76d34ceceebf4ab1558d73df246':
  A2DP Sink: Add support for BluetoothA2dpSink profile

10 years agoam c453f0f5: (-s ours) Expose wake lock / wake alarm functionality to bluedroid.
Sharvil Nanavati [Sat, 28 Jun 2014 08:55:07 +0000 (08:55 +0000)]
am c453f0f5: (-s ours) Expose wake lock / wake alarm functionality to bluedroid.

* commit 'c453f0f533556d8ffbb7a87ca09d6b30e259978e':
  Expose wake lock / wake alarm functionality to bluedroid.

10 years agoam 32088854: Refactor ScanClient scan settings to one place Scan_mode_low_power ...
Prerepa Viswanadham [Sat, 28 Jun 2014 08:50:00 +0000 (08:50 +0000)]
am 32088854: Refactor ScanClient scan settings to one place Scan_mode_low_power    500ms/5000ms  (10%) scan_mode_balanced     2000ms/5000ms (40%) scan_mode_low_latency  5000ms/5000ms (100%)

* commit '32088854fd6a8bb5e570a4a1df4eaf2eb19d7ae3':
  Refactor ScanClient scan settings to one place Scan_mode_low_power    500ms/5000ms  (10%) scan_mode_balanced     2000ms/5000ms (40%) scan_mode_low_latency  5000ms/5000ms (100%)

10 years agoam 0c80f016: Add missing licenses.
Wei Wang [Sat, 28 Jun 2014 08:49:59 +0000 (08:49 +0000)]
am 0c80f016: Add missing licenses.

* commit '0c80f016af7f313611b0bac77da6e3ee695c0c73':
  Add missing licenses.

10 years agoam cefee9c4: (-s ours) Use controller provided information about it BLE L feature...
Prerepa Viswanadham [Sat, 28 Jun 2014 08:49:59 +0000 (08:49 +0000)]
am cefee9c4: (-s ours) Use controller provided information about it BLE L feature capabilities

* commit 'cefee9c44890a0943a9fd7c2891324fd81d50b28':
  Use controller provided information about it BLE L feature capabilities

10 years agoam ac464064: (-s ours) Add support for retrieving local LE features via get_adapter_p...
Ganesh Ganapathi Batta [Sat, 28 Jun 2014 08:44:50 +0000 (08:44 +0000)]
am ac464064: (-s ours) Add support for retrieving local LE features via get_adapter_properties

* commit 'ac4640647b4dfae61cc2a8c37d3d798bdc82a553':
  Add support for retrieving local LE features via get_adapter_properties

10 years agoam c92b13ad: (-s ours) Add device capability config for new BLE features(MA, scan...
Wei Wang [Sat, 28 Jun 2014 08:39:41 +0000 (08:39 +0000)]
am c92b13ad: (-s ours) Add device capability config for new BLE features(MA, scan filter).(2/3)

* commit 'c92b13ad9671810e6f10bbfce3032d33765f0a15':
  Add device capability config for new BLE features(MA, scan filter).(2/3)

10 years agoam 8426b439: (-s ours) Fix build.
Wei Wang [Sat, 28 Jun 2014 08:34:33 +0000 (08:34 +0000)]
am 8426b439: (-s ours) Fix build.

* commit '8426b4392456869935f90bf51be68ce198a86c01':
  Fix build.

10 years agoam 6e2fce02: (-s ours) Set scan parameters in ScanClient based on BluetoothLeScanSett...
Prerepa Viswanadham [Sat, 28 Jun 2014 08:29:25 +0000 (08:29 +0000)]
am 6e2fce02: (-s ours) Set scan parameters in ScanClient based on BluetoothLeScanSettings configuration

* commit '6e2fce02940bde40a2c8a48a725e9fa0157bde6c':
  Set scan parameters in ScanClient based on BluetoothLeScanSettings configuration

10 years agoam fa13d447: (-s ours) Merge diffs from API review comments(2/2).
Wei Wang [Sat, 28 Jun 2014 08:24:16 +0000 (08:24 +0000)]
am fa13d447: (-s ours) Merge diffs from API review comments(2/2).

* commit 'fa13d4471d52a5780eb4c4efcedff6778060f7fa':
  Merge diffs from API review comments(2/2).

10 years agoam f3e3ade7: (-s ours) Add protection for controller timeout/failure, maximum number...
Wei Wang [Sat, 28 Jun 2014 08:14:08 +0000 (08:14 +0000)]
am f3e3ade7: (-s ours) Add protection for controller timeout/failure, maximum number of advertisers, filters etc.

* commit 'f3e3ade729080636d0a3e9224ee205183fe11fa0':
  Add protection for controller timeout/failure, maximum number of advertisers, filters etc.

10 years agoam 7a02049b: Fix arguments to AudioManager.setBluetoothA2dpDeviceConnectionState()
Mike Lockwood [Sat, 28 Jun 2014 08:09:00 +0000 (08:09 +0000)]
am 7a02049b: Fix arguments to AudioManager.setBluetoothA2dpDeviceConnectionState()

* commit '7a02049bb3835c66e4b26700b6606b0ca5db7c6e':
  Fix arguments to AudioManager.setBluetoothA2dpDeviceConnectionState()

10 years agoam 233a9ce2: (-s ours) Changes due to addressing BLE API review comments
Wei Wang [Sat, 28 Jun 2014 08:09:00 +0000 (08:09 +0000)]
am 233a9ce2: (-s ours) Changes due to addressing BLE API review comments

* commit '233a9ce2117ae01d2ead214f0629b4aa1ff0ad85':
  Changes due to addressing BLE API review comments