Home
last modified time | relevance | path

Searched refs:pio (Results 1 – 17 of 17) sorted by relevance

/packages/modules/Connectivity/staticlibs/device/com/android/net/module/util/netlink/
DStructNdOptPio.java84 final PrefixInformationOption pio = Struct.parse(PrefixInformationOption.class, buf); in parse() local
85 if (pio.type != TYPE) { in parse()
86 throw new IllegalArgumentException("Invalid type " + pio.type); in parse()
88 if (pio.length != LENGTH) { in parse()
89 throw new IllegalArgumentException("Invalid length " + pio.length); in parse()
91 return new StructNdOptPio(pio.flags, pio.preferredLifetime, pio.validLifetime, in parse()
92 pio.getIpPrefix()); in parse()
/packages/modules/Connectivity/staticlibs/tests/unit/src/com/android/net/module/util/
DIpv6UtilsTest.java109 PrefixInformationOption pio = Struct.parse(PrefixInformationOption.class, b); in testBuildRaPacket() local
110 assertPioEquals(pio, "2001:db8:1::/64", pioFlags, 3600, 1800); in testBuildRaPacket()
111 pio = Struct.parse(PrefixInformationOption.class, b); in testBuildRaPacket()
112 assertPioEquals(pio, "fdcd:a17f:6502:1::/64", pioFlags, 86400, 86400); in testBuildRaPacket()
149 private void assertPioEquals(PrefixInformationOption pio, String prefix, byte flags, in assertPioEquals() argument
151 assertEquals(NetworkStackConstants.ICMPV6_ND_OPTION_PIO, pio.type); in assertPioEquals()
152 assertEquals(4, pio.length); in assertPioEquals()
153 assertEquals(flags, pio.flags); in assertPioEquals()
154 assertEquals(valid, pio.validLifetime); in assertPioEquals()
155 assertEquals(preferred, pio.preferredLifetime); in assertPioEquals()
[all …]
/packages/modules/Connectivity/staticlibs/tests/unit/src/com/android/net/module/util/netlink/
DStructNdOptPioTest.java118 final StructNdOptPio pio = in testToByteBuffer() local
121 assertToByteBufferMatches(pio, PIO_BYTES); in testToByteBuffer()
126 final StructNdOptPio pio = in testToByteBuffer_withPFlag() local
129 assertToByteBufferMatches(pio, PIO_WITH_P_FLAG_BYTES); in testToByteBuffer_withPFlag()
134 final StructNdOptPio pio = in testToByteBuffer_infinityLifetime() local
138 assertToByteBufferMatches(pio, PIO_WITH_P_FLAG_INFINITY_LIFETIME_BYTES); in testToByteBuffer_infinityLifetime()
143 final PrefixInformationOption pio = new PrefixInformationOption(type, length, prefixLen, in makePioOption() local
145 return ByteBuffer.wrap(pio.writeToBytes(ByteOrder.BIG_ENDIAN)); in makePioOption()
/packages/modules/Connectivity/thread/tests/integration/src/android/net/thread/utils/
DInfraNetworkDevice.java116 for (PrefixInformationOption pio : options) { in runSlaac()
117 if (pio.validLifetime > 0 && pio.preferredLifetime > 0) { in runSlaac()
118 final byte[] addressBytes = pio.prefix; in runSlaac()
DIntegrationTestUtils.java256 final PrefixInformationOption pio = in getRaPios() local
258 pioList.add(pio); in getRaPios()
/packages/modules/Connectivity/Tethering/tests/privileged/src/android/net/ip/
DRouterAdvertisementDaemonTest.java202 final PrefixInformationOption pio = in isPacketMatched() local
204 assertEquals((byte) (PIO_FLAG_ON_LINK | PIO_FLAG_AUTONOMOUS), pio.flags); in isPacketMatched()
206 final InetAddress address = InetAddress.getByAddress(pio.prefix); in isPacketMatched()
207 final IpPrefix prefix = new IpPrefix(address, pio.prefixLen); in isPacketMatched()
209 assertTrue(pio.validLifetime > 0); in isPacketMatched()
210 assertTrue(pio.preferredLifetime > 0); in isPacketMatched()
212 assertEquals(0, pio.validLifetime); in isPacketMatched()
213 assertEquals(0, pio.preferredLifetime); in isPacketMatched()
/packages/modules/Connectivity/Tethering/tests/integration/base/android/net/
DTetheringTester.java339 final PrefixInformationOption pio = in getRaPrefixOptions() local
341 pioList.add(pio); in getRaPrefixOptions()
362 for (PrefixInformationOption pio : options) { in runSlaac()
363 if (pio.validLifetime > 0) { in runSlaac()
364 final byte[] addressBytes = pio.prefix; in runSlaac()
/packages/modules/NetworkStack/tests/integration/common/android/net/ip/
DIpClientIntegrationTestCommon.java2085 final ByteBuffer pio = buildPioOption(valid, preferred, "2001:db8:1::/64");
2087 sendRouterAdvertisement(waitForRs, lifetime, pio, rdnss);
2170 final ByteBuffer pio = buildPioOption(3600, 1800, "2001:db8:1::/64");
2173 final ByteBuffer ra = buildRaPacket(pio, rdnss, slla);
2224 final ByteBuffer pio = buildPioOption(600, 300, "2001:db8:1::/64");
2227 ByteBuffer ra = buildRaPacket(pio, rdnss1, rdnss2);
2238 ra = buildRaPacket(pio, rdnss1, rdnss2);
2250 ra = buildRaPacket(pio, rdnss1, rdnss2);
2267 final ByteBuffer pio = buildPioOption(600, 300, "2001:db8:1::/64");
2272 final ByteBuffer ra = buildRaPacket(pio, rdnss, slla);
[all …]
/packages/modules/NetworkStack/tests/integration/signature/android/net/util/
DNetworkStackUtilsIntegrationTest.kt186 val pio = PrefixInformationOption.build(IpPrefix("2001:db8:1::/64"), in doTestAttachRaFilter() constant
191 0 /* retransTimer */, pio) in doTestAttachRaFilter()
/packages/inputmethods/LatinIME/dictionaries/
Dpt_BR_wordlist.combined.gz1dictionary=main:pt_br,locale=pt_BR,description=Português (Brasil),date ...
Dpt_PT_wordlist.combined.gz
Dpl_wordlist.combined.gz
Dlt_wordlist.combined.gz1dictionary=main:lt,locale=lt,description=Lietuvių,date=1393228136, ...
Dit_wordlist.combined.gz1dictionary=main:it,locale=it,description=Italiano,date=1414726258, ...
Dtr_wordlist.combined.gz1dictionary=main:tr,locale=tr,description=Türkçe,date=1414726261, ...
Dde_wordlist.combined.gz1dictionary=main:de,locale=de,description=Deutsch,date=1414726263, ...
Dhr_wordlist.combined.gz1dictionary=main:hr,locale=hr,description=Hrvatski,date=1393228135, ...