Fix bugs for SIMs with multiple phonebook sets

On USIM cards more than 255 records are supported by having multiple
phonebook sets (i.e. EF_ADN and related files). The
UsimPhonebookManager handles this but only has one list and doesn't
offset the AdnRecord.getRecId() values. Hence, the AdnRecord list is a
better source of truth for the record numbers and capacities than the
lower-level numbers from hardware.

Bug: 201385523
Bug: 201685690
Test: atest CtsSimPhonebookProviderTestCases
Change-Id: I45ae39eb3a53657701fa372a25a31a7548b0eae1
2 files changed