Home
last modified time | relevance | path

Searched refs:addr1 (Results 1 – 6 of 6) 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/services/Iwlan/test/com/google/android/iwlan/epdg/
DEpdgSelectorTest.java215 final String addr1 = "epdg.epc.mnc480.mcc310.pub.3gppnetwork.org"; in testCarrierConfigStaticAddressList() local
218 final String testStaticAddress = addr1 + "," + addr2 + "," + addr3; in testCarrierConfigStaticAddressList()
219 when(mMockNetwork.getAllByName(eq(addr1))) in testCarrierConfigStaticAddressList()
/packages/modules/DnsResolver/tests/
Dresolv_integration_test.cpp5233 const std::string addr1 = getUniqueIPv4Address(); // For a workable DNS server. in TEST_F() local
5247 test::DNSResponder dns1(addr1); in TEST_F()
5251 test::DnsTlsFrontend workableTls(addr1, "853", addr1, "53"); in TEST_F()
5260 parcel.servers = {addr1, addr2, unusable_addr}; in TEST_F()
5261 parcel.tlsServers = {addr1, addr2, unusable_addr}; in TEST_F()
5275 {{addr1, addr2, unusable_addr}, ""}, in TEST_F()
5276 {{unusable_addr, addr1, addr2}, ""}, in TEST_F()
5277 {{unusable_addr, addr1, addr2}, kDefaultPrivateDnsHostName}, in TEST_F()
5278 {{addr1, addr2, unusable_addr}, kDefaultPrivateDnsHostName}, in TEST_F()
5349 EXPECT_FALSE(hasUncaughtPrivateDnsValidation(addr1)); in TEST_F()
[all …]
Dresolv_tls_unit_test.cpp836 sockaddr_in6* addr1 = reinterpret_cast<sockaddr_in6*>(&s1.ss); in TEST_F() local
837 addr1->sin6_scope_id = 1; in TEST_F()
849 sockaddr_in6* addr1 = reinterpret_cast<sockaddr_in6*>(&s1.ss); in TEST_F() local
850 addr1->sin6_flowinfo = 1; in TEST_F()
/packages/modules/Connectivity/Tethering/tests/unit/src/com/android/networkstack/tethering/
DPrivateAddressCoordinatorTest.java347 final LinkAddress addr1 = requestDownstreamAddress(mHotspotIpServer, in testChooseAvailablePrefix() local
349 assertEquals("Wrong prefix: ", new LinkAddress("192.168.135.5/24"), addr1); in testChooseAvailablePrefix()
/packages/modules/NetworkStack/tests/integration/src/android/net/ip/
DIpClientIntegrationTestCommon.java1797 final String addr1 = "192.0.2.99";
1817 mNetd.interfaceAddAddress(iface, addr1, prefixLength);