History log of /packages/apps/Bluetooth/src/com/android/bluetooth/pbap/BluetoothPbapService.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
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