CHERRY-PICK: Add support to parse multiple lines from modem.

Some modem response is multiple lines, add support to handle such
cases.

BUG=None
TEST=make test; Manually on DUT.

Change-Id: I96cd356bc942fc4cb3321e32adc2af05b3b85670
Old-Change-Id: I4de1fa74c47b0539fc960b126022452080ca365b
Old-Reviewed-on: https://chromium-review.googlesource.com/172070
Old-Reviewed-by: Cheng-Yi Chiang <cychiang@chromium.org>
Old-Commit-Queue: Chun-ta Lin <itspeter@google.com>
Old-Tested-by: Chun-ta Lin <itspeter@google.com>
Reviewed-on: https://chromium-review.googlesource.com/185545
Reviewed-by: Bowgo Tsai <bowgotsai@chromium.org>
Reviewed-by: Chun-ta Lin <itspeter@chromium.org>
Commit-Queue: Heng-ruey Hsu <henryhsu@chromium.org>
Tested-by: Heng-ruey Hsu <henryhsu@chromium.org>
1 file changed