But if the neighbors know my name then, then I'm doing something right

from Juicy J (Ft. The Weeknd) – One Of Those Nights Lyrics on Rap Genius

Meaning

The ‘neighbours know my name’ line was popularised by the song by Trey Songz.
If the neighbors know XO’s [more specifically The Weeknds] name then obviously he’s laying it down right and she’s screaming his name loudly.
He may also be referencing to how his discography is in most peoples ‘sex’ playlist, which the neighbors would inevitably hear.

To help improve the meaning of these lyrics, visit “One Of Those Nights” by Juicy J (Ft. The Weeknd) Lyrics and leave a comment on the lyrics box