[HAL Device Manager] getSupportedIfaceTypes() mod to never return null

Change the semantics of HalDeviceManager.getSupportedIfaceTypes so
that it never returns null. It now always returns a Set<IfaceType> -
possibly an empty set.

Cleaner than clients trying to figure out error conditions.

Bug: 35101185
Test: unit tests (including new one for error)
Change-Id: Icdff4192b3b7dc5901110e243a0a021a1593c01b
2 files changed
tree: 7a51ecb231e782c7438e06b51662593a3ad0efe0
  1. libwifi_hal/
  2. libwifi_system/
  3. service/
  4. tests/
  5. PREUPLOAD.cfg