WifiConfigManager: Expire deleted ephemeral ssid entries
The deleted ephemeral ssid entries were persisted forever, this could
lead to really poor experience for apps using the suggestion API
surface. So, expire these entries after a day. The entries are reaped
passively (i.e only when there is a lookup for the entry from one of the
evaluators).
Also, changed couple of asserts in the unit test to compare strings to
help with debugging failures.
Bug: 123360912
Test: ./frameworks/opt/net/wifi/tests/wifitests/runtests.sh
Test: Manually verify the config store migration (for verifying the
tranistion from the deleted ephemeral set to a map)
Change-Id: I3e54d40042d3d6ce5e224d705b4e34c7e1bcb5ed
6 files changed