I found these commands to add/remove proxy using ADB:
#To Add Proxy
adb shell settings put global http_proxy 192.168.1.252:8080
#To Remove Proxy
adb shell settings put global http_proxy :0
Is possible to also add in the same command or another, the proxy username and password?
Atm it pops a window asking to input this info, but I would like to also add it using ADB.