History log of /packages/apps/Bluetooth/src/com/android/bluetooth/pbap/BluetoothPbapService.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/pbap/BluetoothPbapService.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/pbap/BluetoothPbapService.java
0ce48bf302e010af811c903f8a986df567562ecf 27-Aug-2014 Selim Cinek <cinek@google.com> Colored notifications

Bug: 17128331
Change-Id: Ic1a4d9803790cc0f3e8003ede4da8cc8f26729cf
/packages/apps/Bluetooth/src/com/android/bluetooth/pbap/BluetoothPbapService.java
4216387d9887926cebd652f8d3807d780642fc87 07-May-2014 Hemant Gupta <hemantg@codeaurora.org> PBAP: Remove the PBAP pop up in various scenarios

-If ACL is disconnected by remote device OR DUT(unbond from
the DUT) before accepting incoming authorization request for
PBAP connection. PBAP authorization pop up should be removed.

- If authorization is cancelled due to USER_TIMEOUT(30 second),
then PBAP authorization pop up should be removed.

Change-Id: I0a69f23c7882a43de9fe207c84926de91713c79b
/packages/apps/Bluetooth/src/com/android/bluetooth/pbap/BluetoothPbapService.java
8fa8d120e86c7488616cc7f7310843f15278b5d9 14-Oct-2013 Zhihai Xu <zhihaixu@google.com> Device cannot go to sleep while connected to HBM-570 BT headset

The headset never disconnect the Obex connection for PBAP,
so in this case, we never release the wakelock.
Our PBAP implementation won't release wakelock
until the Obex is disconnected by the remote device
To better control the wake lock, we should
only acquire the wakelock when we receive the reqeust from the remote device
will release the wakelock after we send the response packets.

bug:10957699
Change-Id: I85e0609e36788d9c36334dd804ec52c90b90615b
/packages/apps/Bluetooth/src/com/android/bluetooth/pbap/BluetoothPbapService.java
98df3e8ff33a6137d4ea13845b583aaee2670613 11-Oct-2013 Casper Bonde <c.bonde@samsung.com> Fix for MAP/PBAP: Race-condition when requesting authorization from Settings app

When MAP and PBAP requests authorization from the Settings app via Intents,
it also sets a state isWaitingForAuthorization to indicate
that it should handle incoming replies.
This is however done in the code after the intent have been sent
and in some cases the reply for the intent is returned
before the state has been update = no handling of the reply.
This only happens on the second connect with a paired device and
only when the user have selected the "do not ask again" checkmark
in the popup requesting access.

FIX:
Move the update of isWaitingAuthorization to before sending the intent to settings

bug: 11179645
Change-Id: I25b019e32a01caa8509c8f97195712120823afa9
/packages/apps/Bluetooth/src/com/android/bluetooth/pbap/BluetoothPbapService.java
70be005a18a35ec5fcb46152f0dfbe82156efa3a 22-Aug-2013 Kim Schulz <k.schulz@samsung.com> 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
/packages/apps/Bluetooth/src/com/android/bluetooth/pbap/BluetoothPbapService.java
7b91a410d595b879548e540889f8b30a0d6476c4 23-Apr-2013 Zhihai Xu <zhihaixu@google.com> Null pointer exception in SocketAcceptThread of BluetoothPbapService.

issue 7650255

Change-Id: Ied5c4ba2b34ffef9edaaa1ad7d8b4a9a0e73ef90
/packages/apps/Bluetooth/src/com/android/bluetooth/pbap/BluetoothPbapService.java
df9d0fe584874f8cafa6ecedb3c3c054c9e99cba 10-Oct-2012 Matthew Xie <mattx@google.com> Merge "Turn off dbg messages, be prepared for production build" into jb-mr1-dev
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/pbap/BluetoothPbapService.java
fd1da115cbf09b7dd9bca3c7d3a4fb816a835dc5 08-Oct-2012 Matthew Xie <mattx@google.com> Turn off dbg messages, be prepared for production build

bug 7174712

Change-Id: I58747ec6507da8ea8ae27a182b601aaf626ede42
/packages/apps/Bluetooth/src/com/android/bluetooth/pbap/BluetoothPbapService.java
6458cffaca286611e898c75ad86e2d98c89008b6 02-Oct-2012 Matthew Xie <mattx@google.com> Move socket initialization code out of pbap service's main thread

Socket initialization need the preparation from stack and a domain socket
connection. All this takes time and not proper to be run in the main thread.
bug 7258324

Change-Id: Ic46601602556c2949f18d446016188d874099874
/packages/apps/Bluetooth/src/com/android/bluetooth/pbap/BluetoothPbapService.java
ebdb4d92c0ea0b5e40afe0feec71105695d27a4c 12-Sep-2012 zzy <zhenye@broadcom.com> When pbap cleanup, stopSelfResult called twice with same service id

This seemed like to be the root casue of bug 7136940. The thread 3564 stuck after following log:
09-10 11:24:08.882 3564 V BluetoothPbapService: Pbap Service closeService

bug 7136940
/packages/apps/Bluetooth/src/com/android/bluetooth/pbap/BluetoothPbapService.java
37e1e995fdfd6aecd53f1fd1f8f0928021472db1 10-Sep-2012 Kausik Sinnaswamy <kausik@broadcom.com> Terminate PBAP service cleanly during BT off

PBAP service runs in a loop of 10 trials to create the RFCOMM listener
thread; this loop is not getting interrupted during BT off, due to which
we end up delaying PBAP stop by 3 seconds (10 * 300ms). The fix is to
check for BT state after RFCOMM listener failure and break out of the
loop if BT is being turned off.
bug 7134544

Change-Id: I81d2a559857eef9138ebca662ea28f1d3e358bb8
/packages/apps/Bluetooth/src/com/android/bluetooth/pbap/BluetoothPbapService.java
8ca777c3299ebf8c5869d46ba80d3fa474814751 10-Sep-2012 Matthew Xie <mattx@google.com> Revert "Terminate PBAP service cleanly during BT off"

This reverts commit f5d88a7b8659bb9ce49edc4faea6bf56f2158572

Change-Id: I67a4950831dce7392d63edad6f693abcc69d2ffe
/packages/apps/Bluetooth/src/com/android/bluetooth/pbap/BluetoothPbapService.java
f5d88a7b8659bb9ce49edc4faea6bf56f2158572 10-Sep-2012 Kausik Sinnaswamy <kausik@broadcom.com> Terminate PBAP service cleanly during BT off

PBAP service runs in a loop of 10 trials to create the RFCOMM listener
thread; this loop is not getting interrupted during BT off, due to which
we end up delaying PBAP stop by 3 seconds (10 * 300ms). The fix is to
check for BT state after RFCOMM listener failure and break out of the
loop if BT is being turned off.
bug 7134544

Change-Id: I35db2221be30980bec973253cdd888e0ce8cc36b
/packages/apps/Bluetooth/src/com/android/bluetooth/pbap/BluetoothPbapService.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/pbap/BluetoothPbapService.java
b45486075acf191f99da6a5d4f69a6f7aeff65da 27-Jul-2012 Ganesh Ganapathi Batta <ganeshg@broadcom.com> Fix typo in PBAP Server name SDP record

Change-Id: Iff48e815987178597d93069ae3874ca903882e37
/packages/apps/Bluetooth/src/com/android/bluetooth/pbap/BluetoothPbapService.java
e479e18951a375a548e617e86e3b1b7d121351a1 25-May-2012 Fred <fredc@broadcom.com> Fixed PBAP to use simple pairing instead of numeric comparison (same as before).
Also, escape special characters in vCard-Listing XML object

Change-Id: I32eb126f3dba4b35af39e6e0636f2f7f7e8d94a8
/packages/apps/Bluetooth/src/com/android/bluetooth/pbap/BluetoothPbapService.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/pbap/BluetoothPbapService.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/pbap/BluetoothPbapService.java
31ba132491053bc86d419a7d51fc04af3299c076 26-Apr-2012 fredc <fredc@broadcom.com> Fixed Bluetooth on/off issues. Removed singleton instances causing issues when services reload. Updated adapter state machine

Change-Id: Ie1ff4284f507c7da102569f3c0acfd55612a5f6b
/packages/apps/Bluetooth/src/com/android/bluetooth/pbap/BluetoothPbapService.java
b5cc776c9353a203cdde97e62b25f05d9633d14c 19-Apr-2012 fredc <fredc@broadcom.com> Fixed BT on/off issue

Change-Id: I47cbac9fc694d5604a664f20170eeed90eeee8e6

Conflicts:

jni/com_android_bluetooth_btservice_AdapterService.cpp
/packages/apps/Bluetooth/src/com/android/bluetooth/pbap/BluetoothPbapService.java
3fafe61ef25c1899fdc817c52163aec16c31055c 19-Apr-2012 Ravi Nagarajan <nravi@broadcom.com> Memory profiling changes : Updated the Bluetooth code to handle cleaning up of object references (context, handlers, and collection objects ) during service cleanup.Memory profiling changes : Updated the Bluetooth code to handle cleaning up of object references (context, handlers, and collection objects ) during service cleanup.

Change-Id: I2b0235f71c1feaf32215b2aaf89a2e06d8fa7d73
/packages/apps/Bluetooth/src/com/android/bluetooth/pbap/BluetoothPbapService.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/pbap/BluetoothPbapService.java
9f0d856f41d443ec23d5aa2eecfc561d7a3c01d1 31-Mar-2012 fredc <fredc@broadcom.com> Initial checkin of OPP and PBAP

Change-Id: Ie43a26874bd5f0c00d69c2ce02430f4a16da327a
/packages/apps/Bluetooth/src/com/android/bluetooth/pbap/BluetoothPbapService.java
2a6bf35f603d12e6533a69c773ac258b0e84941f 02-Feb-2012 Jaikumar Ganesh <jaikumar@google.com> Comments opp and PBAP init code when BT gets enabled.

Change-Id: Id1b9329cb4dba7f4d4e5f478a775bcfd18a68a66
/packages/apps/Bluetooth/src/com/android/bluetooth/pbap/BluetoothPbapService.java
dca6152362544ce9d430ca8f2ece7d5dc0f278d1 08-Sep-2011 Jaikumar Ganesh <jaikumar@google.com> Enforce permissions for Connection dialog intents.

Change-Id: I240985998b0d245aacb051e64b5fdaa335c9c06a
/packages/apps/Bluetooth/src/com/android/bluetooth/pbap/BluetoothPbapService.java
cab07635ea60924a4e9dc13f87a4408988ad4c57 23-Aug-2011 Jaikumar Ganesh <jaikumar@google.com> Fix SendConnection state params.

Reported by: sj222.choi@samsung.com

Change-Id: I67da4f8a19be72092aa6cd139e561f4e9dfc5f8f
/packages/apps/Bluetooth/src/com/android/bluetooth/pbap/BluetoothPbapService.java
72d2952fcde46d8c2adc68718957c2fe9f5fa3b0 22-Aug-2011 Jaikumar Ganesh <jaikumar@google.com> Update sendConnectionState change function paramter.

Change-Id: Iaf7e43d35ab4a5da325ebae77cbb72617705c772
/packages/apps/Bluetooth/src/com/android/bluetooth/pbap/BluetoothPbapService.java
77e6229d558b52c316fdba8dd29a6b26fb13fd28 30-Jul-2011 jhtop.kim <jhtop.kim@samsung.com> Bluetooth : fix for pbap ANR while BT on/off

Don't wait to start the listener.

Change-Id: I257332bc38a25b3ca772267a974b4280a8074c40
/packages/apps/Bluetooth/src/com/android/bluetooth/pbap/BluetoothPbapService.java
7eab97d6be9228b1c210bbb171c3e5e88e02f3d8 28-Jun-2011 Matthew Xie <mattx@google.com> Move Pbap permission dialog to Settings app.

Strings and diglog are removed and will reappear and modified in Settings
app. We want phone AT commander to use the dialog too.
bug 4489572

Change-Id: I0283b5deff974e53384dc5a92bd01c02e12bbcd6
/packages/apps/Bluetooth/src/com/android/bluetooth/pbap/BluetoothPbapService.java
29cedf4183144e450c226dec6668ff0d633cee93 06-Jun-2011 Jaikumar Ganesh <jaikumarg@android.com> am a2407587: Merge "Require bonding and encryption for PBAP server"

* commit 'a2407587440d487aa0171638eef29526515fde59':
Require bonding and encryption for PBAP server
a2407587440d487aa0171638eef29526515fde59 26-May-2011 Jaikumar Ganesh <jaikumarg@android.com> Merge "Require bonding and encryption for PBAP server"
2db76af8fa625692430dfc1a21910be2eaa92581 26-Apr-2011 Jaikumar Ganesh <jaikumarg@android.com> am a96efa27: am 16fc087d: Merge "Fixing crash in BluetoothPbapService."

* commit 'a96efa270cf215602b0ab1f3603c24aadff808da':
Fixing crash in BluetoothPbapService.
7d6a3299b58c5b53de4016a2e199974b94ae90df 26-Apr-2011 Mathias Jeppsson <mathias.jeppsson@sonyericsson.com> Fixing crash in BluetoothPbapService.

If Bluetooth is turned off while there is an PBAP connect request
pending, the status bar notification or yes/no activity will not
disappear. If user selects yes, an intent will start PbapService
again. PbapService will try to make the device trusted. As this
instance of PbapService don't have any connected device, crash will
occur.

Make sure status bar notification or yes/no activity disappears, by
sending timeout intent when Bluetooth is turned off.
Also, PbapReceiver should not forward any intents except STATE_ON
if Bluetooth is off as this will start the PbapService.

Change-Id: Iee4f95ab2de34db6e00ff9b1fd7f8677947b8f4f
/packages/apps/Bluetooth/src/com/android/bluetooth/pbap/BluetoothPbapService.java
b3c06ce9377661a63bc2fbd182c219fd69453b1d 21-Mar-2011 Mathias Jeppsson <mathias.jeppsson@sonyericsson.com> Require bonding and encryption for PBAP server

The Phonebook Access Profile specification requires bonding and
encryption. For devices not supporting SSP (Secure Simple Pairing),
InsecureRfcomm will require neither. Adding EncryptedRfcomm to force
bonding and encryption but not requiring authenticated link key.

Change-Id: I987ca50ff7f60813b5311cead8d6a30a9123d54b
/packages/apps/Bluetooth/src/com/android/bluetooth/pbap/BluetoothPbapService.java
e1fd97242bcac3c546c35a2576df3fafee04d25a 07-Dec-2010 Jean-Baptiste Queru <jbq@google.com> resolved conflicts for merge of 22e1e357 to master

Change-Id: I96ff536c0d1c000a6b6d5b0b2ea5a3849b21985e
22e1e357b6053b572820b54ed8f2b8fe3c1eb0f8 07-Dec-2010 Jean-Baptiste Queru <jbq@google.com> am 16d171b1: Merge "code cleanup. some unused import statement, local variabls, private members and static constants removed form classes in com.android.bluetooth/pbap package."

* commit '16d171b1ba7bd2b74c15b9f4d0289de84117cbb5':
code cleanup. some unused import statement, local variabls, private members and static constants removed form classes in com.android.bluetooth/pbap package.
cff3303d1878037f35c9feb58e0c747aef403d4d 01-Nov-2010 Mohammad Shamsi <m.h.shams@gmail.com> code cleanup.
some unused import statement, local variabls, private members and static constants removed form
classes in com.android.bluetooth/pbap package.

Change-Id: I95d7d403ab78afa6f9ada82cfb357056a6bf61d0
/packages/apps/Bluetooth/src/com/android/bluetooth/pbap/BluetoothPbapService.java
84ec2fa756c3e918b6083726271128096de57ffb 23-Oct-2010 Jaikumar Ganesh <jaikumar@google.com> Send CONNECTION_STATE_CHANGE intent.

Change-Id: Ibbf53b1f96d92c9d0c6acbfc491e93046136e95d
/packages/apps/Bluetooth/src/com/android/bluetooth/pbap/BluetoothPbapService.java
4fbc7412b96934831ce29a7af54b170056f8c2de 04-Oct-2010 Jaikumar Ganesh <jaikumar@google.com> Don't enforce Authenticated Link key (MITM protection) on PBAP.

Gory Details:
SecureRfcomm API => authentication is true and encyrption is true. (HIGH)
InSecureRfcomm API => authentication is false and encryption is true. (MEDIUM)
The authentication above refers to the authentication of the link
key i.e prevention of MITM attacks.
Bluetooth 2.0 legacy pairing doesn't provide MITM protection.

Bluetooth 2.1 -> If pairing is done with MITM protection already,
this doesn't matter. If pairing is NOT done with MITM protection
we have the same security as the other core profiles. It dones't make
sense to enfore MITM for this profile while having Handsfree profile
to not have MITM i.e some attacker can listen in on conversations.

Why are we changing this now: More headsets with 2.1 and No Input/Output
have started to support PBAP. So we pair without MITM with them and then
when the PBAP request comes it fails because we need MITM protection and
we try to exchange keys (i.e pair again)
The headset don't allow pairing to happen at any time because its a security
issue and hence PBAP request fails.

Change-Id: Ia80c15c545e9396e7c6882b731c90a8ede119827
/packages/apps/Bluetooth/src/com/android/bluetooth/pbap/BluetoothPbapService.java
0bd5f7b5c36a60687ffe895368fd8df6df38acab 24-Mar-2010 Jaikumar Ganesh <jaikumar@google.com> Fix pbap and opp running bluetooth in phone process problems.

1. Use the right context instead of application context.
2. Make PbapActivity run in the same process as PbapService as they
share state.

Change-Id: Ib50c63c271dd8b30108f22734c47ee8645cd4839
/packages/apps/Bluetooth/src/com/android/bluetooth/pbap/BluetoothPbapService.java
8b791d4f581f31acf69f1297952c24aa39f01855 13-Nov-2009 Jaikumar Ganesh <jaikumar@google.com> Don't send default phone number for 0.vcf card.

This prevents an entry "My name" with "000000" in the car kit contacts.
We now send only the name and the version in the vcf.
Ideally, we could like to send an empty vcard, but we would need to test
with various car kits with that works well.

Original Change by: Lixin Yue
Bug: 2247067
Dr No: Eastham
/packages/apps/Bluetooth/src/com/android/bluetooth/pbap/BluetoothPbapService.java
cd5ed0c7d04119e508fbddfd9656ef8559e3e524 05-Nov-2009 Lixin Yue <L.X.YUE@motorola.com> PBAP only transfer contacts that are visible in contacts application.

This is to address below issue:
There have been reports by users where they are seeing contacts in the
carkit that are not present in the Contacts App UI but are present in the
database.

Bug: 2245178
Dr No: Eastham
/packages/apps/Bluetooth/src/com/android/bluetooth/pbap/BluetoothPbapService.java
2b36e1731eb5ed784abc1a374eb69d8523123df1 30-Oct-2009 Jaikumar Ganesh <jaikumar@google.com> Fix get contact size not correct issue.

Call history handles should be ordered by "date DESC" per spec. The first
handle 1.vcf should be the most recently happend call.

Add order support for pullVcardListing reqeust:
One typical use case for PBAP is: first use pullVcardListing request to
display the contacts list, then use pullVcardEntry request to tirgger
the selected contact vcard. In such case, we need keep the contact db
query consistent for pullVcardListing and pullVcardEntry.

Use "Own number" for phone owner number instead of "Unknown name" in case
can not get the name from system.

Original Change: Fan Jackson
Dr No: Eastham
Bug Id: 2183320
/packages/apps/Bluetooth/src/com/android/bluetooth/pbap/BluetoothPbapService.java
0e6233ffba67e757f60171803d7ab376cf73c16c 09-Oct-2009 Nick Pelly <npelly@google.com> Remove STOPSHIP BT logging.

Do not merge.

Change-Id: I428bc0fc67030f24112f2e9c865824dfaea4897d
DrNo: eastham
Bug: 2089423
Joke: Why does E.T. have such big eyes? Because he saw his phone bill.
/packages/apps/Bluetooth/src/com/android/bluetooth/pbap/BluetoothPbapService.java
3a88b20fcd71e42451e402d27374b19eeb2ff0da 08-Oct-2009 Nick Pelly <npelly@google.com> Update application code for BluetoothAdapter.getDefaultAdapter().

Change-Id: I7baafb909b74783da4e51d48f2465e7aacf07eb5
DrNo: eastham
Bug: 2158765
Joke: What goes 99-thump, 99-thump? A centipede with a wooden leg.
/packages/apps/Bluetooth/src/com/android/bluetooth/pbap/BluetoothPbapService.java
773ca65d26f0eb0eda3ec44c2a788043387981cf 05-Oct-2009 Jaikumar Ganesh <jaikumar@google.com> Remove Disconnected and Connected PBAP toasts.

Original Author: Fan Jackson
Bug number: 2060933
Dr No: Eastham
/packages/apps/Bluetooth/src/com/android/bluetooth/pbap/BluetoothPbapService.java
0eb2230d3b7c184a00599e8ab70331c599e9ef1c 02-Oct-2009 Jaikumar Ganesh <jaikumar@google.com> Fix ANR by repeating BT ON/OFF caused by PBAP closeservice deadlock

Move back socket closing sequence ahead of Thread.shutdown and join operation;
Seperate socket closing and resetting as null to avoid NPE during service close

Original Author: Fan Jackson
Bug: 2158262
DrNo: Paul

Change-Id: I2b36f3fb920c80602f5734a67a8cf6c6fbd00de4
/packages/apps/Bluetooth/src/com/android/bluetooth/pbap/BluetoothPbapService.java
8222c7902a2281929fd31e840f6012038e6fa44a 29-Sep-2009 Lixin Yue <L.X.YUE@motorola.com> Update OPP/PBAP service to use onStartCommand()
Adjust function call seqence in PBAP closeService
/packages/apps/Bluetooth/src/com/android/bluetooth/pbap/BluetoothPbapService.java
2f8fe66f45bac2bc61395bd4f8de553f4c2b7c30 24-Sep-2009 Lixin Yue <L.X.YUE@motorola.com> Update PBAP to use new VCardComposer

Totally removed the use of old syncml.pim.vcard.VCardComposer
/packages/apps/Bluetooth/src/com/android/bluetooth/pbap/BluetoothPbapService.java
f2c447b81c6c03cb1c8a3e64a10381e23934834a 10-Sep-2009 Nick Pelly <npelly@google.com> Update application for Bluetooth API changes.

Change-Id: I618553f2aa4e8705e3dff1247752e5fc357ef94d
/packages/apps/Bluetooth/src/com/android/bluetooth/pbap/BluetoothPbapService.java
613bae227d65f61903e196944a9c718b4394f25a 09-Sep-2009 Nick Pelly <npelly@google.com> Update application for Bluetooth API change: deprecation of BluetoothError.
/packages/apps/Bluetooth/src/com/android/bluetooth/pbap/BluetoothPbapService.java
f4a286ee2aba5a75abe41881334bbdb5d0080105 09-Sep-2009 Nick Pelly <npelly@google.com> Update application for Bluetooth API change.
/packages/apps/Bluetooth/src/com/android/bluetooth/pbap/BluetoothPbapService.java
c5495c585c0d19cdd20963e5a2144e5f984a306e 09-Sep-2009 Lixin Yue <L.X.YUE@motorola.com> Update PBAP to be compatible with Mecel stack

The response to the targeted connect operation should contain a Who with the same UUID as
sent in the request's matching Target header. If the Who header was present in the request,
a Target header identifying the same client should be sent in the response.

Play ringtone for incoming PBAP connection request
/packages/apps/Bluetooth/src/com/android/bluetooth/pbap/BluetoothPbapService.java
4446eaa935994bc91d6d308303e8d27526b4590d 31-Aug-2009 Lixin Yue <L.X.YUE@motorola.com> Pbap update

Improve PBAP download contacts performance greatly
Add 10 times retry for creation of listening socket
Change PbapReciever to be clearer
Rename functions and adjust function sequence in PbapService
Cleanup logging
Remove unused functions
Remove serversocket polling
/packages/apps/Bluetooth/src/com/android/bluetooth/pbap/BluetoothPbapService.java
acab258c177d82338b1696360cd0b8c9821b0f03 26-Aug-2009 Lixin Yue <L.X.YUE@motorola.com> Allow Pbap if device is trusted
/packages/apps/Bluetooth/src/com/android/bluetooth/pbap/BluetoothPbapService.java
41ef8d494511c040451f2f887cb31c3100746b61 07-Aug-2009 Nick Pelly <npelly@google.com> Bluetooth: Update Bluetooth.apk to match BT API change.

Split BluetoothDevice into BluetoothDevice and BluetoothAdapter.

BluetoothAdapter: Represents the local BT adapter. Operations on the local
adapter (start a scan, etc).
BluetoothDevice: Represents a remote BT device. Operations on remote devices
(pair, connect, etc).
/packages/apps/Bluetooth/src/com/android/bluetooth/pbap/BluetoothPbapService.java
d896162ef022a5607b13bae5177637ff3f18b737 28-Jul-2009 Lixin Yue <L.X.YUE@motorola.com> Update PBAP per review comments:

Patch 3 fix listing call-history issue
Remove the use of Enum in PbapObexServer.java
Simplify codes by using function and paras
Change some informal usage in codes
Fix minor issues
Rename some function and vars
/packages/apps/Bluetooth/src/com/android/bluetooth/pbap/BluetoothPbapService.java
37b69bd05e4b7a7d0e43575a6c22734b2d8c3f69 24-Jul-2009 Jackson Fan <xyfan@motorola.com> Remove TODOs for frameworks change

Modify for aidl added in frameworks
/packages/apps/Bluetooth/src/com/android/bluetooth/pbap/BluetoothPbapService.java
87f9a72cc2d9544f65eab18893f7dc0de4f6ee31 23-Jul-2009 Jaikumar Ganesh <jaikumar@google.com> Disable verbose logging.

TODO: We need to fix logging according to new verbose logging in OPP and PBAP.
/packages/apps/Bluetooth/src/com/android/bluetooth/pbap/BluetoothPbapService.java
b9cd7fee03a41e56a0cea9aa2e1af3b28c5be590 23-Jul-2009 Jaikumar Ganesh <jaikumar@google.com> Add copyright and fix some style issues.
/packages/apps/Bluetooth/src/com/android/bluetooth/pbap/BluetoothPbapService.java
2c282d5898ac0916470ebfa9ff26ba784cf4bb24 18-Jul-2009 Jackson Fan <xyfan@motorola.com> Add pbap into bluetooth package

Update PBAP as patchset 5
Adjust some resouces strings after UI test
Change localized resource usage
Modify exception handle, rename a confusing variable name
Remove compile dependency on 240 for now. Add TODO in code
Some minor changes to address the comments
Submit on-behalf of Yue Lixin <a5206c@motorola.com>

Update PBAP as patchset 4 according to comments
Format resource files
Re-organize the logs
Submit on-behalf of Jiafa Liu <pbx376@motorola.com>
/packages/apps/Bluetooth/src/com/android/bluetooth/pbap/BluetoothPbapService.java