WifiNative: Override hashCode for HiddenNetwork and PnoNetwork classes
The HiddenNetwork and PnoNetwork classes in WifiNative already had the
equals method, now implementation for a hashCode method added to match.
Added a unit test in WifiNativeTest that creates instances of the two
classes with same values and checks if they have similar hashcodes.
Bug: 33626203
Test: frameworks/opt/net/wifi/tests/wifitests/runtests.sh
Test: frameworks/base/wifi/tests/runtests.sh
Change-Id: I62bf655bf9619f4fe6186673b7da8eb294633474
2 files changed