/frameworks/compile/libbcc/lib/Support/ |
D | FileBase.cpp | 48 : mFD(-1), in FileBase() 85 mFD = ::open(mName.c_str(), mOpenFlags, 0644); in open() 86 if (mFD > 0) { in open() 107 if (::fstat(mFD, &fd_stat) == 0) { in checkFileIntegrity() 142 if ((mFD < 0) || hasError()) { in lock() 166 if (::flock(mFD, lock_operation) == 0) { in lock() 210 if (mFD < 0) { in unlock() 215 if (::flock(mFD, LOCK_UN) == 0) { in unlock() 227 if (mFD < 0 || hasError()) { in createMap() 237 if (!map->create(NULL, mFD, pOffset, pLength, pIsReadOnly)) { in createMap() [all …]
|
D | OutputFile.cpp | 31 if ((mFD < 0) || hasError()) { in write() 42 ssize_t write_size = ::write(mFD, pBuf, count); in write() 60 if (mFD < 0) { in truncate() 65 if (::ftruncate(mFD, 0) == 0) { in truncate() 78 newfd = ::dup(mFD); in dup()
|
D | InputFile.cpp | 27 if ((mFD < 0) || hasError()) { in read() 38 ssize_t read_size = ::read(mFD, pBuf, count); in read()
|
/frameworks/native/libs/binder/ |
D | MemoryHeapBase.cpp | 44 : mFD(-1), mSize(0), mBase(MAP_FAILED), in MemoryHeapBase() 50 : mFD(-1), mSize(0), mBase(MAP_FAILED), mFlags(flags), in MemoryHeapBase() 67 : mFD(-1), mSize(0), mBase(MAP_FAILED), mFlags(flags), in MemoryHeapBase() 86 : mFD(-1), mSize(0), mBase(MAP_FAILED), mFlags(flags), in MemoryHeapBase() 96 if (mFD != -1) { in init() 99 mFD = fd; in init() 142 mFD = fd; in mapfd() 155 int fd = android_atomic_or(-1, &mFD); in dispose() 168 return mFD; in getHeapID()
|
D | Static.cpp | 51 FdTextOutput(int fd) : BufferedTextOutput(MULTITHREADED), mFD(fd) { } in FdTextOutput() 57 writev(mFD, &vec, N); in writeLines() 62 int mFD; member in android::FdTextOutput
|
/frameworks/base/core/java/android/os/ |
D | MemoryFile.java | 57 private FileDescriptor mFD; // ashmem file descriptor field in MemoryFile 71 mFD = native_open(name, length); in MemoryFile() 73 mAddress = native_mmap(mFD, length, PROT_READ | PROT_WRITE); in MemoryFile() 86 native_close(mFD); in close() 119 return !mFD.valid(); in isClosed() 158 native_pin(mFD, !allowPurging); in allowPurging() 204 return native_read(mFD, mAddress, buffer, srcOffset, destOffset, count, mAllowPurging); in readBytes() 228 native_write(mFD, mAddress, buffer, srcOffset, destOffset, count, mAllowPurging); in writeBytes() 241 return mFD; in getFileDescriptor()
|
/frameworks/av/media/mtp/ |
D | MtpServer.h | 38 int mFD; 79 int mFD; variable 83 : mHandle(handle), mPath(path), mSize(size), mFormat(format), mFD(fd) { in ObjectEdit() 87 close(mFD); in ~ObjectEdit()
|
D | MtpServer.cpp | 100 : mFD(fd), in MtpServer() 154 int fd = mFD; in run() 241 mFD = -1; in run() 269 int ret = mEvent.write(mFD); in sendEvent() 739 int ret = ioctl(mFD, MTP_SEND_FILE_WITH_HEADER, (unsigned long)&mfr); in doGetObject() 759 mData.writeData(mFD, thumb, thumbSize); in doGetThumb() 805 int ret = ioctl(mFD, MTP_SEND_FILE_WITH_HEADER, (unsigned long)&mfr); in doGetPartialObject() 927 ret = mData.read(mFD); in doSendObject() 960 ret = ioctl(mFD, MTP_RECEIVE_FILE, (unsigned long)&mfr); in doSendObject() 1116 int ret = mData.read(mFD); in doSendPartialObject() [all …]
|
/frameworks/wilhelm/src/ |
D | data.c | 215 pDataLocator->mFD = *(SLDataLocator_AndroidFD *)pLocator; in checkDataLocator() 216 SL_LOGV("%s: fd=%d offset=%lld length=%lld", name, pDataLocator->mFD.fd, in checkDataLocator() 217 pDataLocator->mFD.offset, pDataLocator->mFD.length); in checkDataLocator() 219 if (0 > pDataLocator->mFD.fd) { in checkDataLocator() 220 SL_LOGE("%s: fd=%d\n", name, pDataLocator->mFD.fd); in checkDataLocator()
|
D | data.h | 29 SLDataLocator_AndroidFD mFD; member
|
/frameworks/native/include/binder/ |
D | MemoryHeapBase.h | 91 int mFD; variable
|
/frameworks/compile/libbcc/include/bcc/Support/ |
D | FileBase.h | 67 int mFD;
|
/frameworks/base/media/java/android/media/ |
D | FaceDetector.java | 194 private int mFD; field in FaceDetector
|
/frameworks/wilhelm/src/android/ |
D | MediaPlayer_to_android.cpp | 436 int64_t offset = (int64_t)mp->mDataSource.mLocator.mFD.offset; in android_Player_realize() 438 (int)mp->mDataSource.mLocator.mFD.fd, in android_Player_realize() 441 (int64_t)mp->mDataSource.mLocator.mFD.length); in android_Player_realize()
|
D | AudioPlayer_to_android.cpp | 1510 int64_t offset = (int64_t)pAudioPlayer->mDataSource.mLocator.mFD.offset; in android_audioPlayer_realize() 1512 (int)pAudioPlayer->mDataSource.mLocator.mFD.fd, in android_audioPlayer_realize() 1515 (int64_t)pAudioPlayer->mDataSource.mLocator.mFD.length); in android_audioPlayer_realize() 1552 int64_t offset = (int64_t)pAudioPlayer->mDataSource.mLocator.mFD.offset; in android_audioPlayer_realize() 1554 (int)pAudioPlayer->mDataSource.mLocator.mFD.fd, in android_audioPlayer_realize() 1557 (int64_t)pAudioPlayer->mDataSource.mLocator.mFD.length); in android_audioPlayer_realize()
|
/frameworks/base/docs/html/tools/adk/ |
D | adk2.jd | 596 ParcelFileDescriptor mFD = mUSBManager.openAccessory(acc); 597 if (mFD != null) { 598 FileDescripter fd = mFD.getFileDescriptor();
|