Home
last modified time | relevance | path

Searched refs:addr1 (Results 1 – 10 of 10) 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/Bluetooth/system/gd/hci/
Daddress_unittest.cc209 Address addr1{{0x01, 0x02, 0x03, 0x04, 0x05, 0x06}}; in TEST() local
213 ASSERT_EQ(hasher(addr1), hasher(addr2)); in TEST()
217 data[addr1] = 5; in TEST()
219 ASSERT_EQ(data[addr1], data[addr2]); in TEST()
223 Address addr1{{0x01, 0x02, 0x03, 0x04, 0x05, 0x06}}; in TEST() local
225 ASSERT_NE(hasher(addr1), hasher(Address::kEmpty)); in TEST()
229 Address addr1{{0x01, 0x02, 0x03, 0x04, 0x05, 0x06}}; in TEST() local
231 ASSERT_NE(hasher(addr1), hasher(Address::kAny)); in TEST()
Daddress_with_type_test.cc33 Address addr1{{0x01, 0x02, 0x03, 0x04, 0x05, 0x06}}; in TEST() local
35 AddressWithType address_with_type_1(addr1, type1); in TEST()
59 Address addr1{{0x01, 0x02, 0x03, 0x04, 0x05, 0x06}}; in TEST() local
61 AddressWithType address_with_type_1(addr1, type1); in TEST()
/packages/services/Iwlan/test/com/google/android/iwlan/epdg/
DEpdgSelectorTest.java526 final String addr1 = "epdg.epc.mnc480.mcc310.pub.3gppnetwork.org"; in testCarrierConfigStaticAddressList() local
529 final String testStaticAddress = addr1 + "," + addr2 + "," + addr3; in testCarrierConfigStaticAddressList()
531 mFakeDns.setAnswer(addr1, new String[] {TEST_IP_ADDRESS_1}, TYPE_A); in testCarrierConfigStaticAddressList()
750 final String addr1 = "epdg.epc.mnc120.mcc300.pub.3gppnetwork.org"; in testGetValidatedServerListIpv4Preferred() local
752 final String testStaticAddress = addr1 + "," + addr2; in testGetValidatedServerListIpv4Preferred()
754 mFakeDns.setAnswer(addr1, new String[] {TEST_IP_ADDRESS_1}, TYPE_A); in testGetValidatedServerListIpv4Preferred()
781 final String addr1 = "epdg.epc.mnc120.mcc300.pub.3gppnetwork.org"; in testGetValidatedServerListIpv6Preferred() local
783 final String testStaticAddress = addr1 + "," + addr2; in testGetValidatedServerListIpv6Preferred()
785 mFakeDns.setAnswer(addr1, new String[] {TEST_IP_ADDRESS_1}, TYPE_A); in testGetValidatedServerListIpv6Preferred()
812 final String addr1 = "epdg.epc.mnc120.mcc300.pub.3gppnetwork.org"; in testGetValidatedServerListIpv4Only() local
[all …]
/packages/modules/Bluetooth/system/btcore/test/
Dproperty_test.cc45 const RawAddress* addr1 = property_as_addr(property); in TEST_F() local
46 EXPECT_EQ(addr0.address[0], addr1->address[0]); in TEST_F()
209 RawAddress addr1 = {{0x1, 0x2, 0x3, 0x4, 0x5, 0xff}}; in TEST_F() local
210 bt_property_t* property1 = property_new_addr(&addr1); in TEST_F()
/packages/modules/DnsResolver/tests/
Dresolv_integration_test.cpp4933 const std::string addr1 = getUniqueIPv4Address(); in TEST_F() local
4935 test::DNSResponder dns1(addr1); in TEST_F()
4937 test::DnsTlsFrontend dot1(addr1, "853", addr1, "53"); in TEST_F()
4956 parcel.servers = {addr1, addr2}; in TEST_F()
4957 parcel.tlsServers = {addr1, addr2}; in TEST_F()
5226 const std::string addr1 = getUniqueIPv4Address(); in TEST_F() local
5228 test::DNSResponder dns1(addr1); in TEST_F()
5230 test::DnsTlsFrontend dot1(addr1, "853", addr1, "53"); in TEST_F()
5274 parcel.servers = {addr1, addr2}; in TEST_F()
5275 parcel.tlsServers = {addr1, addr2}; in TEST_F()
[all …]
/packages/modules/NetworkStack/tests/integration/signature/android/net/util/
DNetworkStackUtilsIntegrationTest.kt219 val addr1 = NetworkStackUtils.ipv6AddressToSolicitedNodeMulticast(TEST_INET6ADDR_1) in testConvertIpv6AddressToSolicitedNodeMulticast() constant
220 assertSolicitedNodeMulticastAddress(addr1, TEST_INET6ADDR_1) in testConvertIpv6AddressToSolicitedNodeMulticast()
/packages/modules/Bluetooth/system/gd/rust/common/src/
Dparameter_provider.rs268 let addr1 = Arc::clone(&address1); in test_bt_keystore_interface() localVariable
273 let mut a1 = addr1.lock().await; in test_bt_keystore_interface()
/packages/modules/Connectivity/Tethering/tests/unit/src/com/android/networkstack/tethering/
DPrivateAddressCoordinatorTest.java355 final LinkAddress addr1 = requestDownstreamAddress(mHotspotIpServer, in testChooseAvailablePrefix() local
357 assertEquals("Wrong prefix: ", new LinkAddress("192.168.135.5/24"), addr1); in testChooseAvailablePrefix()
/packages/modules/NetworkStack/tests/integration/common/android/net/ip/
DIpClientIntegrationTestCommon.java2224 private void waitForAddressViaNetworkObserver(final String iface, final String addr1,
2244 mNetd.interfaceAddAddress(iface, addr1, prefixLength);
2254 final String addr1 = "192.0.2.99";
2259 waitForAddressViaNetworkObserver(iface, addr1, addr2, prefixLength);
2264 mNetd.interfaceAddAddress(iface, addr1, prefixLength);