/frameworks/base/core/java/android/bluetooth/ |
D | BluetoothServerSocket.java | 70 /*package*/ final BluetoothSocket mSocket; field in BluetoothServerSocket 87 mSocket = new BluetoothSocket(type, -1, auth, encrypt, null, port, null); in BluetoothServerSocket() 101 mSocket = new BluetoothSocket(type, -1, auth, encrypt, null, -1, uuid); in BluetoothServerSocket() 102 mChannel = mSocket.getPort(); in BluetoothServerSocket() 131 return mSocket.accept(timeout); in accept() 147 mSocket.close(); in close() 155 mSocket.setServiceName(ServiceName); in setServiceName()
|
D | BluetoothInputStream.java | 30 private BluetoothSocket mSocket; field in BluetoothInputStream 33 mSocket = s; in BluetoothInputStream() 40 return mSocket.available(); in available() 44 mSocket.close(); in close() 60 int ret = mSocket.read(b, 0, 1); in read() 96 return mSocket.read(b, offset, length); in read()
|
D | BluetoothOutputStream.java | 30 private BluetoothSocket mSocket; field in BluetoothOutputStream 33 mSocket = s; in BluetoothOutputStream() 40 mSocket.close(); in close() 56 mSocket.write(b, 0, 1); in write() 85 mSocket.write(b, offset, count); in write() 96 mSocket.flush(); in flush()
|
D | BluetoothSocket.java | 115 private LocalSocket mSocket; field in BluetoothSocket 192 FileDescriptor[] fds = mSocket.getAncillaryFileDescriptors(); in acceptSocket() 199 as.mSocket = new LocalSocket(fds[0]); in acceptSocket() 200 as.mSocketIS = as.mSocket.getInputStream(); in acceptSocket() 201 as.mSocketOS = as.mSocket.getOutputStream(); in acceptSocket() 316 mSocket = new LocalSocket(fd); in connect() 317 mSocketIS = mSocket.getInputStream(); in connect() 318 mSocketOS = mSocket.getOutputStream(); in connect() 365 mSocket = new LocalSocket(fd); in bindListen() 367 mSocketIS = mSocket.getInputStream(); in bindListen() [all …]
|
D | BluetoothAdapter.java | 1122 int errno = socket.mSocket.bindListen(); in listenUsingRfcommOn() 1235 int errno = socket.mSocket.bindListen(); in createNewRfcommSocketAndRecord() 1256 int errno = socket.mSocket.bindListen(); in listenUsingInsecureRfcommOn() 1278 int errno = socket.mSocket.bindListen(); in listenUsingEncryptedRfcommOn() 1299 int errno = socket.mSocket.bindListen(); in listenUsingScoOn()
|
/frameworks/av/media/libstagefright/rtsp/ |
D | ARTSPConnection.cpp | 52 mSocket(-1), in ARTSPConnection() 59 if (mSocket >= 0) { in ~ARTSPConnection() 62 HTTPBase::UnRegisterSocketUserTag(mSocket); in ~ARTSPConnection() 63 HTTPBase::UnRegisterSocketUserMark(mSocket); in ~ARTSPConnection() 65 close(mSocket); in ~ARTSPConnection() 66 mSocket = -1; in ~ARTSPConnection() 217 HTTPBase::UnRegisterSocketUserTag(mSocket); in onConnect() 218 HTTPBase::UnRegisterSocketUserMark(mSocket); in onConnect() 220 close(mSocket); in onConnect() 221 mSocket = -1; in onConnect() [all …]
|
D | UDPPusher.cpp | 38 mSocket = socket(AF_INET, SOCK_DGRAM, 0); in UDPPusher() 46 CHECK_EQ(0, bind(mSocket, (const struct sockaddr *)&addr, sizeof(addr))); in UDPPusher() 55 close(mSocket); in ~UDPPusher() 56 mSocket = -1; in ~UDPPusher() 89 mSocket, buffer->data(), buffer->size(), 0, in onPush() 134 mSocket, buffer->data(), buffer->size(), 0, in onMessageReceived()
|
D | UDPPusher.h | 43 int mSocket; member
|
D | ARTPWriter.cpp | 58 mSocket = socket(AF_INET, SOCK_DGRAM, 0); in ARTPWriter() 59 CHECK_GE(mSocket, 0); in ARTPWriter() 100 close(mSocket); in ~ARTPWriter() 101 mSocket = -1; in ~ARTPWriter() 313 mSocket, buffer->data(), buffer->size(), 0, in send()
|
D | ARTPWriter.h | 79 int mSocket; member
|
D | ARTSPConnection.h | 85 int mSocket; member
|
/frameworks/native/opengl/libs/GLES_trace/src/ |
D | gltrace_transport.cpp | 95 mSocket = socket; in TCPStream() 104 if (mSocket > 0) { in closeStream() 105 close(mSocket); in closeStream() 106 mSocket = 0; in closeStream() 111 if (mSocket <= 0) { in send() 116 int n = write(mSocket, buf, len); in send() 123 if (mSocket <= 0) { in receive() 129 int n = read(mSocket, (uint8_t*)data + totalRead, len - totalRead); in receive()
|
D | gltrace_transport.h | 32 int mSocket; variable
|
/frameworks/opt/net/voip/src/jni/rtp/ |
D | AudioGroup.cpp | 117 int mSocket; member in __anon556074da0111::AudioStream 151 mSocket = -1; in AudioStream() 159 close(mSocket); in ~AudioStream() 162 ALOGD("stream[%d] is dead", mSocket); in ~AudioStream() 201 mSocket = socket; in set() 221 ALOGD("stream[%d] is configured as %s %dkHz %dms mode %d", mSocket, in set() 272 ALOGV("stream[%d] skips %d packets", mSocket, skipped); in encode() 296 sendto(mSocket, buffer, sizeof(buffer), MSG_DONTWAIT, in encode() 337 ALOGV("stream[%d] no data", mSocket); in encode() 343 send(mSocket, samples, sizeof(samples), MSG_DONTWAIT); in encode() [all …]
|
/frameworks/base/services/common_time/ |
D | common_time_server.cpp | 105 , mSocket(-1) in CommonTimeServer() 222 if (mSocket >= 0) { in runStateMachine_l() 223 pfds[eventCnt].fd = mSocket; in runStateMachine_l() 264 if (mBindIfaceDirty || ((mSocket >= 0) && shouldAutoDisable())) { in runStateMachine_l() 272 if ((mSocket < 0) && mBindIfaceValid && !shouldAutoDisable()) { in runStateMachine_l() 362 if ((mSocket >= 0) && (eventCnt > 1) && (pfds[1].revents)) { in runStateMachine_l() 384 if (mSocket >= 0) { in cleanupSocket_l() 385 close(mSocket); in cleanupSocket_l() 386 mSocket = -1; in cleanupSocket_l() 435 mSocket = socket(AF_INET, SOCK_DGRAM, IPPROTO_UDP); in setupSocket_l() [all …]
|
D | common_time_server.h | 200 int mSocket; variable
|
D | common_time_server_api.cpp | 257 if (mSocket >= 0) in forceNetworklessMasterMode()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/ |
D | NetworkManagementServiceTest.java | 46 private LocalSocket mSocket; field in NetworkManagementServiceTest 61 mSocket = mServerSocket.accept(); in setUp() 62 mOutputStream = mSocket.getOutputStream(); in setUp() 67 if (mSocket != null) mSocket.close(); in tearDown()
|
/frameworks/base/services/java/com/android/server/pm/ |
D | Installer.java | 37 LocalSocket mSocket; field in Installer 44 if (mSocket != null) { in connect() 49 mSocket = new LocalSocket(); in connect() 54 mSocket.connect(address); in connect() 56 mIn = mSocket.getInputStream(); in connect() 57 mOut = mSocket.getOutputStream(); in connect() 68 if (mSocket != null) in disconnect() 69 mSocket.close(); in disconnect() 82 mSocket = null; in disconnect()
|
/frameworks/base/core/java/android/net/arp/ |
D | ArpPeer.java | 48 private final RawSocket mSocket; field in ArpPeer 76 mSocket = new RawSocket(mInterfaceName, RawSocket.ETH_P_ARP); in ArpPeer() 103 mSocket.write(L2_BROADCAST, buf.array(), 0, buf.limit()); in doArp() 109 int readLen = mSocket.read(recvBuf, 0, recvBuf.length, -1, in doArp() 170 mSocket.close(); in close()
|
/frameworks/base/services/java/com/android/server/usb/ |
D | UsbDebuggingManager.java | 59 private LocalSocket mSocket = null; field in UsbDebuggingManager 74 mSocket = new LocalSocket(); in listenToSocket() 75 mSocket.connect(address); in listenToSocket() 77 mOutputStream = mSocket.getOutputStream(); in listenToSocket() 78 inputStream = mSocket.getInputStream(); in listenToSocket() 127 mSocket.close(); in closeSocket() 183 mSocket = null; in handleMessage()
|
/frameworks/opt/net/voip/src/java/android/net/rtp/ |
D | RtpStream.java | 57 private int mSocket = -1; field in RtpStream 169 return mSocket; in getSocket()
|
/frameworks/base/core/java/com/android/internal/os/ |
D | ZygoteConnection.java | 72 private final LocalSocket mSocket; field in ZygoteConnection 85 mSocket = socket; in ZygoteConnection() 93 mSocket.setSoTimeout(CONNECTION_TIMEOUT_MILLIS); in ZygoteConnection() 96 peer = mSocket.getPeerCredentials(); in ZygoteConnection() 102 peerSecurityContext = SELinux.getPeerContext(mSocket.getFileDescriptor()); in ZygoteConnection() 111 return mSocket.getFileDescriptor(); in getFileDesciptor() 173 descriptors = mSocket.getAncillaryFileDescriptors(); in runOnce() 264 mSocket.close(); in closeSocket()
|
/frameworks/base/services/java/com/android/server/ |
D | NativeDaemonConnector.java | 53 private String mSocket; field in NativeDaemonConnector 75 mSocket = socket; in NativeDaemonConnector() 114 if (mSocket.startsWith("__test__") && Build.IS_DEBUGGABLE) { in determineSocketAddress() 115 return new LocalSocketAddress(mSocket); in determineSocketAddress() 117 return new LocalSocketAddress(mSocket, LocalSocketAddress.Namespace.RESERVED); in determineSocketAddress() 196 loge("closing stream for " + mSocket); in listenToSocket()
|
/frameworks/av/media/libstagefright/foundation/ |
D | ANetworkSession.cpp | 125 int mSocket; member 168 mSocket(s), in Session() 179 mSocket, (struct sockaddr *)&localAddr, &localAddrLen); in Session() 186 mSocket, (struct sockaddr *)&remoteAddr, &remoteAddrLen); in Session() 219 close(mSocket); in ~Session() 220 mSocket = -1; in ~Session() 228 return mSocket; in socket() 282 mSocket, buf->data(), buf->capacity(), 0, in readMore() 342 n = recv(mSocket, tmp, sizeof(tmp), 0); in readMore() 562 n = send(mSocket, datagram->data(), datagram->size(), 0); in writeMore() [all …]
|