Provide SIM identity for PEAP/SIM configurations

Refactor the TelephonyUtil code to take a WifiConfiguration
instead of an EAP method so it can evaluate both the outer and
inner EAP methods.  This allows TelephonyUtil to whitelist SIM
authentication methods tunneled under PEAP for SIM authentication
and to provide the proper SIM identity.

Bug: 34835771
Test: Unit tests + manual tests: connect to a PEAP/EAP-SIM AP
Change-Id: I544c58f53bd1fe27fbd34626300928382095ccda
5 files changed
tree: 1468b501e3106a67c78170d4caa8351985d2261e
  1. service/
  2. PREUPLOAD.cfg