History log of /packages/apps/Bluetooth/src/com/android/bluetooth/pbap/BluetoothPbapVcardManager.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
5f659853fff6a50fd12e1f7956997cbef244f798 07-Jan-2015 Andre Eisenbach <eisenbach@google.com> Improve VCARD filter logic and reduce log spam

Remove a stray log message in VCardFilter.applyFilter() function that
leads to high-frequency log spam during phone book synchronization. Also
refactored the logic to avoid multiple loops & loop iterations causing
higher CPU load.

Bug: 18913091
Change-Id: I3c6d3c3373d4a74a930d182ee2641959461b0556
/packages/apps/Bluetooth/src/com/android/bluetooth/pbap/BluetoothPbapVcardManager.java
02fc1acb99dbf3ae0a710ee7e4b6de8dd779e84e 17-Sep-2014 Rakesh Iyer <rni@google.com> Don't leak PII into the logs.

Guard a couple of the Log.v statements with the if (V) guard that
is used everywhere else in the file.

Bug: 17531755
Change-Id: I7ea06333132c400fca225d0c92cfca0d6c3024ab
/packages/apps/Bluetooth/src/com/android/bluetooth/pbap/BluetoothPbapVcardManager.java
6db8e703719f301f75acdf4acacc3296cc1b5016 13-May-2013 Hemant Gupta <hemantg@codeaurora.org> PBAP: Add Filters support.

This patch adds attribute filter support to PBAP. It will allow remote
devices to request the particular attributes.

Change-Id: Ia0a4f55f14925b0cf8d0553c64222d781edef2fd
/packages/apps/Bluetooth/src/com/android/bluetooth/pbap/BluetoothPbapVcardManager.java
29ab94a024ffce08229f1c2c6776d1e72d2a3f75 29-Aug-2013 Hemant Gupta <hemantg@codeaurora.org> PBAP: Strip unwanted braces and spaces from telephone number.

This patch removes unwanted spaces and braces from the telephone
number on vcard entry formation. Handsfree call was failing because
of these characters due to handling of only digits in utl_isdialstr
API in BD stack (external/bluetooth/bluedroid/bta/ag/bta_ag_cmd.c)

Change-Id: I2d63967059a9cb97f214b370fac17234f6e58f55
/packages/apps/Bluetooth/src/com/android/bluetooth/pbap/BluetoothPbapVcardManager.java
1321cd814a7406260ba6282d9c71e1a2d8925262 03-Oct-2013 Hemant Gupta <hemantg@codeaurora.org> PBAP: Check for spurious entries of searched contacts

This patch adds the check to limit the search if we already
have got the contact name by number so that same contact
will not be getting searched more than one number of time.

Change-Id: If4a26433e28cad90394833b51cc3ff0d0bcf7e36
/packages/apps/Bluetooth/src/com/android/bluetooth/pbap/BluetoothPbapVcardManager.java
c592e5a6de0011cd60f23ac18a7bd56d8eeb5dd1 07-Jan-2014 Hemant Gupta <hemantg@codeaurora.org> PBAP: Fix crash in com.android.bluetooth

This patch will add the changes to catch the
CursorWindowAllocationException at all the places where cursor
is used for quering operations. Without this patch, crash was
observed in com.android.bluetooth in stress test of BT On/off
multiple times.

FATAL EXCEPTION: main
android.database.CursorWindowAllocationException:
Cursor window could not be created from binder.
com.android.bluetooth.pbap.BluetoothPbapVcardManager.
getCallHistorySize(BluetoothPbapVcardManager.java)

Change-Id: I6a4fadb949969dca453cff0fe84a25d849063573
/packages/apps/Bluetooth/src/com/android/bluetooth/pbap/BluetoothPbapVcardManager.java
130969d18eadbd94361fe95bf16b8131cdea6168 09-Dec-2013 Hemant Gupta <hemantg@codeaurora.org> PBAP: Compare Name and ID both for getting vcard by number

This change will add a ID comparison along with the
Name before writing the final vcard entry when we get
the list through getContactsNamesByNumber
to avoid providing the vcard having the same name but
different numbers.

Change-Id: Ie2e1567a784cd3d872495a029fce6b51a39de993
/packages/apps/Bluetooth/src/com/android/bluetooth/pbap/BluetoothPbapVcardManager.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/pbap/BluetoothPbapVcardManager.java
4a53a55dc10d3a26c94e5844f7d4a2565a67142c 19-May-2012 fredc <fredc@broadcom.com> Fixed displaying images in pbap browse and pull when configured

Change-Id: I8315d4db76d7cbfeaefe4187100984d12bd952ed
/packages/apps/Bluetooth/src/com/android/bluetooth/pbap/BluetoothPbapVcardManager.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/BluetoothPbapVcardManager.java
d956b40b2f59599447ae0fa0762e055c0c0ce1a3 19-Sep-2011 Daisuke Miyakawa <dmiyakawa@google.com> Only format PAUSE/WAIT character.

Must be after Iff9461d8c71c5800b0731c3708867003d75bb395

Bug: 5348938
Bug: 4177894
Change-Id: I0c5b5b759d11c9d494f9550b9a7bfe948a0690b6
/packages/apps/Bluetooth/src/com/android/bluetooth/pbap/BluetoothPbapVcardManager.java
ce8d51a3a43d113a4a6bad30d595c2a81d0f623c 21-Mar-2011 Yoshiharu Kurita <yoshiharu.x.kurita@sonyericsson.com> Handle PBAP response packet as raw bytes

Adjust PBAP response packet to be always handled as bytes.
Currently, it is handled as string when is read from internal data.
This causes the lack of PullvCardListing packet and the abort of
PullPhonebook transaction when multi-byte characters are contained
into corresponding contacts.
This fix will avoid the lack and the abort by writing whole packet
into the target stream as byte.

Change-Id: I17ee3ada25718cc263c9e0942f75605bd971b638
/packages/apps/Bluetooth/src/com/android/bluetooth/pbap/BluetoothPbapVcardManager.java
77ba5f6684f4dd7e4b7fc37982271da5654aec07 21-Dec-2010 Staffan Lindvall <staffan.lindvall.x@sonyericsson.com> pullVcard of unknown phone number

When performing a pullVcardListing, pullVcardEntry or pullPhonebook
on a phone with a call list which contains an unknown phone number,
the phone returns "-1" as number/name. Corresponding errors exist
for private and payphone numbers, where the phone returns the name
"-2" and "-3", respectively. During pullVcardListing the Name
attribute may contain the phone number, in case the name is not
known. The latter is already implemented today, however, instead of
using e.g. "-1" as name when the phone number is not known the
phone should use Name = "Unknown". Currently there are no other
matching corresponding strings defined for private and payphone
number, which means that for now "Unknown" may be returned as name
also for these numbers.
During pullVcardEntry and during pullPhonebook when the phone number
is unknown then the Number attribute should contain the string
"Unknown". During the same scenario the FN and N attributes both
should contain the string "" when the name is not known. When it
comes to private and payphone numbers the same as for
pullVcardListing apply here, i.e. "Unknown" may be used in the
Number attribute also for these numbers

Change-Id: Icf06e527032588f075ff848bea1ba90bf71e874f
/packages/apps/Bluetooth/src/com/android/bluetooth/pbap/BluetoothPbapVcardManager.java
2f429e31a13f81c9248173b144efca32c0070045 22-Jun-2011 Jaikumar Ganesh <jaikumar@google.com> Revert "pullVcard of unknown phone number"

This reverts commit 86d30be8aa68d0a2b561c36b53f4e5ebe586fe72.
/packages/apps/Bluetooth/src/com/android/bluetooth/pbap/BluetoothPbapVcardManager.java
86d30be8aa68d0a2b561c36b53f4e5ebe586fe72 21-Dec-2010 Staffan Lindvall <staffan.lindvall.x@sonyericsson.com> pullVcard of unknown phone number

When performing a pullVcardListing, pullVcardEntry or pullPhonebook
on a phone with a call list which contains an unknown phone number,
the phone returns "-1" as number/name. Corresponding errors exist
for private and payphone numbers, where the phone returns the name
"-2" and "-3", respectively. During pullVcardListing the Name
attribute may contain the phone number, in case the name is not
known. The latter is already implemented today, however, instead of
using e.g. "-1" as name when the phone number is not known the
phone should use Name = "Unknown". Currently there are no other
matching corresponding strings defined for private and payphone
number, which means that for now "Unknown" may be returned as name
also for these numbers.
During pullVcardEntry and during pullPhonebook when the phone number
is unknown then the Number attribute should contain the string
"Unknown". During the same scenario the FN and N attributes both
should contain the string "" when the name is not known. When it
comes to private and payphone numbers the same as for
pullVcardListing apply here, i.e. "Unknown" may be used in the
Number attribute also for these numbers

Change-Id: I33cf6ceecf5c8fba426eacbb3a507228f8e4de4d
/packages/apps/Bluetooth/src/com/android/bluetooth/pbap/BluetoothPbapVcardManager.java
73adcc0f5b6051ef514a3f16a2e28eabee2b367e 02-May-2011 Conley Owens <cco3@android.com> Merge commit 'a2f16c01' into m

Conflicts:
src/com/android/bluetooth/pbap/BluetoothPbapCallLogComposer.java
src/com/android/bluetooth/pbap/BluetoothPbapVcardManager.java

Change-Id: Ib3533b9713373c84636940dbe3e41203898aef46
a2f16c010b59d3bc9ff978b178ded62c1e2b9d8f 30-Apr-2011 Conley Owens <cco3@android.com> am 4da2545c: am f6dace4a: Merge "Bluetooth: Add vCard version support for call history."

* commit '4da2545c8543c7ba4729f63c86a38008309ec870':
Bluetooth: Add vCard version support for call history.
f6dace4a1ed909d9a5f87781a7c4e02cc06fc021 29-Apr-2011 Conley Owens <cco3@android.com> Merge "Bluetooth: Add vCard version support for call history."
3c4d2c77c2fffe675fbe89ba58856686b6873d2f 17-Mar-2011 Daisuke Miyakawa <dmiyakawa@google.com> Reflect vCard API change

Remove dependency toward OneEntryHandler in vCard code.

This change doesn't take care of oom for simplicity.

See also Id623814e8f5961aaf9cf9b4dcc92f75ace401148

Bug: 4066223
Change-Id: I3c5a58fef5a404b992a3c17578eeb63518294231
/packages/apps/Bluetooth/src/com/android/bluetooth/pbap/BluetoothPbapVcardManager.java
6b923ee6bf0c80dc4edeabb3694132f3fd40ce03 10-Mar-2011 Daisuke Miyakawa <dmiyakawa@google.com> Use old version of vCard composition method

Must be after I91b65f881e1712ecf82c2e119a92bc70c43c623c

Bug: 4066223
Change-Id: Icca2019b10fc84e437efbc2606cd5703b3ea0a5f
/packages/apps/Bluetooth/src/com/android/bluetooth/pbap/BluetoothPbapVcardManager.java
4bba23a751f042596561eab0e677135d5267bcdf 07-Jan-2011 Staffan Lindvall <staffan.lindvall.x@sonyericsson.com> Handle pullVcardListing req without search value for Number attr.

When sending pullVcardListing request to the phone while using
the search attribute "Number" without any search value, the
phone responds with error code "internal error".

Instead the phone should return all numbers in the phonebook.

Change-Id: I7c11b76bbd61882c62be3533b1c45c2c72f497b2
/packages/apps/Bluetooth/src/com/android/bluetooth/pbap/BluetoothPbapVcardManager.java
0995f126a9835d63a87d4c2c985a43004978c94d 07-Jan-2011 Staffan Lindvall <staffan.lindvall.x@sonyericsson.com> Handle pullVcardListing req without search value for Number attr.

When sending pullVcardListing request to the phone while using
the search attribute "Number" without any search value, the
phone responds with error code "internal error".

Instead the phone should return all numbers in the phonebook.

Change-Id: I7c11b76bbd61882c62be3533b1c45c2c72f497b2
/packages/apps/Bluetooth/src/com/android/bluetooth/pbap/BluetoothPbapVcardManager.java
9935a310a4f36c9f835c5c3aa2f604ddc36cabb1 21-Dec-2010 Xiaodong Xu <xiaodong.xu@sonyericsson.com> Bluetooth: Add vCard version support for call history.

Under current implementation, PSE only deliver call history
under format VCard2.1 to PCE, this is not correct according to
PBAP specification, which says "The PSE shall support both
vCard2.1 and vCard3.0 versions and deliver the Entries to the
PCE under the format version that is requested by the PCE."
This fix is to make implementation following such PBAP
specificaiton.

Change-Id: Id0146d0887bad3bd066109ecd3be674b3106bced
/packages/apps/Bluetooth/src/com/android/bluetooth/pbap/BluetoothPbapVcardManager.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/BluetoothPbapVcardManager.java
affbd828459349396e000624a90a4ea800a7108b 14-Oct-2010 Jaikumar Ganesh <jaikumar@google.com> am 5eadab02: am 4492b2c6: Fix OPP crash and Call Log sort order.

Merge commit '5eadab02ea3202f417434a13a7637379fffc43de'

* commit '5eadab02ea3202f417434a13a7637379fffc43de':
Fix OPP crash and Call Log sort order.
4492b2c66cf3b26fd988f3b7f1f5df6cc9ed49f2 12-Oct-2010 Jaikumar Ganesh <jaikumar@google.com> Fix OPP crash and Call Log sort order.

Bug: 3067780 3067770
Dr No: jerry

Change-Id: I2ac39e2f1f0233a6ada84af39d8addfe0fe04cea
/packages/apps/Bluetooth/src/com/android/bluetooth/pbap/BluetoothPbapVcardManager.java
99c41899699fef2cea41cb227003eeda851f93ad 11-Oct-2010 Jaikumar Ganesh <jaikumar@google.com> am c47e9733: am 3f475149: Merge "Make "search by number" function work" into gingerbread

Merge commit 'c47e9733b12c81b24ec32f0707f2cd5288aaf6b0'

* commit 'c47e9733b12c81b24ec32f0707f2cd5288aaf6b0':
Make "search by number" function work
0dcd2262d853c2011e11617a8efba6758370c41f 05-Oct-2010 Liejun Tao <L.J.Tao@motorola.com> Make "search by number" function work

Previous "search by number" is wrong. Re-implement it to make it work.
Add flexible to handle searchValue as both null-terminated and not
null-terminated.

Change-Id: Ie50f8d29dfcbae868c43d482467b09b08ed2be0f
/packages/apps/Bluetooth/src/com/android/bluetooth/pbap/BluetoothPbapVcardManager.java
f3d6b25c0ea3b2bcd01ab457967c7b40ccd20b5b 13-Sep-2010 Daisuke Miyakawa <dmiyakawa@google.com> Let BT use FLAG_REFRAIN_IMAGE_EXPORT.

Bug: 2603200
Change-Id: I385e831b8c5684cc75c249ee6d41d5256a29f3c5
/packages/apps/Bluetooth/src/com/android/bluetooth/pbap/BluetoothPbapVcardManager.java
0ddb8aabe0f62d7741ee0aa040e43643b823c441 02-Sep-2010 Daisuke Miyakawa <dmiyakawa@google.com> Modify variables used in vCard code.

See also Icf265ce7f83c1e2bd5db0c3d9bd4c142afd6db34

Change-Id: I3a94e86d0788a395ac0744bdf6e31c8e64fb0c15
/packages/apps/Bluetooth/src/com/android/bluetooth/pbap/BluetoothPbapVcardManager.java
addc5ca6de80b9956faf7b3fff9815a4ccde8e93 30-Aug-2010 Jaikumar Ganesh <jaikumar@google.com> am 44fbf5a3: am 8e658ce5: Merge "Send vCard with Unicode encoded Strings over BT" into gingerbread

Merge commit '44fbf5a3537d1d701eedbd85e7115c36ef851c58'

* commit '44fbf5a3537d1d701eedbd85e7115c36ef851c58':
Send vCard with Unicode encoded Strings over BT
f890b9395afee07aef2ae93e1213819919bc5e9f 27-Aug-2010 Edward Savage-Jones <edward.savage-jones@sonyericsson.com> Send vCard with Unicode encoded Strings over BT

The standard Android code doesn't correctly handle creation of byte
packets when sending vCard data. The length of a String is used to
specify the number of bytes being sent, which works if all
characters are ASCII (1 byte per char), but if Unicode characters
exist within the string, then bytes vs String length differ which
causes a truncation of the vCard during Bluetooth send.

Change-Id: Ic39dd53a38f1f353523c625940b0317b00e86d4f
/packages/apps/Bluetooth/src/com/android/bluetooth/pbap/BluetoothPbapVcardManager.java
b8c5dba8b3e9a46873b8568d5cbead6d7390f96b 27-Aug-2010 Edward Savage-Jones <edward.savage-jones@sonyericsson.com> Send vCard with Unicode encoded Strings over BT

The standard Android code doesn't correctly handle creation of byte
packets when sending vCard data. The length of a String is used to
specify the number of bytes being sent, which works if all
characters are ASCII (1 byte per char), but if Unicode characters
exist within the string, then bytes vs String length differ which
causes a truncation of the vCard during Bluetooth send.

Change-Id: Ic39dd53a38f1f353523c625940b0317b00e86d4f
/packages/apps/Bluetooth/src/com/android/bluetooth/pbap/BluetoothPbapVcardManager.java
12cb33f6d9fd269944a5618661e3880beea58b6e 17-May-2010 Daisuke Miyakawa <dmiyakawa@google.com> Use a static version of vCard library.

See also I435e1057.

Bug: 2689523
Change-Id: I6aaa893d13ad2ff66f1439731ef7dbcf079b5011
/packages/apps/Bluetooth/src/com/android/bluetooth/pbap/BluetoothPbapVcardManager.java
f7df7a88230c525e2973ca5603f54a77fe47445d 13-May-2010 Jaikumar Ganesh <jaikumar@google.com> Use FLAG_REFRAIN_PHONE_NUMBER_FORMATTING to prevent discard
of "+", "p", "w" etc in phone numbers.

Change-Id: I20aa8d697925ac68dbfd9dc997dcf66fc0d7f5d8
/packages/apps/Bluetooth/src/com/android/bluetooth/pbap/BluetoothPbapVcardManager.java
ff55fbfa8cf30fe8a72e1a68420cd744ce957828 15-Apr-2010 Daisuke Miyakawa <dmiyakawa@google.com> Use FLAG_REFRAIN_PHONE_NUMBER_FORMATTING to prevent discard
of "+", "p", "w" etc in phone numbers.

Change-Id: Ic69d60e5831e59a497c523aa62c753922edf06f6
/packages/apps/Bluetooth/src/com/android/bluetooth/pbap/BluetoothPbapVcardManager.java
0894f16289755e5d3e81e0d8c1c8097179aeb7f7 20-Apr-2010 Daisuke Miyakawa <dmiyakawa@google.com> Remove wrong merge.

Change-Id: I94ff5633226d37fcc2df39fdcb7ad313a523d435
/packages/apps/Bluetooth/src/com/android/bluetooth/pbap/BluetoothPbapVcardManager.java
a7b31bac7cbea0382a14d7dcd22a01c3af370b54 20-Apr-2010 Daisuke Miyakawa <dmiyakawa@google.com> am 96ae98f9: Make BluetoothPbapCallLogComposer use FLAG_REFRAIN_IMAGE_EXPORT.
96ae98f996c5809bb34156b85bfc9e3d01008246 20-Apr-2010 Daisuke Miyakawa <dmiyakawa@google.com> Make BluetoothPbapCallLogComposer use FLAG_REFRAIN_IMAGE_EXPORT.

Bug: 2603200
Change-Id: Ie6a40c12fafac5927b616f31a8335df0181f9e18
/packages/apps/Bluetooth/src/com/android/bluetooth/pbap/BluetoothPbapVcardManager.java
e05d3a710c592db386b55a265a1e657b0467e49f 16-Apr-2010 Daisuke Miyakawa <dmiyakawa@google.com> Make BT new structure.

Change-Id: If1400731a1ba9a91d493ca96f2cc0364ef9b5b18
/packages/apps/Bluetooth/src/com/android/bluetooth/pbap/BluetoothPbapVcardManager.java
0b1b0069658326e8c12dc0f887e4319c5227feb5 16-Mar-2010 Lixin Yue <L.X.YUE@motorola.com> Add ABORT request handling to PBAP
/packages/apps/Bluetooth/src/com/android/bluetooth/pbap/BluetoothPbapVcardManager.java
fcce2453c8d9370d515f655b2706d5e00b9da139 04-Mar-2010 Daisuke Miyakawa <dmiyakawa@google.com> Add missing addHandler().

Bug: 2485875
/packages/apps/Bluetooth/src/com/android/bluetooth/pbap/BluetoothPbapVcardManager.java
198e5d109571b27b7c45c30ed3ea42febcb99201 23-Feb-2010 Daisuke Miyakawa <dmiyakawa@google.com> Move Pbap logic to Bluetooth package so that we do not have unnecessary tight coupling.
/packages/apps/Bluetooth/src/com/android/bluetooth/pbap/BluetoothPbapVcardManager.java
5ce62e929e6ce169be5c32c173efc44f76684e2d 06-Nov-2009 Lixin Yue <L.X.YUE@motorola.com> am cd5ed0c7: PBAP only transfer contacts that are visible in contacts application.

Merge commit 'cd5ed0c7d04119e508fbddfd9656ef8559e3e524' into eclair-mr2

* commit 'cd5ed0c7d04119e508fbddfd9656ef8559e3e524':
PBAP only transfer contacts that are visible in contacts application.
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/BluetoothPbapVcardManager.java
ae7f70563660d02d56365092fa27f195b54d5d15 05-Nov-2009 Jaikumar Ganesh <jaikumar@google.com> am 2b36e173: Fix get contact size not correct issue.

Merge commit '2b36e1731eb5ed784abc1a374eb69d8523123df1' into eclair-mr2

* commit '2b36e1731eb5ed784abc1a374eb69d8523123df1':
Fix get contact size not correct issue.
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/BluetoothPbapVcardManager.java
e10881ae39eb4affb7a78827f2060964e8534515 02-Nov-2009 Daisuke Miyakawa <dmiyakawa@google.com> Fix a typo.
/packages/apps/Bluetooth/src/com/android/bluetooth/pbap/BluetoothPbapVcardManager.java
c065fc5530cc0e8f14261f8c347984cdde070169 30-Oct-2009 Jaikumar Ganesh <jaikumar@google.com> Disable sending Photo field for PBAP. Do Not Merge.

Some car kits don't handle contacts with Photo Fields well.
Disable this field for the time being.

Original Change by: Yue Lixin

Bug: 2183320
Dr No: Eastham
/packages/apps/Bluetooth/src/com/android/bluetooth/pbap/BluetoothPbapVcardManager.java
59582607bc341f9e9662d6ec5c1a93bb4c537d38 15-Oct-2009 Daisuke Miyakawa <dmiyakawa@google.com> Fix a build breakage.

Make Bluetooth code use new type instead of old.
/packages/apps/Bluetooth/src/com/android/bluetooth/pbap/BluetoothPbapVcardManager.java
4ceaa3e03dc7a68d4e7c0c8e14a461cfd7c4c19c 12-Oct-2009 Daisuke Miyakawa <dmiyakawa@google.com> Adapt to the new interface of vCard code.

Internal Issue number: 2160039
/packages/apps/Bluetooth/src/com/android/bluetooth/pbap/BluetoothPbapVcardManager.java
59256dee3f9787fd660c346d61e0271ecd4bfe9a 08-Oct-2009 Jaikumar Ganesh <jaikumar@google.com> Update PBAP code for Contacts database changes and check for OPP
file extension.

Original Author for PBAP - Yue Lixin
Dr No: Eastham
Bug: 2174759
/packages/apps/Bluetooth/src/com/android/bluetooth/pbap/BluetoothPbapVcardManager.java
29a07d9c52cde18ee818fd21528288cd5c8127c8 30-Sep-2009 Daisuke Miyakawa <dmiyakawa@google.com> Remove redundant dependency toward android.syncml.
/packages/apps/Bluetooth/src/com/android/bluetooth/pbap/BluetoothPbapVcardManager.java
18bde766b20c899310ebdd5ca823e30ff27d407f 27-Sep-2009 Lixin Yue <L.X.YUE@motorola.com> Update PBAP to make compatiable with spec

Add check to incoming application parameter, be nice to accept PCE request
Fix minor pullvCardEntry issue for call logs
Fix one pullPhoneBook issue about request size
/packages/apps/Bluetooth/src/com/android/bluetooth/pbap/BluetoothPbapVcardManager.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/BluetoothPbapVcardManager.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/BluetoothPbapVcardManager.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/BluetoothPbapVcardManager.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/BluetoothPbapVcardManager.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/BluetoothPbapVcardManager.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/BluetoothPbapVcardManager.java