Update inferred policies from SubscriptionPlan.

When creating or updating inferred network policies, consult any
SubscriptionPlan information first, then fallback to CarrierService
values, before finally falling back to system defaults.

Dump known SubscriptionPlan values in dumpsys output for debugging.

Fix bug where updateNetworkRulesNL() tried calculating cycles when
non existed.

Test: builds, boots, subscription plans update
Test: bit FrameworksServicesTests:com.android.server.NetworkPolicyManagerServiceTest
Bug: 63925474, 64124815
Change-Id: I12257cada14f72890d5346e366643aac88de278e
1 file changed