History log of /packages/apps/Bluetooth/src/com/android/bluetooth/Utils.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
029b34a866c2f4ab132412ec2814fd500813c565 21-Jun-2017 Marie Janssen <jamuraa@google.com> Avrcp: redact media info

Let's redact some of that media info when we're not on debug/eng builds.

Test: play some music, adb logcat and observe
Bug: 62826797
Change-Id: Icf7e926508215eae70cd75bef3cddcc001218c50
(cherry picked from commit cc07ee436d00418ecc69ae3aace986f7fbf0823a)
/packages/apps/Bluetooth/src/com/android/bluetooth/Utils.java
0f9c79e8afa3e575dfd8c80c2c58b9321e18898d 26-Apr-2017 Marie Janssen <jamuraa@google.com> AVRCP: Gracefully handle missing item attributes

The source of our metadata sometimes doesn't even give us basic title
information, which causes a NullPointerException when we try to fill the
Displayable Name.

Fill it with "<unknown>" when we don't know the data.

Add more useful debugging for GetFolderItems and GetItemAttributes.

Test: Tested with Audi and Porche car kit
Bug: 37657532
Bug: 37718715
Change-Id: I183f2b9c5714ebacabc8093de1c2bc166e323fae
(cherry picked from commit 89728a4d50001ac76d05efa1c916711ef9f9c2b4)
/packages/apps/Bluetooth/src/com/android/bluetooth/Utils.java
e041e1b073d81516073223da4aef23e91cc823e7 13-Apr-2016 Calvin On <con@google.com> Fix PEERS_MAC_ADDRESS permission for Ble Scanning.

This changes the location permissions check to only throw a SecurityException
if *both* location and peers mac address permissions are missing.

Bug: 27837639
Change-Id: I5e10c8f0564d1f7edab23ad22dbd5aa5fdcbbf76
/packages/apps/Bluetooth/src/com/android/bluetooth/Utils.java
352e218bcaa0f4c47636f8aeef02eef543aeb131 09-Jan-2016 Jeff Sharkey <jsharkey@android.com> Follow AIDL refactoring.

Bug: 26471205
Change-Id: I20aa94fb599eda9ee4b1d0b8de208aecb9e560e7
/packages/apps/Bluetooth/src/com/android/bluetooth/Utils.java
5ad4cd0e052701eb5a19d43db41faf99c8748528 20-Oct-2015 Xiaohui Chen <xiaohuic@google.com> Clean up USER_OWNER in bluetooth

Bug: 25086442
Change-Id: Icac372ed39f549184f6c9e98e10e88a2510ae692
/packages/apps/Bluetooth/src/com/android/bluetooth/Utils.java
a072c9e05c551dba0a938e158cb3a650c18b4ded 19-Sep-2015 Fyodor Kupolov <fkupolov@google.com> Fix foreground scans for pre-M apps when location is disabled

Foreground scans were still broken even for L-or-earlier apps when the
location was disabled.

Bug: 24203266
Change-Id: Iaad8d7828a4b383b6cc0a033e94c7d2cd8c9328b
/packages/apps/Bluetooth/src/com/android/bluetooth/Utils.java
312e10ad5bcbb1e3d021c4798d55c40f99c7a6ef 10-Jul-2015 Fyodor Kupolov <fkupolov@google.com> Block results if location is disabled in Settings

Apps holding PEERS_MAC_ADDRESS permission can still access scan results.

Bug: 21852542
Change-Id: I75fc289e8965df64efb7ff84fe5a4204904724ab
/packages/apps/Bluetooth/src/com/android/bluetooth/Utils.java
1dd20863cde3b61cea48d2e06d1814f5f9651691 31-Jul-2015 Dianne Hackborn <hackbod@google.com> Merge "Change MNC codename to just M." into mnc-dev
c16dd2fad8325f24f5099e9ab175894b247859ec 30-Jul-2015 Dianne Hackborn <hackbod@google.com> Change MNC codename to just M.

Change-Id: I1e5989dbc73f89bd292465142560952bc8e44f59
/packages/apps/Bluetooth/src/com/android/bluetooth/Utils.java
1b1433ad9b4d769a1f9e37284c5d80fb021d31d7 29-Jul-2015 Fyodor Kupolov <fkupolov@google.com> Legacy foreground apps should continue getting scan results

Pre-M apps running in the foreground now get scan results. For legacy apps
running in the background, no results are returned and the error is logged.

Bug: 21852542
Change-Id: Ic7a91f34c6718c26f0dae30dade6a436fe1061af
/packages/apps/Bluetooth/src/com/android/bluetooth/Utils.java
586ba822a87a5cb0f58035ce0983825f5f23285d 22-Jul-2015 Fyodor Kupolov <fkupolov@google.com> Enforce location permission for apps targeting M

Enforce location permission for apps targeting M, for legacy apps, log an
error.

Bug: 21852542
Change-Id: Ic406df1727eb0939531a22b76c2df9b13f03ec81
/packages/apps/Bluetooth/src/com/android/bluetooth/Utils.java
d2fc8cbd87c7a742223e8742a442a48690d426ce 20-Jun-2015 Fyodor Kupolov <fkupolov@google.com> Do not return devices when caller has no location permission

In onScanResult, skip a device if calling process has no location
permission/appop

Bug: 21852542
Change-Id: I4e3511b33d69d94c1df6e1bf2f9a351303a90685
/packages/apps/Bluetooth/src/com/android/bluetooth/Utils.java
8e6936eae2f949066dcc6e2e66a48ffa50450402 16-Dec-2014 Santos Cordon <santoscordon@google.com> Allow system process to interact with Bluetooth across users.

Bug: 18688307
Change-Id: If31703fbe515baa40c242f99a61479a1ec8152b1
/packages/apps/Bluetooth/src/com/android/bluetooth/Utils.java
465bbd2160749d9e0a3f3aabeb4e20bb51573001 05-Dec-2014 Jason Monk <jmonk@google.com> Allow SystemUI access to bluetooth from user 0

SystemUI always runs in the owner user, so when a secondary user
if foreground we need a special case to allow it access to bluetooth.

Bug: 18151285
Change-Id: I555dc2e4b4ff4929f9796fb888dd845fd066b368
/packages/apps/Bluetooth/src/com/android/bluetooth/Utils.java
2287bc2b01df774378123fe7bc7bca14fee549f7 05-Nov-2014 Benjamin Franz <bfranz@google.com> Allow managed profile apps to use some bluetooth functionality.

Adding a function that checks whether the calling user is the foreground
user or a managed profile associated to this user. This function is
deployed in selected spots to give managed profile apps access to some
part of the bluetooth functionality including the HeadsetService.

Bug: 16968338
Change-Id: Ib0db0847cf361b449484195553725c38ede3b618
/packages/apps/Bluetooth/src/com/android/bluetooth/Utils.java
96509d5ff7109bc42a4c25143f70ec41a127d109 03-Sep-2014 Wei Wang <weiwa@google.com> 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
/packages/apps/Bluetooth/src/com/android/bluetooth/Utils.java
27bd5f277ccf471f2fa9cd9151a2a226b51bc825 16-Jul-2014 Wei Wang <weiwa@google.com> Add an AdvertiseManager for LE advertise operations.

Move all advertise logic out of GattServiceStateMachine.

Change-Id: I9bc9be29372e79e863fc6a0b16d4808918bfb404
/packages/apps/Bluetooth/src/com/android/bluetooth/Utils.java
ede67c26e7b2564ea35db6d9b3027a269c150e13 24-Oct-2012 Zhihai Xu <zhihaixu@google.com> License of files Bluetooth package is not updated to ASL2

bug 7385618

Change-Id: I338fd87083387706f3b5f410c9592219bb8a1acb
/packages/apps/Bluetooth/src/com/android/bluetooth/Utils.java
37510150ee738ccfa5913f7120e28f25ae7768df 09-Oct-2012 Zhihai Xu <zhihaixu@google.com> Bluetooth multi-user updates: change bluetooth service
to reject background user access.

bug 6925422

Change-Id: I11d5ebf007c2843a72a9870055fc96672daf8409
/packages/apps/Bluetooth/src/com/android/bluetooth/Utils.java
c7a57f31515107366589bd6875c3cc4af1fc806e 07-May-2012 fredc <fredc@broadcom.com> Added PBAP support for fetching owner vcard info from phone's profile. Added PBAP image support

Change-Id: Ieb2993c9505185d4f85cbbf6b5c554936618cff0
/packages/apps/Bluetooth/src/com/android/bluetooth/Utils.java
74ae04c73312403e89db0f8e9bd9601d403b4783 07-May-2012 fredc <fredc@broadcom.com> Fixed memory leak in Binder objects from repeatedly turning on/off Bluetooth

Change-Id: Ibee5382816d47b1e9b846461942a9daccc4210a7
/packages/apps/Bluetooth/src/com/android/bluetooth/Utils.java
6654f5c903de510a70f9e72cd5ad7837b615d93f 12-Apr-2012 fredc <fredc@broadcom.com> Non persistent adapter service

Change-Id: I65e1c18e2899cea0a1e5c0102c4d24d39dce0249

Conflicts:

jni/com_android_bluetooth_hdp.cpp
jni/com_android_bluetooth_hid.cpp

Conflicts:

jni/com_android_bluetooth_hid.cpp
/packages/apps/Bluetooth/src/com/android/bluetooth/Utils.java
cc80b2261351dc74ad1bed237b0423c12d340514 14-Mar-2012 Matthew Xie <mattx@google.com> initial check in of rfcomm socket implementation Author: Zhenye Zhu, Matthew Xie

Change-Id: Ie3ab12c3bafc0a44e378a31c426c5eb41192f154
/packages/apps/Bluetooth/src/com/android/bluetooth/Utils.java
ff4f17bf64978d0738c66e1b6dd70be8664efc24 20-Dec-2011 Jaikumar Ganesh <jaikumar@google.com> Initial commit for new Bluetooth stack interface.

1. Changes to Android.mk file
2. changes to make the process persistent. This is temporary.
3. Addition of new java and jni classes.

Change-Id: I2453c7a1a475c66bf52f3a84cd8beb12dd37b87a
/packages/apps/Bluetooth/src/com/android/bluetooth/Utils.java