enforce stricter rules when registering phoneAccounts

- include disable accounts when looking up accounts for a package to
  check if the limit is reached (10)
- put a new limit of 10 supported schemes
- put a new limit of 256 characters per scheme
- put a new limit of 256 characters per address
- ensure the Icon can write to memory w/o an exception

bug: 259064622
bug: 256819769
Test: cts + unit
(cherry picked from https://googleplex-android-review.googlesource.com/q/commit:ed52d3a4889153e164d6684f604443878931f4a2)
Merged-In: I5eb2a127a44d5ec725d0ba39cb0ef478b12013de
Change-Id: I5eb2a127a44d5ec725d0ba39cb0ef478b12013de
4 files changed