/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 | 306 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 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 D | MediaPlayer_to_android.cpp | 438 (int)mp->mDataSource.mLocator.mFD.fd,
|
H A D | android_AudioSfDecoder.cpp | 202 // 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 D | android_GenericPlayer.cpp | 100 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 D | android_GenericPlayer.h | 67 void setDataSource(int fd, int64_t offset, int64_t length, bool closeAfterUse = false);
|
H A D | android_LocAVPlayer.cpp | 63 } else if (mPlayer->setDataSource(mDataLocator.fdi.fd, mDataLocator.fdi.offset, 68 // Binder dups the fd for use by mediaserver, so if we own the fd then OK to close now 70 (void) ::close(mDataLocator.fdi.fd); 71 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/renderscript/v8/rs_support/ |
H A D | rsFifoSocket.cpp | 93 p.fd = sv[1];
|
H A D | rsThreadIO.cpp | 113 p[0].fd = mToCore.getReadFd(); 116 p[1].fd = waitFd;
|
/frameworks/support/v4/honeycomb/android/support/v4/app/ |
H A D | ActivityCompatHoneycomb.java | 32 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 D | BackStackRecord.java | 236 public void dump(String prefix, FileDescriptor fd, PrintWriter writer, String[] args) { argument
|
H A D | Fragment.java | 1327 * @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 D | FragmentActivity.java | 640 * @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 D | FragmentManager.java | 322 * @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);
|