OSDN Git Service

android-x86/packages-apps-Bluetooth.git
9 years agoMerge "Migrates PBAP and MAP access permission data from Settings to Bluetooth."...
Edward Jee [Tue, 16 Sep 2014 01:19:23 +0000 (01:19 +0000)]
Merge "Migrates PBAP and MAP access permission data from Settings to Bluetooth." into lmp-dev

9 years agoBluetooth now properly saves A2DP status.
PauloftheWest [Mon, 15 Sep 2014 19:20:25 +0000 (12:20 -0700)]
Bluetooth now properly saves A2DP status.

Bug: 17115629
Change-Id: I5e9bc4d492a9714a87b15d131b25cf9a5a0aeecd

9 years agoMigrates PBAP and MAP access permission data from Settings to Bluetooth.
Edward Jee [Fri, 5 Sep 2014 07:30:41 +0000 (00:30 -0700)]
Migrates PBAP and MAP access permission data from Settings to Bluetooth.

Currently, users' preference in phonebook and call history or message
access per each Bluetooth-paired device is stored in Settings application's
shared preferences.

However, some privileged applications other than Settings need to access
such data. So we decided to migrate the data from Settings application's
shared preferences to Bluetooth application's.

Bug: 17158953
Change-Id: I3808891cdcce84aa0d4df31f998c9f1240159d95

9 years agoImport translations. DO NOT MERGE
Baligh Uddin [Mon, 15 Sep 2014 01:31:49 +0000 (18:31 -0700)]
Import translations. DO NOT MERGE

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

9 years agoMerge "Do not reuse all pass filter index." into lmp-dev
Wei Wang [Fri, 12 Sep 2014 22:15:37 +0000 (22:15 +0000)]
Merge "Do not reuse all pass filter index." into lmp-dev

9 years agoMAP: Workaround for missing size values in message data base
Casper Bonde [Wed, 10 Sep 2014 09:02:38 +0000 (11:02 +0200)]
MAP: Workaround for missing size values in message data base

Not all messages in the MMS/Email message data bases have
the size/attachment size attribute set.

This causes MAP clients to behave wrongly, e.g. they
request to exclude attachments if the attachments size
is 0. Even for messages which actually have attachments.

The attachment size is the only way for MAP clients to
know if attachments are present, hence the behavior of
the client is not wrong.
bug 17389452

Change-Id: I82cd76bc044601eb6e8b190d0c6fc41b51410a93
Signed-off-by: Casper Bonde <c.bonde@samsung.com>
9 years agoMerge "Applied Material theme to Bluetooth file acceptance dialog." into lmp-dev
PauloftheWest [Thu, 11 Sep 2014 14:22:44 +0000 (14:22 +0000)]
Merge "Applied Material theme to Bluetooth file acceptance dialog." into lmp-dev

9 years agoMerge "Change broadcast ACTION_CONNECTION_ACCESS_REQUEST to be ordered." into lmp-dev
Ang Li [Thu, 11 Sep 2014 01:29:11 +0000 (01:29 +0000)]
Merge "Change broadcast ACTION_CONNECTION_ACCESS_REQUEST to be ordered." into lmp-dev

9 years agoApplied Material theme to Bluetooth file acceptance dialog.
PauloftheWest [Wed, 10 Sep 2014 17:18:30 +0000 (10:18 -0700)]
Applied Material theme to Bluetooth file acceptance dialog.

Bug: 17334507
Change-Id: I36d3ef5575ad84a27cda415c1d0e262f097e98a7

9 years agoMerge "Pairing failed after 50 attempts" into lmp-dev
Andre Eisenbach [Wed, 10 Sep 2014 17:27:55 +0000 (17:27 +0000)]
Merge "Pairing failed after 50 attempts" into lmp-dev

9 years agoMerge "BT-HF: Disable Multi HF feature." into lmp-dev
Prem Kumar [Wed, 10 Sep 2014 01:36:21 +0000 (01:36 +0000)]
Merge "BT-HF: Disable Multi HF feature." into lmp-dev

9 years agoBT-HF: Disable Multi HF feature.
Nitin Arora [Fri, 5 Sep 2014 21:12:09 +0000 (14:12 -0700)]
BT-HF: Disable Multi HF feature.

Disable Multi HF feature by allowing max hf connections = 1
in HeadsetStateMachine.
bug 17321509

Change-Id: Ia477c728bfb1457def7f302d5533ce63446dffc7

9 years agoPairing failed after 50 attempts
Mudumba Ananth [Tue, 29 Jul 2014 13:19:43 +0000 (06:19 -0700)]
Pairing failed after 50 attempts

-> The issue was caused due to delayed message sent for
   bond_state_changed_callback in BondStateMachine and RemoteDevices
   was sending the pairing request(sspRequestcallback) intent to the Settings APP
   before even the bond state is changed.
-> Moved the SSPRequestCallback and PinRequestCallback to BondStateMachine
   to synchronize the above two callbacks using a single message
   queue in the BondStateMachine message handler.
-> Changed the pending command state to accept the SSP_REQUEST
   and PIN_REQUEST messages and send the intents.

Bug: 16560957
Change-Id: I8372bdd2e96aa09215f2f1e98d6eed4e892637e6

9 years agoMerge "Make directory structure + Java packages consistent." into lmp-dev
Jeff Davidson [Tue, 9 Sep 2014 17:59:08 +0000 (17:59 +0000)]
Merge "Make directory structure + Java packages consistent." into lmp-dev

9 years agoChange broadcast ACTION_CONNECTION_ACCESS_REQUEST to be ordered.
Ang Li [Mon, 8 Sep 2014 22:35:14 +0000 (15:35 -0700)]
Change broadcast ACTION_CONNECTION_ACCESS_REQUEST to be ordered.

Making this broadcast ordered makes it possible to be intercepted
before Settings get it. This is cruicial to Android Audo's use case
and test automation.

The previous change we put in:
https://googleplex-android-review.git.corp.google.com/#/c/499135
was accidentally overwritten by
https://googleplex-android-review.git.corp.google.com/#/c/503267

We are putting this change back in, and making similar changes for
PBAP and HFP.

Change-Id: Ia9b4c22a05d0c9beb1485b53ddf04c45fa210526

9 years agoDo not reuse all pass filter index.
Wei Wang [Fri, 5 Sep 2014 18:03:46 +0000 (11:03 -0700)]
Do not reuse all pass filter index.

Bug:17425379
Change-Id: Iba4c40f8822b182718db060c3f2eeff7aabdb286

9 years agoMerge "Fixed batch scan returning status 12 when restarted." into lmp-dev
Wei Wang [Fri, 5 Sep 2014 18:49:28 +0000 (18:49 +0000)]
Merge "Fixed batch scan returning status 12 when restarted." into lmp-dev

9 years agoFixed batch scan returning status 12 when restarted.
Wei Wang [Wed, 3 Sep 2014 00:46:47 +0000 (17:46 -0700)]
Fixed batch scan returning status 12 when restarted.

Also fixed no batch scan results when both truncated and
full batch are enabled.

Added a BatchScanParams to hold parameters for batch scan.

Bug:16850169
Bug:17213118
Change-Id: Ib3bb7442aa2657912ef4377f825388ac8e1010bb

9 years agoReturn right connection status when connection failed
Prerepa Viswanadham [Fri, 5 Sep 2014 17:49:45 +0000 (10:49 -0700)]
Return right connection status when connection failed

bug: 17326529
Change-Id: I57abf2f6a98c469248613ea386f0fa2ffaf5eac4

9 years agoProtect against Bluetooth share crash because of invalid timer callback
Andre Eisenbach [Fri, 29 Aug 2014 01:36:28 +0000 (18:36 -0700)]
Protect against Bluetooth share crash because of invalid timer callback

If the timer callback is not set when fired, a SIGSEGV will ensue. This
patch checks to make sure the callback is set before invoking the
function.

Bug: 17307367
Change-Id: I2ee284bdbd3b54a368e373d9ac9e6e47205dcff6

9 years agoMerge "redirect the ff/rw key event to ff/rw enabled player" into lmp-dev
Andre Eisenbach [Fri, 29 Aug 2014 17:06:41 +0000 (17:06 +0000)]
Merge "redirect the ff/rw key event to ff/rw enabled player" into lmp-dev

9 years agoMerge "More precise control of batch alarm." into lmp-dev
Wei Wang [Fri, 29 Aug 2014 07:18:32 +0000 (07:18 +0000)]
Merge "More precise control of batch alarm." into lmp-dev

9 years agoMerge "Colored notifications" into lmp-dev
Selim Cinek [Thu, 28 Aug 2014 09:36:04 +0000 (09:36 +0000)]
Merge "Colored notifications" into lmp-dev

9 years agoMerge "Listen for phone state on connect instead of SLC" into lmp-dev
Matthew Xie [Thu, 28 Aug 2014 05:40:59 +0000 (05:40 +0000)]
Merge "Listen for phone state on connect instead of SLC" into lmp-dev

9 years agoMore precise control of batch alarm.
Wei Wang [Thu, 21 Aug 2014 17:27:45 +0000 (10:27 -0700)]
More precise control of batch alarm.

Use setWindow instead of setRepeating for alarms.
SetRepeating is inexact and the alarm can be triggered quite randomly,
while setWindow gives more precise control of trigger time.

Also unregister alarmReceiver during cleanup to avoid leak of
IntentReceiver.

Bug: 16689485, Bug:16826684
Change-Id: I5245e1424aad3c11ab5ce8a7393031e9d4f1dd03

9 years agoredirect the ff/rw key event to ff/rw enabled player
Zhenye Zhu [Tue, 26 Aug 2014 22:16:30 +0000 (15:16 -0700)]
redirect the ff/rw key event to ff/rw enabled player

Added code to cleanup the forward/rewind
event queue and redirect the key event to
the ff/rw enabled player
Bug 16890205

Change-Id: If09c0693621d9f36fb7dc14177597e30450b87b6

9 years agoColored notifications
Selim Cinek [Wed, 27 Aug 2014 13:51:25 +0000 (15:51 +0200)]
Colored notifications

Bug: 17128331
Change-Id: Ic1a4d9803790cc0f3e8003ede4da8cc8f26729cf

9 years agoSet batch scan params based on scan settings.
Prerepa Viswanadham [Mon, 25 Aug 2014 21:27:15 +0000 (14:27 -0700)]
Set batch scan params based on scan settings.

bug 17134263

Change-Id: Id0d314ad1c14ad20e32830ae2c8ad5f80765b28b

9 years agoListen for phone state on connect instead of SLC
Ravi Nagarajan [Fri, 19 Apr 2013 10:03:54 +0000 (03:03 -0700)]
Listen for phone state on connect instead of SLC

Phone state listener changed to start on connect. This gaurantees
that the CIND response as part of SLC reflects the right indicator
values
bug 17020870

Change-Id: I47989643600edfa4d4e422998c3a644a7f7556b9

9 years agoam 28d13bff: (-s ours) am bbea2cec: (-s ours) Import translations. DO NOT MERGE
Baligh Uddin [Mon, 25 Aug 2014 22:07:17 +0000 (22:07 +0000)]
am 28d13bff: (-s ours) am bbea2cec: (-s ours) Import translations. DO NOT MERGE

* commit '28d13bff5306fa45e41d7ea675aafe9e8a1113f4':
  Import translations. DO NOT MERGE

9 years agoMerge "Import translations. DO NOT MERGE" into lmp-dev
Baligh Uddin [Mon, 25 Aug 2014 16:11:05 +0000 (16:11 +0000)]
Merge "Import translations. DO NOT MERGE" into lmp-dev

9 years agoMerge "Fix API council review comments. Also hide certain APIs(2/3)." into lmp-dev
Wei Wang [Sun, 24 Aug 2014 23:00:39 +0000 (23:00 +0000)]
Merge "Fix API council review comments. Also hide certain APIs(2/3)." into lmp-dev

9 years agoMerge "Fix race condition when advertising app dies." into lmp-dev
Wei Wang [Sun, 24 Aug 2014 19:00:08 +0000 (19:00 +0000)]
Merge "Fix race condition when advertising app dies." into lmp-dev

9 years agoImport translations. DO NOT MERGE
Baligh Uddin [Sun, 24 Aug 2014 15:42:20 +0000 (08:42 -0700)]
Import translations. DO NOT MERGE

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

9 years agoam bbea2cec: (-s ours) Import translations. DO NOT MERGE
Baligh Uddin [Fri, 22 Aug 2014 17:16:24 +0000 (17:16 +0000)]
am bbea2cec: (-s ours) Import translations. DO NOT MERGE

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

9 years agoImport translations. DO NOT MERGE
Baligh Uddin [Fri, 22 Aug 2014 16:30:17 +0000 (09:30 -0700)]
Import translations. DO NOT MERGE

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

9 years agoMerge "LE: Rename new MTU and connection paramter update APIs" into lmp-dev
Andre Eisenbach [Thu, 21 Aug 2014 17:56:41 +0000 (17:56 +0000)]
Merge "LE: Rename new MTU and connection paramter update APIs" into lmp-dev

9 years agoFix race condition when advertising app dies.
Wei Wang [Tue, 12 Aug 2014 21:48:18 +0000 (14:48 -0700)]
Fix race condition when advertising app dies.

Bug: 16565960
Change-Id: Ica801a1186e62fcba666deabe5989dd47d404b68

9 years agoLE: Rename new MTU and connection paramter update APIs
Andre Eisenbach [Wed, 20 Aug 2014 01:01:08 +0000 (18:01 -0700)]
LE: Rename new MTU and connection paramter update APIs

bug 17005342
Change-Id: Ic773b5c4bb3da9777613c8094ad21ea6f720110d

9 years agoStop using LinkProperties for static configuration.
Lorenzo Colitti [Tue, 12 Aug 2014 01:44:31 +0000 (10:44 +0900)]
Stop using LinkProperties for static configuration.

Bug: 16114392
Bug: 16893413
Change-Id: Ib33f35c004e30b6067bb20235ffa43c247d174df

9 years agoMerge "Import translations. DO NOT MERGE" into lmp-dev
Baligh Uddin [Sun, 17 Aug 2014 13:42:47 +0000 (13:42 +0000)]
Merge "Import translations. DO NOT MERGE" into lmp-dev

9 years agoam b35d0599: (-s ours) am 2396c919: (-s ours) Import translations. DO NOT MERGE
Baligh Uddin [Sat, 16 Aug 2014 04:00:17 +0000 (04:00 +0000)]
am b35d0599: (-s ours) am 2396c919: (-s ours) Import translations. DO NOT MERGE

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

9 years agoImport translations. DO NOT MERGE
Baligh Uddin [Sat, 16 Aug 2014 02:39:30 +0000 (19:39 -0700)]
Import translations. DO NOT MERGE

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

9 years agoam 2396c919: (-s ours) Import translations. DO NOT MERGE
Baligh Uddin [Fri, 15 Aug 2014 22:20:00 +0000 (22:20 +0000)]
am 2396c919: (-s ours) Import translations. DO NOT MERGE

* commit '2396c919e3eba633feb37a84bd195bfde5f48629':
  Import translations. DO NOT MERGE

9 years agoFix API council review comments. Also hide certain APIs(2/3).
Wei Wang [Fri, 15 Aug 2014 21:02:45 +0000 (14:02 -0700)]
Fix API council review comments. Also hide certain APIs(2/3).

b/17006825

Change-Id: I6c0e739e44f8a9d26f3f2b03937b38d4dec893e7

9 years agoImport translations. DO NOT MERGE
Baligh Uddin [Fri, 15 Aug 2014 19:20:32 +0000 (12:20 -0700)]
Import translations. DO NOT MERGE

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

9 years agoAdd protection before cleaning up adv and scan manager.
Wei Wang [Wed, 13 Aug 2014 05:41:28 +0000 (22:41 -0700)]
Add protection before cleaning up adv and scan manager.

b/16845251

Apparently for GattService stop and cleanup could be called before start
is even called.

Change-Id: Id0ac2e68da504f79160264012a0cdf5127eccfc7

9 years agoMerge "Use nanos instead of micros in BLE scan." into lmp-dev
Wei Wang [Wed, 13 Aug 2014 05:03:34 +0000 (05:03 +0000)]
Merge "Use nanos instead of micros in BLE scan." into lmp-dev

9 years agoImport translations. DO NOT MERGE
Baligh Uddin [Mon, 11 Aug 2014 17:59:37 +0000 (10:59 -0700)]
Import translations. DO NOT MERGE

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

9 years agoUse nanos instead of micros in BLE scan.
Wei Wang [Mon, 11 Aug 2014 17:42:10 +0000 (10:42 -0700)]
Use nanos instead of micros in BLE scan.

Change-Id: Ifdaf101f92ae4c8d2bcecf62a1942961d6610151

9 years agoMake directory structure + Java packages consistent.
Jeff Davidson [Fri, 8 Aug 2014 20:59:52 +0000 (13:59 -0700)]
Make directory structure + Java packages consistent.

Fixes Eclipse compilation errors.

Change-Id: I2898a2aaf2b19b4c64fd523f792bb224c79b5d75

9 years agoMerge "fix build." into lmp-dev
Wei Wang [Fri, 8 Aug 2014 02:32:04 +0000 (02:32 +0000)]
Merge "fix build." into lmp-dev

9 years agofix build.
Wei Wang [Fri, 8 Aug 2014 01:28:52 +0000 (18:28 -0700)]
fix build.

Change-Id: I034cc118ea4dca67ed6240b700d4ac504562ddfc

9 years agoFix build.
Wei Wang [Thu, 7 Aug 2014 21:01:18 +0000 (14:01 -0700)]
Fix build.

Change-Id: Ied3bd289b662cd342ba05f5038175007d3211a63

9 years agoOnFound/Lost reporting: s/w detects the first match and
Prerepa Viswanadham [Thu, 7 Aug 2014 19:36:51 +0000 (12:36 -0700)]
OnFound/Lost reporting: s/w detects the first match and
hw signal is used to report onlost.

Bug 16733710

Change-Id: I4d1d0320b6894fe1af59192eb56a4a801609049a

9 years agoMerge "LE: Add limited advertising duration capability (3/3)" into lmp-dev
Andre Eisenbach [Fri, 8 Aug 2014 02:29:37 +0000 (02:29 +0000)]
Merge "LE: Add limited advertising duration capability (3/3)" into lmp-dev

9 years agoLE: Add limited advertising duration capability (3/3)
Andre Eisenbach [Thu, 7 Aug 2014 22:19:45 +0000 (15:19 -0700)]
LE: Add limited advertising duration capability (3/3)

Change-Id: Ib025d8a10cce07e8f731c005d963245aa988be73

9 years agoMerge "Clear pending data and allow all filter when batch stopped." into lmp-dev
Wei Wang [Thu, 7 Aug 2014 18:47:17 +0000 (18:47 +0000)]
Merge "Clear pending data and allow all filter when batch stopped." into lmp-dev

9 years agoClear pending data and allow all filter when batch stopped.
Wei Wang [Tue, 5 Aug 2014 06:17:29 +0000 (23:17 -0700)]
Clear pending data and allow all filter when batch stopped.

Also send batch data to multiple clients for full batch.

b/16802098

Change-Id: Ife1723b818531fcf2cff897686f33f6b0a1d0aaa

9 years agoBT MAP: added support for email sharing over BT
Casper Bonde [Thu, 24 Jul 2014 11:47:23 +0000 (13:47 +0200)]
BT MAP: added support for email sharing over BT

- added support for Emails
- added activity to do setup of the email accounts to share
- added improved handling of MMS, SMS and Email
- Many optimizations to speed (especially getMessageListing)
- fixed wakelock problem
- fixed user timeout problem when user do not react to msg access request
- added missing privileges
- support for Quoted Printable format
- added accountId in test case URIs
- fixed problem with service numbers being strings
- fixed problem with read flag in getMessage
- added support for transparent flag in Email Push
- added missing send-event for non-imap accounts
- set attachment size to 0 if text-only message
- fixed double send for sms messages with retry
- removed secondary phone numbers from recipient/originator
- removed insert-address-token in MMS messages
- fixed null-pointer exception in settings (missing extra in intent)
- send text-only mms as sms (workaround to make it cheaper)
- fixed rejection of native and fraction requests
- better handling of unknown message types in push
- fixed problem with possible illigal xml chars in message listing
- added missing WRITE_APN_SETTINGS permission to manifest
- fixed problem with notifications when pushing to folders other than OUTBOX
- removed debugging code
- added support for threadId
- fixed permission problems
- changed to use ContentProviderClients for Email app access
- fixed names for member vars

UPDATE: Moved the MAP E-mail API to the bluetooth package.

UPDATE: Added check for the presense of MMS parts.
This is needed due to a change in the MMS app/subsystem,
where deleted messages gets corrupted.

Signed-off-by: Casper Bonde <c.bonde@samsung.com>
Change-Id: Ib5dbe7c2d5c0ba8d978ae843d840028592e3cab4

9 years agoWorkaround for reversed mac addresses in batch scan.
Wei Wang [Tue, 5 Aug 2014 04:08:34 +0000 (21:08 -0700)]
Workaround for reversed mac addresses in batch scan.

b/16803363

Change-Id: I47299ed2a6191e7f05c229feb1f1f0424e486907

9 years agoMerge "Add transport parameter to createBond() function (3/4)" into lmp-dev
Andre Eisenbach [Tue, 5 Aug 2014 16:57:58 +0000 (16:57 +0000)]
Merge "Add transport parameter to createBond() function (3/4)" into lmp-dev

9 years agoAdd transport parameter to createBond() function (3/4)
Andre Eisenbach [Tue, 5 Aug 2014 00:51:10 +0000 (17:51 -0700)]
Add transport parameter to createBond() function (3/4)

Change-Id: Id3c59bcc8f9efb20fffdebaff34d6b2593f5e5ca

9 years agoCheck null mHandler condition before invoking method on it
Matthew Xie [Mon, 4 Aug 2014 17:40:24 +0000 (10:40 -0700)]
Check null mHandler condition before invoking method on it

There is a path that clean up is called before stop call on HealthService
mHandler could be set to null
bug 16784750

Change-Id: Ie931fa502cf82d21c6bf97a8dc7035e5a1ed4b2e

9 years agoMHF: Return the correct connection state for headset.
Nitin Srivastava [Wed, 30 Jul 2014 19:50:54 +0000 (01:20 +0530)]
MHF: Return the correct connection state for headset.

When more than 1 headset is connected, return the correct
connection state for a headset other than latest connected
headset.
bug 16514538
Change-Id: Id07165f2c023959b7a457a1c1c0ed5c227838973

9 years agoChange discard rule.
Wei Wang [Sun, 3 Aug 2014 21:14:02 +0000 (14:14 -0700)]
Change discard rule.

Change-Id: Icfc43371acb0e901a7f67a4c32c5dd2e63de49c3

9 years agoAdd a default impelementation of IBluetoothGattCallback(2/2).
Wei Wang [Wed, 30 Jul 2014 04:38:29 +0000 (21:38 -0700)]
Add a default impelementation of IBluetoothGattCallback(2/2).

b/16636127 Explicitly use UTF-8 for ScanRecord's local name

Change-Id: Ib152239cdee0becf3f49f1b610dfe1c2296c3647

9 years agoMerge "Change service data and manufacturer data to be repeated." into lmp-dev
Wei Wang [Fri, 1 Aug 2014 20:29:54 +0000 (20:29 +0000)]
Merge "Change service data and manufacturer data to be repeated." into lmp-dev

9 years agoChange service data and manufacturer data to be repeated.
Wei Wang [Tue, 29 Jul 2014 23:15:44 +0000 (16:15 -0700)]
Change service data and manufacturer data to be repeated.

Change-Id: Ie45ca40d3d84d192d65003ea3ac9ad428b281f94

10 years agoMerge "Remove client from advertiseManager correctly" into lmp-dev
Yicheng Fan [Thu, 31 Jul 2014 21:43:31 +0000 (21:43 +0000)]
Merge "Remove client from advertiseManager correctly" into lmp-dev

9 years agoRemove client from advertiseManager correctly
Yicheng Fan [Thu, 31 Jul 2014 21:22:44 +0000 (14:22 -0700)]
Remove client from advertiseManager correctly

Bug: 16711409
Change-Id: I3881593818edcf822ec07353da4a5ea6970f5d7c

10 years agoReduce batch supported threshold to 1024 bytes
Prerepa Viswanadham [Thu, 31 Jul 2014 00:25:47 +0000 (17:25 -0700)]
Reduce batch supported threshold to 1024 bytes

b/16680086

Change-Id: I671abd7dba321ab111280d1a1cb27aa93635a6d1

10 years agoIncorrect data type
Prerepa Viswanadham [Wed, 30 Jul 2014 22:08:00 +0000 (15:08 -0700)]
Incorrect data type
bt_local_le_features_t of wrong size

b/16653133

Change-Id: Ifade7add084fcfbef60abb7d8e5d47e619b0e812

10 years agoMerge "Combine manu id and data before setting to stack." into lmp-dev
Wei Wang [Tue, 29 Jul 2014 00:15:15 +0000 (00:15 +0000)]
Merge "Combine manu id and data before setting to stack." into lmp-dev

10 years agoBug 16630976 - Fix for LE Scan not working
Prerepa Viswanadham [Mon, 28 Jul 2014 23:21:14 +0000 (16:21 -0700)]
Bug 16630976 - Fix for LE Scan not working

Change-Id: I287ff92b699bc798a7d208deed67bc4dce8e1af7

10 years agoFix build due to removal of configureScanParams.
Wei Wang [Mon, 28 Jul 2014 07:09:09 +0000 (00:09 -0700)]
Fix build due to removal of configureScanParams.

Change-Id: If3458b47bb9dfc508e630fe1fb608f01c44284a9

10 years agoRefactor configuring scan params to scan manager
Prerepa Viswanadham [Fri, 25 Jul 2014 23:25:13 +0000 (16:25 -0700)]
Refactor configuring scan params to scan manager

Change-Id: I8c60f0fa4307c2833bc5da6cd080515c5b16b652

10 years agoFix service data filter and report delay issue.
Wei Wang [Sun, 27 Jul 2014 04:08:54 +0000 (21:08 -0700)]
Fix service data filter and report delay issue.

Change-Id: I1e4dd400c94f8740e4e950c42be6beac858f3ab8

10 years agoCombine manu id and data before setting to stack.
Wei Wang [Sat, 26 Jul 2014 02:01:43 +0000 (19:01 -0700)]
Combine manu id and data before setting to stack.

Change-Id: Idef33daa87939a0533dae37dad53a827155d79ca

10 years agoMerge "Use scanner for lagacy LE scan (2/2)." into lmp-dev
Wei Wang [Fri, 25 Jul 2014 06:44:50 +0000 (06:44 +0000)]
Merge "Use scanner for lagacy LE scan (2/2)." into lmp-dev

10 years agoFix A2dp crash when re-starting Bluetooth services
Andre Eisenbach [Thu, 24 Jul 2014 19:01:37 +0000 (12:01 -0700)]
Fix A2dp crash when re-starting Bluetooth services

When the Bluetooth process has died, the services will be restarted to
recover from a crash. This could cause an exception in the A2dp service
because the service maybe stopped without having successfully been
started before. Added null-check to prevent an exception during the
restart.

Bug: 16529242
Change-Id: I57c99ec72c0ba09c6c5325b262e83618aacb3e39

10 years agoUse scanner for lagacy LE scan (2/2).
Wei Wang [Thu, 24 Jul 2014 06:32:09 +0000 (23:32 -0700)]
Use scanner for lagacy LE scan (2/2).

Change-Id: I273e7a2b6687f38d051c3264ff1bbb0025507820

10 years agoBug 15564216: Report Bluetooth tx/rx/idle activity info and energy reporting
Prerepa Viswanadham [Wed, 23 Jul 2014 00:31:11 +0000 (17:31 -0700)]
Bug 15564216: Report Bluetooth tx/rx/idle activity info and energy reporting

Change-Id: Icff519c6e91d7a9a2fb5bd462daddb6a79f9bb46

10 years agoLE energy info feature
Prerepa Viswanadham [Sat, 19 Jul 2014 04:30:20 +0000 (21:30 -0700)]
LE energy info feature

Java and JNI changes for energy info feature

Change-Id: Ifdc7b7253aea8c610b2dac90f2b3f525b5e2d73f

10 years agoAdd a ScanManager that handles Scan related operations. Remove
Wei Wang [Tue, 22 Jul 2014 19:01:40 +0000 (12:01 -0700)]
Add a ScanManager that handles Scan related operations. Remove
GattServiceStateMachine.

Change-Id: I03afefaa4ba534abbf8e2bd38b4888020764cb22

10 years agoMerge "Remove deprecated locales - DO NOT MERGE" into lmp-dev
Baligh Uddin [Sun, 20 Jul 2014 02:24:45 +0000 (02:24 +0000)]
Merge "Remove deprecated locales - DO NOT MERGE" into lmp-dev

10 years agoRemove deprecated locales - DO NOT MERGE
Baligh Uddin [Sat, 19 Jul 2014 20:05:19 +0000 (13:05 -0700)]
Remove deprecated locales - DO NOT MERGE

Change-Id: I1ff0cda5206e98bfeae690e626e6daa01a8e70fc

10 years agoFix build
Wei Wang [Sat, 19 Jul 2014 01:52:15 +0000 (18:52 -0700)]
Fix build

Change-Id: I0e4f8ffec53f606c75dbfae0db50da51118d8ddf

10 years agoMore API modification of BLE APIs (2/2)
Wei Wang [Thu, 17 Jul 2014 05:17:36 +0000 (22:17 -0700)]
More API modification of BLE APIs (2/2)

Change-Id: I65085fa0fa5d02a9163f66555a1c7ba339b454af

10 years agoMerge "Import translations. DO NOT MERGE" into lmp-dev
Baligh Uddin [Sat, 19 Jul 2014 21:23:24 +0000 (21:23 +0000)]
Merge "Import translations. DO NOT MERGE" into lmp-dev

10 years agoImport translations. DO NOT MERGE
Baligh Uddin [Thu, 17 Jul 2014 22:08:43 +0000 (15:08 -0700)]
Import translations. DO NOT MERGE

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

10 years agoMerge "Reduce GATT logging output" into lmp-dev
Andre Eisenbach [Fri, 18 Jul 2014 22:44:07 +0000 (22:44 +0000)]
Merge "Reduce GATT logging output" into lmp-dev

10 years agoReduce GATT logging output
Andre Eisenbach [Fri, 18 Jul 2014 21:34:38 +0000 (14:34 -0700)]
Reduce GATT logging output

Change-Id: I85e9191065083f11056de44202a8e5a0cba1d2c8

10 years agoLE: Add connection parameter update request API (3/4)
Andre Eisenbach [Thu, 17 Jul 2014 06:01:53 +0000 (23:01 -0700)]
LE: Add connection parameter update request API (3/4)

Change-Id: I1be7d530d4db27473086ee8734cdb6aa5e63667c

10 years agoMerge "Add an AdvertiseManager for LE advertise operations." into lmp-dev
Wei Wang [Fri, 18 Jul 2014 21:07:47 +0000 (21:07 +0000)]
Merge "Add an AdvertiseManager for LE advertise operations." into lmp-dev

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 agoImport translations. DO NOT MERGE
Baligh Uddin [Thu, 17 Jul 2014 00:11:00 +0000 (17:11 -0700)]
Import translations. DO NOT MERGE

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

10 years agoFix bug b/16119342 by synchronizing the access of mWakeLock in release().
Sharvil Nanavati [Mon, 14 Jul 2014 21:54:34 +0000 (14:54 -0700)]
Fix bug b/16119342 by synchronizing the access of mWakeLock in release().

Change-Id: Ie0fb5d2c5805f854a886729f539adf2ae865bc17

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