ScanResultMatchInfo: Refactor network type retrieval

Expose static methods to retrieve the network type from ScanResult &
WifiConfiguration. Will be used in the network matching logic in
WifiNetworkFactory.

Bug: 113878056
Test: Existing unit tests.
Change-Id: If79812d423020868a7e12cece67be18cec39ac30
1 file changed