code: @TargetApi(Build.VERSION_CODES.ICE_CREAM_SANDWICH)
      public static WifiP2pManager getWifiP2pManager(Context context) {
          return (WifiP2pManager) context.getSystemService(Context.WIFI_P2P_SERVICE);
      }
docs: Get the {@link android.net.wifi.p2p.WifiP2pManager} service for this context.
  @param context the context.
  @return the {@link android.net.wifi.p2p.WifiP2pManager}