Searched refs:fd (Results 151 - 175 of 759) sorted by relevance

1234567891011>>

/frameworks/av/cmds/stagefright/
H A Daudioloop.cpp119 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/stagefright/
H A DAMRWriter.h32 AMRWriter(int fd);
H A DMPEG2TSWriter.h31 MPEG2TSWriter(int fd);
42 virtual status_t dump(int fd, const Vector<String16>& args);
/frameworks/av/media/libmedia/
H A Dmediametadataretriever.cpp117 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/include/
H A DStagefrightMetadataRetriever.h40 virtual status_t setDataSource(int fd, int64_t offset, int64_t length);
/frameworks/av/media/libstagefright/omx/
H A DOMXMaster.cpp40 int fd = open(filename, O_RDONLY); local
41 if (fd < 0) {
45 ssize_t len = read(fd, mProcessName, sizeof(mProcessName));
53 close(fd);
/frameworks/av/services/audioflinger/
H A DAudioWatchdog.h38 void dump(int fd); // should only be called on a stable copy, not the original
H A DAudioWatchdog.cpp28 void AudioWatchdogDump::dump(int fd) argument
37 dprintf(fd, "Watchdog: underruns=%u, logs=%u, most recent underrun log at %s",
/frameworks/av/services/audiopolicy/common/managerdefinitions/include/
H A DAudioRoute.h49 void dump(int fd, int spaces) const;
H A DAudioInputDescriptor.h43 status_t dump(int fd);
107 status_t dump(int fd) const;
H A DAudioSession.h45 status_t dump(int fd, int spaces, int index) const;
100 status_t dump(int fd, int spaces) const;
/frameworks/av/services/mediaextractor/
H A DMediaExtractorService.h37 virtual status_t dump(int fd, const Vector<String16>& args);
/frameworks/base/core/java/android/app/backup/
H A DBackupHelperDispatcher.java142 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
H A DIBackupManager.aidl145 * The fd may be a socket or other non-seekable destination. If no package names
153 * @param fd The file descriptor to which a 'tar' file stream is to be written
170 void fullBackup(in ParcelFileDescriptor fd, boolean includeApks, boolean includeObbs,
188 void fullRestore(in ParcelFileDescriptor fd);
/frameworks/base/core/jni/
H A Dandroid_net_NetUtils.cpp83 int fd = jniGetFDFromFileDescriptor(env, javaFd); local
84 if (setsockopt(fd, SOL_SOCKET, SO_ATTACH_FILTER, &filter, sizeof(filter)) != 0) {
121 int fd = jniGetFDFromFileDescriptor(env, javaFd); local
122 if (setsockopt(fd, SOL_SOCKET, SO_ATTACH_FILTER, &filter, sizeof(filter)) != 0) {
/frameworks/base/include/androidfw/
H A DAsset.h158 static Asset* createFromFileSegment(int fd, off64_t offset, size_t length,
162 * Create from compressed data. "fd" should be seeked to the start of
171 static Asset* createFromCompressedData(int fd, off64_t offset,
224 * On success, the object takes ownership of "fd".
226 status_t openChunk(const char* fileName, int fd, off64_t offset, size_t length);
279 * On success, the object takes ownership of "fd".
281 status_t openChunk(int fd, off64_t offset, int compressionMethod,
287 * On success, the object takes ownership of "fd".
H A DStreamingZipInflater.h33 // 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 DZipUtils.h41 static bool inflateToBuffer(int fd, void* buf, long uncompressedLen,
/frameworks/base/libs/common_time/
H A Dutils.h59 // Dump the log to an fd (dumpsys style)
60 void dumpLog(int fd);
/frameworks/base/libs/hwui/tests/macrobench/
H A Dmain.cpp106 int fd = open(buffer, O_WRONLY | O_CLOEXEC); local
107 if (fd == -1) {
117 if (write(fd, buffer, towrite) != towrite) {
121 close(fd);
/frameworks/base/services/core/java/com/android/server/accounts/
H A DIAccountAuthenticatorCache.java55 void dump(FileDescriptor fd, PrintWriter fout, String[] args, int userId); argument
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
H A DBaseWifiLogger.java37 public synchronized void dump(FileDescriptor fd, PrintWriter pw, String[] args) { argument
/frameworks/av/media/ndk/
H A DNdkMediaMuxer.cpp56 AMediaMuxer* AMediaMuxer_new(int fd, OutputFormat format) { argument
59 mData->mImpl = new MediaMuxer(fd, (android::MediaMuxer::OutputFormat)format);
/frameworks/av/services/camera/libcameraservice/common/
H A DCamera2ClientBase.cpp127 status_t Camera2ClientBase<TClientBase>::dumpClient(int fd, argument
137 write(fd, result.string(), result.size());
140 return dumpDevice(fd, args);
145 int fd,
150 write(fd, result.string(), result.size());
154 write(fd, result.string(), result.size());
158 status_t res = mDevice->dump(fd, args);
162 write(fd, result.string(), result.size());
144 dumpDevice( int fd, const Vector<String16>& args) argument
/frameworks/base/core/java/android/app/
H A DIUiAutomationConnection.aidl45 void executeShellCommand(String command, in ParcelFileDescriptor fd);

Completed in 4039 milliseconds

1234567891011>>