Key SoftApManager by iface name instead of WifiApIface

HalDeviceManager uses WifiApIface as an ArrayMap key to look up
SoftApManagers, but the Aidl implementation of WifiApIface does not give
unique hash codes. Since hashCode() is undefined for these objects, use
the iface name for the key instead.

Bug: 271201238
Test: atest HalDeviceManagerTest
Change-Id: I8badcb2bd5e522652ca939fa15c6b1dbbfc11b17
1 file changed