/frameworks/base/core/jni/ |
H A D | android_util_Process.cpp | 216 int fd; local 221 fd = open(proc_path, O_RDONLY); 222 if (fd >= 0) { 223 int rc = read(fd, cmdline, sizeof(cmdline)-1); 225 close(fd); 556 int fd = open(text, O_WRONLY); local 557 if (fd >= 0) { 559 write(fd, text, strlen(text)); 560 close(fd); 604 int fd local 717 int fd = open(file.string(), O_RDONLY); local 1024 int fd = open(file8, O_RDONLY); local 1164 int fd = open(path, O_RDONLY); local [all...] |
/frameworks/native/services/inputflinger/ |
H A D | EventHub.cpp | 147 EventHub::Device::Device(int fd, int32_t id, const String8& path, argument 150 fd(fd), id(id), path(path), identifier(identifier), 170 if (fd >= 0) { 171 ::close(fd); 172 fd = -1; 291 if(ioctl(device->fd, EVIOCGABS(axis), &info)) { 292 ALOGW("Error reading absolute controller %d for device %s fd %d, errno=%d", 293 axis, device->identifier.name.string(), device->fd, errno); 343 if (ioctl(device->fd, EVIOCGKE 1073 int fd = open(devicePath, O_RDWR | O_CLOEXEC); local [all...] |
/frameworks/av/cmds/stagefright/ |
H A D | audioloop.cpp | 119 int fd = open(fileOut, O_CREAT | O_LARGEFILE | O_TRUNC | O_RDWR, S_IRUSR | S_IWUSR); local 120 if (fd < 0) { 123 sp<AMRWriter> writer = new AMRWriter(fd); 124 close(fd);
|
/frameworks/av/include/media/ |
H A D | IMediaExtractorService.h | 35 virtual sp<IDataSource> makeIDataSource(int fd, int64_t offset, int64_t length) = 0;
|
/frameworks/av/include/media/audiohal/ |
H A D | EffectsFactoryHalInterface.h | 47 virtual status_t dumpEffects(int fd) = 0;
|
/frameworks/av/include/media/stagefright/ |
H A D | AMRWriter.h | 32 AMRWriter(int fd);
|
H A D | StagefrightMetadataRetriever.h | 40 virtual status_t setDataSource(int fd, int64_t offset, int64_t length);
|
/frameworks/av/media/libaaudio/src/binding/ |
H A D | AudioEndpointParcelable.h | 50 int32_t addFileDescriptor(int fd, int32_t sizeInBytes);
|
H A D | SharedMemoryParcelable.h | 46 void setup(int fd, int32_t sizeInBytes);
|
/frameworks/av/media/libaudiohal/include/ |
H A D | EffectsFactoryHalInterface.h | 47 virtual status_t dumpEffects(int fd) = 0;
|
/frameworks/av/media/libmedia/include/media/ |
H A D | IMediaExtractorService.h | 35 virtual sp<IDataSource> makeIDataSource(int fd, int64_t offset, int64_t length) = 0;
|
/frameworks/av/media/libmedia/ |
H A D | mediametadataretriever.cpp | 117 status_t MediaMetadataRetriever::setDataSource(int fd, int64_t offset, int64_t length) argument 119 ALOGV("setDataSource(%d, %" PRId64 ", %" PRId64 ")", fd, offset, length); 125 if (fd < 0 || offset < 0 || length < 0) { 129 return mRetriever->setDataSource(fd, offset, length);
|
/frameworks/av/media/libstagefright/foundation/include/ |
H A D | AMRWriter.h | 32 AMRWriter(int fd);
|
H A D | StagefrightMetadataRetriever.h | 40 virtual status_t setDataSource(int fd, int64_t offset, int64_t length);
|
/frameworks/av/media/libstagefright/include/ |
H A D | AMRWriter.h | 32 AMRWriter(int fd);
|
H A D | StagefrightMetadataRetriever.h | 40 virtual status_t setDataSource(int fd, int64_t offset, int64_t length);
|
/frameworks/av/media/libstagefright/omx/ |
H A D | OMXMaster.cpp | 38 int fd = open(filename, O_RDONLY); local 39 if (fd < 0) { 43 ssize_t len = read(fd, mProcessName, sizeof(mProcessName)); 51 close(fd);
|
/frameworks/av/services/audiopolicy/common/managerdefinitions/include/ |
H A D | AudioRoute.h | 49 void dump(int fd, int spaces) const;
|
/frameworks/base/core/java/android/app/ |
H A D | IApplicationThread.aidl | 97 void dumpService(in ParcelFileDescriptor fd, IBinder servicetoken, 120 void dumpHeap(boolean managed, in String path, in ParcelFileDescriptor fd); 121 void dumpActivity(in ParcelFileDescriptor fd, IBinder servicetoken, in String prefix, 129 void dumpMemInfo(in ParcelFileDescriptor fd, in Debug.MemoryInfo mem, boolean checkin, 132 void dumpGfxInfo(in ParcelFileDescriptor fd, in String[] args); 133 void dumpProvider(in ParcelFileDescriptor fd, IBinder servicetoken, 135 void dumpDbInfo(in ParcelFileDescriptor fd, in String[] args); 148 void stopBinderTrackingAndDump(in ParcelFileDescriptor fd);
|
/frameworks/base/core/java/android/app/backup/ |
H A D | BackupHelperDispatcher.java | 142 private static native int readHeader_native(Header h, FileDescriptor fd); argument 143 private static native int skipChunk_native(FileDescriptor fd, int bytesToSkip); argument 145 private static native int allocateHeader_native(Header h, FileDescriptor fd); argument 146 private static native int writeHeader_native(Header h, FileDescriptor fd, int pos); argument
|
/frameworks/base/core/java/com/android/internal/os/ |
H A D | WrapperInit.java | 73 FileDescriptor fd = new FileDescriptor(); 74 fd.setInt$(fdNum); 75 DataOutputStream os = new DataOutputStream(new FileOutputStream(fd)); 78 IoUtils.closeQuietly(fd);
|
/frameworks/base/core/jni/android/graphics/pdf/ |
H A D | PdfUtils.h | 45 jlong nativeOpen(JNIEnv* env, jclass thiz, jint fd, jlong size);
|
/frameworks/base/libs/androidfw/include/androidfw/ |
H A D | StreamingZipInflater.h | 33 // Flavor that pages in the compressed data from a fd 34 StreamingZipInflater(int fd, off64_t compDataStart, size_t uncompSize, size_t compSize);
|
H A D | ZipUtils.h | 41 static bool inflateToBuffer(int fd, void* buf, long uncompressedLen,
|
/frameworks/base/libs/common_time/ |
H A D | utils.h | 59 // Dump the log to an fd (dumpsys style) 60 void dumpLog(int fd);
|