passpoint-r2: change the behavior for APIs when Passpoint is not enabled

For the case that device doesn't enable Passpoint feature, it is better
to return empty collection for getting results and false for
adding/deleting a Passpoint profile than throwing UnSupportedOperation
Exception that might cause a caller to be crashed.

Bug: 121078741
Test: ./frameworks/opt/net/wifi/tests/wifitests/runtests.sh
Test: verified SUW and WifiPicker are not crashed on device that does
not enable Passpoint feature.
Change-Id: I57d4ccbea82516ccb8e94e8817cd9fb4ad270f5d
Signed-off-by: Ecco Park <eccopark@google.com>
1 file changed