Just to clear things up, Aziz Ansari is the actor who portrays Randy in the film,
Funny People, as well as Tom Haverford on
Parks and Recreation (NBC). The "mockumentary" of Ansari as Randy is something that was done for fun to prepare for the film.
You can check out Aziz Ansari at his website,
http://azizisbored.tumblr.com/.