/frameworks/base/core/java/android/bluetooth/ |
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()
|
D | BluetoothServerSocket.java | 68 /*package*/ final BluetoothSocket mSocket; field in BluetoothServerSocket 85 mSocket = new BluetoothSocket(type, -1, auth, encrypt, null, port, null); in BluetoothServerSocket() 113 return mSocket.accept(timeout); in accept() 129 mSocket.close(); in close()
|
D | BluetoothAdapter.java | 893 int errno = socket.mSocket.bindListen(); in listenUsingRfcommOn() 898 socket.mSocket.throwErrnoNative(errno); in listenUsingRfcommOn() 1015 errno = socket.mSocket.bindListen(); in createNewRfcommSocketAndRecord() 1029 socket.mSocket.throwErrnoNative(errno); // Exception as a result of bindListen() in createNewRfcommSocketAndRecord() 1074 int errno = socket.mSocket.bindListen(); in listenUsingInsecureRfcommOn() 1079 socket.mSocket.throwErrnoNative(errno); in listenUsingInsecureRfcommOn() 1096 int errno = socket.mSocket.bindListen(); in listenUsingEncryptedRfcommOn() 1101 socket.mSocket.throwErrnoNative(errno); in listenUsingEncryptedRfcommOn() 1117 int errno = socket.mSocket.bindListen(); in listenUsingScoOn() 1122 socket.mSocket.throwErrnoNative(errno); in listenUsingScoOn()
|
/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/av/media/libstagefright/rtsp/ |
D | ARTSPConnection.cpp | 49 mSocket(-1), in ARTSPConnection() 57 if (mSocket >= 0) { in ~ARTSPConnection() 60 HTTPBase::UnRegisterSocketUserTag(mSocket); in ~ARTSPConnection() 62 close(mSocket); in ~ARTSPConnection() 63 mSocket = -1; in ~ARTSPConnection() 214 HTTPBase::UnRegisterSocketUserTag(mSocket); in onConnect() 216 close(mSocket); in onConnect() 217 mSocket = -1; in onConnect() 262 mSocket = socket(AF_INET, SOCK_STREAM, 0); in onConnect() 265 HTTPBase::RegisterSocketUserTag(mSocket, mUID, 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 | 83 int mSocket; member
|
/frameworks/base/services/common_time/ |
D | common_time_server.cpp | 105 , mSocket(-1) in CommonTimeServer() 217 if (mSocket >= 0) { in runStateMachine_l() 218 pfds[eventCnt].fd = mSocket; in runStateMachine_l() 252 if (mBindIfaceDirty || ((mSocket >= 0) && shouldAutoDisable())) { in runStateMachine_l() 260 if ((mSocket < 0) && mBindIfaceValid && !shouldAutoDisable()) { in runStateMachine_l() 350 if ((mSocket >= 0) && (eventCnt > 1) && (pfds[1].revents)) { in runStateMachine_l() 372 if (mSocket >= 0) { in cleanupSocket_l() 373 close(mSocket); in cleanupSocket_l() 374 mSocket = -1; in cleanupSocket_l() 421 mSocket = socket(AF_INET, SOCK_DGRAM, IPPROTO_UDP); in setupSocket_l() [all …]
|
D | common_time_server.h | 211 int mSocket; variable
|
D | common_time_server_api.cpp | 257 if (mSocket >= 0) in forceNetworklessMasterMode()
|
/frameworks/base/voip/jni/rtp/ |
D | AudioGroup.cpp | 117 int mSocket; member in __anonef51c7ef0111::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/core/java/android/net/arp/ |
D | ArpPeer.java | 42 private final RawSocket mSocket; field in ArpPeer 69 mSocket = new RawSocket(mInterfaceName, RawSocket.ETH_P_ARP); in ArpPeer() 96 mSocket.write(L2_BROADCAST, buf.array(), 0, buf.limit()); in doArp() 102 int readLen = mSocket.read(recvBuf, 0, recvBuf.length, -1, in doArp() 128 mSocket.close(); in close()
|
/frameworks/av/media/libaah_rtp/ |
D | aah_tx_sender.cpp | 48 AAH_TXSender::AAH_TXSender() : mSocket(-1) { in AAH_TXSender() 73 sender->mSocket = socket(AF_INET, SOCK_DGRAM, IPPROTO_UDP); in GetInstance() 74 if (sender->mSocket == -1) { in GetInstance() 82 if (bind(sender->mSocket, in GetInstance() 125 if (mSocket != -1) { in ~AAH_TXSender() 126 close(mSocket); in ~AAH_TXSender() 248 ssize_t result = sendto(mSocket, in doSendPacket_l() 363 pollFds[0].fd = mSender->mSocket; in threadLoop() 395 ssize_t result = recvfrom(mSender->mSocket, &request, sizeof(request), 0, in handleRetryRequest() 426 result = sendto(mSender->mSocket, &nak, sizeof(nak), 0, in handleRetryRequest() [all …]
|
D | aah_tx_sender.h | 118 int mSocket; variable
|
/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/com/android/internal/os/ |
D | ZygoteConnection.java | 72 private final LocalSocket mSocket; field in ZygoteConnection 96 mSocket = socket; in ZygoteConnection() 104 mSocket.setSoTimeout(CONNECTION_TIMEOUT_MILLIS); in ZygoteConnection() 107 peer = mSocket.getPeerCredentials(); in ZygoteConnection() 120 return mSocket.getFileDescriptor(); in getFileDesciptor() 182 descriptors = mSocket.getAncillaryFileDescriptors(); in runOnce() 271 mSocket.close(); in closeSocket() 805 ZygoteInit.setCloseOnExec(mSocket.getFileDescriptor(), true); in handleChildProc() 806 sPeerWaitSocket = mSocket; in handleChildProc() 951 mSocket.close(); in handleParentProc()
|
/frameworks/base/voip/java/android/net/rtp/ |
D | RtpStream.java | 57 private int mSocket = -1; field in RtpStream 169 return mSocket; in getSocket()
|
/frameworks/base/services/java/com/android/server/ |
D | NativeDaemonConnector.java | 49 private String mSocket; field in NativeDaemonConnector 71 mSocket = socket; in NativeDaemonConnector() 112 LocalSocketAddress address = new LocalSocketAddress(mSocket, in listenToSocket() 183 loge("closing stream for " + mSocket); in listenToSocket()
|
/frameworks/base/telephony/java/com/android/internal/telephony/ |
D | RIL.java | 216 LocalSocket mSocket; field in RIL 308 s = mSocket; in handleMessage() 549 mSocket = s; in run() 554 InputStream is = mSocket.getInputStream(); in run() 589 mSocket.close(); in run() 593 mSocket = null; in run() 2107 if (mSocket == null) { in send() 3841 pw.println(" mSocket=" + mSocket); in dump()
|
/frameworks/base/docs/html/tools/adk/ |
D | adk2.jd | 458 mSocket = device.createInsecureRfcommSocketToServiceRecord(ADK_UUID); 459 mSocket.connect(); 469 mInStream = mSocket.getInputStream(); 470 mOutStream = mSocket.getOutputStream();
|