@Implements(value=android.net.VpnService.class) public class ShadowVpnService extends ShadowService
| Constructor and Description | 
|---|
ShadowVpnService()  | 
| Modifier and Type | Method and Description | 
|---|---|
protected static Intent | 
prepare(Context context)  | 
protected boolean | 
protect(Socket socket)
No-ops and always return true, override to avoid call to non-existent Socket.getFileDescriptor. 
 | 
static void | 
reset()  | 
static void | 
setPrepareResult(Intent intent)
Sets the return value of #prepare(Context). 
 | 
getLastForegroundNotification, getLastForegroundNotificationId, getNotificationShouldRemoved, getStopSelfId, getStopSelfResultId, isForegroundStopped, isStoppedBySelf, onDestroy, startForeground, stopForeground, stopSelf, stopSelf, stopSelfResultclearNextStartedActivities, clearStartedServices, denyPermissions, denyPermissions, getBroadcastIntents, getNextStartedActivity, getNextStartedService, getNextStoppedService, grantPermissions, grantPermissions, peekNextStartedActivity, peekNextStartedService, removeSystemService@Implementation protected static Intent prepare(Context context)
setPrepareResult(Intent).public static void setPrepareResult(Intent intent)
Sets the return value of #prepare(Context).
@Implementation protected boolean protect(Socket socket)
No-ops and always return true, override to avoid call to non-existent Socket.getFileDescriptor.
@Resetter public static void reset()