Bluetooth: Fix to avoid null pointer exception during monkey.

A case where monkey is runnning. Profile service is null &
being accessed. which is causing null pointer exception in
onCreateOptionsMenu. Adding null check for profile service
before accessing in onCreateOptionsMenu will solve this issue.

CRs-Fixed: 556100

Change-Id: I16f1cae20f01c3e0ec92afdcca7793a14dff2b37
Bluetooth: Map: set proper cid value while pushing MMS.

Message text is lost when sending mms using Map app because of
improper cid and data values. Add change to address the same.

Change-Id: I13b0693d00d052660a995b9d30812625ed536e2f
Crs-fixed: 562127
BTTestApp: Handle NumberFormatException for GetMsgListing entries.

Handle NumberFormatException for incorrect integer values entered
for maxListCount, start offset and subject length feilds from
MapTestActivity.

Change-Id: I4d3c712ee1237e4896fb99edbbd483a76757e5a2
CRs-fixed: 554241
PBAP: Add change to return properly on PullvCardEntry fail

This patch adds a fix to return normally with a print message
on PullvCardEntry failure in PBAP rather than returning an
exception.

CRs-fixed: 553800

Change-Id: If6edf198f3aec494c3d44262d35f91342625f345
MAP: Handle GetMessageListing formatting for maxListcount 0.

No End of Body paramter required for GetMessageListing Response
packet when  maxListCount parmater value is 0 in Request packet.
CRs-fixed: 568409

Change-Id: I881b82130f66a20144abae3956a22b45f9d5d259
MAP C: Include WHO Header in MNS Connect Response packet.

Fix MCE PTS test cases failed due to no WHO header included
in OBEX MNS Connect Response packet from MCE.
CRs-fixed: 564005

Change-Id: I00dc40610377735de5c844a2eb9ed11401a54be2
Merge "BTTestApp: Handle NumberFormatException for GetMsgListing entries."
Merge "PBAP: Add change to return properly on PullvCardEntry fail"
Merge "MAP: Handle GetMessageListing formatting for maxListcount 0."
Merge "MAP C: Include WHO Header in MNS Connect Response packet."
FTP: Support both primary and secondary external storage

Expose both PRIMARY (internal phone memory) and SECONDARY
(external sdcard) memory partitions through FTP Server.
File system paths are retreived from Enivronment variables
EXTERNAL_STORAGE and SECONDARY_STORAGE.

Folders naming "PHONE_MEMORY" and "EXTERNAL_MEMORY" are
composed in folder listing at root path to get the USER
selection for access to internal or external storage.

Change-Id: I15fbb653ba745be32082ca51fccd5a6caa7b63d5
CRs-fixed: 504636
Merge "FTP: Support both primary and secondary external storage"
Merge "Bluetooth: Map: set proper cid value while pushing MMS."
Merge "Bluetooth: Fix to avoid null pointer exception during monkey."
Merge branch 'kk_2.7_rb1.10' of git://codeaurora.org/platform/vendor/qcom-opensource/bluetooth into cm-11.0

Change-Id: Ib70c2c734132dc263cc53ec66565ed1787df63c9