Searched refs:mFD (Results 1 - 18 of 18) sorted by relevance

/frameworks/compile/libbcc/lib/
H A DFileBase.cpp45 : mFD(-1),
82 mFD = ::open(mName.c_str(), mOpenFlags, 0644);
83 if (mFD > 0) {
98 // Check the file integrity by examining whether the inode referring to the mFD
102 // Get the file status of file descriptor mFD.
104 if (::fstat(mFD, &fd_stat) == 0) {
139 if ((mFD < 0) || hasError()) {
163 if (::flock(mFD, lock_operation) == 0) {
165 // Here we got a lock but we need to check whether the mFD still
167 // check may failed when another process deleted the original file mFD
[all...]
H A DFileBase.h66 int mFD; member in class:bcc::FileBase
85 // Return true if mFD is the corresponded file descriptor to the file named
/frameworks/native/libs/binder/
H A DMemoryHeapBase.cpp38 : mFD(-1), mSize(0), mBase(MAP_FAILED),
44 : mFD(-1), mSize(0), mBase(MAP_FAILED), mFlags(flags),
61 : mFD(-1), mSize(0), mBase(MAP_FAILED), mFlags(flags),
80 : mFD(-1), mSize(0), mBase(MAP_FAILED), mFlags(flags),
90 if (mFD != -1) {
93 mFD = fd;
127 mFD = fd;
140 int fd = android_atomic_or(-1, &mFD);
153 return mFD;
H A DStatic.cpp51 explicit FdTextOutput(int fd) : BufferedTextOutput(MULTITHREADED), mFD(fd) { }
57 writev(mFD, &vec, N);
62 int mFD; member in class:android::FdTextOutput
/frameworks/base/media/java/android/media/
H A DDataSourceDesc.java69 private FileDescriptor mFD; field in class:DataSourceDesc
133 return mFD;
217 private FileDescriptor mFD; field in class:DataSourceDesc.Builder
244 mFD = dsd.mFD;
278 dsd.mFD = mFD;
363 mFD = fd;
391 mFD = fd;
471 mFD
[all...]
H A DFaceDetector.java194 private long mFD; field in class:FaceDetector
/frameworks/support/media/src/main/java/androidx/media/
H A DDataSourceDesc.java74 private FileDescriptor mFD; field in class:DataSourceDesc
138 return mFD;
211 private FileDescriptor mFD; field in class:DataSourceDesc.Builder
238 mFD = dsd.mFD;
272 dsd.mFD = mFD;
357 mFD = fd;
386 mFD = fd;
460 mFD
[all...]
/frameworks/av/media/mtp/
H A DMtpServer.h87 int mFD; member in class:android::MtpServer::ObjectEdit
91 : mHandle(handle), mPath(path), mSize(size), mFormat(format), mFD(fd) {
95 close(mFD);
H A DMtpServer.cpp1346 ret = pwrite(edit->mFD, mData.getData(), initialData, offset);
1356 mfr.fd = edit->mFD;
1400 if (ftruncate(edit->mFD, offset) != 0) {
/frameworks/av/media/libmedia/include/media/
H A DDataSourceDesc.h52 int mFD; member in struct:android::DataSourceDesc
/frameworks/native/include/binder/
H A DMemoryHeapBase.h91 int mFD; member in class:android::MemoryHeapBase
/frameworks/native/libs/binder/include/binder/
H A DMemoryHeapBase.h91 int mFD; member in class:android::MemoryHeapBase
/frameworks/wilhelm/src/
H A Ddata.h32 SLDataLocator_AndroidFD mFD; member in union:__anon2088
H A Ddata.cpp218 pDataLocator->mFD = *(SLDataLocator_AndroidFD *)pLocator;
219 SL_LOGV("%s: fd=%d offset=%lld length=%lld", name, pDataLocator->mFD.fd,
220 pDataLocator->mFD.offset, pDataLocator->mFD.length);
222 if (0 > pDataLocator->mFD.fd) {
223 SL_LOGE("%s: fd=%d\n", name, pDataLocator->mFD.fd);
/frameworks/wilhelm/src/android/
H A DMediaPlayer_to_android.cpp434 int64_t offset = (int64_t)mp->mDataSource.mLocator.mFD.offset;
436 (int)mp->mDataSource.mLocator.mFD.fd,
439 (int64_t)mp->mDataSource.mLocator.mFD.length);
H A DAudioPlayer_to_android.cpp1786 int64_t offset = (int64_t)pAudioPlayer->mDataSource.mLocator.mFD.offset;
1788 (int)pAudioPlayer->mDataSource.mLocator.mFD.fd,
1791 (int64_t)pAudioPlayer->mDataSource.mLocator.mFD.length);
1837 int64_t offset = (int64_t)pAudioPlayer->mDataSource.mLocator.mFD.offset;
1839 (int)pAudioPlayer->mDataSource.mLocator.mFD.fd,
1842 (int64_t)pAudioPlayer->mDataSource.mLocator.mFD.length);
/frameworks/av/media/libmediaplayer2/nuplayer2/
H A DNuPlayer2.cpp333 dsd->mFD, (long long)dsd->mFDOffset, (long long)dsd->mFDLength,
336 err = genericSource->setDataSource(dsd->mFD, dsd->mFDOffset, dsd->mFDLength);
/frameworks/base/media/jni/
H A Dandroid_media_MediaPlayer2.cpp381 dsd->mFD = fd;

Completed in 190 milliseconds