Searched defs:fd (Results 1 - 25 of 364) sorted by last modified time

1234567891011>>

/frameworks/wilhelm/include/OMXAL/
H A DOpenMAXAL_Android.h164 XAint32 fd; member in struct:XADataLocator_AndroidFD_
/frameworks/wilhelm/include/SLES/
H A DOpenSLES_Android.h306 SLint32 fd; member in struct:SLDataLocator_AndroidFD_
/frameworks/wilhelm/src/android/
H A DAudioPlayer_to_android.cpp41 // bufferqueue and uri/fd playback are moved under the GenericPlayer C++ object
1021 // fd is already non null
1516 int fd = ::open(pathname, O_RDONLY); local
1517 if (fd >= 0) {
1520 if (!::fstat(fd, &statbuf) && S_ISREG(statbuf.st_mode)) {
1522 // let setDataSource take responsibility for closing fd
1523 pAudioPlayer->mAPlayer->setDataSource(fd, 0, statbuf.st_size, true);
1527 (void) ::close(fd);
1536 (int)pAudioPlayer->mDataSource.mLocator.mFD.fd,
1578 (int)pAudioPlayer->mDataSource.mLocator.mFD.fd,
[all...]
H A Dandroid_AudioSfDecoder.cpp202 // As FileSource unconditionally takes ownership of the fd and closes it, then
204 int fd = mDataLocator.fdi.fd; local
208 fd = ::dup(fd);
210 dataSource = new FileSource(fd, mDataLocator.fdi.offset, mDataLocator.fdi.length);
H A Dandroid_GenericPlayer.cpp100 void GenericPlayer::setDataSource(int fd, int64_t offset, int64_t length, bool closeAfterUse) { argument
101 SL_LOGV("GenericPlayer::setDataSource(fd=%d, offset=%lld, length=%lld, closeAfterUse=%s)", fd,
105 mDataLocator.fdi.fd = fd;
108 int ret = fstat(fd, &sb);
110 SL_LOGE("GenericPlayer::setDataSource: fstat(%d) failed: %d, %s", fd, ret, strerror(errno));
275 (void) ::close(mDataLocator.fdi.fd);
277 //mDataLocator.fdi.fd = -1;
H A Dandroid_defs.h189 kDataLocatorFd = 'fd',
193 int fd; member in struct:android::FdInfo
196 bool mCloseAfterUse; // whether to close fd after last reference to fd
/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 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);
H A DslesTestEqFdPath.cpp124 int fd = open(path, O_RDONLY); local
125 if (fd == -1) {
128 locatorFd.fd = (SLint32) fd;
272 close(fd);
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 DslesTestPlayFdPath.cpp111 int fd = open(path, O_RDONLY); local
112 if (fd == -1) {
116 locatorFd.fd = (SLint32) fd;
187 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 "
H A DslesTestVirtualizerPath.cpp120 int fd = open(path, O_RDONLY); local
121 if (fd == -1) {
124 locatorFd.fd = (SLint32) fd;
245 close(fd);
/frameworks/wilhelm/tests/sandbox/
H A Dxaplay.c314 int fd = -1; local
316 fd = open(uri, O_RDONLY);
317 if (fd < 0) {
323 ok = fstat(fd, &statbuf);
333 ptr = mmap(NULL, statbuf.st_size, PROT_READ, MAP_FILE | MAP_PRIVATE, fd, (off_t) 0);
858 if (fd >= 0) {
859 (void) close(fd);
/frameworks/support/v4/honeycomb/android/support/v4/app/
H A DActivityCompatHoneycomb.java32 static void dump(Activity activity, String prefix, FileDescriptor fd, argument
34 activity.dump(prefix, fd, writer, args);
/frameworks/support/v4/java/android/support/v4/app/
H A DBackStackRecord.java236 public void dump(String prefix, FileDescriptor fd, PrintWriter writer, String[] args) { argument
H A DFragment.java1327 * @param fd The raw file descriptor that the dump is being sent to.
1332 public void dump(String prefix, FileDescriptor fd, PrintWriter writer, String[] args) { argument
1401 mLoaderManager.dump(prefix + " ", fd, writer, args);
1405 mChildFragmentManager.dump(prefix + " ", fd, writer, args);
H A DFragmentActivity.java640 * @param fd The raw file descriptor that the dump is being sent to.
645 public void dump(String prefix, FileDescriptor fd, PrintWriter writer, String[] args) { argument
648 //ActivityCompatHoneycomb.dump(this, prefix, fd, writer, args);
665 mLoaderManager.dump(prefix + " ", fd, writer, args);
667 mFragments.dump(prefix, fd, writer, args);
H A DFragmentManager.java322 * @param fd The raw file descriptor that the dump is being sent to.
326 public abstract void dump(String prefix, FileDescriptor fd, PrintWriter writer, String[] args); argument
599 public void dump(String prefix, FileDescriptor fd, PrintWriter writer, String[] args) { argument
614 f.dump(innerPrefix, fd, writer, args);
652 bs.dump(innerPrefix, fd, writer, args);
H A DLoaderManager.java165 * @param fd The raw file descriptor that the dump is being sent to.
169 public abstract void dump(String prefix, FileDescriptor fd, PrintWriter writer, String[] args); argument
450 public void dump(String prefix, FileDescriptor fd, PrintWriter writer, String[] args) { argument
456 mLoader.dump(prefix + " ", fd, writer, args);
472 mPendingLoader.dump(prefix + " ", fd, writer, args);
799 public void dump(String prefix, FileDescriptor fd, PrintWriter writer, String[] args) { argument
807 li.dump(innerPrefix, fd, writer, args);
817 li.dump(innerPrefix, fd, writer, args);
/frameworks/support/v4/java/android/support/v4/content/
H A DAsyncTaskLoader.java265 public void dump(String prefix, FileDescriptor fd, PrintWriter writer, String[] args) { argument
266 super.dump(prefix, fd, writer, args);
H A DCursorLoader.java203 public void dump(String prefix, FileDescriptor fd, PrintWriter writer, String[] args) { argument
204 super.dump(prefix, fd, writer, args);
H A DLoader.java361 * @param fd The raw file descriptor that the dump is being sent to.
365 public void dump(String prefix, FileDescriptor fd, PrintWriter writer, String[] args) { argument
/frameworks/rs/driver/
H A DrsdShader.cpp309 void RsdShader::logUniform(const Element *field, const float *fd, uint32_t arraySize ) { argument
318 ALOGV("{%f, %f, %f, %f", fd[0], fd[4], fd[8], fd[12]);
319 ALOGV(" %f, %f, %f, %f", fd[1], fd[5], fd[9], fd[13]);
320 ALOGV(" %f, %f, %f, %f", fd[
355 setUniform(const Context *rsc, const Element *field, const float *fd, int32_t slot, uint32_t arraySize ) argument
535 const float *fd = reinterpret_cast<const float *>(&data[offset]); local
[all...]
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
H A DCallTracker.java176 public void dump(FileDescriptor fd, PrintWriter pw, String[] args) { argument

Completed in 1566 milliseconds

1234567891011>>