Searched refs:InterfaceMapValue (Results 1 – 4 of 4) sorted by relevance
41 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()
59 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()
40 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()
25 public class InterfaceMapValue extends Struct { class31 public InterfaceMapValue(String iface) { in InterfaceMapValue() method in InterfaceMapValue43 public InterfaceMapValue(final byte[] ifName) { in InterfaceMapValue() method in InterfaceMapValue