OSDN Git Service

android-x86/packages-apps-Bluetooth.git
9 years agoam b16b868d: am d4a6ad3a: am d981ab06: Check previous user confirmation before auto...
Matthew Xie [Mon, 24 Nov 2014 23:35:30 +0000 (23:35 +0000)]
am b16b868d: am d4a6ad3a: am d981ab06: Check previous user confirmation before auto-confirm put request

* commit 'b16b868dc8df463e688069870d6f53ae17ecdaa8':
  Check previous user confirmation before auto-confirm put request

9 years agoam d4a6ad3a: am d981ab06: Check previous user confirmation before auto-confirm put...
Matthew Xie [Mon, 24 Nov 2014 23:26:59 +0000 (23:26 +0000)]
am d4a6ad3a: am d981ab06: Check previous user confirmation before auto-confirm put request

* commit 'd4a6ad3a5f5d12ee6901b7a83260267c83dabd76':
  Check previous user confirmation before auto-confirm put request

9 years agoam d981ab06: Check previous user confirmation before auto-confirm put request
Matthew Xie [Mon, 24 Nov 2014 23:22:02 +0000 (23:22 +0000)]
am d981ab06: Check previous user confirmation before auto-confirm put request

* commit 'd981ab06c6844ef345cd0a1d3077c4840f978989':
  Check previous user confirmation before auto-confirm put request

9 years agoCheck previous user confirmation before auto-confirm put request
Matthew Xie [Mon, 17 Nov 2014 17:50:54 +0000 (09:50 -0800)]
Check previous user confirmation before auto-confirm put request

Also correct a confirm status change check in updateShare.
Bug: 1777056118343032

Change-Id: I8e7d10e73604c0bf1c88801a1caef7d579fbd1eb
(cherry picked from commit e93cc4d347fd5d263d7740ad85f7f99b64651126)

9 years agoam 5a8e9b03: am a75e97e7: am 6c32875f: am b81ccaea: am 964a72ae: updateshare confirm...
Matthew Xie [Fri, 7 Nov 2014 17:09:37 +0000 (17:09 +0000)]
am 5a8e9b03: am a75e97e7: am 6c32875f: am b81ccaea: am 964a72ae: updateshare confirm logic missed cases like CONFIRMATION_DENIED, TIMEOUT. fix it

* commit '5a8e9b03c2a3333a23bc143aa1e036c4556bbe7b':
  updateshare confirm logic missed cases like CONFIRMATION_DENIED, TIMEOUT. fix it

9 years agoam a75e97e7: am 6c32875f: am b81ccaea: am 964a72ae: updateshare confirm logic missed...
Matthew Xie [Fri, 7 Nov 2014 17:04:49 +0000 (17:04 +0000)]
am a75e97e7: am 6c32875f: am b81ccaea: am 964a72ae: updateshare confirm logic missed cases like CONFIRMATION_DENIED, TIMEOUT. fix it

* commit 'a75e97e7e56415d4b4d580cf7c780bcf1659e2af':
  updateshare confirm logic missed cases like CONFIRMATION_DENIED, TIMEOUT. fix it

9 years agoam 6c32875f: am b81ccaea: am 964a72ae: updateshare confirm logic missed cases like...
Matthew Xie [Fri, 7 Nov 2014 17:01:18 +0000 (17:01 +0000)]
am 6c32875f: am b81ccaea: am 964a72ae: updateshare confirm logic missed cases like CONFIRMATION_DENIED, TIMEOUT. fix it

* commit '6c32875f190e8d04f425ef142416a8f2a535a3df':
  updateshare confirm logic missed cases like CONFIRMATION_DENIED, TIMEOUT. fix it

9 years agoam b81ccaea: am 964a72ae: updateshare confirm logic missed cases like CONFIRMATION_DE...
Matthew Xie [Fri, 7 Nov 2014 16:56:15 +0000 (16:56 +0000)]
am b81ccaea: am 964a72ae: updateshare confirm logic missed cases like CONFIRMATION_DENIED, TIMEOUT. fix it

* commit 'b81ccaea320de5e4fc19d5bc5d81874e9e68ead1':
  updateshare confirm logic missed cases like CONFIRMATION_DENIED, TIMEOUT. fix it

9 years agoam 964a72ae: updateshare confirm logic missed cases like CONFIRMATION_DENIED, TIMEOUT...
Matthew Xie [Fri, 7 Nov 2014 16:52:58 +0000 (16:52 +0000)]
am 964a72ae: updateshare confirm logic missed cases like CONFIRMATION_DENIED, TIMEOUT. fix it

* commit '964a72ae9eebe882aebcab4b5326afb6cc06f595':
  updateshare confirm logic missed cases like CONFIRMATION_DENIED, TIMEOUT. fix it

9 years agoupdateshare confirm logic missed cases like CONFIRMATION_DENIED, TIMEOUT. fix it
Matthew Xie [Thu, 23 Oct 2014 19:53:40 +0000 (12:53 -0700)]
updateshare confirm logic missed cases like CONFIRMATION_DENIED, TIMEOUT. fix it

bug 17770561
Change-Id: I34fb018d9787b4deef8592c71f5539778e76e325
(cherry picked from commit 70743aa46fa95bd252acea614bfde8cc65e03890)

9 years agoWhen local device originated connection to hid device, move out of quiet mode
Matthew Xie [Fri, 24 Oct 2014 18:29:08 +0000 (11:29 -0700)]
When local device originated connection to hid device, move out of quiet mode

bug 17480992

Change-Id: Ia3f5ef4886dfde370abe5b35a80ab80a4f030f37

9 years agoImport translations. DO NOT MERGE
Baligh Uddin [Mon, 20 Oct 2014 07:30:49 +0000 (00:30 -0700)]
Import translations. DO NOT MERGE

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

9 years agoMerge "Update AVRCP play status only if music is streaming" into lmp-dev
Matthew Xie [Wed, 15 Oct 2014 05:04:58 +0000 (05:04 +0000)]
Merge "Update AVRCP play status only if music is streaming" into lmp-dev

9 years agoIssue: turning on bluetooth headset in call doesn't change route (2/2).
Tyler Gunn [Fri, 10 Oct 2014 18:49:59 +0000 (11:49 -0700)]
Issue: turning on bluetooth headset in call doesn't change route (2/2).

In addition to a failure to report CallState from Telecom, the broadcast
of the state change was happening before the active device was set,
causing Telecom to receive the broadcast indicating the audio state has
changed, only to have the Bluetooth service report that bluetooth audio
is not connected yet.

Bug: 17933664
Change-Id: Id4e7c6d4085f5ee990a8d19da8c089399ee60c6d

9 years agoUpdate AVRCP play status only if music is streaming
Ravi Nagarajan [Thu, 9 Oct 2014 06:12:10 +0000 (11:42 +0530)]
Update AVRCP play status only if music is streaming

AVRCP play status was updated based on AVDTP stream state. Enhanced this
logic to update the status only when music is streaming
bug 12099469

Change-Id: Idef0180cd0d0b78fa392a5354320440fce9b81a7

9 years agoMoving STATE_DISCONNECTED broadcast.
Tyler Gunn [Wed, 8 Oct 2014 21:12:38 +0000 (14:12 -0700)]
Moving STATE_DISCONNECTED broadcast.

In Telecom we were seeing a bug where we received an
ACTION_CONNECTION_STATE_CHANGEDSTATE intent indicating the disconnection
of a bluetooth headset.  The BluetoothManager in Telecom would then
query the Bluetooth service to see if there are any devices.  Despite
being informed that the device in use was disconnected, it still showed
up as connected.

To fix this, I moved the state broadcast AFTER the disconnected device is
removed from the headset state machine.  Looking through all other
disconnect broadcasts in that file, the disconnection happens AFTER in
all other cases as well.

Bug: 17899941
Change-Id: Ice4b2a5b1093e04ffe4c3241a3379aba56898792

9 years agoImport translations. DO NOT MERGE
Geoff Mendal [Wed, 8 Oct 2014 13:19:06 +0000 (06:19 -0700)]
Import translations. DO NOT MERGE

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

9 years agoImport translations. DO NOT MERGE
Geoff Mendal [Mon, 6 Oct 2014 16:11:26 +0000 (09:11 -0700)]
Import translations. DO NOT MERGE

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

9 years agoImport translations. DO NOT MERGE
Baligh Uddin [Sat, 4 Oct 2014 16:04:09 +0000 (09:04 -0700)]
Import translations. DO NOT MERGE

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

9 years agoMerge "MAP: Return OBEX_HTTP_NOT_IMPLEMENTED for msgUpdate for sms/mms" into lmp-dev
Matthew Xie [Thu, 2 Oct 2014 07:02:02 +0000 (07:02 +0000)]
Merge "MAP: Return OBEX_HTTP_NOT_IMPLEMENTED for msgUpdate for sms/mms" into lmp-dev

9 years agoMerge "Add HOGP as hid profile when the remote device contain HOGP service" into...
Prem Kumar [Thu, 2 Oct 2014 06:43:21 +0000 (06:43 +0000)]
Merge "Add HOGP as hid profile when the remote device contain HOGP service" into lmp-dev

9 years agoMAP: Return OBEX_HTTP_NOT_IMPLEMENTED for msgUpdate for sms/mms
Matthew Xie [Wed, 1 Oct 2014 17:36:29 +0000 (10:36 -0700)]
MAP: Return OBEX_HTTP_NOT_IMPLEMENTED for msgUpdate for sms/mms

In MAP profile message update is not implemented for sms/mms.
bug 17723738

Change-Id: I6c7baaf9e6f54e7af1b6c8458a6a458239da7d10

9 years agoAdd HOGP as hid profile when the remote device contain HOGP service
Matthew Xie [Tue, 30 Sep 2014 03:54:34 +0000 (20:54 -0700)]
Add HOGP as hid profile when the remote device contain HOGP service

bug 17409862

Change-Id: I018f12facefa7fb7bf2c3b46e639c40a8a67eae4

9 years agoFixed a Bluetooth MAP bug.
PauloftheWest [Mon, 29 Sep 2014 17:37:29 +0000 (10:37 -0700)]
Fixed a Bluetooth MAP bug.

+ Beforehand, if a user disabled MAP and then unpaired the device, then
Settings would automatically deny future MAP requests from the device.

Bug: 17391677
Change-Id: I068f37426ed6a044ed2b5e9391cd9dd00908f867

9 years agoImport translations. DO NOT MERGE
Baligh Uddin [Mon, 29 Sep 2014 02:37:49 +0000 (19:37 -0700)]
Import translations. DO NOT MERGE

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

9 years agoMerge "BT MAP: fix problem with fetching CDMA messages" into lmp-dev
Matthew Xie [Sun, 28 Sep 2014 21:38:41 +0000 (21:38 +0000)]
Merge "BT MAP: fix problem with fetching CDMA messages" into lmp-dev

9 years agoBT MAP: fix problem with fetching CDMA messages
kschulz [Thu, 25 Sep 2014 07:41:39 +0000 (09:41 +0200)]
BT MAP: fix problem with fetching CDMA messages

A bug in Java makes the Long.parse() function throw and exception when message
handles start to become negative (which happens for CDMA SMS messages).
Fix simply shifts the handle masks on byte down in order to get around
the bug.

Bug: 17627572
Change-Id: Ie41aef589dc9d3ecb8bc7167472218e57a52fa33

9 years agoImport translations. DO NOT MERGE
Baligh Uddin [Thu, 25 Sep 2014 05:03:37 +0000 (22:03 -0700)]
Import translations. DO NOT MERGE

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

9 years agoMerge "Defer callbacks if the transport is congested" into lmp-dev
Andre Eisenbach [Wed, 24 Sep 2014 22:06:23 +0000 (22:06 +0000)]
Merge "Defer callbacks if the transport is congested" into lmp-dev

9 years agoDefer callbacks if the transport is congested
Prerepa Viswanadham [Fri, 19 Sep 2014 19:54:04 +0000 (12:54 -0700)]
Defer callbacks if the transport is congested

Hold client characteristic write callbacks and server notification
callbacks if the transport is congested. When the congestion clears up,
all queued callbacks are sent to the application.

Bug: 17289507
Change-Id: Ib22d7857ac3990fd3cc922aedd4258013e1af54c

9 years agoSet FLAG_RECEIVER_FOREGROUND when broadcasting
Ariel Gertzenstein [Tue, 23 Sep 2014 18:34:04 +0000 (14:34 -0400)]
Set FLAG_RECEIVER_FOREGROUND when broadcasting
  ACTION_PAIRING_REQUEST.

Bug: 17590080

Change-Id: I0a7cde5953f706a2b41b02878f0fdbd2d9e8ae35

9 years agoImport translations. DO NOT MERGE
Baligh Uddin [Sat, 20 Sep 2014 18:04:26 +0000 (11:04 -0700)]
Import translations. DO NOT MERGE

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

9 years agoMerge "Save alias in RemoteDevice property before passing it to native layer" into...
Matthew Xie [Fri, 19 Sep 2014 04:42:05 +0000 (04:42 +0000)]
Merge "Save alias in RemoteDevice property before passing it to native layer" into lmp-dev

9 years agoSave alias in RemoteDevice property before passing it to native layer
Matthew Xie [Thu, 18 Sep 2014 21:32:57 +0000 (14:32 -0700)]
Save alias in RemoteDevice property before passing it to native layer

bug 17287682

Change-Id: Id7da194f66cf44d41e60f35665dfb1b279cac28f

9 years agoMerge "Import translations. DO NOT MERGE" into lmp-dev
Baligh Uddin [Thu, 18 Sep 2014 17:56:01 +0000 (17:56 +0000)]
Merge "Import translations. DO NOT MERGE" into lmp-dev

9 years agoMerge "Use unified Tethering Permission Check" into lmp-dev
Robert Greenwalt [Thu, 18 Sep 2014 00:03:38 +0000 (00:03 +0000)]
Merge "Use unified Tethering Permission Check" into lmp-dev

9 years agoFix a typo that compares scanMode with callback types.
Wei Wang [Wed, 17 Sep 2014 19:30:07 +0000 (12:30 -0700)]
Fix a typo that compares scanMode with callback types.

Bug: 17187159
Change-Id: Ieca583e7cf02d63b9eceda7872511c9db280c04a

9 years agoMerge "Don't leak PII into the logs." into lmp-dev
Rakesh Iyer [Wed, 17 Sep 2014 17:14:36 +0000 (17:14 +0000)]
Merge "Don't leak PII into the logs." into lmp-dev

9 years agoMerge "Enforce permissions for BLE hidden APIs." into lmp-dev
Wei Wang [Wed, 17 Sep 2014 07:23:42 +0000 (07:23 +0000)]
Merge "Enforce permissions for BLE hidden APIs." into lmp-dev

9 years agoUse unified Tethering Permission Check
Robert Greenwalt [Wed, 17 Sep 2014 00:47:34 +0000 (17:47 -0700)]
Use unified Tethering Permission Check

The BT and Wifi mechanisms for enabling Tethering did their own
permission checks.  This set of changes unifies the check into
a ConnectivityManager function so they can be kept in sync.

bug:17435527
Change-Id: I8c157a5acf56ffbddd349cb6a45160ae7be8541b

9 years agoDon't leak PII into the logs.
Rakesh Iyer [Tue, 16 Sep 2014 22:23:04 +0000 (15:23 -0700)]
Don't leak PII into the logs.

Guard a couple of the Log.v statements with the if (V) guard that
is used everywhere else in the file.

Bug: 17531755
Change-Id: I7ea06333132c400fca225d0c92cfca0d6c3024ab

9 years agoImport translations. DO NOT MERGE
Baligh Uddin [Tue, 16 Sep 2014 16:00:56 +0000 (09:00 -0700)]
Import translations. DO NOT MERGE

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

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 agoEnforce permissions for BLE hidden APIs.
Wei Wang [Fri, 12 Sep 2014 18:50:09 +0000 (11:50 -0700)]
Enforce permissions for BLE hidden APIs.

Bug:17187159
Change-Id: Ibe467fa52fdead036a80922947cc295257221530

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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

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

Bug: 17128331
Change-Id: Ic1a4d9803790cc0f3e8003ede4da8cc8f26729cf

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

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

Change-Id: I034cc118ea4dca67ed6240b700d4ac504562ddfc

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

Change-Id: Ied3bd289b662cd342ba05f5038175007d3211a63

10 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

10 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

10 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