In the Android platform, devices with Android 2.3 or Gingerbread and below support WiFi Direct only if the manufacturer decides to add on the feature and with some code modification over the Android operating system (OS) (So, if you see WiFi direct in the Settings App of your android OS then, yes you have wifi direct and you can develop applications). The LG Optimus Black, Samsung Galaxy S and Galaxy S II, Galaxy S III are examples of existing smartphones in the market that support WiFi Direct. Some Sony BRAVIA LED TVs with WiFi Direct allow media sharing via Sony Ericsson Xperia smartphones.
Google later added the WiFi Direct support in their latest Android 4.0 or Ice Cream Sandwich OS. This makes the Samsung Galaxy Nexus the first Android phone that offers native WiFi Direct without any tethering from the manufacturer.
I suggest to look at this.
EDIT: For Emulator also I don't see any settings for WI-FI Direct. I don't think you can test that on emulator. Please look at this links,
executing WIFIDirectDemo sample with multiple android emulators