OSDN Git Service

PBAP Client Call Log
authorJoseph Pirozzo <pirozzoj@google.com>
Wed, 5 Apr 2017 21:38:17 +0000 (14:38 -0700)
committerJoseph Pirozzo <pirozzoj@google.com>
Mon, 17 Apr 2017 17:25:03 +0000 (10:25 -0700)
commitfe53cbf450c60ff0cadb5220d51403ceff27043b
tree32fe357d25dc9007e4cbc7e67473f685d05588b4
parent69e512126b50c5297710638ef4347103972a86e3
PBAP Client Call Log

Update PBAP Client to correctly handle cases where a call log has either
an unknown phone number or missing timestamp.  Included are test cases
to verify proper parsing.

Bug: 26760364
Bug: 29230296

Test: runtest bluetooth -c com.android.bluetooth.pbapclient.PbapParserTest
Change-Id: Ibdabd0320f3bdd6dee0d7bd7b5ddd9400219f3d4
(cherry picked from commit e1ee0dace9e715e3d94339dc642b8767db83b89e)
src/com/android/bluetooth/pbapclient/CallLogPullRequest.java
tests/res/raw/no_timestamp_call_log.vcf [new file with mode: 0644]
tests/res/raw/single_missed_call.vcf [new file with mode: 0644]
tests/res/raw/unknown_number_call.vcf [new file with mode: 0644]
tests/src/com/android/bluetooth/pbapclient/PbapParserTest.java [new file with mode: 0644]