WifiConfigManagerNew: Set |hasEverConnected| flag

1. Migrate the existing |wasCredential| change method in
|WifiConfigManager| to |WifiConfigurationUtil|.
2. Integrate this into the |WifiConfigManagerNew|.
3. Move/Refactor the |hasIpChanged| & |hasProxyChanged| helper
methods to |WifiConfigurationUtil| as well.

While there,
Change couple of occurences of {@code true} to |true| in javadocs to be
consistent across the class.

BUG: 30156343
Change-Id: If22de02b6ea6f5a9b0e718c9d3dbd9693d9db599
TEST: Unit tests in the next CL.
2 files changed
tree: d8503e7e19a26d82a9a728b6fedee3f9b73e696d
  1. libwifi_hal/
  2. libwifi_system/
  3. service/
  4. tests/