/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 | 363 SLint32 fd; member in struct:SLDataLocator_AndroidFD_
|
/frameworks/wilhelm/src/android/ |
H A D | AudioPlayer_to_android.cpp | 46 // bufferqueue and uri/fd playback are moved under the GenericPlayer C++ object 1041 // fd is already non null 1580 int fd = ::open(pathname, O_RDONLY); local 1581 if (fd >= 0) { 1584 if (!::fstat(fd, &statbuf) && S_ISREG(statbuf.st_mode)) { 1586 // let setDataSource take responsibility for closing fd 1587 pAudioPlayer->mAPlayer->setDataSource(fd, 0, statbuf.st_size, true); 1591 (void) ::close(fd); 1600 (int)pAudioPlayer->mDataSource.mLocator.mFD.fd, 1642 (int)pAudioPlayer->mDataSource.mLocator.mFD.fd, [all...] |
H A D | MediaPlayer_to_android.cpp | 436 (int)mp->mDataSource.mLocator.mFD.fd,
|
H A D | android_AudioSfDecoder.cpp | 207 // As FileSource unconditionally takes ownership of the fd and closes it, then 209 int fd = mDataLocator.fdi.fd; local 213 fd = ::dup(fd); 215 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 | 79 } else if (mPlayer->setDataSource(mDataLocator.fdi.fd, mDataLocator.fdi.offset, 84 // Binder dups the fd for use by mediaserver, so if we own the fd then OK to close now 86 (void) ::close(mDataLocator.fdi.fd); 87 mDataLocator.fdi.fd = -1;
|
H A D | android_defs.h | 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 | 221 SL_LOGV("%s: fd=%d offset=%lld length=%lld", name, pDataLocator->mFD.fd, 223 // NTH check against process fd limit 224 if (0 > pDataLocator->mFD.fd) { 225 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 | 413 void TestDecToBuffQueue( SLObjectItf sl, const char *path, int fd) argument 418 ok = fstat(fd, &statbuf); 431 ptr = mmap(NULL, statbuf.st_size, PROT_READ, MAP_FILE | MAP_PRIVATE, fd, (off_t) 0); 869 int fd; local 870 fd = open(argv[1], O_RDONLY); 871 if (fd < 0) { 887 TestDecToBuffQueue(sl, argv[1], fd); 893 (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 | 132 int fd = open(path, O_RDONLY); local 133 if (fd == -1) { 137 locatorFd.fd = (SLint32) fd; 218 close(fd);
|
H A D | slesTestSendToPresetReverb.cpp | 177 int fd = open(path, O_RDONLY); local 178 if (fd == -1) { 182 locatorFd.fd = (SLint32) fd; 187 fprintf(stderr, "option --fd is not supported\n"); 321 close(locatorFd.fd); 351 } else if (!strcmp(arg, "--fd")) { 361 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 | 315 int fd = -1; local 317 fd = open(uri, O_RDONLY); 318 if (fd < 0) { 324 ok = fstat(fd, &statbuf); 334 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 D | ActivityCompatHoneycomb.java | 32 static void dump(Activity activity, String prefix, FileDescriptor fd, argument 34 activity.dump(prefix, fd, writer, args);
|
/frameworks/support/v4/ics/android/support/v4/net/ |
H A D | DatagramSocketWrapper.java | 32 public DatagramSocketWrapper(DatagramSocket socket, FileDescriptor fd) throws SocketException { argument 33 super(new DatagramSocketImplWrapper(socket, fd)); 40 public DatagramSocketImplWrapper(DatagramSocket socket, FileDescriptor fd) { argument 43 this.fd = fd;
|
/frameworks/support/v4/java/android/support/v4/app/ |
H A D | BackStackRecord.java | 260 public void dump(String prefix, FileDescriptor fd, PrintWriter writer, String[] args) { argument
|
H A D | Fragment.java | 1946 * @param fd The raw file descriptor that the dump is being sent to. 1951 public void dump(String prefix, FileDescriptor fd, PrintWriter writer, String[] args) { argument 2019 mLoaderManager.dump(prefix + " ", fd, writer, args); 2023 mChildFragmentManager.dump(prefix + " ", fd, writer, args);
|
H A D | FragmentActivity.java | 690 * @param fd The raw file descriptor that the dump is being sent to. 695 public void dump(String prefix, FileDescriptor fd, PrintWriter writer, String[] args) { argument 698 //ActivityCompatHoneycomb.dump(this, prefix, fd, writer, args); 709 mFragments.dumpLoaders(innerPrefix, fd, writer, args); 710 mFragments.getSupportFragmentManager().dump(prefix, fd, writer, args); 1025 public void onDump(String prefix, FileDescriptor fd, PrintWriter writer, String[] args) { argument 1026 FragmentActivity.this.dump(prefix, fd, writer, args);
|
H A D | FragmentController.java | 451 public void dumpLoaders(String prefix, FileDescriptor fd, PrintWriter writer, String[] args) { argument 452 mHost.dumpLoaders(prefix, fd, writer, args);
|
H A D | FragmentHostCallback.java | 77 * @param fd The raw file descriptor that the dump is being sent to. 82 public void onDump(String prefix, FileDescriptor fd, PrintWriter writer, String[] args) { argument 356 void dumpLoaders(String prefix, FileDescriptor fd, PrintWriter writer, String[] args) { argument 363 mLoaderManager.dump(prefix + " ", fd, writer, args);
|