Home
last modified time | relevance | path

Searched refs:Address (Results 1 – 25 of 53) sorted by relevance

123

/frameworks/base/tests/net/common/java/android/net/
DRouteInfoTest.java32 private InetAddress Address(String addr) { in Address() method in RouteInfoTest
51 r = new RouteInfo((IpPrefix) null, Address("2001:db8::1"), null); in testConstructor()
53 assertEquals(Address("2001:db8::1"), r.getGateway()); in testConstructor()
56 r = new RouteInfo((IpPrefix) null, Address("192.0.2.1"), "wlan0"); in testConstructor()
58 assertEquals(Address("192.0.2.1"), r.getGateway()); in testConstructor()
64 assertEquals(Address("::"), r.getGateway()); in testConstructor()
69 assertEquals(Address("0.0.0.0"), r.getGateway()); in testConstructor()
89 assertTrue(r.matches(Address("2001:db8:f00::ace:d00c"))); in testMatches()
90 assertTrue(r.matches(Address("2001:db8:f00::ace:d00d"))); in testMatches()
91 assertFalse(r.matches(Address("2001:db8:f00::ace:d00e"))); in testMatches()
[all …]
DLinkPropertiesTest.java79 private InetAddress Address(String addrString) { in Address() method in LinkPropertiesTest
226 target.addLinkAddress(new LinkAddress(Address("75.208.6.2"), 32)); in testEqualsSameOrder()
241 target.addDnsServer(Address("75.208.7.2")); in testEqualsSameOrder()
253 target.addDnsServer(Address("75.208.7.2")); in testEqualsSameOrder()
256 target.addPcscfServer(Address("2001::1")); in testEqualsSameOrder()
269 target.addRoute(new RouteInfo(Address("75.208.8.2"))); in testEqualsSameOrder()
347 LinkAddress prefix = new LinkAddress(Address("2001:db8::"), 32); in testRouteInterfaces()
754 final InetAddress kLinkLocalDns = Address("fe80::6:1"); in testIsReachable()
755 final InetAddress kLinkLocalDnsWithScope = Address("fe80::6:2%43"); in testIsReachable()
756 final InetAddress kOnLinkDns = Address("2001:db8:85a3::53"); in testIsReachable()
[all …]
/frameworks/compile/mclinker/include/mcld/Fragment/
DRelocation.h31 typedef uint64_t Address; // FIXME: use SizeTrait<T>::Address instead typedef
42 Address pAddend,
63 Address pAddend = 0);
72 Address symValue() const;
75 Address addend() const { return m_Addend; } in addend()
78 Address place() const;
104 void setAddend(Address pAddend);
122 Address m_Addend;
/frameworks/base/location/java/android/location/
DGeocoder.java20 import android.location.Address;
123 public List<Address> getFromLocation(double latitude, double longitude, int maxResults) in getFromLocation()
132 List<Address> results = new ArrayList<Address>(); in getFromLocation()
169 … public List<Address> getFromLocationName(String locationName, int maxResults) throws IOException { in getFromLocationName()
174 List<Address> results = new ArrayList<Address>(); in getFromLocationName()
223 public List<Address> getFromLocationName(String locationName, int maxResults, in getFromLocationName()
246 ArrayList<Address> result = new ArrayList<Address>(); in getFromLocationName()
DIGeocodeProvider.aidl19 import android.location.Address;
31 in GeocoderParams params, out List<Address> addrs); in getFromLocation()
37 in GeocoderParams params, out List<Address> addrs); in getFromLocationName()
DAddress.java34 public class Address implements Parcelable { class
63 public Address(Locale locale) { in Address() method in Address
475 public static final @android.annotation.NonNull Parcelable.Creator<Address> CREATOR =
476 new Parcelable.Creator<Address>() {
477 public Address createFromParcel(Parcel in) {
483 Address a = new Address(locale);
524 public Address[] newArray(int size) {
525 return new Address[size];
DILocationManager.aidl20 import android.location.Address;
59 in GeocoderParams params, out List<Address> addrs); in getFromLocation()
63 in GeocoderParams params, out List<Address> addrs); in getFromLocationName()
DAddress.aidl19 parcelable Address;
/frameworks/base/location/lib/java/com/android/location/provider/
DGeocodeProvider.java21 import android.location.Address;
42 GeocoderParams params, List<Address> addrs) {
50 GeocoderParams params, List<Address> addrs) {
63 GeocoderParams params, List<Address> addrs); in onGetFromLocation()
73 GeocoderParams params, List<Address> addrs); in onGetFromLocationName()
/frameworks/compile/mclinker/lib/Target/AArch64/
DAArch64RelocationHelpers.h32 static inline Relocator::Address helper_get_page_address( in helper_get_page_address()
33 Relocator::Address pValue) { in helper_get_page_address()
34 return (pValue & ~(Relocator::Address)0xFFF); in helper_get_page_address()
37 static inline Relocator::Address helper_get_page_offset( in helper_get_page_offset()
38 Relocator::Address pValue) { in helper_get_page_offset()
39 return (pValue & (Relocator::Address)0xFFF); in helper_get_page_offset()
84 static inline Relocator::Address helper_get_PLT_address( in helper_get_PLT_address()
145 static inline Relocator::Address helper_get_GOT_address( in helper_get_GOT_address()
153 static inline Relocator::Address helper_GOT_ORG(AArch64Relocator& pParent) { in helper_GOT_ORG()
DAArch64Relocator.cpp510 Relocator::Address S = pReloc.symValue(); in rel()
542 Relocator::Address value = 0x0; in add_abs_lo12()
543 Relocator::Address S = pReloc.symValue(); in add_abs_lo12()
555 Relocator::Address S = pReloc.symValue(); in adr_prel_lo21()
574 Relocator::Address S = pReloc.symValue(); in adr_prel_pg_hi21()
603 Relocator::Address S = pReloc.symValue(); in call()
605 Relocator::Address P = pReloc.place(); in call()
632 Relocator::Address S = pReloc.symValue(); in condbr()
634 Relocator::Address P = pReloc.place(); in condbr()
654 Relocator::Address GOT_S = helper_get_GOT_address(*pReloc.symInfo(), pParent); in adr_got_page()
[all …]
/frameworks/compile/mclinker/lib/Fragment/
DRelocation.cpp49 Address pAddend) { in Create()
68 Relocation::Address pAddend, in Relocation()
81 Relocation::Address Relocation::place() const { in place()
82 Address sect_addr = m_TargetAddress.frag()->getParent()->getSection().addr(); in place()
86 Relocation::Address Relocation::symValue() const { in symValue()
130 void Relocation::setAddend(Address pAddend) { in setAddend()
/frameworks/base/location/tests/locationtests/src/android/location/
DGeocoderTest.java19 import android.location.Address;
38 List<Address> addresses1 = g.getFromLocation(37.435067, -122.166767, 2); in testGeocoder()
42 Address addr = addresses1.get(0); in testGeocoder()
49 List<Address> addresses2 = g.getFromLocationName("San Francisco, CA", 1); in testGeocoder()
/frameworks/compile/mclinker/lib/Target/Mips/
DMipsRelocator.h94 Address getGPAddress();
98 Address getTPOffset();
102 Address getDTPOffset();
106 Address getGP0();
122 Address getGOTOffset(MipsRelocationInfo& pReloc);
125 Address getTLSGOTOffset(MipsRelocationInfo& pReloc);
/frameworks/compile/mclinker/include/mcld/LD/
DRelocationFactory.h29 typedef Relocation::Address Address; typedef
43 Relocation* produce(Type pType, FragmentRef& pFragRef, Address pAddend = 0);
DRelocator.h27 typedef Relocation::Address Address; typedef
/frameworks/compile/mclinker/lib/LD/
DEhFrameHdr.cpp27 typedef std::pair<SizeTraits<32>::Address, SizeTraits<32>::Address> Entry;
89 SizeTraits<32>::Address fde_pc; in emitOutput()
90 SizeTraits<32>::Address fde_addr; in emitOutput()
167 SizeTraits<32>::Address pc = 0x0; in computePCBegin()
/frameworks/compile/mclinker/lib/Target/ARM/
DARMRelocator.cpp74 static Relocator::Address helper_get_GOT_address(ResolveInfo& pSym, in helper_get_GOT_address()
114 static Relocator::Address helper_GOT_ORG(ARMRelocator& pParent) { in helper_GOT_ORG()
118 static Relocator::Address helper_get_PLT_address(ResolveInfo& pSym, in helper_get_PLT_address()
826 Relocator::Address S = pReloc.symValue(); in rel32()
859 Relocator::Address GOT_ORG = helper_GOT_ORG(pParent); in gotoff32()
860 Relocator::Address S = pReloc.symValue(); in gotoff32()
873 Relocator::Address GOT_S = helper_get_GOT_address(*pReloc.symInfo(), pParent); in got_brel()
875 Relocator::Address GOT_ORG = helper_GOT_ORG(pParent); in got_brel()
891 Relocator::Address GOT_S = helper_get_GOT_address(*pReloc.symInfo(), pParent); in got_prel()
893 Relocator::Address P = pReloc.place(); in got_prel()
[all …]
/frameworks/base/services/core/java/com/android/server/location/
DGeocoderProxy.java20 import android.location.Address;
68 GeocoderParams params, List<Address> addrs) { in getFromLocation()
78 GeocoderParams params, List<Address> addrs) { in getFromLocationName()
/frameworks/rs/script_api/include/
Drs_atomic.rsh45 * addr: Address of the value to modify.
67 * addr: Address of the value to modify.
92 * addr: Address of the value to compare and replace if the test passes.
114 * addr: Address of the value to decrement.
134 * addr: Address of the value to increment.
155 * addr: Address of the value to modify.
177 * addr: Address of the value to modify.
199 * addr: Address of the value to modify.
220 * addr: Address of the value to modify.
242 * addr: Address of the value to modify.
/frameworks/compile/mclinker/lib/Target/X86/
DX86Relocator.cpp88 static Relocator::Address helper_GOT_ORG(X86_32Relocator& pParent) { in helper_GOT_ORG()
92 static Relocator::Address helper_get_GOT_address(Relocation& pReloc, in helper_get_GOT_address()
123 static Relocator::Address helper_get_PLT_address(ResolveInfo& pSym, in helper_get_PLT_address()
935 Relocator::Address GOT_ORG = helper_GOT_ORG(pParent); in gotoff32()
936 Relocator::Address S = pReloc.symValue(); in gotoff32()
945 Relocator::Address GOT_ORG = helper_GOT_ORG(pParent); in gotpc32()
964 Relocator::Address GOT_S = helper_get_GOT_address(pReloc, pParent); in got32()
966 Relocator::Address GOT_ORG = helper_GOT_ORG(pParent); in got32()
975 Relocator::Address PLT_S; in plt32()
981 Relocator::Address P = pReloc.place(); in plt32()
[all …]
/frameworks/compile/mclinker/lib/Target/Hexagon/
DHexagonRelocator.cpp84 static Relocator::Address helper_get_GOT_address(ResolveInfo& pSym, in helper_get_GOT_address()
114 static Relocator::Address helper_get_PLT_address(ResolveInfo& pSym, in helper_get_PLT_address()
507 Relocator::Address S = pReloc.symValue(); in applyAbs()
697 Relocator::Address S = pReloc.symValue(); in relocAbs()
739 Relocator::Address S = pReloc.symValue(); in relocPCREL()
768 Relocator::Address S = pReloc.symValue(); in relocGPREL()
820 Relocator::Address PLT_S; in relocPLTB22PCREL()
825 Relocator::Address P = pReloc.place(); in relocPLTB22PCREL()
846 Relocator::Address GOT_S = helper_get_GOT_address(*pReloc.symInfo(), pParent); in relocGOT()
847 Relocator::Address GOT = pParent.getTarget().getGOTSymbolAddr(); in relocGOT()
[all …]
/frameworks/base/wifi/java/android/net/wifi/rtt/
DCivicLocation.java20 import android.location.Address;
183 public Address toAddress() { in toAddress()
187 Address address = new Address(Locale.US); in toAddress()
/frameworks/opt/net/voip/src/java/android/net/sip/
DSipProfile.java30 import javax.sip.address.Address;
53 private Address mAddress;
312 mAddress = (Address) in.readSerializable(); in SipProfile()
376 public Address getSipAddress() { in getSipAddress()
/frameworks/native/libs/vr/libdisplay/include/private/dvr/
Dshared_buffer_helpers.h33 void* Address() const { return address_; } in Address() function
34 bool IsMapped() const { return Address() != nullptr; } in IsMapped()

123