it's commonly used here in england too. "Oi" is used to get people's attention. like say your friend is walking by, you call their name and they don't respond. you'd say "Oi" a little louder. it's kinda seen as rude if you're talking to someone you don't know. it's very informal obviously.