WifibackupRestore: Mask out wep keys

Mask out WEP keys in backup data dump and add unit tests to verify that
the WEP keys are never dumped out.

Since there are different patterns to match & replace, step through each
line in the dump string and perform a search & replace. This isn't
ideal, but there isn't any simple regex to mask both the 'psk' & 'wep
keys' info.

BUG: 29051876
Change-Id: I563bc8c9a0ace349851714f92aca817fb4f83717
TEST: Unit tests
2 files changed
tree: 0635903a18fbd44f58aac043e382e683ee3aa172
  1. service/
  2. tests/