Searched refs:fd (Results 201 - 225 of 486) sorted by relevance

1234567891011>>

/frameworks/wilhelm/tests/examples/
H A DslesTestEqOutputPath.cpp131 int fd = open(path, O_RDONLY); local
132 if (fd == -1) {
135 locatorFd.fd = (SLint32) fd;
276 close(fd);
H A DslesTestSendToPresetReverb.cpp178 int fd = open(path, O_RDONLY); local
179 if (fd == -1) {
183 locatorFd.fd = (SLint32) fd;
188 fprintf(stderr, "option --fd is not supported\n");
322 close(locatorFd.fd);
352 } else if (!strcmp(arg, "--fd")) {
362 fprintf(stdout, "Usage: \t%s [--always-on] [--fd] [--loop] path preset directLevel "
/frameworks/av/media/libmedia/
H A DIMediaRecorder.cpp168 status_t setOutputFile(int fd, int64_t offset, int64_t length) { argument
169 ALOGV("setOutputFile(%d, %lld, %lld)", fd, offset, length);
172 data.writeFileDescriptor(fd);
390 int fd = dup(data.readFileDescriptor()); local
393 reply->writeInt32(setOutputFile(fd, offset, length));
394 ::close(fd);
/frameworks/av/media/libmediaplayerservice/
H A DMediaPlayerService.h110 virtual status_t dump(int fd, const Vector<String16>& args) const;
218 virtual status_t dump(int fd, const Vector<String16>& args) const;
249 virtual sp<IMemory> decode(int fd, int64_t offset, int64_t length, uint32_t *pSampleRate, int* pNumChannels, audio_format_t* pFormat);
256 virtual status_t dump(int fd, const Vector<String16>& args);
342 virtual status_t setDataSource(int fd, int64_t offset, int64_t length);
354 virtual status_t dump(int fd, const Vector<String16>& args) const;
/frameworks/base/media/java/android/media/
H A DThumbnailUtils.java110 FileDescriptor fd = stream.getFD();
114 BitmapFactory.decodeFileDescriptor(fd, null, options);
125 bitmap = BitmapFactory.decodeFileDescriptor(fd, null, options);
317 FileDescriptor fd = pfd.getFileDescriptor();
320 BitmapFactory.decodeFileDescriptor(fd, null, options);
331 b = BitmapFactory.decodeFileDescriptor(fd, null, options);
/frameworks/native/libs/binder/
H A DIMemory.cpp247 ALOGD("UNMAPPING binder=%p, heap=%p, size=%d, fd=%d",
301 ALOGE_IF(err, "binder=%p transaction failed fd=%d, size=%ld, err=%d (%s)",
304 int fd = dup( parcel_fd ); local
305 ALOGE_IF(fd==-1, "cannot dup fd=%d, size=%ld, err=%d (%s)",
316 mBase = mmap(0, size, access, MAP_SHARED, fd, offset);
318 ALOGE("cannot map BpMemoryHeap (binder=%p), size=%ld, fd=%d (%s)",
319 asBinder().get(), size, fd, strerror(errno));
320 close(fd);
325 android_atomic_write(fd,
[all...]
/frameworks/av/drm/libdrmframework/include/
H A DDrmManager.h88 String8 getOriginalMimeType(int uniqueId, const String8& path, int fd);
115 int uniqueId, int fd, off64_t offset, off64_t length, const char* mime);
H A DDrmManagerClientImpl.h151 * @param[in] fd the file descriptor of the protected content
155 String8 getOriginalMimeType(int uniqueId, const String8& path, int fd);
301 * @param[in] fd File descriptor of the protected content to be decrypted
309 int uniqueId, int fd, off64_t offset, off64_t length, const char* mime);
H A DIDrmManagerService.h112 virtual String8 getOriginalMimeType(int uniqueId, const String8& path, int fd) = 0;
144 int uniqueId, int fd, off64_t offset,
203 virtual String8 getOriginalMimeType(int uniqueId, const String8& path, int fd);
233 int uniqueId, int fd, off64_t offset, off64_t length,
/frameworks/av/drm/libdrmframework/plugins/common/include/
H A DIDrmEngine.h169 * @param[in] fd File descriptor of the protected content
173 virtual String8 getOriginalMimeType(int uniqueId, const String8& path, int fd) = 0;
321 * @param[in] fd File descriptor of the protected content to be decrypted
331 int fd, off64_t offset, off64_t length, const char* mime) = 0;
/frameworks/av/include/media/
H A Dmediaplayer.h199 status_t setDataSource(int fd, int64_t offset, int64_t length);
222 static sp<IMemory> decode(int fd, int64_t offset, int64_t length, uint32_t *pSampleRate, int* pNumChannels, audio_format_t* pFormat);
H A DIMediaPlayerService.h52 virtual sp<IMemory> decode(int fd, int64_t offset, int64_t length, uint32_t *pSampleRate, int* pNumChannels, audio_format_t* pFormat) = 0;
H A DIMediaRecorder.h45 virtual status_t setOutputFile(int fd, int64_t offset, int64_t length) = 0;
/frameworks/av/include/media/stagefright/
H A DMPEG4Writer.h36 MPEG4Writer(int fd);
43 virtual status_t dump(int fd, const Vector<String16>& args);
/frameworks/av/media/libstagefright/
H A DFileSource.cpp46 FileSource::FileSource(int fd, int64_t offset, int64_t length) argument
47 : mFd(fd),
/frameworks/av/services/camera/libcameraservice/
H A DCameraService.h60 virtual status_t dump(int fd, const Vector<String16>& args);
117 virtual status_t dump(int fd, const Vector<String16>& args) = 0;
/frameworks/base/core/java/android/content/
H A DCursorLoader.java235 public void dump(String prefix, FileDescriptor fd, PrintWriter writer, String[] args) { argument
236 super.dump(prefix, fd, writer, args);
/frameworks/base/libs/androidfw/
H A DStreamingZipInflater.cpp32 * Streaming access to compressed asset data in an open fd
34 StreamingZipInflater::StreamingZipInflater(int fd, off64_t compDataStart, argument
36 mFd = fd;
/frameworks/base/services/common_time/
H A Dcommon_clock_service.cpp36 status_t CommonClockService::dump(int fd, const Vector<String16>& args) { argument
38 return mTimeServer.dumpClockInterface(fd, args, mListeners.size());
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/
H A DBitmapFactory_Delegate.java140 /*package*/ static Bitmap nativeDecodeFileDescriptor(FileDescriptor fd, argument
174 /*package*/ static boolean nativeIsSeekable(FileDescriptor fd) { argument
/frameworks/opt/telephony/src/java/com/android/internal/telephony/gsm/
H A DGsmDataConnection.java160 public void dump(FileDescriptor fd, PrintWriter pw, String[] args) { argument
162 super.dump(fd, pw, args);
/frameworks/rs/driver/
H A DrsdShader.h126 const float *fd, uint32_t arraySize);
129 const float *fd, int32_t slot, uint32_t arraySize );
/frameworks/rs/
H A DrsThreadIO.cpp113 p[0].fd = mToCore.getReadFd();
116 p[1].fd = waitFd;
/frameworks/support/renderscript/v8/rs_support/
H A DrsThreadIO.cpp113 p[0].fd = mToCore.getReadFd();
116 p[1].fd = waitFd;
/frameworks/support/v4/java/android/support/v4/content/
H A DCursorLoader.java203 public void dump(String prefix, FileDescriptor fd, PrintWriter writer, String[] args) { argument
204 super.dump(prefix, fd, writer, args);

Completed in 379 milliseconds

1234567891011>>