Extracted common wifi sharing activities helper functions from WifiDppUtils to settingslib.

Also added a test. This code move is for the Wifi sharing flow initiates from SystemUI quick settings.

Bug: 294487249

Test: make RunSettingsLibRoboTests ROBOTEST_FILTER=WifiDppIntentHelperTest
Change-Id: If40f64f55cdea3b371c49bbb46abbac0d45adb3c
2 files changed