/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 | 85 // bufferqueue and uri/fd playback are moved under the GenericPlayer C++ object 1142 // fd is already non null 1768 int fd = ::open(pathname, O_RDONLY); local 1769 if (fd >= 0) { 1772 if (!::fstat(fd, &statbuf) && S_ISREG(statbuf.st_mode)) { 1774 // let setDataSource take responsibility for closing fd 1775 pAudioPlayer->mAPlayer->setDataSource(fd, 0, statbuf.st_size, true); 1779 (void) ::close(fd); 1788 (int)pAudioPlayer->mDataSource.mLocator.mFD.fd, 1838 (int)pAudioPlayer->mDataSource.mLocator.mFD.fd, [all...] |
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_defs.h | 195 int fd; member in struct:android::FdInfo 198 bool mCloseAfterUse; // whether to close fd after last reference to 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); 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 | 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/compat/ics/android/support/v4/net/ |
H A D | DatagramSocketWrapper.java | 31 public DatagramSocketWrapper(DatagramSocket socket, FileDescriptor fd) throws SocketException { argument 32 super(new DatagramSocketImplWrapper(socket, fd)); 39 public DatagramSocketImplWrapper(DatagramSocket socket, FileDescriptor fd) { argument 42 this.fd = fd;
|
/frameworks/support/core-utils/java/android/support/v4/content/ |
H A D | AsyncTaskLoader.java | 349 public void dump(String prefix, FileDescriptor fd, PrintWriter writer, String[] args) { argument 350 super.dump(prefix, fd, writer, args);
|
H A D | CursorLoader.java | 227 public void dump(String prefix, FileDescriptor fd, PrintWriter writer, String[] args) { argument 228 super.dump(prefix, fd, writer, args);
|
H A D | Loader.java | 517 * @param fd The raw file descriptor that the dump is being sent to. 521 public void dump(String prefix, FileDescriptor fd, PrintWriter writer, String[] args) { argument
|
/frameworks/support/fragment/java/android/support/v4/app/ |
H A D | BackStackRecord.java | 250 public void dump(String prefix, FileDescriptor fd, PrintWriter writer, String[] args) { argument
|
H A D | Fragment.java | 2197 * @param fd The raw file descriptor that the dump is being sent to. 2202 public void dump(String prefix, FileDescriptor fd, PrintWriter writer, String[] args) { argument 2273 mLoaderManager.dump(prefix + " ", fd, writer, args); 2277 mChildFragmentManager.dump(prefix + " ", fd, writer, args);
|
H A D | FragmentActivity.java | 621 * @param fd The raw file descriptor that the dump is being sent to. 627 public void dump(String prefix, FileDescriptor fd, PrintWriter writer, String[] args) { argument 628 super.dump(prefix, fd, writer, args); 638 mFragments.dumpLoaders(innerPrefix, fd, writer, args); 639 mFragments.getSupportFragmentManager().dump(prefix, fd, writer, args); 866 public void onDump(String prefix, FileDescriptor fd, PrintWriter writer, String[] args) { argument 867 FragmentActivity.this.dump(prefix, fd, writer, args);
|
H A D | FragmentController.java | 442 public void dumpLoaders(String prefix, FileDescriptor fd, PrintWriter writer, String[] args) { argument 443 mHost.dumpLoaders(prefix, fd, writer, args);
|
H A D | FragmentHostCallback.java | 78 * @param fd The raw file descriptor that the dump is being sent to. 83 public void onDump(String prefix, FileDescriptor fd, PrintWriter writer, String[] args) { argument 360 void dumpLoaders(String prefix, FileDescriptor fd, PrintWriter writer, String[] args) { argument 367 mLoaderManager.dump(prefix + " ", fd, writer, args);
|
H A D | FragmentManager.java | 416 * @param fd The raw file descriptor that the dump is being sent to. 420 public abstract void dump(String prefix, FileDescriptor fd, PrintWriter writer, String[] args); argument 983 public void dump(String prefix, FileDescriptor fd, PrintWriter writer, String[] args) { argument 998 f.dump(innerPrefix, fd, writer, args); 1037 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 499 public void dump(String prefix, FileDescriptor fd, PrintWriter writer, String[] args) { argument 505 mLoader.dump(prefix + " ", fd, writer, args); 521 mPendingLoader.dump(prefix + " ", fd, writer, args); 857 public void dump(String prefix, FileDescriptor fd, PrintWriter writer, String[] args) { argument 865 li.dump(innerPrefix, fd, writer, args); 875 li.dump(innerPrefix, fd, writer, args);
|