/packages/modules/NetworkStack/tests/unit/src/com/android/networkstack/packets/ |
D | NeighborAdvertisementTest.java | 201 final ByteBuffer na = NeighborAdvertisement.build( in testGratuitousNa_build() local 205 assertArrayEquals(na.array(), TEST_GRATUITOUS_NA); in testGratuitousNa_build() 208 private void assertNeighborAdvertisement(final NeighborAdvertisement na, in assertNeighborAdvertisement() argument 210 assertArrayEquals(TEST_SOURCE_MAC_ADDR, na.ethHdr.srcMac.toByteArray()); in assertNeighborAdvertisement() 211 assertArrayEquals(TEST_DST_MAC_ADDR, na.ethHdr.dstMac.toByteArray()); in assertNeighborAdvertisement() 212 assertEquals(ETH_P_IPV6, na.ethHdr.etherType); in assertNeighborAdvertisement() 213 assertEquals(IPPROTO_ICMPV6, na.ipv6Hdr.nextHeader); in assertNeighborAdvertisement() 214 assertEquals(0xff, na.ipv6Hdr.hopLimit); in assertNeighborAdvertisement() 215 assertEquals(IPV6_ADDR_ALL_ROUTERS_MULTICAST, na.ipv6Hdr.dstIp); in assertNeighborAdvertisement() 216 assertEquals(TEST_SRC_ADDR, na.ipv6Hdr.srcIp); in assertNeighborAdvertisement() [all …]
|
/packages/modules/NetworkStack/tests/unit/src/com/android/networkstack/ipmemorystore/ |
D | IpMemoryStoreServiceTest.java | 164 final NetworkAttributes.Builder na = new NetworkAttributes.Builder(); in buildTestNetworkAttributes() local 166 na.setAssignedV4Address(ipAddress); in buildTestNetworkAttributes() 169 na.setAssignedV4AddressExpiry(expiry); in buildTestNetworkAttributes() 172 na.setCluster(cluster); in buildTestNetworkAttributes() 175 na.setDnsAddresses(dnsServers); in buildTestNetworkAttributes() 178 na.setMtu(mtu); in buildTestNetworkAttributes() 180 return na; in buildTestNetworkAttributes() 376 private NetworkAttributes storeAttributes(final String l2Key, final NetworkAttributes na) { 377 return storeAttributes("Did not complete storing attributes", l2Key, na); 380 final NetworkAttributes na) { [all …]
|
/packages/modules/Connectivity/tests/integration/src/com/android/server/net/integrationtests/ |
D | ConnectivityServiceIntegrationTest.kt | 296 val na = NetworkAgentWrapper(TRANSPORT_CELLULAR, LinkProperties(), null /* ncTemplate */, in testValidation() constant 298 networkStackClient.verifyNetworkMonitorCreated(na.network, TEST_TIMEOUT_MS) in testValidation() 300 na.addCapability(NET_CAPABILITY_INTERNET) in testValidation() 301 na.connect() in testValidation() 304 testCallback.expectAvailableThenValidatedCallbacks(na.network, TEST_TIMEOUT_MS) in testValidation() 313 na.destroy() in testValidation() 345 val na = NetworkAgentWrapper(TRANSPORT_CELLULAR, lp, null /* ncTemplate */, context) in testCapportApi() constant 348 networkStackClient.verifyNetworkMonitorCreated(na.network, TEST_TIMEOUT_MS) in testCapportApi() 350 na.addCapability(NET_CAPABILITY_INTERNET) in testCapportApi() 351 na.connect() in testCapportApi() [all …]
|
/packages/modules/Connectivity/tests/unit/java/com/android/server/net/ipmemorystore/ |
D | NetworkAttributesTest.java | 64 final NetworkAttributes na = in testTotalWeight() local 72 assertEquals(1.0f, na.getNetworkGroupSamenessConfidence(na), EPSILON); in testTotalWeight()
|
/packages/modules/NetworkStack/tests/integration/root/android/net/ip/ |
D | IpClientRootTest.kt | 255 val na = listener.getBlockingNetworkAttributes(timeout) in <lambda>() constant 256 assertNotNull(na) in <lambda>() 257 return na in <lambda>() 266 override fun storeNetworkAttributes(l2Key: String, na: NetworkAttributes) { in <lambda>() 267 mStore.storeNetworkAttributes(l2Key, na, null /* listener */) in <lambda>()
|
/packages/modules/Connectivity/Tethering/tests/privileged/src/android/net/ip/ |
D | DadProxyTest.java | 286 ByteBuffer na = createDadPacket(NeighborPacketForwarder.ICMPV6_NEIGHBOR_ADVERTISEMENT); in testNaForwardingFromUpstreamToTether() local 288 ByteBuffer out = copy(na); in testNaForwardingFromUpstreamToTether() 292 receivePacketAndExpectForwarded(na, mUpstreamPacketReader, out, mTetheredPacketReader); in testNaForwardingFromUpstreamToTether() 298 ByteBuffer na = createDadPacket(NeighborPacketForwarder.ICMPV6_NEIGHBOR_ADVERTISEMENT); in testNaForwardingFromTetherToUpstream() local 300 ByteBuffer out = copy(na); in testNaForwardingFromTetherToUpstream() 304 receivePacketAndExpectNotForwarded(na, mTetheredPacketReader, out, mUpstreamPacketReader); in testNaForwardingFromTetherToUpstream()
|
/packages/modules/NetworkStack/tests/integration/signature/android/net/ip/ |
D | IpClientSignatureTest.kt | 78 override fun storeNetworkAttributes(l2Key: String, na: NetworkAttributes) { in <lambda>() 81 listener.onNetworkAttributesRetrieved(Status(SUCCESS), l2Key, na) in <lambda>()
|
/packages/modules/NetworkStack/tests/integration/common/android/net/ip/ |
D | IpClientIntegrationTestCommon.java | 686 protected abstract void storeNetworkAttributes(String l2Key, NetworkAttributes na); 1241 final NetworkAttributes na = getStoredNetworkAttributes(TEST_L2KEY, TEST_TIMEOUT_MS); 1242 assertNotNull(na); 1243 assertEquals(CLIENT_ADDR, na.assignedV4Address); 1245 assertEquals(Long.MAX_VALUE, na.assignedV4AddressExpiry.longValue()); 1250 final long expiry = na.assignedV4AddressExpiry; 1254 assertEquals(Collections.singletonList(SERVER_ADDR), na.dnsAddresses); 1255 assertEquals(new Integer(mtu), na.mtu); 1395 private DhcpPacket getReplyFromDhcpLease(final NetworkAttributes na, boolean timeout) 1400 .onNetworkAttributesRetrieved(new Status(SUCCESS), TEST_L2KEY, na); [all …]
|
/packages/modules/Connectivity/Tethering/tests/unit/src/com/android/networkstack/tethering/util/ |
D | TetheringUtilsTest.java | 174 final ByteBuffer na = Ipv6Utils.buildNaPacket(mac1, mac2, ll1, ll2, 0, ll1); in testIcmpSocketFilters() local 178 ByteBuffer received = checkIcmpSocketFilter(na /* passed */, rs /* dropped */, in testIcmpSocketFilters()
|
/packages/modules/NetworkStack/src/android/net/dhcp/ |
D | DhcpClient.java | 841 final NetworkAttributes.Builder na = new NetworkAttributes.Builder(); in setLeaseExpiredToIpMemoryStore() 843 na.setAssignedV4AddressExpiry(EXPIRED_LEASE); in setLeaseExpiredToIpMemoryStore() 848 mIpMemoryStore.storeNetworkAttributes(l2Key, na.build(), listener); in setLeaseExpiredToIpMemoryStore() 854 final NetworkAttributes.Builder na = new NetworkAttributes.Builder(); in maybeSaveLeaseToIpMemoryStore() 855 na.setAssignedV4Address((Inet4Address) mDhcpLease.ipAddress.getAddress()); in maybeSaveLeaseToIpMemoryStore() 856 na.setAssignedV4AddressExpiry((mDhcpLease.leaseDuration == INFINITE_LEASE) in maybeSaveLeaseToIpMemoryStore() 859 na.setDnsAddresses(mDhcpLease.dnsServers); in maybeSaveLeaseToIpMemoryStore() 860 na.setMtu(mDhcpLease.mtu); in maybeSaveLeaseToIpMemoryStore() 865 mIpMemoryStore.storeNetworkAttributes(l2Key, na.build(), listener); in maybeSaveLeaseToIpMemoryStore()
|
/packages/inputmethods/LatinIME/dictionaries/ |
D | tr_wordlist.combined.gz | 1dictionary=main:tr,locale=tr,description=Türkçe,date=1414726261, ... |
D | cs_wordlist.combined.gz |
|
D | sl_wordlist.combined.gz | ... ,flags=,originalFreq=213
5 word=na,f=205,flags=,originalFreq= ... |
D | lv_wordlist.combined.gz | 1dictionary=main:lv,locale=lv,description=Latviešu,date=1393228136, ... |
D | hr_wordlist.combined.gz | ... ,flags=,originalFreq=206
6 word=na,f=203,flags=,originalFreq= ... |
D | en_emoji.combined.gz | 1dictionary=emoji:en,description=Emoji for English words,locale=en,date ... |
D | fr_emoji.combined.gz | 1dictionary=emoji:fr,description=Emoji pour mots français,locale=fr,date ... |
D | pl_wordlist.combined.gz |
|
/packages/modules/NetworkStack/src/com/android/networkstack/ipmemorystore/ |
D | IpMemoryStoreService.java | 174 final NetworkAttributes na = null == attributes ? null : new NetworkAttributes(attributes); in storeNetworkAttributes() local 177 final int code = storeNetworkAttributesAndBlobSync(l2Key, na, in storeNetworkAttributes()
|
/packages/modules/Bluetooth/system/stack/smp/ |
D | smp_utils.cc | 1582 Octet16 na; in smp_calculate_f5_mackey_and_long_term_key() local 1590 na = p_cb->rand; in smp_calculate_f5_mackey_and_long_term_key() 1595 na = p_cb->rrand; in smp_calculate_f5_mackey_and_long_term_key() 1599 crypto_toolbox::f5(p_cb->dhkey, na, nb, a, b, &p_cb->mac_key, &p_cb->ltk); in smp_calculate_f5_mackey_and_long_term_key()
|
/packages/modules/Connectivity/framework/src/android/net/ |
D | IConnectivityManager.aidl | 149 Network registerNetworkAgent(in INetworkAgent na, in NetworkInfo ni, in LinkProperties lp, in registerNetworkAgent() argument
|
D | ConnectivityManager.java | 3958 public Network registerNetworkAgent(@NonNull INetworkAgent na, @NonNull NetworkInfo ni, in registerNetworkAgent() argument 3961 return registerNetworkAgent(na, ni, lp, nc, null /* localNetworkConfig */, score, config, in registerNetworkAgent() 3973 public Network registerNetworkAgent(@NonNull INetworkAgent na, @NonNull NetworkInfo ni, in registerNetworkAgent() argument 3978 return mService.registerNetworkAgent(na, ni, lp, nc, score, localNetworkConfig, config, in registerNetworkAgent()
|
/packages/modules/Connectivity/service/src/com/android/server/connectivity/ |
D | NetworkAgentInfo.java | 631 public NetworkAgentInfo(INetworkAgent na, Network net, NetworkInfo info, in NetworkAgentInfo() argument 646 networkAgent = na; in NetworkAgentInfo()
|
/packages/modules/DnsResolver/ |
D | getaddrinfo.cpp | 1028 unsigned long int na = ntohl(addr4->sin_addr.s_addr); in _get_scope() local 1030 if (IN_LOOPBACK(na) || /* 127.0.0.0/8 */ in _get_scope() 1031 (na & 0xffff0000) == 0xa9fe0000) { /* 169.254.0.0/16 */ in _get_scope()
|
/packages/modules/Connectivity/service/src/com/android/server/ |
D | ConnectivityService.java | 8829 public Network registerNetworkAgent(INetworkAgent na, 8864 return registerNetworkAgentInternal(na, networkInfo, linkProperties, 8872 private Network registerNetworkAgentInternal(INetworkAgent na, NetworkInfo networkInfo, 8889 final NetworkAgentInfo nai = new NetworkAgentInfo(na,
|