/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 | 62 /*package*/ final BluetoothSocket mSocket; field in BluetoothServerSocket 79 mSocket = new BluetoothSocket(type, -1, auth, encrypt, null, port, null); in BluetoothServerSocket() 107 return mSocket.accept(timeout); in accept() 123 mSocket.close(); in close()
|
D | BluetoothAdapter.java | 867 int errno = socket.mSocket.bindListen(); in listenUsingRfcommOn() 872 socket.mSocket.throwErrnoNative(errno); in listenUsingRfcommOn() 989 errno = socket.mSocket.bindListen(); in createNewRfcommSocketAndRecord() 1003 socket.mSocket.throwErrnoNative(errno); // Exception as a result of bindListen() in createNewRfcommSocketAndRecord() 1048 int errno = socket.mSocket.bindListen(); in listenUsingInsecureRfcommOn() 1053 socket.mSocket.throwErrnoNative(errno); in listenUsingInsecureRfcommOn() 1070 int errno = socket.mSocket.bindListen(); in listenUsingEncryptedRfcommOn() 1075 socket.mSocket.throwErrnoNative(errno); in listenUsingEncryptedRfcommOn() 1091 int errno = socket.mSocket.bindListen(); in listenUsingScoOn() 1096 socket.mSocket.throwErrnoNative(errno); in listenUsingScoOn()
|
/frameworks/base/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() 209 HTTPBase::UnRegisterSocketUserTag(mSocket); in onConnect() 211 close(mSocket); in onConnect() 212 mSocket = -1; in onConnect() 257 mSocket = socket(AF_INET, SOCK_STREAM, 0); in onConnect() 260 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/voip/jni/rtp/ |
D | AudioGroup.cpp | 117 int mSocket; member in __anon890361ce0111::AudioStream 151 mSocket = -1; in AudioStream() 159 close(mSocket); in ~AudioStream() 162 LOGD("stream[%d] is dead", mSocket); in ~AudioStream() 201 mSocket = socket; in set() 221 LOGD("stream[%d] is configured as %s %dkHz %dms mode %d", mSocket, in set() 272 LOGV("stream[%d] skips %d packets", mSocket, skipped); in encode() 296 sendto(mSocket, buffer, sizeof(buffer), MSG_DONTWAIT, in encode() 337 LOGV("stream[%d] no data", mSocket); in encode() 343 send(mSocket, samples, sizeof(samples), MSG_DONTWAIT); in encode() [all …]
|
/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/services/java/com/android/server/ |
D | NativeDaemonConnector.java | 45 private String mSocket; field in NativeDaemonConnector 76 mSocket = socket; in NativeDaemonConnector() 116 LocalSocketAddress address = new LocalSocketAddress(mSocket, in listenToSocket()
|
D | BackupManagerService.java | 2862 ParcelFileDescriptor mSocket; field in BackupManagerService.PerformFullRestoreTask.RestoreFileRunnable 2876 mSocket = ParcelFileDescriptor.dup(socket.getFileDescriptor()); in RestoreFileRunnable() 2882 mAgent.doRestoreFile(mSocket, mInfo.size, mInfo.type, in run()
|
/frameworks/base/telephony/java/com/android/internal/telephony/ |
D | RIL.java | 212 LocalSocket mSocket; field in RIL 301 s = mSocket; in handleMessage() 542 mSocket = s; in run() 547 InputStream is = mSocket.getInputStream(); in run() 582 mSocket.close(); in run() 586 mSocket = null; in run() 2041 if (mSocket == null) { in send()
|