Home
last modified time | relevance | path

Searched refs:InterfaceMapValue (Results 1 – 4 of 4) sorted by relevance

/packages/modules/Connectivity/tests/unit/java/com/android/server/net/
DInterfaceMapValueTest.java41 final InterfaceMapValue value = new InterfaceMapValue(IF_NAME); in testInterfaceMapValueFromString()
47 final InterfaceMapValue value = new InterfaceMapValue(IF_NAME_BYTE_WITH_PADDING); in testInterfaceMapValueFromByte()
53 final InterfaceMapValue value = new InterfaceMapValue(IF_NAME_BYTE); in testInterfaceMapValueFromByteShort()
59 final InterfaceMapValue value = new InterfaceMapValue(IF_NAME_BYTE_LONG); in testInterfaceMapValueFromByteLong()
65 final InterfaceMapValue value = new InterfaceMapValue(IF_NAME_BYTE_WITH_PADDING); in testGetInterfaceNameString()
DBpfInterfaceMapHelperTest.java59 private IBpfMap<S32, InterfaceMapValue> mBpfMap =
60 spy(new TestBpfMap<>(S32.class, InterfaceMapValue.class));
64 public IBpfMap<S32, InterfaceMapValue> getInterfaceMap() { in getInterfaceMap()
77 mBpfMap.updateEntry(new S32(TEST_INDEX), new InterfaceMapValue(TEST_INTERFACE_NAME)); in testGetIfNameByIndex()
105 mBpfMap.updateEntry(new S32(TEST_INDEX), new InterfaceMapValue(TEST_INTERFACE_NAME)); in testDump()
106 mBpfMap.updateEntry(new S32(TEST_INDEX2), new InterfaceMapValue(TEST_INTERFACE_NAME2)); in testDump()
/packages/modules/Connectivity/service-t/src/com/android/server/net/
DBpfInterfaceMapHelper.java40 private final IBpfMap<S32, InterfaceMapValue> mIndexToIfaceBpfMap;
57 public IBpfMap<S32, InterfaceMapValue> getInterfaceMap() { in getInterfaceMap()
60 S32.class, InterfaceMapValue.class); in getInterfaceMap()
71 final InterfaceMapValue value = mIndexToIfaceBpfMap.getValue(new S32(index)); in getIfNameByIndex()
DInterfaceMapValue.java25 public class InterfaceMapValue extends Struct { class
31 public InterfaceMapValue(String iface) { in InterfaceMapValue() method in InterfaceMapValue
43 public InterfaceMapValue(final byte[] ifName) { in InterfaceMapValue() method in InterfaceMapValue