Home
last modified time | relevance | path

Searched refs:mFD (Results 1 – 15 of 15) sorted by relevance

/frameworks/compile/libbcc/lib/
DFileBase.cpp45 : mFD(-1), in FileBase()
82 mFD = ::open(mName.c_str(), mOpenFlags, 0644); in open()
83 if (mFD > 0) { in open()
104 if (::fstat(mFD, &fd_stat) == 0) { in checkFileIntegrity()
139 if ((mFD < 0) || hasError()) { in lock()
163 if (::flock(mFD, lock_operation) == 0) { in lock()
207 if (mFD < 0) { in unlock()
212 if (::flock(mFD, LOCK_UN) == 0) { in unlock()
227 if (mFD > 0) { in close()
228 ::close(mFD); in close()
[all …]
DFileBase.h66 int mFD;
/frameworks/native/libs/binder/
DMemoryHeapBase.cpp38 : mFD(-1), mSize(0), mBase(MAP_FAILED), in MemoryHeapBase()
44 : mFD(-1), mSize(0), mBase(MAP_FAILED), mFlags(flags), in MemoryHeapBase()
61 : mFD(-1), mSize(0), mBase(MAP_FAILED), mFlags(flags), in MemoryHeapBase()
80 : mFD(-1), mSize(0), mBase(MAP_FAILED), mFlags(flags), in MemoryHeapBase()
90 if (mFD != -1) { in init()
93 mFD = fd; in init()
138 mFD = fd; in mapfd()
151 int fd = android_atomic_or(-1, &mFD); in dispose()
164 return mFD; in getHeapID()
DStatic.cpp51 explicit FdTextOutput(int fd) : BufferedTextOutput(MULTITHREADED), mFD(fd) { } in FdTextOutput()
57 ssize_t ret = writev(mFD, &vec, N); in writeLines()
64 int mFD; member in android::FdTextOutput
/frameworks/base/apex/media/framework/java/android/media/
DProxyDataSourceCallback.java35 FileDescriptor mFD; field in ProxyDataSourceCallback
39 mFD = mPFD.getFileDescriptor(); in ProxyDataSourceCallback()
46 Os.lseek(mFD, position, OsConstants.SEEK_SET); in readAt()
47 int ret = Os.read(mFD, buffer, offset, size); in readAt()
/frameworks/av/media/mtp/
DMtpServer.h90 int mFD; variable
94 : mHandle(handle), mPath(path), mSize(size), mFormat(format), mFD(fd) { in ObjectEdit()
98 close(mFD); in ~ObjectEdit()
DMtpServer.cpp1401 ret = pwrite(edit->mFD, mData.getData(), initialData, offset); in doSendPartialObject()
1411 mfr.fd = edit->mFD; in doSendPartialObject()
1455 if (ftruncate(edit->mFD, offset) != 0) { in doTruncateObject()
/frameworks/wilhelm/src/
Ddata.cpp218 pDataLocator->mFD = *(SLDataLocator_AndroidFD *)pLocator; in checkDataLocator()
219 SL_LOGV("%s: fd=%d offset=%lld length=%lld", name, pDataLocator->mFD.fd, in checkDataLocator()
220 pDataLocator->mFD.offset, pDataLocator->mFD.length); in checkDataLocator()
222 if (0 > pDataLocator->mFD.fd) { in checkDataLocator()
223 SL_LOGE("%s: fd=%d\n", name, pDataLocator->mFD.fd); in checkDataLocator()
Ddata.h32 SLDataLocator_AndroidFD mFD; member
/frameworks/native/include/binder/
DMemoryHeapBase.h84 int mFD; variable
/frameworks/native/libs/binder/include/binder/
DMemoryHeapBase.h84 int mFD; variable
/frameworks/base/media/java/android/media/
DFaceDetector.java194 private long mFD; field in FaceDetector
/frameworks/wilhelm/src/android/
DMediaPlayer_to_android.cpp437 int64_t offset = (int64_t)mp->mDataSource.mLocator.mFD.offset; in android_Player_realize()
439 (int)mp->mDataSource.mLocator.mFD.fd, in android_Player_realize()
442 (int64_t)mp->mDataSource.mLocator.mFD.length); in android_Player_realize()
DAudioPlayer_to_android.cpp1796 int64_t offset = (int64_t)pAudioPlayer->mDataSource.mLocator.mFD.offset; in android_audioPlayer_realize()
1798 (int)pAudioPlayer->mDataSource.mLocator.mFD.fd, in android_audioPlayer_realize()
1801 (int64_t)pAudioPlayer->mDataSource.mLocator.mFD.length); in android_audioPlayer_realize()
1847 int64_t offset = (int64_t)pAudioPlayer->mDataSource.mLocator.mFD.offset; in android_audioPlayer_realize()
1849 (int)pAudioPlayer->mDataSource.mLocator.mFD.fd, in android_audioPlayer_realize()
1852 (int64_t)pAudioPlayer->mDataSource.mLocator.mFD.length); in android_audioPlayer_realize()
/frameworks/base/boot/hiddenapi/
Dhiddenapi-max-target-o.txt28467 Landroid/media/DataSourceDesc$Builder;->mFD:Ljava/io/FileDescriptor;
28502 Landroid/media/DataSourceDesc;->mFD:Ljava/io/FileDescriptor;
28843 Landroid/media/FaceDetector;->mFD:J