Make Ethernet interfaces more testable. am: 4574935dca
Change-Id: I4b8093f656a2286e48018e29c3d33e23d875742f
This commit is contained in:
@@ -30,6 +30,18 @@ import com.android.internal.util.Preconditions;
|
||||
*/
|
||||
@TestApi
|
||||
public class TestNetworkManager {
|
||||
/**
|
||||
* Prefix for tun interfaces created by this class.
|
||||
* @hide
|
||||
*/
|
||||
public static final String TEST_TUN_PREFIX = "testtun";
|
||||
|
||||
/**
|
||||
* Prefix for tap interfaces created by this class.
|
||||
* @hide
|
||||
*/
|
||||
public static final String TEST_TAP_PREFIX = "testtap";
|
||||
|
||||
@NonNull private static final String TAG = TestNetworkManager.class.getSimpleName();
|
||||
|
||||
@NonNull private final ITestNetworkManager mService;
|
||||
|
||||
Reference in New Issue
Block a user