Searched refs:socket (Results 51 - 64 of 64) sorted by relevance
123
/frameworks/base/services/common_time/ |
H A D | common_time_server.h | 22 #include <sys/socket.h> 199 // UDP socket for the time sync protocol
|
H A D | common_time_server.cpp | 38 #include <sys/socket.h> 220 // If we have a valid socket, then we are interested in what it has to 260 // Is out bind address dirty? If so, clean up our socket (if any). 261 // Alternatively, do we have an active socket but should be auto 262 // disabled? If so, release the socket and enter the proper sync state. 270 // Do we not have a socket but should have one? If so, try to set one 316 // That's odd... we failed to set up our socket. This could be 323 // point (since we just tried to bulid a new socket). Loop back 327 // We just lost our socket, and for whatever reason (either no 329 // one at this time. We are not going to rebuild our socket unti [all...] |
/frameworks/base/voip/java/com/android/server/sip/ |
H A D | SipSessionGroup.java | 173 DatagramSocket socket = new DatagramSocket(); 174 socket.connect(remote, port); 175 if (socket.isConnected()) { 176 local = socket.getLocalAddress().getHostAddress(); 177 port = socket.getLocalPort(); 178 socket.close(); 181 socket.close();
|
/frameworks/base/core/jni/ |
H A D | android_net_LocalSocketImpl.cpp | 27 #include <sys/socket.h> 57 ret = socket(PF_LOCAL, stream ? SOCK_STREAM : SOCK_DGRAM, 0); 390 // If this were a non-socket fd, there would be other cases to worry 511 * Reads data from a socket into buf, processing any ancillary data 571 * Writes all the data in the specified buffer to the specified socket.
|
/frameworks/av/media/common_time/ |
H A D | ICommonClock.cpp | 17 #include <sys/socket.h>
|
H A D | ICommonTimeConfig.cpp | 17 #include <sys/socket.h>
|
/frameworks/base/services/jni/ |
H A D | com_android_server_BatteryService.cpp | 28 #include <sys/socket.h>
|
/frameworks/av/media/libstagefright/rtsp/ |
H A D | ARTSPConnection.cpp | 35 #include <sys/socket.h> 58 ALOGE("Connection is still open, closing the socket."); 191 // Make socket non-blocking. 262 mSocket = socket(AF_INET, SOCK_STREAM, 0);
|
H A D | ARTPWriter.cpp | 58 mSocket = socket(AF_INET, SOCK_DGRAM, 0);
|
H A D | MyTransmitter.h | 24 #include <sys/socket.h>
|
H A D | MyHandler.h | 40 #include <sys/socket.h>
|
/frameworks/base/services/java/com/android/server/ |
H A D | ConnectivityService.java | 3215 * Protect a socket from VPN routing rules. This method is used by 3221 public boolean protectVpn(ParcelFileDescriptor socket) { argument 3226 mVpn.protect(socket, mNetTrackers[type].getLinkProperties().getInterfaceName()); 3233 socket.close();
|
H A D | BackupManagerService.java | 2309 // ----- Full backup to a file/socket ----- 2871 // ----- Full restore from a file/socket ----- 2955 ParcelFileDescriptor socket, int token) throws IOException { 2965 mSocket = ParcelFileDescriptor.dup(socket.getFileDescriptor()); 3325 // fire up the app's agent listening on the socket. If 3340 // couldn't dup the socket for a process-local restore 3415 if (DEBUG) Slog.w(TAG, "io exception on restore socket read", e); 2954 RestoreFileRunnable(IBackupAgent agent, FileMetadata info, ParcelFileDescriptor socket, int token) argument
|
/frameworks/base/libs/androidfw/ |
H A D | InputTransport.cpp | 30 #include <sys/socket.h> 105 LOG_ALWAYS_FATAL_IF(result != 0, "channel '%s' ~ Could not make socket " 123 ALOGE("channel '%s' ~ Could not create socket pair. errno=%d",
|
Completed in 280 milliseconds
123