Home
last modified time | relevance | path

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

123

/frameworks/base/core/tests/coretests/src/android/net/
DRouteInfoTest.java31 private InetAddress Address(String addr) { in Address() method in RouteInfoTest
50 r = new RouteInfo((IpPrefix) null, Address("2001:db8::1"), null); in testConstructor()
52 assertEquals(Address("2001:db8::1"), r.getGateway()); in testConstructor()
55 r = new RouteInfo((IpPrefix) null, Address("192.0.2.1"), "wlan0"); in testConstructor()
57 assertEquals(Address("192.0.2.1"), r.getGateway()); in testConstructor()
63 assertEquals(Address("::"), r.getGateway()); in testConstructor()
68 assertEquals(Address("0.0.0.0"), r.getGateway()); in testConstructor()
88 assertTrue(r.matches(Address("2001:db8:f00::ace:d00c"))); in testMatches()
89 assertTrue(r.matches(Address("2001:db8:f00::ace:d00d"))); in testMatches()
90 assertFalse(r.matches(Address("2001:db8:f00::ace:d00e"))); in testMatches()
[all …]
DIpPrefixTest.java32 private static InetAddress Address(String addr) { in Address() method in IpPrefixTest
218 assertTrue(p.contains(Address("2001:db8:f00::ace:d00c"))); in testContains()
219 assertTrue(p.contains(Address("2001:db8:f00::ace:d00d"))); in testContains()
220 assertFalse(p.contains(Address("2001:db8:f00::ace:d00e"))); in testContains()
221 assertFalse(p.contains(Address("2001:db8:f00::bad:d00d"))); in testContains()
222 assertFalse(p.contains(Address("2001:4868:4860::8888"))); in testContains()
224 assertFalse(p.contains(Address("8.8.8.8"))); in testContains()
227 assertTrue(p.contains(Address("192.0.2.43"))); in testContains()
228 assertTrue(p.contains(Address("192.0.3.21"))); in testContains()
229 assertFalse(p.contains(Address("192.0.0.21"))); in testContains()
[all …]
DNetworkUtilsTest.java29 private InetAddress Address(String addr) { in Address() method in NetworkUtilsTest
34 return (Inet4Address) Address(addr); in IPv4Address()
/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;
30 in GeocoderParams params, out List<Address> addrs); in getFromLocation()
35 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 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;
56 in GeocoderParams params, out List<Address> addrs); in getFromLocation()
60 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;
41 GeocoderParams params, List<Address> addrs) {
49 GeocoderParams params, List<Address> addrs) {
62 GeocoderParams params, List<Address> addrs); in onGetFromLocation()
72 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/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/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/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/rs/scriptc/
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/base/services/core/java/com/android/server/location/
DGeocoderProxy.java20 import android.location.Address;
75 GeocoderParams params, List<Address> addrs) { in getFromLocation()
90 GeocoderParams params, List<Address> addrs) { in getFromLocationName()
/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/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/compile/mclinker/include/mcld/Support/
DSystemUtils.h21 typedef uint8_t* Address; typedef

123