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/drm/java/android/drm/
DDrmOutputStream.java48 private final ParcelFileDescriptor mPfd; field in DrmOutputStream
59 mPfd = pfd; in DrmOutputStream()
89 mPfd.close(); in close()
/frameworks/base/core/java/android/os/
DParcelFileDescriptor.java934 private final ParcelFileDescriptor mPfd; field in ParcelFileDescriptor.AutoCloseInputStream
938 mPfd = pfd; in AutoCloseInputStream()
946 mPfd.close(); in close()
953 if (result == -1 && mPfd.canDetectErrors()) { in read()
955 mPfd.checkError(); in read()
963 if (result == -1 && mPfd.canDetectErrors()) { in read()
964 mPfd.checkError(); in read()
972 if (result == -1 && mPfd.canDetectErrors()) { in read()
973 mPfd.checkError(); in read()
985 private final ParcelFileDescriptor mPfd; field in ParcelFileDescriptor.AutoCloseOutputStream
[all …]
/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.java163 @NonNull final ParcelFileDescriptor mPfd; field in SocketKeepalive
174 mPfd = pfd; in SocketKeepalive()
253 mPfd.close(); in close()
DIpSecManager.java553 private final ParcelFileDescriptor mPfd; field in IpSecManager.UdpEncapsulationSocket
577 mPfd = result.fileDescriptor; in UdpEncapsulationSocket()
586 if (mPfd == null) { in getFileDescriptor()
589 return mPfd.getFileDescriptor(); in getFileDescriptor()
621 mPfd.close(); in close()
DTcpSocketKeepalive.java57 final FileDescriptor fd = mPfd.getFileDescriptor(); in startImpl()
DNattSocketKeepalive.java54 mService.startNattKeepaliveWithFd(mNetwork, mPfd.getFileDescriptor(), mResourceId, in startImpl()