History log of /packages/apps/Bluetooth/src/com/android/bluetooth/hfp/AtPhonebook.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
fc9bed1b79edf77082f5baa21aa68d791a102ea4 05-Sep-2014 Edward Jee <edjee@google.com> 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
/packages/apps/Bluetooth/src/com/android/bluetooth/hfp/AtPhonebook.java
beb0497605ef61062d0565d85897f4c842845a8f 09-Sep-2014 Ang Li <angli@google.com> 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
/packages/apps/Bluetooth/src/com/android/bluetooth/hfp/AtPhonebook.java
343b96e3995da4038b614384dcdad8a6494b4bc4 15-Mar-2014 Nitin Srivastava <nitinsr@codeaurora.org> Multi HF support

1. Added support for Multi HF connections
in Bluetooth application.
2. All connection transition states for
2nd HS onwards is handled in new state-
MultiHFPending.
3. The changes are done to handle proper
state transition for all connected HS.

Change-Id: I033ae57943e50273f9d3cac4c5f8d1624cb9ee09
/packages/apps/Bluetooth/src/com/android/bluetooth/hfp/AtPhonebook.java
01ba103be055c3124d2dabc31d8e65dc7742be49 27-Sep-2013 Matthew Xie <mattx@android.com> am 8cce6da9: Merge "AtPhonebook handleCpbsCommand was incorrectly sending two responses to some requests (one inside the swtich statement, then repeating it after breaking out of the switch statement). This broke phonebook sync with Audi 2G MMI car kit. Signed-off-by:

* commit '8cce6da9099e72000182d1406e7238b8f697ef13':
AtPhonebook handleCpbsCommand was incorrectly sending two responses to some requests (one inside the swtich statement, then repeating it after breaking out of the switch statement). This broke phonebook sync with Audi 2G MMI car kit. Signed-off-by: Nigel Hannam <nigel@hannam.eu>
abf19e783556a93cfdd33468454a309ed347bfc4 25-Sep-2013 Zhihai Xu <zhihaixu@google.com> bluetooth crash caused by read phone book with invalid colummn number -1

bug:10919257
Change-Id: I584d5c5c65e26cacfab227742b98c49282710f68
/packages/apps/Bluetooth/src/com/android/bluetooth/hfp/AtPhonebook.java
09b09c15dcd853d452b24d46a3c81ca63fa090ea 20-Sep-2013 Matthew Xie <mattx@google.com> Check null condition of number before contact query

bug 10571304

Change-Id: Idb23e7085dc1dc7119e0e2aa8901743707e72285
/packages/apps/Bluetooth/src/com/android/bluetooth/hfp/AtPhonebook.java
9674eb043aeb1474aa23ddd0739e3b8f05432630 10-Jun-2013 Jay Shrauner <shrauner@google.com> Use new CallLog number presentation column

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

Bug:6948882
Change-Id: I5df2969465c19f2357dbbc3266315e020e30476e
/packages/apps/Bluetooth/src/com/android/bluetooth/hfp/AtPhonebook.java
d1e5ee9cd1c68ad8eeca61700fe56638d7f3edd4 07-Mar-2013 Nigel Hannam <nigel@hannam.eu> AtPhonebook handleCpbsCommand was incorrectly sending two responses
to some requests (one inside the swtich statement, then repeating it
after breaking out of the switch statement).
This broke phonebook sync with Audi 2G MMI car kit.
Signed-off-by: Nigel Hannam <nigel@hannam.eu>

Change-Id: I65e54400aad2413725469951899d041870691369
/packages/apps/Bluetooth/src/com/android/bluetooth/hfp/AtPhonebook.java
be38be94c0a2faf3802b596be5b3ab568d6d85a4 04-Oct-2012 zzy <zhenye@broadcom.com> remove the AT command separator from the CPBR range parameters

Root cause: Integer.parseInt(indices[0]) throw exception if char ';' at the end.

Bug 7274805
/packages/apps/Bluetooth/src/com/android/bluetooth/hfp/AtPhonebook.java
15d36984a79d6e35c659edb0efdf929f0b526bd5 01-Aug-2012 Fred <fredc@broadcom.com> Fix for BT turn on/off issues: NPE, FD/thread leaks, ANR.

This fix addresses numerous BT on/off issues found from the CTS test.
Fixed fD/pipe leak in various state machine Looper objects by calling quit() function.
Fixed cursor leak in AtPhonebook.
Change Pbap to stop the RFCOMM listener on the STATE_TURNING_OFF instead of STATE_OFF.
Removed several cleanup() methods causing NPE.
Reduced RFCOMM listener timeout from 3 seconds to 300ms between retry.
bug 6834336

Change-Id: I52423343d8f52f65294af0143f373871a9874d77
/packages/apps/Bluetooth/src/com/android/bluetooth/hfp/AtPhonebook.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/hfp/AtPhonebook.java
405b6148a168c05f9c9eac6a80db68b9a58392e2 27-Apr-2012 Sreenidhi T <nidhit@broadcom.com> Added AT+CPBR support

Change-Id: Ice860d8f97350d805a5478e94a27ae19cf42dafd
/packages/apps/Bluetooth/src/com/android/bluetooth/hfp/AtPhonebook.java
6c91bc0a163cc7600c40d7fb979777fd911d1ef1 17-Feb-2012 Matthew Xie <mattx@google.com> Initial implementation of HFP and A2DP profile/service/statemachine.

Change-Id: Ic6e6d358b94313f237b7be61b70dcc6f4f7902e7
/packages/apps/Bluetooth/src/com/android/bluetooth/hfp/AtPhonebook.java