Searched refs:mPfd (Results 1 – 8 of 8) sorted by relevance
/frameworks/base/core/java/android/bluetooth/ |
D | BluetoothSocket.java | 135 private ParcelFileDescriptor mPfd; field in BluetoothSocket 264 as.mPfd = new ParcelFileDescriptor(fds[0]); in acceptSocket() 393 mPfd = bluetoothProxy.getSocketManager().connectSocket(mDevice, mType, in connect() 396 if (DBG) Log.d(TAG, "connect(), SocketState: " + mSocketState + ", mPfd: " + mPfd); in connect() 398 if (mPfd == null) throw new IOException("bt socket connect failed"); in connect() 399 FileDescriptor fd = mPfd.getFileDescriptor(); in connect() 436 mPfd = bluetoothProxy.getSocketManager().createSocketChannel(mType, mServiceName, in bindListen() 447 Log.d(TAG, "bindListen(), SocketState: " + mSocketState + ", mPfd: " + mPfd); in bindListen() 450 if (mPfd == null) return -1; in bindListen() 451 FileDescriptor fd = mPfd.getFileDescriptor(); in bindListen() [all …]
|
/frameworks/base/core/java/android/os/ |
D | ParcelFileDescriptor.java | 968 private final ParcelFileDescriptor mPfd; field in ParcelFileDescriptor.AutoCloseInputStream 972 mPfd = pfd; in AutoCloseInputStream() 980 mPfd.close(); in close() 987 if (result == -1 && mPfd.canDetectErrors()) { in read() 989 mPfd.checkError(); in read() 997 if (result == -1 && mPfd.canDetectErrors()) { in read() 998 mPfd.checkError(); in read() 1006 if (result == -1 && mPfd.canDetectErrors()) { in read() 1007 mPfd.checkError(); in read() 1019 private final ParcelFileDescriptor mPfd; field in ParcelFileDescriptor.AutoCloseOutputStream [all …]
|
/frameworks/base/drm/java/android/drm/ |
D | DrmOutputStream.java | 50 private final ParcelFileDescriptor mPfd; field in DrmOutputStream 61 mPfd = pfd; in DrmOutputStream() 91 mPfd.close(); in close()
|
/frameworks/base/core/tests/coretests/src/android/provider/ |
D | TestFontsProvider.java | 43 private ParcelFileDescriptor mPfd; field in TestFontsProvider 71 mPfd = createFontFile(); in onCreate() 98 return mPfd.dup(); in openFile()
|
/frameworks/base/core/java/android/net/ |
D | SocketKeepalive.java | 168 @NonNull final ParcelFileDescriptor mPfd; field in SocketKeepalive 179 mPfd = pfd; in SocketKeepalive() 258 mPfd.close(); in close()
|
D | IpSecManager.java | 546 private final ParcelFileDescriptor mPfd; field in IpSecManager.UdpEncapsulationSocket 570 mPfd = result.fileDescriptor; in UdpEncapsulationSocket() 579 if (mPfd == null) { in getFileDescriptor() 582 return mPfd.getFileDescriptor(); in getFileDescriptor() 614 mPfd.close(); in close()
|
D | TcpSocketKeepalive.java | 57 final FileDescriptor fd = mPfd.getFileDescriptor(); in startImpl()
|
D | NattSocketKeepalive.java | 54 mService.startNattKeepaliveWithFd(mNetwork, mPfd.getFileDescriptor(), mResourceId, in startImpl()
|