Searched refs:fd (Results 326 - 350 of 553) sorted by relevance

<<11121314151617181920>>

/frameworks/av/include/media/
H A DMediaPlayerInterface.h142 virtual status_t setDataSource(int fd, int64_t offset, int64_t length) = 0;
211 virtual status_t dump(int fd, const Vector<String16> &args) const { argument
H A DSoundPool.h56 Sample(int sampleID, int fd, int64_t offset, int64_t length);
173 int load(int fd, int64_t offset, int64_t length, int priority);
H A Dmediaplayer.h205 status_t setDataSource(int fd, int64_t offset, int64_t length);
230 static status_t decode(int fd, int64_t offset, int64_t length, uint32_t *pSampleRate,
/frameworks/av/libvideoeditor/lvpp/
H A DVideoEditorPlayer.h67 virtual status_t dump(int fd,const Vector<String16>& args) const;
102 virtual status_t setDataSource(int fd, int64_t offset, int64_t length);
/frameworks/av/media/libmediaplayerservice/
H A DStagefrightRecorder.h56 virtual status_t setOutputFile(int fd, int64_t offset, int64_t length);
67 virtual status_t dump(int fd, const Vector<String16>& args) const;
/frameworks/av/media/libmediaplayerservice/nuplayer/
H A DGenericSource.cpp54 int fd, int64_t offset, int64_t length)
60 sp<DataSource> dataSource = new FileSource(dup(fd), offset, length);
52 GenericSource( const sp<AMessage> &notify, int fd, int64_t offset, int64_t length) argument
/frameworks/av/media/libstagefright/
H A DAMRWriter.cpp45 AMRWriter::AMRWriter(int fd) argument
46 : mFd(dup(fd)),
H A DStagefrightMetadataRetriever.cpp83 int fd, int64_t offset, int64_t length) {
84 fd = dup(fd);
86 ALOGV("setDataSource(%d, %lld, %lld)", fd, offset, length);
93 mSource = new FileSource(fd, offset, length);
82 setDataSource( int fd, int64_t offset, int64_t length) argument
/frameworks/base/core/java/android/app/
H A DDialogFragment.java545 public void dump(String prefix, FileDescriptor fd, PrintWriter writer, String[] args) { argument
546 super.dump(prefix, fd, writer, args);
/frameworks/base/core/java/android/content/
H A DAsyncTaskLoader.java358 public void dump(String prefix, FileDescriptor fd, PrintWriter writer, String[] args) { argument
359 super.dump(prefix, fd, writer, args);
/frameworks/base/libs/androidfw/
H A DZipUtils.cpp40 * "fd" is an open file positioned at the start of the "deflate" data
43 /*static*/ bool ZipUtils::inflateToBuffer(int fd, void* buf, argument
102 int cc = TEMP_FAILURE_RETRY(read(fd, readBuf, getSize));
150 * of an fd. We could pass fileno(fd) to the above, but we can run into
151 * trouble when "fp" has a different notion of what fd's file position is.)
/frameworks/base/services/java/com/android/server/location/
H A DLocationProviderProxy.java219 public void dump(FileDescriptor fd, PrintWriter pw, String[] args) { argument
234 service.asBinder().dump(fd, args);
/frameworks/base/services/java/com/android/server/search/
H A DSearchManagerService.java266 public void dump(FileDescriptor fd, PrintWriter pw, String[] args) { argument
274 mSearchables.valueAt(i).dump(fd, ipw, args);
/frameworks/base/wifi/java/android/net/wifi/
H A DSupplicantStateTracker.java354 public void dump(FileDescriptor fd, PrintWriter pw, String[] args) { argument
355 super.dump(fd, pw, args);
/frameworks/opt/telephony/src/java/com/android/internal/telephony/cdma/
H A DCDMALTEPhone.java332 public void dump(FileDescriptor fd, PrintWriter pw, String[] args) { argument
334 super.dump(fd, pw, args);
/frameworks/opt/telephony/src/java/com/android/internal/telephony/uicc/
H A DIsimUiccRecords.java280 public void dump(FileDescriptor fd, PrintWriter pw, String[] args) { argument
283 super.dump(fd, pw, args);
/frameworks/support/v4/java/android/support/v4/content/
H A DAsyncTaskLoader.java267 public void dump(String prefix, FileDescriptor fd, PrintWriter writer, String[] args) { argument
268 super.dump(prefix, fd, writer, args);
/frameworks/wilhelm/tests/examples/
H A DslesTestDecodeAac.cpp414 void TestDecToBuffQueue( SLObjectItf sl, const char *path, int fd) argument
419 ok = fstat(fd, &statbuf);
432 ptr = mmap(NULL, statbuf.st_size, PROT_READ, MAP_FILE | MAP_PRIVATE, fd, (off_t) 0);
870 int fd; local
871 fd = open(argv[1], O_RDONLY);
872 if (fd < 0) {
888 TestDecToBuffQueue(sl, argv[1], fd);
894 (void) close(fd);
/frameworks/av/services/audioflinger/
H A DAudioFlinger.h97 virtual status_t dump(int fd, const Vector<String16>& args);
315 void dumpPermissionDenial(int fd, const Vector<String16>& args);
316 void dumpClients(int fd, const Vector<String16>& args);
317 void dumpInternals(int fd, const Vector<String16>& args);
621 static void dumpTee(int fd, const sp<NBAIO_Source>& source, audio_io_handle_t id = 0);
/frameworks/base/core/jni/
H A Dandroid_app_NativeActivity.cpp71 static void write_work(int fd, int32_t cmd, int32_t arg1=0, int32_t arg2=0) { argument
80 int res = write(fd, &work, sizeof(work));
87 if (res < 0) ALOGW("Failed writing to work fd: %s", strerror(errno));
88 else ALOGW("Truncated writing to work fd: %d", res);
91 static bool read_work(int fd, ActivityWork* outWork) { argument
92 int res = read(fd, outWork, sizeof(ActivityWork));
96 if (res < 0) ALOGW("Failed reading work fd: %s", strerror(errno));
97 else ALOGW("Truncated reading work fd: %d", res);
196 static int mainWorkCallback(int fd, int events, void* data) { argument
/frameworks/rs/cpu_ref/
H A DrsCpuCore.cpp207 int fd, len; local
209 fd = open(pathname, O_RDONLY);
210 if (fd < 0)
214 len = read(fd, buffer, buffsize);
217 close(fd);
/frameworks/base/cmds/am/src/com/android/commands/am/
H A DAm.java658 ParcelFileDescriptor fd = null;
662 fd = ParcelFileDescriptor.open(
677 null, null, 0, mStartFlags, mProfileFile, fd, null, mUserId);
681 null, null, 0, mStartFlags, mProfileFile, fd, null, mUserId);
940 ParcelFileDescriptor fd = null;
945 fd = ParcelFileDescriptor.open(
967 if (!mAm.profileControl(process, userId, start, profileFile, fd, profileType)) {
999 ParcelFileDescriptor fd = null;
1004 fd = ParcelFileDescriptor.open(file,
1013 if (!mAm.dumpHeap(process, userId, managed, heapFile, fd)) {
[all...]
/frameworks/av/media/libstagefright/rtsp/
H A DARTPWriter.cpp47 ARTPWriter::ARTPWriter(int fd) argument
49 mFd(dup(fd)),
52 CHECK_GE(fd, 0);
320 int fd = isRTCP ? mRTCPFd : mRTPFd; local
324 write(fd, &ms, sizeof(ms));
325 write(fd, &length, sizeof(length));
326 write(fd, buffer->data(), buffer->size());
/frameworks/base/services/java/com/android/server/content/
H A DContentService.java84 protected synchronized void dump(FileDescriptor fd, PrintWriter pw, String[] args) { argument
95 mSyncManager.dump(fd, pw);
102 mRootNode.dumpLocked(fd, pw, args, "", " ", counts, pidCounts);
772 public void dumpLocked(FileDescriptor fd, PrintWriter pw, String[] args, argument
796 public void dumpLocked(FileDescriptor fd, PrintWriter pw, String[] args, argument
807 mObservers.get(i).dumpLocked(fd, pw, args, innerName, prefix,
821 mChildren.get(i).dumpLocked(fd, pw, args, innerName, prefix,
/frameworks/base/tools/aapt/
H A DZipFile.cpp1102 time_t ZipFile::getModTime(int fd) argument
1106 if (fstat(fd, &sb) < 0) {
1107 ALOGD("HEY: fstat on fd %d failed\n", fd);
1129 int fd;
1130 fd = dup(fileno(mZipFp));
1131 if (fd < 0) {
1135 return fd;

Completed in 2442 milliseconds

<<11121314151617181920>>