Home
last modified time | relevance | path

Searched refs:mPfd (Results 1 – 8 of 8) sorted by relevance

/frameworks/base/core/java/android/bluetooth/
DBluetoothSocket.java135 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/
DParcelFileDescriptor.java968 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/
DDrmOutputStream.java50 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/
DTestFontsProvider.java43 private ParcelFileDescriptor mPfd; field in TestFontsProvider
71 mPfd = createFontFile(); in onCreate()
98 return mPfd.dup(); in openFile()
/frameworks/base/core/java/android/net/
DSocketKeepalive.java168 @NonNull final ParcelFileDescriptor mPfd; field in SocketKeepalive
179 mPfd = pfd; in SocketKeepalive()
258 mPfd.close(); in close()
DIpSecManager.java546 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()
DTcpSocketKeepalive.java57 final FileDescriptor fd = mPfd.getFileDescriptor(); in startImpl()
DNattSocketKeepalive.java54 mService.startNattKeepaliveWithFd(mNetwork, mPfd.getFileDescriptor(), mResourceId, in startImpl()