Support for 'NumAttemptsPerFqdn' in ErrorPolicy

- Some carriers specify error policies where the the ePDG address(es)
  corresponding to 1 FQDN have to be used/re-used over a number of
(retry) attempts, before trying the ePDG addresses from the next FQDN.
- Additionally, ErrorPolicyManager can help determine which FQDN to
  use for the current retry attempt, given the number of FQDNs discovered.

Bug: 233121749
Test: ErrorPolicyManagerTest#testErrorPolicyWithNumAttemptsPerFqdn,
live IWLAN test with 'NumAttemptsPerFqdn' configured to test new
API ErrorPolicyManager#getCurrentFqdnIndex().

Change-Id: I9415b0207a2ee83909903b2c5038a78edcedd708
5 files changed