Searched defs:addr (Results 1 - 25 of 31) sorted by relevance

12

/frameworks/base/native/graphics/jni/
H A Dbitmap.cpp69 void* addr = bm->getPixels(); local
70 if (NULL == addr) {
76 *addrPtr = addr;
/frameworks/base/core/java/android/text/format/
H A DFormatter.java101 * @param addr the IP address as a packed integer with LSB first.
104 public static String formatIpAddress(int addr) { argument
106 buf.append(addr & 0xff).append('.').
107 append((addr >>>= 8) & 0xff).append('.').
108 append((addr >>>= 8) & 0xff).append('.').
109 append((addr >>>= 8) & 0xff);
/frameworks/base/core/java/android/net/
H A DDhcpInfo.java54 private static void putAddress(StringBuffer buf, int addr) { argument
55 buf.append(addr & 0xff).append('.').
56 append((addr >>>= 8) & 0xff).append('.').
57 append((addr >>>= 8) & 0xff).append('.').
58 append((addr >>>= 8) & 0xff);
H A DInterfaceConfiguration.java47 private static void putAddress(StringBuffer buf, int addr) { argument
48 buf.append((addr >> 24) & 0xff).append('.').
49 append((addr >> 16) & 0xff).append('.').
50 append((addr >> 8) & 0xff).append('.').
51 append(addr & 0xff);
H A DSSLCertificateSocketFactory.java287 public Socket createSocket(InetAddress addr, int port, InetAddress localAddr, int localPort) argument
290 addr, port, localAddr, localPort);
303 public Socket createSocket(InetAddress addr, int port) throws IOException { argument
304 OpenSSLSocketImpl s = (OpenSSLSocketImpl) getDelegate().createSocket(addr, port);
/frameworks/base/media/libstagefright/rtsp/
H A DUDPPusher.cpp40 struct sockaddr_in addr; local
41 memset(addr.sin_zero, 0, sizeof(addr.sin_zero));
42 addr.sin_family = AF_INET;
43 addr.sin_addr.s_addr = INADDR_ANY;
44 addr.sin_port = 0;
46 CHECK_EQ(0, bind(mSocket, (const struct sockaddr *)&addr, sizeof(addr)));
H A DARTPSession.cpp106 struct sockaddr_in addr; local
107 memset(addr.sin_zero, 0, sizeof(addr.sin_zero));
108 addr.sin_family = AF_INET;
109 addr.sin_addr.s_addr = INADDR_ANY;
110 addr.sin_port = htons(port);
112 CHECK_EQ(0, bind(s, (const struct sockaddr *)&addr, sizeof(addr)));
H A DARTPConnection.cpp123 struct sockaddr_in addr; local
124 memset(addr.sin_zero, 0, sizeof(addr.sin_zero));
125 addr.sin_family = AF_INET;
126 addr.sin_addr.s_addr = htonl(INADDR_ANY);
127 addr.sin_port = htons(port);
130 (const struct sockaddr *)&addr, sizeof(addr)) < 0) {
134 addr.sin_port = htons(port + 1);
137 (const struct sockaddr *)&addr, sizeo
[all...]
H A DARTPWriter.cpp446 struct in_addr addr; local
447 addr.s_addr = ntohl(INADDR_LOOPBACK);
449 sdp.append(inet_ntoa(addr));
H A DMyTransmitter.h168 struct in_addr addr; local
169 addr.s_addr = htonl(mServerIP);
171 sdp.append(inet_ntoa(addr));
/frameworks/base/core/java/com/google/android/mms/pdu/
H A DEncodedStringValue.java252 public static String concat(EncodedStringValue[] addr) { argument
254 int maxIndex = addr.length - 1;
256 sb.append(addr[i].getString());
/frameworks/base/core/jni/
H A Dandroid_os_MemoryFile.cpp56 static void android_os_MemoryFile_munmap(JNIEnv* env, jobject clazz, jint addr, jint length) argument
58 int result = munmap((void *)addr, length);
H A Dandroid_bluetooth_BluetoothAudioGateway.cpp213 char addr[BTADDR_SIZE]; local
214 get_bdaddr_as_string(&raddr.rc_bdaddr, addr);
215 env->SetObjectField(object, out_address, env->NewStringUTF(addr));
220 addr,
H A Dandroid_bluetooth_BluetoothSocket.cpp172 struct sockaddr *addr; local
193 addr = (struct sockaddr *)&addr_rc;
196 memset(addr, 0, addr_sz);
204 addr = (struct sockaddr *)&addr_sco;
207 memset(addr, 0, addr_sz);
214 addr = (struct sockaddr *)&addr_l2;
217 memset(addr, 0, addr_sz);
228 ret = asocket_connect(s, addr, addr_sz, -1);
247 struct sockaddr *addr; local
259 addr
314 struct sockaddr *addr; local
[all...]
H A Dandroid_net_NetUtils.cpp28 int ifc_add_host_route(const char *ifname, uint32_t addr);
99 static jint android_net_utils_addHostRoute(JNIEnv* env, jobject clazz, jstring ifname, jint addr) argument
104 result = ::ifc_add_host_route(nameStr, addr);
H A Dandroid_bluetooth_HeadsetBase.cpp232 struct sockaddr_rc addr; local
256 memset(&addr, 0, sizeof(struct sockaddr_rc));
257 get_bdaddr(nat->c_address, &addr.rc_bdaddr);
258 addr.rc_channel = nat->rfcomm_channel;
259 addr.rc_family = AF_BLUETOOTH;
262 if (connect(nat->rfcomm_sock, (struct sockaddr *)&addr,
263 sizeof(addr)) < 0) {
283 struct sockaddr_rc addr; local
316 memset(&addr, 0, sizeof(struct sockaddr_rc));
317 get_bdaddr(nat->c_address, &addr
362 struct sockaddr_rc addr; local
[all...]
H A Dandroid_bluetooth_ScoSocket.cpp547 struct sockaddr_sco addr; local
555 memset(&addr, 0, sizeof(addr));
556 addr.sco_family = AF_BLUETOOTH;
557 memcpy(&addr.sco_bdaddr, BDADDR_ANY, sizeof(bdaddr_t));
558 if (bind(sk, (struct sockaddr *) &addr, sizeof(addr)) < 0) {
568 memset(&addr, 0, sizeof(addr));
569 addr_sz = sizeof(addr);
613 struct sockaddr_sco addr; local
[all...]
/frameworks/base/cmds/installd/
H A Dinstalld.c240 struct sockaddr addr; local
256 alen = sizeof(addr);
257 s = accept(lsocket, &addr, &alen);
/frameworks/base/core/java/android/os/
H A DMemoryFile.java48 private static native void native_munmap(int addr, int length) throws IOException; argument
/frameworks/base/media/libstagefright/
H A DHTTPStream.cpp68 int s, const struct sockaddr *addr, socklen_t addrlen) {
73 if (connect(s, addr, addrlen) == 0) {
67 MyConnect( int s, const struct sockaddr *addr, socklen_t addrlen) argument
/frameworks/base/media/libstagefright/codecs/avc/common/src/
H A Ddpb.cpp28 uint32 addr; local
/frameworks/base/cmds/dumpstate/
H A Dutils.c241 struct sockaddr addr; local
242 socklen_t alen = sizeof(addr);
243 int fd = accept(s, &addr, &alen);
/frameworks/base/libs/utils/
H A DCallStack.cpp82 const char *lookup_symbol(const void* addr, void **offset, char* name, size_t bufSize) argument
86 if (dladdr(addr, &info)) {
/frameworks/base/tools/layoutlib/bridge/src/android/webkit/
H A DWebView.java220 public static String findAddress(String addr) { argument
/frameworks/base/core/jni/android/graphics/
H A DGraphics.cpp493 void* addr = sk_malloc_flags(size, 0); local
494 if (NULL == addr) {
509 new AndroidPixelRef(env, addr, size, ctable) :
510 new SkMallocPixelRef(addr, size, ctable);

Completed in 499 milliseconds

12