Home
last modified time | relevance | path

Searched refs:mFd (Results 1 – 4 of 4) sorted by relevance

/packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/utils/
DFdEventsReader.java85 private FileDescriptor mFd; field in FdEventsReader
188 if (mFd != null) return; in createAndRegisterFd()
191 mFd = createFd(); in createAndRegisterFd()
194 closeFd(mFd); in createAndRegisterFd()
195 mFd = null; in createAndRegisterFd()
198 if (mFd == null) return; in createAndRegisterFd()
201 mFd, in createAndRegisterFd()
217 return (mFd != null) && mFd.valid(); in isRunning()
226 bytesRead = readPacket(mFd, mBuffer); in handleInput()
259 if (mFd == null) return; in unregisterAndDestroyFd()
[all …]
/packages/services/Car/tests/usb/AoapPhoneCompanionApp/src/com/google/android/car/usb/aoap/companion/
DAoapPhoneCompanionActivity.java49 private ParcelFileDescriptor mFd; field in AoapPhoneCompanionActivity
99 if (mFd != null) { in onDestroy()
101 mFd.close(); in onDestroy()
131 mFd = mUsbManager.openAccessory(accessory); in onAccessoryAttached()
132 if (mFd == null) { in onAccessoryAttached()
138 mProcessorThread = new ProcessorThread(mFd); in onAccessoryAttached()
/packages/services/Car/evs/sampleDriver/
DEvsEnumerator.cpp338 FileHandleWrapper(int fd) { mFd = fd; } in qualifyCaptureDevice()
339 ~FileHandleWrapper() { if (mFd > 0) close(mFd); } in qualifyCaptureDevice()
340 operator int() const { return mFd; } in qualifyCaptureDevice()
342 int mFd = -1; in qualifyCaptureDevice() member in android::hardware::automotive::evs::V1_0::implementation::EvsEnumerator::qualifyCaptureDevice::FileHandleWrapper
/packages/apps/LegacyCamera/src/com/android/camera/
DEffectsRecorder.java91 private FileDescriptor mFd; field in EffectsRecorder
182 mFd = null; in setOutputFile()
196 mFd = fd; in setOutputFile()
654 if ((mOutputFile == null) && (mFd == null)) { in startRecording()
663 if (mFd != null) { in startRecording()
664 recorder.setInputValue("outputFileDescriptor", mFd); in startRecording()
874 if (mFd != null) { in raiseError()