Class ShadowVpnService


  • @Implements(android.net.VpnService.class)
    public class ShadowVpnService
    extends ShadowService
    • Constructor Detail

      • ShadowVpnService

        public ShadowVpnService()
    • Method Detail

      • prepare

        @Implementation
        protected static android.content.Intent prepare​(android.content.Context context)
      • setPrepareResult

        public static void setPrepareResult​(android.content.Intent intent)
        Sets the return value of #prepare(Context).
      • protect

        @Implementation
        protected boolean protect​(java.net.Socket socket)
        No-ops and always return true, override to avoid call to non-existent Socket.getFileDescriptor.
      • reset

        @Resetter
        public static void reset()