Searched refs:mFd (Results 1 – 4 of 4) sorted by relevance
85 private FileDescriptor mFd; field in FdEventsReader188 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 …]
49 private ParcelFileDescriptor mFd; field in AoapPhoneCompanionActivity99 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()
338 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
91 private FileDescriptor mFd; field in EffectsRecorder182 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()