OSDN Git Service

android-x86/packages-apps-Bluetooth.git
11 years agoam 5d00ba23: (-s ours) Import translations. DO NOT MERGE
Baligh Uddin [Fri, 4 Oct 2013 17:14:32 +0000 (10:14 -0700)]
am 5d00ba23: (-s ours) Import translations. DO NOT MERGE

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

11 years agoImport translations. DO NOT MERGE
Baligh Uddin [Fri, 4 Oct 2013 17:12:11 +0000 (10:12 -0700)]
Import translations. DO NOT MERGE

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

11 years agoMerge "Change setPin, setPin, setPairingConfirmation permission level to BLUETOOTH_PR...
Matthew Xie [Mon, 30 Sep 2013 18:57:02 +0000 (18:57 +0000)]
Merge "Change setPin, setPin, setPairingConfirmation permission level to BLUETOOTH_PRIVILEGED" into klp-dev

11 years agoChange setPin, setPin, setPairingConfirmation permission level to BLUETOOTH_PRIVILEGED
Matthew Xie [Tue, 24 Sep 2013 07:48:48 +0000 (00:48 -0700)]
Change setPin, setPin, setPairingConfirmation permission level to BLUETOOTH_PRIVILEGED

bug 9987787

Change-Id: I2fe88f4c284d8403d79e08194bf7a720b305d029

11 years agoMerge "Unable to receive Text Message to CAR Kit(nuvi3580LM)" into klp-dev
Zhihai Xu [Thu, 26 Sep 2013 23:16:50 +0000 (23:16 +0000)]
Merge "Unable to receive Text Message to CAR Kit(nuvi3580LM)" into klp-dev

11 years agoUnable to receive Text Message to CAR Kit(nuvi3580LM)
Zhihai Xu [Tue, 24 Sep 2013 21:22:13 +0000 (14:22 -0700)]
Unable to receive Text Message to CAR Kit(nuvi3580LM)

The problem is when we receive the SetNotificationRegistration,
the MNS thread is not ready yet.so the notification is not enabled.
so we won't send new message notification to Carkit.

bug:10898884

Change-Id: Ibaa4a92694bcbb1ea2fb4e8a3de0ff30acdafeb1

11 years agoMerge "bluetooth crash caused by read phone book with invalid colummn number -1"...
Zhihai Xu [Wed, 25 Sep 2013 21:59:34 +0000 (21:59 +0000)]
Merge "bluetooth crash caused by read phone book with invalid colummn number -1" into klp-dev

11 years agoImport translations. DO NOT MERGE
Baligh Uddin [Wed, 25 Sep 2013 15:29:13 +0000 (08:29 -0700)]
Import translations. DO NOT MERGE

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

11 years agobluetooth crash caused by read phone book with invalid colummn number -1
Zhihai Xu [Wed, 25 Sep 2013 01:22:29 +0000 (18:22 -0700)]
bluetooth crash caused by read phone book with invalid colummn number -1

bug:10919257
Change-Id: I584d5c5c65e26cacfab227742b98c49282710f68

11 years agoMerge "resource leakage in bluetooth MAP when empty message in phone." into klp-dev
Zhihai Xu [Fri, 20 Sep 2013 20:57:12 +0000 (20:57 +0000)]
Merge "resource leakage in bluetooth MAP when empty message in phone." into klp-dev

11 years agoMerge "Check null condition of number before contact query" into klp-dev
Matthew Xie [Fri, 20 Sep 2013 17:31:09 +0000 (17:31 +0000)]
Merge "Check null condition of number before contact query" into klp-dev

11 years agoCheck null condition of number before contact query
Matthew Xie [Fri, 20 Sep 2013 00:25:05 +0000 (17:25 -0700)]
Check null condition of number before contact query

bug 10571304

Change-Id: Idb23e7085dc1dc7119e0e2aa8901743707e72285

11 years agoAdd MEDIA_CONTENT_CONTROL permission
Jean-Michel Trivi [Wed, 18 Sep 2013 03:21:22 +0000 (20:21 -0700)]
Add MEDIA_CONTENT_CONTROL permission

Required to register IRemoteControlDisplay implementation

b/8209392
Change-Id: Ide88e9a11bcfa68e7d5e2095208e63afdb5c511e

11 years agoresource leakage in bluetooth MAP when empty message in phone.
Zhihai Xu [Thu, 19 Sep 2013 23:20:52 +0000 (16:20 -0700)]
resource leakage in bluetooth MAP when empty message in phone.

bug:10844044
Change-Id: I60c1b0206d7ba4653d149bee2f9f0dd6da6a5afb

11 years agoChange Volume step scale. Use setStreamVolume instead of avrcpUpdateVolume
Matthew Xie [Thu, 12 Sep 2013 07:21:59 +0000 (00:21 -0700)]
Change Volume step scale. Use setStreamVolume instead of avrcpUpdateVolume

bug 10681804

Change-Id: I553dac18d48c86bdb8b11428f56956f04ea87f27

11 years agoImport translations. DO NOT MERGE
Baligh Uddin [Sun, 15 Sep 2013 02:50:46 +0000 (19:50 -0700)]
Import translations. DO NOT MERGE

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

11 years agoMerge "Fix build." into klp-dev
Ying Wang [Sat, 14 Sep 2013 03:47:21 +0000 (03:47 +0000)]
Merge "Fix build." into klp-dev

11 years agoFix build.
Ying Wang [Sat, 14 Sep 2013 03:46:08 +0000 (20:46 -0700)]
Fix build.

Change-Id: I02a9d4dfa84c5778a1136d39b7bb14a2e523a9ca

11 years agodisable broken tests
Guang Zhu [Sat, 14 Sep 2013 02:30:57 +0000 (19:30 -0700)]
disable broken tests

tests are causing build breakage

Bug: 10692365

Change-Id: Ieb4b8c6946cf2de4230f1320d940c89de53b100c

11 years agoMerge "Fixes to the google review comments + spec 1.1" into klp-dev
Zhihai Xu [Fri, 13 Sep 2013 23:00:43 +0000 (23:00 +0000)]
Merge "Fixes to the google review comments + spec 1.1" into klp-dev

11 years agoFixes to the google review comments + spec 1.1
Kim Schulz [Thu, 22 Aug 2013 08:57:59 +0000 (10:57 +0200)]
Fixes to the google review comments + spec 1.1

- updated code to comply with MAP spec 1.1
- removed activity + strings.xml
- removed unused notification code
- fixed TODOs
- added more string validation and case insensitivity
- fixed internal+google review comments
- Added dump of incoming bMessages to /sdcard/bluetooth/log when verbose debug in enabled. Only the latest received message will be stored
- Fix functions msgListingSize and msgListingHasUnread to also consider mms filter message type
- Fix wrong tag length define for notification status parameter
- Re-added shutdown code to interupt the MNS
- removed map activity
- Added initial bluetooth map unit tests
- Fix map event report xml start tag to uppercase 'MAP'
- added support for using ProfileService class
- changed the way the Broadcast Receiver was implemented
- Fixed minor bugs found during Automotive Test Event
  - FilterPeriod application parameters can be present, but with zero length
  - For MMS the end-boundary were added too early
  - The FOLDER entry in bMessage can be empty for a message push
  - Wrong error value returned for a set status operation with a wrong handle
- In getMessage() exclude all binary content and smil.xml if the appParam attachment is set to "no".
- Set correct content id and content location for mms. Fix mms mime parser bug.
- moved disconnect to Handler thread
- fixed multipart-message split bug.
- added a few Unit tests for multi-part messages
- MMS parser optimized
- fixed exception in MNS obex Client
- fixed problem with Native PDUs not getting correct timestamp
- corrected mixup in ordinator/recipient for MMS

Change-Id: I3875762822a7f8ce0132065e0da5d0257e3850a1
Bug:10692365

11 years agoRemove dependency on JNIHelp header side effects.
Ruben Brunk [Wed, 11 Sep 2013 03:35:38 +0000 (20:35 -0700)]
Remove dependency on JNIHelp header side effects.

Bug: 10680559
Change-Id: If5c6e22dd89a41886bb72303a85ca674c60d1946

11 years agoStop scan when client binder dies
John Du [Fri, 16 Aug 2013 00:40:24 +0000 (17:40 -0700)]
Stop scan when client binder dies

bug 10213756
Change-Id: I01b397070f729df7c6000c2dc2613efbe8801681
(cherry picked from commit 45ba247afa1cb3c61a871b0c13f6546411afe68b)

11 years agoImport translations. DO NOT MERGE
Baligh Uddin [Tue, 3 Sep 2013 15:33:40 +0000 (08:33 -0700)]
Import translations. DO NOT MERGE

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

11 years agoMerge "Enables AT+ANDROID command in Bluetooth HFP." into klp-dev
Edward Jee [Mon, 26 Aug 2013 20:33:36 +0000 (20:33 +0000)]
Merge "Enables AT+ANDROID command in Bluetooth HFP." into klp-dev

11 years agoImport translations. DO NOT MERGE
Baligh Uddin [Fri, 23 Aug 2013 05:23:57 +0000 (22:23 -0700)]
Import translations. DO NOT MERGE

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

11 years agoEnables AT+ANDROID command in Bluetooth HFP.
Edward Jee [Fri, 16 Aug 2013 11:10:56 +0000 (04:10 -0700)]
Enables AT+ANDROID command in Bluetooth HFP.

Adds another vendor-specific command AT+ANDROID in Bluetooth Hands-Free
Profile. And creates an API function that sends an unsolicited result
code +ANDROID .

Bug: 8736189
Change-Id: I7e5bba8a568f596565a1531948061e4d2fe456e0

11 years agoImport translations. DO NOT MERGE
Baligh Uddin [Mon, 19 Aug 2013 14:17:34 +0000 (07:17 -0700)]
Import translations. DO NOT MERGE

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

11 years agoAdding support for Absolute Volume
John Du [Thu, 18 Jul 2013 22:48:16 +0000 (15:48 -0700)]
Adding support for Absolute Volume

Change-Id: Ie2ccaad7aaf56a89fe44b168026df3d84b373c06

Conflicts:
jni/com_android_bluetooth_avrcp.cpp
src/com/android/bluetooth/a2dp/Avrcp.java

11 years agoMerge "Import translations. DO NOT MERGE" into klp-dev
Baligh Uddin [Fri, 16 Aug 2013 00:25:26 +0000 (00:25 +0000)]
Merge "Import translations. DO NOT MERGE" into klp-dev

11 years agoAdd support for ff/rew
John Du [Fri, 28 Jun 2013 01:39:42 +0000 (18:39 -0700)]
Add support for ff/rew

Change-Id: I7ec60d94313b9ba5e4e8e62c82f19ae332b6fdd3
(cherry picked from commit 55123eff985f4d15ec198569a5db895ea086447a)

11 years agoImport translations. DO NOT MERGE
Baligh Uddin [Wed, 14 Aug 2013 16:51:16 +0000 (09:51 -0700)]
Import translations. DO NOT MERGE

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

11 years agoMerge "LE: Add peripheral role support (4/4)" into klp-dev
Matthew Xie [Wed, 14 Aug 2013 08:16:08 +0000 (08:16 +0000)]
Merge "LE: Add peripheral role support (4/4)" into klp-dev

11 years agoLE: Add peripheral role support (4/4)
Andre Eisenbach [Wed, 7 Aug 2013 02:58:39 +0000 (19:58 -0700)]
LE: Add peripheral role support (4/4)

Initial stack support for the LE peripheral role.

Change-Id: I3600558fd777999bcd610fa3aaed259414702ea4

11 years agoMerge "LE: Add instance ID to descriptors (4/4)" into klp-dev
Matthew Xie [Wed, 14 Aug 2013 07:32:04 +0000 (07:32 +0000)]
Merge "LE: Add instance ID to descriptors (4/4)" into klp-dev

11 years agoLE: Add instance ID to descriptors (4/4)
Andre Eisenbach [Tue, 9 Jul 2013 07:03:57 +0000 (00:03 -0700)]
LE: Add instance ID to descriptors (4/4)

If a remote devices offers multiple descriptors with the same UUID, the
instance ID is used to differentiate between them.

Change-Id: I176dcfe1dc582120173cf3bd2d4329d7d764e39a

11 years agoImport translations. DO NOT MERGE
Baligh Uddin [Mon, 12 Aug 2013 15:25:26 +0000 (08:25 -0700)]
Import translations. DO NOT MERGE

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

11 years agoBluetooth MAP profile - sms and mms support initial check-in
Matthew Xie [Fri, 19 Jul 2013 01:18:36 +0000 (18:18 -0700)]
Bluetooth MAP profile - sms and mms support initial check-in

bug:10116530

Change-Id: If9ce878d71c1e1b12416014c433da03b3033e158

11 years agoUse explicit Intent for binding to service.
Dianne Hackborn [Mon, 5 Aug 2013 18:26:26 +0000 (11:26 -0700)]
Use explicit Intent for binding to service.

Change-Id: I51971a02532ad0ad8fafb0529e7adf83ed846cf4

11 years agoImport translations. DO NOT MERGE
Baligh Uddin [Wed, 31 Jul 2013 21:47:55 +0000 (14:47 -0700)]
Import translations. DO NOT MERGE

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

11 years agoMerge "Add debug menu to enable btsnoop"
Zhihai Xu [Fri, 26 Jul 2013 18:33:12 +0000 (18:33 +0000)]
Merge "Add debug menu to enable btsnoop"

11 years agoUse new CallLog number presentation column
Jay Shrauner [Mon, 10 Jun 2013 19:03:34 +0000 (12:03 -0700)]
Use new CallLog number presentation column

Switch to using new number presentation column in the CallLog table.

Bug:6948882
Change-Id: I5df2969465c19f2357dbbc3266315e020e30476e

11 years agoam ca70fd76: (-s ours) Reconcile with jb-mr2-release - do not merge
The Android Open Source Project [Wed, 12 Jun 2013 14:25:54 +0000 (07:25 -0700)]
am ca70fd76: (-s ours) Reconcile with jb-mr2-release - do not merge

* commit 'ca70fd763174361aa9ed25241f94d52f94ef6387':
  ignore invlaid play position update from remote control client.

11 years agoReconcile with jb-mr2-release - do not merge
The Android Open Source Project [Wed, 12 Jun 2013 14:23:39 +0000 (07:23 -0700)]
Reconcile with jb-mr2-release - do not merge

Change-Id: Ie1d9fd280ad0b593e75ce17c11e45d34cf6df4ab

11 years agoignore invlaid play position update from remote control client.
Zhihai Xu [Sat, 8 Jun 2013 01:12:21 +0000 (18:12 -0700)]
ignore invlaid play position update from remote control client.

differentiate between applications that use
 the new RemoteControlClient APIs to pass a playback position but
 don't have one yet, and applications that use the legacy API and
 will never pass a position.

bug:9294855
Change-Id: I015b9ded72497464352a9fbb6a605cedfffad373

11 years agoam 7dc55aab: Merge "ignore invlaid play position update from remote control client...
Zhihai Xu [Tue, 11 Jun 2013 22:28:50 +0000 (15:28 -0700)]
am 7dc55aab: Merge "ignore invlaid play position update from remote control client." into jb-mr2-dev

* commit '7dc55aab7b1e53f784ffc75d1e7e28c0ee42bb0c':
  ignore invlaid play position update from remote control client.

11 years agoAdd debug menu to enable btsnoop
Zhihai Xu [Tue, 11 Jun 2013 20:08:24 +0000 (13:08 -0700)]
Add debug menu to enable btsnoop

bug: 8059358
Change-Id: I2947b2b77955238410e2620489c2e0407ad8ae7b

11 years agoMerge "ignore invlaid play position update from remote control client." into jb-mr2-dev
Zhihai Xu [Tue, 11 Jun 2013 19:39:49 +0000 (19:39 +0000)]
Merge "ignore invlaid play position update from remote control client." into jb-mr2-dev

11 years agoignore invlaid play position update from remote control client.
Zhihai Xu [Sat, 8 Jun 2013 01:12:21 +0000 (18:12 -0700)]
ignore invlaid play position update from remote control client.

differentiate between applications that use
 the new RemoteControlClient APIs to pass a playback position but
 don't have one yet, and applications that use the legacy API and
 will never pass a position.

bug:9294855
Change-Id: I015b9ded72497464352a9fbb6a605cedfffad373

11 years agoam 865b323b: Notify adapter state change from off to on when disable fails
Matthew Xie [Thu, 30 May 2013 22:16:12 +0000 (15:16 -0700)]
am 865b323b: Notify adapter state change from off to on when disable fails

* commit '865b323bb1d0aa9581a9b6a2f5ed96fc0ee70b23':
  Notify adapter state change from off to on when disable fails

11 years agoNotify adapter state change from off to on when disable fails
Matthew Xie [Thu, 30 May 2013 19:14:37 +0000 (12:14 -0700)]
Notify adapter state change from off to on when disable fails

So that the settings app would not stuck at turning-off state
User can retry turning off.
bug 9164641

Change-Id: I6ae6d80c97673b4e548b7b5ab47c51f968342060

11 years agoam 3cedf3d5: Fix rssi handling as one of property change event
Matthew Xie [Fri, 24 May 2013 23:47:23 +0000 (16:47 -0700)]
am 3cedf3d5: Fix rssi handling as one of property change event

* commit '3cedf3d57aff20e1876a5b450f41b05e975cb8e0':
  Fix rssi handling as one of property change event

11 years agoFix rssi handling as one of property change event
Matthew Xie [Fri, 24 May 2013 20:01:21 +0000 (13:01 -0700)]
Fix rssi handling as one of property change event

The rssi is encoded in one byte as int8_t in the stack.
JNI code copied in high byte without proper masking.
The converting is not needed. I am removing the uncessary converting.
bug 9110215

Change-Id: I50628b3a3c0bcf4a33775c6b62e9febd35bdc78d

11 years agoam 0eea1282: Bluetooth Share has stopped / Secondary user setup / NullPointerException
Zhihai Xu [Wed, 22 May 2013 16:50:32 +0000 (09:50 -0700)]
am 0eea1282: Bluetooth Share has stopped / Secondary user setup / NullPointerException

* commit '0eea1282dcb425c1ea9dc6aa08d323884a9a1655':
  Bluetooth Share has stopped / Secondary user setup / NullPointerException

11 years agoBluetooth Share has stopped / Secondary user setup / NullPointerException
Zhihai Xu [Tue, 21 May 2013 23:07:22 +0000 (16:07 -0700)]
Bluetooth Share has stopped / Secondary user setup / NullPointerException

issue 9066070

Change-Id: Ie206eab374c6a8c255f1a6302249f81ac16fc333

11 years agoam ad9fff21: Preload timeout and retry mechanism (2/3)
YK Jeffrey Chao [Tue, 14 May 2013 23:23:11 +0000 (16:23 -0700)]
am ad9fff21: Preload timeout and retry mechanism (2/3)

* commit 'ad9fff218081d2f49471487d37387c764d69ed29':
  Preload timeout and retry mechanism (2/3)

11 years agoFix for roam indicator not updating correctly
Ravi Nagarajan [Thu, 2 May 2013 06:25:55 +0000 (23:25 -0700)]
Fix for roam indicator not updating correctly

Use telephony manager PhoneStateListener to update the roam indicator
bug 8781689

Change-Id: I7c06f162918a10d06d77fb302e99bd2db8b02874

11 years agoPreload timeout and retry mechanism (2/3)
YK Jeffrey Chao [Wed, 24 Apr 2013 18:55:23 +0000 (11:55 -0700)]
Preload timeout and retry mechanism (2/3)

If the Preload process was stuck due to unknown hardware init failure,
a 8-second ENABLE_TIMEOUT timeout would be eventually expired in Java layer
at AdapterState and attempted to set BT state back to STATE_OFF.
However BluetoothManagerService did not handle this case accordingly and led
to state mis-matching between Java layer and BTIF at the end.

Add the processing logic in AdapterState to handle the case when an explicit
STATE_OFF notification from BTIF was received in the TurningOn Pending state.

bug  7566317

Change-Id: I29c379cd453d05297ed382a5e8f862fa7d0f8881

11 years agoam bad49957: avoid null pointer in handlePanDeviceStateChange of PanService
Zhihai Xu [Tue, 7 May 2013 17:01:15 +0000 (10:01 -0700)]
am bad49957: avoid null pointer in handlePanDeviceStateChange of PanService

* commit 'bad4995703f97fab3c7c84b297a8ca6df65191fa':
  avoid null pointer in handlePanDeviceStateChange of PanService

11 years agoImport translations. DO NOT MERGE
Baligh Uddin [Mon, 6 May 2013 16:11:08 +0000 (09:11 -0700)]
Import translations. DO NOT MERGE

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

11 years agoavoid null pointer in handlePanDeviceStateChange of PanService
Zhihai Xu [Sat, 4 May 2013 03:49:22 +0000 (20:49 -0700)]
avoid null pointer in handlePanDeviceStateChange of PanService

see the following null pointer exception
04-30 15:15:21.689 10890 10890 E AndroidRuntime: Caused by: java.lang.NullPointerException
04-30 15:15:21.689 10890 10890 E AndroidRuntime:  at com.android.bluetooth.pan.PanService.handlePanDeviceStateChange(PanService.java:457)
which cause crash when disable BT
If the stop is called before the cleanup in PanService, Nullpointer may happen.

issue 8769031

Change-Id: Ia3fb1625c945c508771a697234e6ee18a120d72b

11 years agoImport translations. DO NOT MERGE
Baligh Uddin [Fri, 26 Apr 2013 14:45:52 +0000 (07:45 -0700)]
Import translations. DO NOT MERGE

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

11 years agoam 00998973: Merge "Null pointer exception in SocketAcceptThread of BluetoothPbapServ...
Zhihai Xu [Fri, 26 Apr 2013 04:26:51 +0000 (21:26 -0700)]
am 00998973: Merge "Null pointer exception in SocketAcceptThread of BluetoothPbapService." into jb-mr2-dev

* commit '009989730a294575c32295976c57af169523abe4':
  Null pointer exception in SocketAcceptThread of BluetoothPbapService.

11 years agoMerge "Null pointer exception in SocketAcceptThread of BluetoothPbapService." into...
Zhihai Xu [Fri, 26 Apr 2013 01:31:50 +0000 (01:31 +0000)]
Merge "Null pointer exception in SocketAcceptThread of BluetoothPbapService." into jb-mr2-dev

11 years agoNull pointer exception in SocketAcceptThread of BluetoothPbapService.
Zhihai Xu [Tue, 23 Apr 2013 03:43:02 +0000 (20:43 -0700)]
Null pointer exception in SocketAcceptThread of BluetoothPbapService.

issue 7650255

Change-Id: Ied5c4ba2b34ffef9edaaa1ad7d8b4a9a0e73ef90

11 years agoam 0592109a: Merge "Enforcing bluetooth permissions for GATT api calls" into jb-mr2-dev
Matthew Xie [Thu, 25 Apr 2013 01:43:56 +0000 (18:43 -0700)]
am 0592109a: Merge "Enforcing bluetooth permissions for GATT api calls" into jb-mr2-dev

* commit '0592109a75ca9e4e65489c04d6c5994cd7db45b2':
  Enforcing bluetooth permissions for GATT api calls

11 years agoMerge "Enforcing bluetooth permissions for GATT api calls" into jb-mr2-dev
Matthew Xie [Thu, 25 Apr 2013 01:41:55 +0000 (01:41 +0000)]
Merge "Enforcing bluetooth permissions for GATT api calls" into jb-mr2-dev

11 years agoEnforcing bluetooth permissions for GATT api calls
Matthew Xie [Thu, 25 Apr 2013 00:50:24 +0000 (17:50 -0700)]
Enforcing bluetooth permissions for GATT api calls

bug 8667898

Change-Id: I2100d402f6496271bf97fed03684bedd8d231da4

11 years agoam 86296657: HDP Single SDP fix
Priti Aghera [Wed, 24 Apr 2013 17:45:17 +0000 (10:45 -0700)]
am 86296657: HDP Single SDP fix

* commit '8629665794ef845e945595040e4cf1ea2fa508d3':
  HDP Single SDP fix

11 years agoHDP Single SDP fix
Priti Aghera [Fri, 5 Apr 2013 01:05:09 +0000 (18:05 -0700)]
HDP Single SDP fix

Modified the stack logic to create single
SDP record for all register call.
bug 8656462
Change-Id: If06193aecbe7555e6b1402275ee243fcd672c812

11 years agoam db367aa8: enable playback position sync for AVRCP remoteControlDisplay in audio...
Zhihai Xu [Tue, 23 Apr 2013 22:02:07 +0000 (15:02 -0700)]
am db367aa8: enable playback position sync for AVRCP remoteControlDisplay in audio manager

* commit 'db367aa803836ca5b80da6b07ea2ef8a4b0ca1d2':
  enable playback position sync for AVRCP remoteControlDisplay in audio manager

11 years agoenable playback position sync for AVRCP remoteControlDisplay in audio manager
Zhihai Xu [Tue, 23 Apr 2013 20:53:55 +0000 (13:53 -0700)]
enable playback position sync for AVRCP remoteControlDisplay in audio manager

issue 8698103

Change-Id: I3572b519c4181b21629c812ba91e46d977ec33fe

11 years agoam f60d96d6: Fixed a NPE
Priti Aghera [Thu, 18 Apr 2013 19:20:19 +0000 (12:20 -0700)]
am f60d96d6: Fixed a NPE

* commit 'f60d96d6bf4c3dce367ce48436f383897c7f9719':
  Fixed a NPE

11 years agoFixed a NPE
Priti Aghera [Mon, 15 Apr 2013 21:16:04 +0000 (14:16 -0700)]
Fixed a NPE

Bluetooth share was crashing due to NPE. Included a check for
Inputstream in BluetoothOppSendFileInfo.

bug #7924487
Change-Id: Iccceb607a46962f84538e912d62f407ad5ee2f21

11 years agoam dbaf9cd4: LE (3/3): Add application ID to connection callback
Andre Eisenbach [Thu, 18 Apr 2013 18:40:35 +0000 (11:40 -0700)]
am dbaf9cd4: LE (3/3): Add application ID to connection callback

* commit 'dbaf9cd41555de7e6101f368ac348bbeb2094809':
  LE (3/3): Add application ID to connection callback

11 years agoImport translations. DO NOT MERGE
Baligh Uddin [Wed, 17 Apr 2013 14:50:30 +0000 (07:50 -0700)]
Import translations. DO NOT MERGE

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

11 years agoLE (3/3): Add application ID to connection callback
Andre Eisenbach [Wed, 10 Apr 2013 18:21:26 +0000 (11:21 -0700)]
LE (3/3): Add application ID to connection callback

Bug: 8589393
Change-Id: Iff14aa568bac4d62920bc35ec1545384e200b53a

11 years agoam 79d176b0: Resolve AVRCP IOP issues
Zhihai Xu [Fri, 12 Apr 2013 17:38:41 +0000 (10:38 -0700)]
am 79d176b0: Resolve AVRCP IOP issues

* commit '79d176b0f3d6cb33c7e52be6641fd4808ba87e93':
  Resolve AVRCP IOP issues

11 years agoResolve AVRCP IOP issues
Zhihai Xu [Fri, 12 Apr 2013 01:14:53 +0000 (18:14 -0700)]
Resolve AVRCP IOP issues

This patch has the following fixes
1. Track number should be 0xFFFFFFFF when no track is currently selected
2. When no track is currently selected set play state as stopped
3. Track number sent in the correct byte order

issue 8586495

Change-Id: I2be583d1e87a39015dff605c7442ca658a10b2e2

11 years agoam 9311455a: Merge "Add liblog" into jb-mr2-dev
Ying Wang [Wed, 10 Apr 2013 06:25:16 +0000 (23:25 -0700)]
am 9311455a: Merge "Add liblog" into jb-mr2-dev

* commit '9311455ac6cc5c7aebe9d355e508c4af86da3246':
  Add liblog

11 years agoMerge "Add liblog" into jb-mr2-dev
Ying Wang [Wed, 10 Apr 2013 05:20:44 +0000 (05:20 +0000)]
Merge "Add liblog" into jb-mr2-dev

11 years agoAdd liblog
Ying Wang [Wed, 10 Apr 2013 05:02:05 +0000 (22:02 -0700)]
Add liblog

Bug: 8580410
Change-Id: I06b82e2424d63361364c223b1dd5b6006abe7ca8

11 years agoam aa1ffd5c: support playback position changed notification
Zhihai Xu [Tue, 9 Apr 2013 22:55:18 +0000 (15:55 -0700)]
am aa1ffd5c: support playback position changed notification

* commit 'aa1ffd5c6bd4f016c6ed452b3551e65872eaea8e':
  support playback position changed notification

11 years agosupport playback position changed notification
Zhihai Xu [Thu, 4 Apr 2013 02:03:57 +0000 (19:03 -0700)]
support playback position changed notification

issue 8494369

Change-Id: Id468d34badac4c963d4e6df0e7e32bbd0c508938

11 years agoam 6af1f250: Add binder DeathRecipient to GATT service
Andre Eisenbach [Sat, 6 Apr 2013 01:04:26 +0000 (18:04 -0700)]
am 6af1f250: Add binder DeathRecipient to GATT service

* commit '6af1f25031e4378efb1a4fc286974c1038a357ba':
  Add binder DeathRecipient to GATT service

11 years agoAdd binder DeathRecipient to GATT service
Andre Eisenbach [Fri, 5 Apr 2013 16:36:46 +0000 (09:36 -0700)]
Add binder DeathRecipient to GATT service

Bluetooth stack connections are now released if a GATT client or server
application closes unexpectedly.

Bug: 8362526
Change-Id: I13b0711f65dcc752f4ed5c5a6e469b6fea41de75

11 years agoam 4bcc3acd: Merge "Implement getRemoteType of IBluetooth.aidl" into jb-mr2-dev
Matthew Xie [Thu, 4 Apr 2013 03:27:19 +0000 (20:27 -0700)]
am 4bcc3acd: Merge "Implement getRemoteType of IBluetooth.aidl" into jb-mr2-dev

* commit '4bcc3acd9b6024ac53c5de7af08ce56079f20e86':
  Implement getRemoteType of IBluetooth.aidl

11 years agoMerge "Implement getRemoteType of IBluetooth.aidl" into jb-mr2-dev
Matthew Xie [Thu, 4 Apr 2013 03:18:00 +0000 (03:18 +0000)]
Merge "Implement getRemoteType of IBluetooth.aidl" into jb-mr2-dev

11 years agoam 0c61ad1d: Merge "Update IRemoteControlDisplay implementation to latest interface...
Jean-Michel Trivi [Wed, 3 Apr 2013 22:03:44 +0000 (15:03 -0700)]
am 0c61ad1d: Merge "Update IRemoteControlDisplay implementation to latest interface" into jb-mr2-dev

* commit '0c61ad1d60fdf9738f9171acaa43f63a9a70d147':
  Update IRemoteControlDisplay implementation to latest interface

11 years agoMerge "Update IRemoteControlDisplay implementation to latest interface" into jb-mr2-dev
Jean-Michel Trivi [Wed, 3 Apr 2013 21:12:08 +0000 (21:12 +0000)]
Merge "Update IRemoteControlDisplay implementation to latest interface" into jb-mr2-dev

11 years agoImplement getRemoteType of IBluetooth.aidl
Matthew Xie [Wed, 3 Apr 2013 07:36:37 +0000 (00:36 -0700)]
Implement getRemoteType of IBluetooth.aidl

Bring the device type from hal to app api
bug 8529188

Change-Id: Id4a9837afc7234cb50ab6abf73da4bdc010db392

11 years agoam bc10e7d5: keep one setPlaybackState function
Zhihai Xu [Tue, 2 Apr 2013 19:15:22 +0000 (12:15 -0700)]
am bc10e7d5: keep one setPlaybackState function

* commit 'bc10e7d58aa55da25c18d8056a0254a2b736146a':
  keep one setPlaybackState function

11 years agokeep one setPlaybackState function
Zhihai Xu [Tue, 2 Apr 2013 18:55:12 +0000 (11:55 -0700)]
keep one setPlaybackState function

Change-Id: I4b6f4f17dadd542e890876a8b2fbf3c31badc003

11 years agoUpdate IRemoteControlDisplay implementation to latest interface
Jean-Michel Trivi [Mon, 1 Apr 2013 18:28:43 +0000 (11:28 -0700)]
Update IRemoteControlDisplay implementation to latest interface

Changed method setTransportControlFlags(int, int)
  to  method setTransportControlInfo(int, int, int)

Bug 8120740

Change-Id: I35833384102949eb2a20b0f61e13d9d8573adf3e

11 years agoMerge "Import translations. DO NOT MERGE"
Baligh Uddin [Sun, 31 Mar 2013 01:59:29 +0000 (01:59 +0000)]
Merge "Import translations. DO NOT MERGE"

11 years agoam 6d5b7feb: fix compilation error for broadcom branch
Zhihai Xu [Sat, 30 Mar 2013 03:18:13 +0000 (20:18 -0700)]
am 6d5b7feb: fix compilation error for broadcom branch

* commit '6d5b7febd705a33ab41459743d12623afcbf96bd':
  fix compilation error for broadcom branch

11 years agofix compilation error for broadcom branch
Zhihai Xu [Sat, 30 Mar 2013 03:11:55 +0000 (20:11 -0700)]
fix compilation error for broadcom branch

Change-Id: I0ed2f039babccf59099c0c7cf0e3ad12392ecff4

11 years agoMerge "Revert "fix the compilation error""
Zhihai Xu [Sat, 30 Mar 2013 02:58:46 +0000 (02:58 +0000)]
Merge "Revert "fix the compilation error""

11 years agoam c6a2fb9e: Revert "Revert "fix the compilation error in broadcom partner branch""
Zhihai Xu [Sat, 30 Mar 2013 02:55:34 +0000 (19:55 -0700)]
am c6a2fb9e: Revert "Revert "fix the compilation error in broadcom partner branch""

* commit 'c6a2fb9e324208a48173877c70b13f2f1b01286e':
  Revert "Revert "fix the compilation error in broadcom partner branch""

11 years agoam 0e8131db: Revert "fix the compilation error in broadcom partner branch"
Zhihai Xu [Sat, 30 Mar 2013 02:52:02 +0000 (19:52 -0700)]
am 0e8131db: Revert "fix the compilation error in broadcom partner branch"

* commit '0e8131db9994d36b7cf9b61bfccb5fb374e09a19':
  Revert "fix the compilation error in broadcom partner branch"