diff options
| author | Xiao Ma <xiaom@google.com> | 2022-04-08 18:19:39 +0900 |
|---|---|---|
| committer | Xiao Ma <xiaom@google.com> | 2022-04-21 16:57:22 +0900 |
| commit | 8bbb8089d7d5fe2ea531e70d5976796e0c3421ac (patch) | |
| tree | b6f7229212cc2f5904617a39f065c2206c26b838 /tests/common/java/android/net/LinkPropertiesTest.java | |
| parent | bebd8b0b5403cd5bed36a3035b6c08429d01c444 (diff) | |
Add a method to create a TAP interface with a given interface name.
Add a method that allows the caller to specify whether to create a
tap interface with a given specific interface name instead of the
default one. So far only the given name that starts with "v4-testtap"
or "v4-testtun" prefix is allowed. That's helpful to create a clat
interface which always has "v4-" clat prefix in the IpClient integration
test, to verify the callbacks happend on adding/removing clat interface.
Bug: 163492391
Test: atest CtsNetTestCases
Change-Id: I9ea7013fce919cafb719998a123164b5507f9ac0
Diffstat (limited to 'tests/common/java/android/net/LinkPropertiesTest.java')
0 files changed, 0 insertions, 0 deletions
