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

1234567891011>>

/frameworks/av/media/libmediaplayerservice/
H A DMediaRecorderClient.cpp167 status_t MediaRecorderClient::setOutputFile(int fd, int64_t offset, int64_t length) argument
169 ALOGV("setOutputFile(%d, %lld, %lld)", fd, offset, length);
175 return mRecorder->setOutputFile(fd, offset, length);
338 status_t MediaRecorderClient::dump(int fd, const Vector<String16>& args) const { argument
340 return mRecorder->dump(fd, args);
H A DMediaPlayerService.cpp314 status_t MediaPlayerService::AudioCache::dump(int fd, const Vector<String16>& args) const argument
332 ::write(fd, result.string(), result.size());
336 status_t MediaPlayerService::AudioOutput::dump(int fd, const Vector<String16>& args) const argument
353 ::write(fd, result.string(), result.size());
355 mTrack->dump(fd, args);
360 status_t MediaPlayerService::Client::dump(int fd, const Vector<String16>& args) const argument
369 write(fd, result.string(), result.size());
371 mPlayer->dump(fd, args);
374 mAudioOutput->dump(fd, args);
376 write(fd, "\
380 dump(int fd, const Vector<String16>& args) argument
644 int fd = android::openContentProviderFile(url16); local
665 setDataSource(int fd, int64_t offset, int64_t length) argument
1240 decode(int fd, int64_t offset, int64_t length, uint32_t *pSampleRate, int* pNumChannels, audio_format_t* pFormat, const sp<IMemoryHeap>& heap, size_t *pSize) argument
[all...]
/frameworks/av/media/libstagefright/tests/
H A DSurfaceMediaSource_test.cpp470 sp<MediaRecorder> SurfaceMediaSourceGLTest::setUpMediaRecorder(int fd, int videoSource, argument
476 mr->setOutputFile(fd, 0, 0);
742 int fd = open(fileName, O_RDWR | O_CREAT, 0744);
743 if (fd < 0) {
744 ALOGE("ERROR: Could not open the the file %s, fd = %d !!", fileName, fd);
746 CHECK(fd >= 0);
748 sp<MediaRecorder> mr = SurfaceMediaSourceGLTest::setUpMediaRecorder(fd,
772 close(fd);
877 int fd
[all...]
/frameworks/wilhelm/tests/examples/
H A DslesTestBassBoostPath.cpp119 int fd = open(path, O_RDONLY); local
120 if (fd == -1) {
123 locatorFd.fd = (SLint32) fd;
243 close(fd);
H A DslesTestPlayFdPath.cpp111 int fd = open(path, O_RDONLY); local
112 if (fd == -1) {
116 locatorFd.fd = (SLint32) fd;
187 close(fd);
H A DslesTestVirtualizerPath.cpp120 int fd = open(path, O_RDONLY); local
121 if (fd == -1) {
124 locatorFd.fd = (SLint32) fd;
245 close(fd);
/frameworks/av/media/libmedia/
H A DMemoryLeakTrackUtil.cpp70 void dumpMemoryAddresses(int fd) argument
161 write(fd, result.string(), result.size());
166 void dumpMemoryAddresses(int fd) {}
/frameworks/av/services/camera/libcameraservice/common/
H A DFrameProcessorBase.cpp66 void FrameProcessorBase::dump(int fd, const Vector<String16>& /*args*/) { argument
68 write(fd, result.string(), result.size());
76 lastFrame.dump(fd, 2, 6);
/frameworks/av/services/camera/libcameraservice/device3/
H A DCamera3InputStream.cpp183 void Camera3InputStream::dump(int fd, const Vector<String16> &args) const { argument
187 write(fd, lines.string(), lines.size());
189 Camera3IOStreamBase::dump(fd, args);
/frameworks/base/libs/androidfw/
H A DZipFileRO.cpp124 int fd = -1; local
131 fd = TEMP_FAILURE_RETRY(::open(zipFileName, O_RDONLY | O_BINARY));
132 if (fd < 0) {
137 mFileLength = lseek64(fd, 0, SEEK_END);
139 TEMP_FAILURE_RETRY(close(fd));
148 mFd = fd;
169 TEMP_FAILURE_RETRY(close(fd));
789 bool ZipFileRO::uncompressEntry(ZipEntryRO entry, int fd) const
815 ssize_t actual = TEMP_FAILURE_RETRY(write(fd, ptr, uncompLen));
827 if (!inflateBuffer(fd, pt
908 inflateBuffer(int fd, const void* inBuf, size_t uncompLen, size_t compLen) argument
[all...]
/frameworks/base/media/java/android/media/
H A DMediaMuxer.java87 private static native int nativeSetup(FileDescriptor fd, int format); argument
132 FileDescriptor fd = fos.getFD();
133 mNativeObject = nativeSetup(fd, format);
/frameworks/base/services/common_time/
H A Dutils.cpp113 void LogRing::dumpLog(int fd) { argument
130 write(fd, buf, res);
160 write(fd, buf, res);
/frameworks/native/libs/binder/
H A DBinder.cpp132 status_t BBinder::dump(int fd, const Vector<String16>& args) argument
195 int fd = data.readFileDescriptor(); local
201 return dump(fd, args);
/frameworks/native/libs/gui/
H A DSensorEventQueue.cpp91 const int fd = getFd(); local
109 } while (result != fd);
111 return (result == fd) ? status_t(NO_ERROR) : result;
/frameworks/native/services/surfaceflinger/
H A DMessageQueue.cpp177 int MessageQueue::cb_eventReceiver(int fd, int events, void* data) { argument
179 return queue->eventReceiver(fd, events);
182 int MessageQueue::eventReceiver(int fd, int events) { argument
/frameworks/base/core/jni/
H A Dandroid_util_EventLog.cpp155 int fd = open("/dev/" LOGGER_LOG_EVENTS, O_RDONLY | O_NONBLOCK); local
156 if (fd < 0) {
173 FD_SET(fd, &readset);
174 int r = select(fd + 1, &readset, NULL, NULL, &timeout);
184 int len = read(fd, buf, sizeof(buf));
223 close(fd);
H A Dandroid_backup_FileBackupHelperBase.cpp102 int fd = jniGetFDFromFileDescriptor(env, fileDescriptor); local
104 err = restore->WriteSnapshot(fd);
H A Dandroid_os_Debug.cpp575 int fd = open("/proc/meminfo", O_RDONLY); local
577 if (fd < 0) {
582 int len = read(fd, buffer, sizeof(buffer)-1);
583 close(fd);
640 fd = open("/sys/block/zram0/mem_used_total", O_RDONLY);
641 if (fd >= 0) {
642 len = read(fd, buffer, sizeof(buffer)-1);
643 close(fd);
856 jniThrowNullPointerException(env, "fd == null");
866 int fd local
903 int fd = open(fileName8.string(), O_CREAT | O_WRONLY | O_NOFOLLOW, 0666); /* -rw-rw-rw- */ local
[all...]
/frameworks/av/drm/libdrmframework/plugins/passthru/include/
H A DDrmPassthruPlugIn.h50 String8 onGetOriginalMimeType(int uniqueId, const String8& path, int fd);
77 int uniqueId, DecryptHandle* decryptHandle, int fd, off64_t offset, off64_t length);
/frameworks/av/include/drm/
H A DDrmManagerClient.h66 * @param[in] fd File descriptor of the protected content to be decrypted
73 sp<DecryptHandle> openDecryptSession(int fd, off64_t offset, off64_t length, const char* mime);
282 * @param[in] fd the file descriptor of the protected content
286 String8 getOriginalMimeType(const String8& path, int fd);
/frameworks/av/media/libmediaplayerservice/nuplayer/
H A DNuPlayerDriver.h36 virtual status_t setDataSource(int fd, int64_t offset, int64_t length);
62 virtual status_t dump(int fd, const Vector<String16> &args) const;
/frameworks/base/core/java/android/content/
H A DContentProviderNative.java231 ParcelFileDescriptor fd;
232 fd = openFile(callingPkg, url, mode, signal);
234 if (fd != null) {
236 fd.writeToParcel(reply,
253 AssetFileDescriptor fd;
254 fd = openAssetFile(callingPkg, url, mode, signal);
256 if (fd != null) {
258 fd.writeToParcel(reply,
304 AssetFileDescriptor fd;
305 fd
[all...]
/frameworks/base/core/java/android/net/
H A DLocalSocket.java71 public LocalSocket(FileDescriptor fd) throws IOException { argument
72 this(new LocalSocketImpl(fd), SOCKET_UNKNOWN);
319 * @return fd or null
/frameworks/base/core/java/android/print/
H A DIPrintSpooler.aidl46 void writePrintJobData(in ParcelFileDescriptor fd, in PrintJobId printJobId);
/frameworks/base/include/androidfw/
H A DZipFileRO.h157 bool uncompressEntry(ZipEntryRO entry, int fd) const;
172 * Utility function: uncompress deflated data, buffer to fd.
174 static bool inflateBuffer(int fd, const void* inBuf,

Completed in 663 milliseconds

1234567891011>>