Add hidden API to wipe device with command

Adding method with permission so that Settings app can
wipe the /data partition with ext4 format

Test: m Settings && adb install -r $ANDROID_PRODUCT_OUT/system_ext/priv-app/Settings/Settings.apk
Test: adb shell cat /proc/mounts | grep f2fs
Bug: 320700993

Change-Id: I1d391cff06fce81c3690b113584ad69557951afc
1 file changed