Home
last modified time | relevance | path

Searched refs:StructNdOptPref64 (Results 1 – 7 of 7) sorted by relevance

/aosp12/packages/modules/NetworkStack/tests/unit/src/android/net/netlink/
H A DStructNdOptPref64Test.java90 StructNdOptPref64 opt = StructNdOptPref64.parse(ByteBuffer.wrap(rawBytes)); in testParseCannedOption()
107 StructNdOptPref64 opt = StructNdOptPref64.parse(buf); in testParsing()
112 opt = StructNdOptPref64.parse(buf); in testParsing()
117 opt = StructNdOptPref64.parse(buf); in testParsing()
123 opt = StructNdOptPref64.parse(buf); in testParsing()
129 opt = StructNdOptPref64.parse(buf); in testParsing()
134 assertNull(StructNdOptPref64.parse(buf)); in testParsing()
136 assertNull(StructNdOptPref64.parse(buf)); in testParsing()
150 opt = StructNdOptPref64.parse(buf); in testParsing()
157 StructNdOptPref64 opt = StructNdOptPref64.parse(buf); in testToString()
[all …]
H A DNduseroptMessageTest.java242 assertTrue(opt instanceof StructNdOptPref64); in assertPref64Option()
243 StructNdOptPref64 pref64Opt = (StructNdOptPref64) opt; in assertPref64Option()
/aosp12/packages/modules/NetworkStack/common/netlinkclient/src/android/net/netlink/
H A DStructNdOptPref64.java46 public class StructNdOptPref64 extends NdOption { class
51 private static final String TAG = StructNdOptPref64.class.getSimpleName();
94 public StructNdOptPref64(@NonNull IpPrefix prefix, int lifetime) { in StructNdOptPref64() method in StructNdOptPref64
110 private StructNdOptPref64(@NonNull ByteBuffer buf) { in StructNdOptPref64() method in StructNdOptPref64
137 public static StructNdOptPref64 parse(@NonNull ByteBuffer buf) { in parse()
140 return new StructNdOptPref64(buf); in parse()
H A DNdOption.java62 case StructNdOptPref64.TYPE: in parse()
63 return StructNdOptPref64.parse(buf); in parse()
/aosp12/packages/modules/NetworkStack/src/android/net/ip/
H A DIpClientLinkObserver.java33 import android.net.netlink.StructNdOptPref64;
406 private void processPref64Option(StructNdOptPref64 opt, final long now) { in processPref64Option()
416 case StructNdOptPref64.TYPE: in processNduseroptMessage()
417 processPref64Option((StructNdOptPref64) msg.option, whenMs); in processNduseroptMessage()
/aosp12/packages/modules/NetworkStack/tests/integration/src/android/net/ip/
H A DIpClientIntegrationTestCommon.java114 import android.net.netlink.StructNdOptPref64;
1694 ByteBuffer pref64 = new StructNdOptPref64(prefix, 600).toByteBuffer();
1711 pref64 = new StructNdOptPref64(prefix, 1800).toByteBuffer();
1719 pref64 = new StructNdOptPref64(prefix, 1500).toByteBuffer();
1727 pref64 = new StructNdOptPref64(prefix, 0).toByteBuffer();
1735 pref64 = new StructNdOptPref64(prefix, 600).toByteBuffer();
1744 ByteBuffer otherPref64 = new StructNdOptPref64(otherPrefix, 1200).toByteBuffer();
1752 pref64 = new StructNdOptPref64(prefix, 0).toByteBuffer();
1769 pref64 = new StructNdOptPref64(invalidPrefix, 1200).toByteBuffer();
1775 pref64 = new StructNdOptPref64(prefix, 600).toByteBuffer();
/aosp12/frameworks/base/services/
H A Dart-profile51517 Landroid/net/netlink/StructNdOptPref64;