Home
last modified time | relevance | path

Searched refs:addr1 (Results 1 – 4 of 4) sorted by relevance

/packages/apps/Gallery2/src/com/android/gallery3d/util/
DReverseGeocoder.java101 Address addr1 = lookupAddress(setMinLatitude, setMinLongitude, true); in computeAddress() local
103 if (addr1 == null) in computeAddress()
104 addr1 = addr2; in computeAddress()
106 addr2 = addr1; in computeAddress()
107 if (addr1 == null || addr2 == null) { in computeAddress()
142 String addr1Locality = checkNull(addr1.getLocality()); in computeAddress()
144 String addr1AdminArea = checkNull(addr1.getAdminArea()); in computeAddress()
146 String addr1CountryCode = checkNull(addr1.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/
Dresolv_integration_test.cpp4538 const std::string addr1 = getUniqueIPv4Address(); // For a workable DNS server. in TEST_F() local
4552 test::DNSResponder dns1(addr1); in TEST_F()
4556 test::DnsTlsFrontend workableTls(addr1, "853", addr1, "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()
4641 EXPECT_FALSE(hasUncaughtPrivateDnsValidation(addr1)); in TEST_F()
[all …]
/packages/modules/DnsResolver/
Dresolv_tls_unit_test.cpp796 sockaddr_in6* addr1 = reinterpret_cast<sockaddr_in6*>(&s1.ss); in TEST_F() local
797 addr1->sin6_scope_id = 1; in TEST_F()
809 sockaddr_in6* addr1 = reinterpret_cast<sockaddr_in6*>(&s1.ss); in TEST_F() local
810 addr1->sin6_flowinfo = 1; in TEST_F()
/packages/modules/NetworkStack/tests/integration/src/android/net/ip/
DIpClientIntegrationTest.java1636 final String addr1 = "192.0.2.99";
1656 mNetd.interfaceAddAddress(iface, addr1, prefixLength);