PBAP: Support PBAP1.2 version:

Squashed commit of the following:

commit fe12eda5d4302336455b84f4bfa53f750f1d8b9d
Author: Smriti Gupta <smritig@codeaurora.org>
Date:   Fri Mar 4 18:31:24 2016 +0530

    PBAP 1.2: Reset folder version counters only on new connections

    Reset folder version counters only on new connections and not on every
    GET request.

    Change-Id: Ib770166d9b4002bba8bb772fc46a5c8a4a614019

commit 27970d7c26d4e5b400dadb1608c05294a565f3e7
Author: Smriti Gupta <smritig@codeaurora.org>
Date:   Wed Dec 30 18:27:28 2015 +0530

    PBAP 1.2: Reset Secondary version counter.

    Reset secondary version counter when ro.bluetooth.pbap.sec
    property set to true. This is done in order to pass a PTS
    testcase ie. TC_PSE_PBD_BV_9_C. This cannot be properly
    fixed due to the android limitations.

    Change-Id: Ia4144fee2bb9e29de1eeafddb419b0858fcf7839
    CRs-Fixed: 956964

commit 7ba0efdd539fc5431f9914ff7908d81d995b8ca7
Author: Smriti Gupta <smritig@codeaurora.org>
Date:   Wed Dec 30 18:15:20 2015 +0530

    PBAP 1.2: Update Secondary folder version counter

    Update Secondary folder version counter whenever Primary
    version counter changes. Earlier it was set by defalut to
    '0'.

    Change-Id: I28dadd0c719de5c34c8443c4d6241101bedf8474
    CRs-Fixed: 956964

commit f85f8492ce00c6e38811e485a122cf36039768ef
Author: Smriti Gupta <smritig@codeaurora.org>
Date:   Fri Oct 9 15:27:25 2015 +0530

    PBAP 1.2: Send contact vcard photo on request.

    This patch will enable the sharing of photo image
    in the vcard on being requested by the 1.2 client.

    Change-Id: Ia2628d0ef98afcf3d84b5b75157c90ffc39a152f
    CRs-Fixed: 823653

commit 87944dcd54146ad1a8bf5f922fdc8e49db003422
Author: Smriti Gupta <smritig@codeaurora.org>
Date:   Wed Oct 21 11:35:31 2015 +0530

    PBAP 1.2: Version counter and Database Identifier changes

    Bluetooth: primary version counter change
        1) for phone book
        2) for call history folders

    Unique Database Identifier would be sent by server in every
    pull phonebook response and vcard listing response when
    requested by the client.

    Change-Id: I5e3bdd7f311fb2294cdae9792e42cabcd9118fea
    CRs-Fixed: 823653

 commit f11bd0b536be959ef38dc335db38c36130b682d4
 Author: Smriti Gupta <smritig@codeaurora.org>
 Date:   Fri Oct 16 15:13:36 2015 +0530

    PBAP 1.2: VCARD selector feature implementation

    Only those vcards would be sent by the server
    which has properties present corresponding to the bits
    set in the vcard selector for both pull Phonebook and
    Vcard Listing responses.

    Change-Id: I21568b4b59e5a553c6727098653938a2b685a43b
    CRs-Fixed: 823653

commit f21f874a3b7cd4cea058757d081a5e2d5502ef8e
Author: Smriti Gupta <smritig@codeaurora.org>
Date:   Wed Sep 9 14:55:32 2015 +0530

    PBAP: PBAP1.2 SDP and L2CAP related changes
    Adds changes required to do the SDP registration as
    supported by 1.2 versions and L2CAP related functionality.

    Change-Id: Iddace24f43a7618ccbe6a9b49bcab88dbaae0e06
    CRs-Fixed: 823653

    Change-Id: I118891c0a71a584426aeca8dbb139b7f591161de

Change-Id: Ia73657c2d0a23fcd1adf2075a6c4ee8b61e2b96d
3 files changed