Searched refs:addr2 (Results 1 – 4 of 4) sorted by relevance
/packages/apps/Gallery2/src/com/android/gallery3d/util/ |
D | ReverseGeocoder.java | 102 Address addr2 = lookupAddress(setMaxLatitude, setMaxLongitude, true); in computeAddress() local 104 addr1 = addr2; in computeAddress() 105 if (addr2 == null) in computeAddress() 106 addr2 = addr1; in computeAddress() 107 if (addr1 == null || addr2 == null) { in computeAddress() 143 String addr2Locality = checkNull(addr2.getLocality()); in computeAddress() 145 String addr2AdminArea = checkNull(addr2.getAdminArea()); in computeAddress() 147 String addr2CountryCode = checkNull(addr2.getCountryCode()); in computeAddress() 174 closestCommonLocation = valueIfEqual(addr1.getAddressLine(0), addr2.getAddressLine(0)); in computeAddress() 183 closestCommonLocation = valueIfEqual(addr1.getThoroughfare(), addr2.getThoroughfare()); in computeAddress() [all …]
|
/packages/modules/DnsResolver/tests/ |
D | resolv_integration_test.cpp | 4539 const std::string addr2 = getUniqueIPv4Address(); // For an unresponsive DNS server. in TEST_F() local 4553 test::DNSResponder dns2(addr2); in TEST_F() 4557 test::DnsTlsFrontend unresponsiveTls(addr2, "853", addr2, "53"); in TEST_F() 4564 parcel.servers = {addr1, addr2, unusable_addr}; in TEST_F() 4565 parcel.tlsServers = {addr1, addr2, unusable_addr}; in TEST_F() 4577 {{addr1, addr2, unusable_addr}, ""}, in TEST_F() 4578 {{unusable_addr, addr1, addr2}, ""}, in TEST_F() 4579 {{unusable_addr, addr1, addr2}, kDefaultPrivateDnsHostName}, in TEST_F() 4580 {{addr1, addr2, unusable_addr}, kDefaultPrivateDnsHostName}, in TEST_F() 4642 EXPECT_FALSE(hasUncaughtPrivateDnsValidation(addr2)); in TEST_F() [all …]
|
/packages/modules/DnsResolver/ |
D | resolv_tls_unit_test.cpp | 798 sockaddr_in6* addr2 = reinterpret_cast<sockaddr_in6*>(&s2.ss); in TEST_F() local 799 addr2->sin6_scope_id = 2; in TEST_F() 811 sockaddr_in6* addr2 = reinterpret_cast<sockaddr_in6*>(&s2.ss); in TEST_F() local 812 addr2->sin6_flowinfo = 2; in TEST_F()
|
/packages/modules/NetworkStack/tests/integration/src/android/net/ip/ |
D | IpClientIntegrationTest.java | 1637 final String addr2 = "192.0.2.3"; 1644 final LinkAddress trigger = new LinkAddress(addr2 + "/" + prefixLength); 1657 mNetd.interfaceAddAddress(iface, addr2, prefixLength); 1658 assertTrue("Trigger IP address " + addr2 + " not seen after " + TEST_TIMEOUT_MS + "ms",
|