Aliases for Most Useful Android Emulator Networking Commands

I have recently posted about how to throttle android emulator via custom networking parameters. However it may be quite tedious to type that every time we want to throttle the networking. Aliases to the help!

alias android-network-throttle="echo 'network delay 4000' | nc localhost 5554 && echo 'network speed 6 6' | nc localhost 5554"

alias android-network-reset="echo 'network delay 0' | nc localhost 5554 && echo 'network speed 0' | nc localhost 5554"

alias android-network-status="echo 'network status' | nc localhost 5554"

With ohmyzsh which will complete the aliases it’s pure delight.