Searched defs:mFileDescriptor (Results 1 - 6 of 6) sorted by relevance

/frameworks/av/services/oboeservice/
H A DSharedRingBuffer.h54 int mFileDescriptor = -1; member in class:aaudio::SharedRingBuffer
/frameworks/base/core/java/android/hardware/
H A DSerialPort.java36 private ParcelFileDescriptor mFileDescriptor; field in class:SerialPort
56 mFileDescriptor = pfd;
63 if (mFileDescriptor != null) {
64 mFileDescriptor.close();
65 mFileDescriptor = null;
/frameworks/base/libs/usb/tests/AccessoryChat/src/com/android/accessorychat/
H A DAccessoryChat.java53 private ParcelFileDescriptor mFileDescriptor; field in class:AccessoryChat
123 if (mFileDescriptor != null) {
125 mFileDescriptor.close();
128 mFileDescriptor = null;
141 mFileDescriptor = mUsbManager.openAccessory(accessory);
142 if (mFileDescriptor != null) {
143 FileDescriptor fd = mFileDescriptor.getFileDescriptor();
/frameworks/base/media/java/android/media/midi/
H A DMidiInputPort.java41 private FileDescriptor mFileDescriptor; field in class:MidiInputPort
56 mFileDescriptor = fd;
109 fd = mFileDescriptor;
112 mFileDescriptor = null;
139 if (mFileDescriptor != null) {
140 IoUtils.closeQuietly(mFileDescriptor);
141 mFileDescriptor = null;
/frameworks/base/core/java/android/os/
H A DDropBoxManager.java97 private final ParcelFileDescriptor mFileDescriptor; field in class:DropBoxManager.Entry
107 mFileDescriptor = null;
119 mFileDescriptor = null;
136 mFileDescriptor = null;
153 mFileDescriptor = data;
168 mFileDescriptor = ParcelFileDescriptor.open(data, ParcelFileDescriptor.MODE_READ_ONLY);
174 try { if (mFileDescriptor != null) mFileDescriptor.close(); } catch (IOException e) { }
217 } else if (mFileDescriptor != null) {
218 is = new ParcelFileDescriptor.AutoCloseInputStream(mFileDescriptor);
[all...]
/frameworks/base/services/core/java/com/android/server/connectivity/
H A DNetworkDiagnostics.java349 protected FileDescriptor mFileDescriptor; field in class:NetworkDiagnostics.SimpleSocketCheck
387 mFileDescriptor = Os.socket(mAddressFamily, sockType, protocol);
392 Os.setsockoptTimeval(mFileDescriptor,
394 Os.setsockoptTimeval(mFileDescriptor,
397 mNetwork.bindSocket(mFileDescriptor);
399 Os.bind(mFileDescriptor, mSource, 0);
401 Os.connect(mFileDescriptor, mTarget, dstPort);
402 mSocketAddress = Os.getsockname(mFileDescriptor);
416 IoUtils.closeQuietly(mFileDescriptor);
479 Os.write(mFileDescriptor, icmpPacke
[all...]

Completed in 196 milliseconds