/frameworks/compile/libbcc/lib/ |
FileBase.cpp | 45 : 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...] |
FileBase.h | 66 int mFD; 85 // Return true if mFD is the corresponded file descriptor to the file named
|
/frameworks/native/libs/binder/ |
MemoryHeapBase.cpp | 38 : 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;
|
Static.cpp | 51 explicit FdTextOutput(int fd) : BufferedTextOutput(MULTITHREADED), mFD(fd) { } 57 writev(mFD, &vec, N); 62 int mFD;
|
/system/libhwbinder/ |
Static.cpp | 52 explicit FdTextOutput(int fd) : BufferedTextOutput(MULTITHREADED), mFD(fd) { } 58 writev(mFD, &vec, N); 63 int mFD;
|
/frameworks/av/media/mtp/ |
MtpServer.h | 93 int mFD; 97 : mHandle(handle), mPath(path), mSize(size), mFormat(format), mFD(fd) { 101 close(mFD);
|
/frameworks/native/libs/binder/include/binder/ |
MemoryHeapBase.h | 91 int mFD;
|
/hardware/qcom/display/msm8084/liboverlay/ |
overlayUtils.h | 782 int mFD; 797 inline OvFD::OvFD() : mFD (INVAL) { 807 mFD = ::open(dev, flags, 0); 808 if (mFD < 0) { 826 ret = ::close(mFD); 827 mFD = INVAL; 834 return (mFD != INVAL); 837 inline int OvFD::getFD() const { return mFD; } 840 mFD = fd; 846 mFD, mPath) [all...] |
/hardware/qcom/display/msm8226/liboverlay/ |
overlayUtils.h | 621 int mFD; 636 inline OvFD::OvFD() : mFD (INVAL) { 646 mFD = ::open(dev, flags, 0); 647 if (mFD < 0) { 665 ret = ::close(mFD); 666 mFD = INVAL; 673 return (mFD != INVAL); 676 inline int OvFD::getFD() const { return mFD; } 679 mFD = fd; 685 mFD, mPath) [all...] |
/hardware/qcom/display/msm8909/liboverlay/ |
overlayUtils.h | 611 int mFD; 626 inline OvFD::OvFD() : mFD (INVAL) { 636 mFD = ::open(dev, flags, 0); 637 if (mFD < 0) { 655 ret = ::close(mFD); 656 mFD = INVAL; 663 return (mFD != INVAL); 666 inline int OvFD::getFD() const { return mFD; } 669 mFD = fd; 675 mFD, mPath) [all...] |
/hardware/qcom/display/msm8960/liboverlay/ |
overlayUtils.h | 784 int mFD; 799 inline OvFD::OvFD() : mFD (INVAL) { 809 mFD = ::open(dev, flags, 0); 810 if (mFD < 0) { 828 ret = ::close(mFD); 829 mFD = INVAL; 836 return (mFD != INVAL); 839 inline int OvFD::getFD() const { return mFD; } 842 mFD = fd; 848 mFD, mPath) [all...] |
/hardware/qcom/display/msm8994/liboverlay/ |
overlayUtils.h | 618 int mFD; 633 inline OvFD::OvFD() : mFD (INVAL) { 643 mFD = ::open(dev, flags, 0); 644 if (mFD < 0) { 662 ret = ::close(mFD); 663 mFD = INVAL; 670 return (mFD != INVAL); 673 inline int OvFD::getFD() const { return mFD; } 676 mFD = fd; 682 mFD, mPath) [all...] |
/frameworks/base/media/java/android/media/ |
FaceDetector.java | 194 private long mFD;
|
/frameworks/wilhelm/src/ |
data.h | 32 SLDataLocator_AndroidFD mFD;
|
data.cpp | 218 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); [all...] |
/hardware/qcom/display/msm8960/libcopybit/ |
copybit.cpp | 60 int mFD; 229 int err = ioctl(dev->mFD, MSMFB_BLIT, 519 close(ctx->mFD); 545 ctx->mFD = open("/dev/graphics/fb0", O_RDWR, 0); 546 if (ctx->mFD < 0) { 553 if (ioctl(ctx->mFD, FBIOGET_FSCREENINFO, &finfo) == 0) {
|
/hardware/qcom/display/msm8084/libcopybit/ |
copybit.cpp | 58 int mFD; 238 err = ioctl(dev->mFD, MSMFB_ASYNC_BLIT, 678 close(ctx->mFD); 741 ctx->mFD = open("/dev/graphics/fb0", O_RDWR, 0); 742 if (ctx->mFD < 0) {
|
/hardware/qcom/display/msm8226/libcopybit/ |
copybit.cpp | 58 int mFD; 238 err = ioctl(dev->mFD, MSMFB_ASYNC_BLIT, 678 close(ctx->mFD); 741 ctx->mFD = open("/dev/graphics/fb0", O_RDWR, 0); 742 if (ctx->mFD < 0) {
|
/hardware/qcom/display/msm8909/libcopybit/ |
copybit.cpp | 59 int mFD; 249 err = ioctl(dev->mFD, MSMFB_ASYNC_BLIT, 705 close(ctx->mFD); 776 ctx->mFD = open("/dev/graphics/fb0", O_RDWR, 0); 777 if (ctx->mFD < 0) {
|
/hardware/qcom/display/msm8994/libcopybit/ |
copybit.cpp | 59 int mFD; 241 err = ioctl(dev->mFD, MSMFB_ASYNC_BLIT, 690 close(ctx->mFD); 753 ctx->mFD = open("/dev/graphics/fb0", O_RDWR, 0); 754 if (ctx->mFD < 0) {
|
/hardware/qcom/display/msm8996/libcopybit/ |
copybit.cpp | 59 int mFD; 252 err = ioctl(dev->mFD, MSMFB_ASYNC_BLIT, 710 close(ctx->mFD); 781 ctx->mFD = open("/dev/graphics/fb0", O_RDWR, 0); 782 if (ctx->mFD < 0) {
|
/hardware/qcom/display/msm8998/libcopybit/ |
copybit.cpp | 59 int mFD; 254 err = ioctl(dev->mFD, MSMFB_ASYNC_BLIT, 712 close(ctx->mFD); 783 ctx->mFD = open("/dev/graphics/fb0", O_RDWR, 0); 784 if (ctx->mFD < 0) {
|
/hardware/qcom/display/sdm845/libcopybit/ |
copybit.cpp | 59 int mFD; 254 err = ioctl(dev->mFD, MSMFB_ASYNC_BLIT, 712 close(ctx->mFD); 783 ctx->mFD = open("/dev/graphics/fb0", O_RDWR, 0); 784 if (ctx->mFD < 0) {
|
/frameworks/wilhelm/src/android/ |
MediaPlayer_to_android.cpp | 434 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);
|
AudioPlayer_to_android.cpp | [all...] |