/frameworks/wilhelm/include/OMXAL/ |
H A D | OpenMAXAL_Android.h | 164 XAint32 fd; member in struct:XADataLocator_AndroidFD_
|
/frameworks/wilhelm/include/SLES/ |
H A D | OpenSLES_Android.h | 328 SLint32 fd; member in struct:SLDataLocator_AndroidFD_
|
/frameworks/wilhelm/src/android/ |
H A D | AudioPlayer_to_android.cpp | 41 // bufferqueue and uri/fd playback are moved under the GenericPlayer C++ object 1086 // fd is already non null 1579 int fd = ::open(pathname, O_RDONLY); local 1580 if (fd >= 0) { 1583 if (!::fstat(fd, &statbuf) && S_ISREG(statbuf.st_mode)) { 1585 // let setDataSource take responsibility for closing fd 1586 pAudioPlayer->mAPlayer->setDataSource(fd, 0, statbuf.st_size, true); 1590 (void) ::close(fd); 1599 (int)pAudioPlayer->mDataSource.mLocator.mFD.fd, 1641 (int)pAudioPlayer->mDataSource.mLocator.mFD.fd, [all...] |
H A D | MediaPlayer_to_android.cpp | 438 (int)mp->mDataSource.mLocator.mFD.fd,
|
H A D | android_AudioSfDecoder.cpp | 204 // As FileSource unconditionally takes ownership of the fd and closes it, then 206 int fd = mDataLocator.fdi.fd; local 210 fd = ::dup(fd); 212 dataSource = new FileSource(fd, mDataLocator.fdi.offset, mDataLocator.fdi.length);
|
H A D | android_GenericPlayer.cpp | 101 void GenericPlayer::setDataSource(int fd, int64_t offset, int64_t length, bool closeAfterUse) { argument 102 SL_LOGV("GenericPlayer::setDataSource(fd=%d, offset=%lld, length=%lld, closeAfterUse=%s)", fd, 106 mDataLocator.fdi.fd = fd; 109 int ret = fstat(fd, &sb); 111 SL_LOGE("GenericPlayer::setDataSource: fstat(%d) failed: %d, %s", fd, ret, strerror(errno)); 276 (void) ::close(mDataLocator.fdi.fd); 278 //mDataLocator.fdi.fd = -1;
|
H A D | android_GenericPlayer.h | 67 void setDataSource(int fd, int64_t offset, int64_t length, bool closeAfterUse = false);
|
H A D | android_LocAVPlayer.cpp | 70 } else if (mPlayer->setDataSource(mDataLocator.fdi.fd, mDataLocator.fdi.offset, 75 // Binder dups the fd for use by mediaserver, so if we own the fd then OK to close now 77 (void) ::close(mDataLocator.fdi.fd); 78 mDataLocator.fdi.fd = -1;
|
H A D | android_defs.h | 189 kDataLocatorFd = 'fd', 193 int fd; member in struct:android::FdInfo 196 bool mCloseAfterUse; // whether to close fd after last reference to fd
|
/frameworks/wilhelm/src/ |
H A D | data.c | 216 SL_LOGV("%s: fd=%d offset=%lld length=%lld", name, pDataLocator->mFD.fd, 218 // NTH check against process fd limit 219 if (0 > pDataLocator->mFD.fd) { 220 SL_LOGE("%s: fd=%d\n", name, pDataLocator->mFD.fd);
|
/frameworks/wilhelm/tests/examples/ |
H A D | slesTestBassBoostPath.cpp | 119 int fd = open(path, O_RDONLY); local 120 if (fd == -1) { 123 locatorFd.fd = (SLint32) fd; 243 close(fd);
|
H A D | slesTestDecodeAac.cpp | 414 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 D | slesTestEqFdPath.cpp | 124 int fd = open(path, O_RDONLY); local 125 if (fd == -1) { 128 locatorFd.fd = (SLint32) fd; 272 close(fd);
|
H A D | slesTestEqOutputPath.cpp | 131 int fd = open(path, O_RDONLY); local 132 if (fd == -1) { 135 locatorFd.fd = (SLint32) fd; 276 close(fd);
|
H A D | slesTestPlayFdPath.cpp | 111 int fd = open(path, O_RDONLY); local 112 if (fd == -1) { 116 locatorFd.fd = (SLint32) fd; 187 close(fd);
|
H A D | slesTestSendToPresetReverb.cpp | 178 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 D | slesTestVirtualizerPath.cpp | 120 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 D | xaplay.c | 314 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/java/android/support/v4/app/ |
H A D | FragmentManager.java | 348 * @param fd The raw file descriptor that the dump is being sent to. 352 public abstract void dump(String prefix, FileDescriptor fd, PrintWriter writer, String[] args); argument 636 public void dump(String prefix, FileDescriptor fd, PrintWriter writer, String[] args) { argument 651 f.dump(innerPrefix, fd, writer, args); 689 bs.dump(innerPrefix, fd, writer, args);
|
H A D | LoaderManager.java | 165 * @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); 800 public void dump(String prefix, FileDescriptor fd, PrintWriter writer, String[] args) { argument 808 li.dump(innerPrefix, fd, writer, args); 818 li.dump(innerPrefix, fd, writer, args);
|
/frameworks/support/v4/java/android/support/v4/content/ |
H A D | AsyncTaskLoader.java | 267 public void dump(String prefix, FileDescriptor fd, PrintWriter writer, String[] args) { argument 268 super.dump(prefix, fd, writer, args);
|
H A D | CursorLoader.java | 195 public void dump(String prefix, FileDescriptor fd, PrintWriter writer, String[] args) { argument 196 super.dump(prefix, fd, writer, args);
|
H A D | Loader.java | 388 * @param fd The raw file descriptor that the dump is being sent to. 392 public void dump(String prefix, FileDescriptor fd, PrintWriter writer, String[] args) { argument
|
/frameworks/rs/cpu_ref/linkloader/android/ |
H A D | test-librsloader.c | 74 int fd = open(argv[1], O_RDONLY); local 75 if (fd < 0) { 81 if (fstat(fd, &sb) != 0) { 83 close(fd); 88 mmap(NULL, sb.st_size, PROT_READ, MAP_PRIVATE, fd, 0); 92 close(fd); 99 close(fd); 113 close(fd);
|
/frameworks/rs/cpu_ref/linkloader/ |
H A D | main.cpp | 34 int &fd, 38 void close_mmap_file(int fd, 56 int fd = -1; local 60 if (!open_mmap_file(filename, fd, image, image_size)) { 68 close_mmap_file(fd, image, image_size); 210 int &fd, 228 fd = open(filename, O_RDONLY); 229 if (fd < 0) { 236 mmap(0, size, PROT_READ, MAP_PRIVATE, fd, 0)); 240 close(fd); 209 open_mmap_file(char const *filename, int &fd, unsigned char const *&image, size_t &size) argument 247 close_mmap_file(int fd, unsigned char const *image, size_t size) argument [all...] |