Searched defs:fd (Results 1 - 25 of 686) 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.h363 SLint32 fd; member in struct:SLDataLocator_AndroidFD_
/frameworks/wilhelm/src/android/
H A DAudioPlayer_to_android.cpp85 // 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 Dandroid_AudioSfDecoder.cpp207 // 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 Dandroid_GenericPlayer.cpp101 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 Dandroid_defs.h195 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 DslesTestBassBoostPath.cpp119 int fd = open(path, O_RDONLY); local
120 if (fd == -1) {
123 locatorFd.fd = (SLint32) fd;
243 close(fd);
H A DslesTestDecodeAac.cpp413 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 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.cpp132 int fd = open(path, O_RDONLY); local
133 if (fd == -1) {
137 locatorFd.fd = (SLint32) fd;
218 close(fd);
H A DslesTestSendToPresetReverb.cpp177 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 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.c315 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 DDatagramSocketWrapper.java31 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 DAsyncTaskLoader.java349 public void dump(String prefix, FileDescriptor fd, PrintWriter writer, String[] args) { argument
350 super.dump(prefix, fd, writer, args);
H A DCursorLoader.java227 public void dump(String prefix, FileDescriptor fd, PrintWriter writer, String[] args) { argument
228 super.dump(prefix, fd, writer, args);
H A DLoader.java517 * @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 DBackStackRecord.java250 public void dump(String prefix, FileDescriptor fd, PrintWriter writer, String[] args) { argument
H A DFragment.java2197 * @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 DFragmentActivity.java621 * @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 DFragmentController.java442 public void dumpLoaders(String prefix, FileDescriptor fd, PrintWriter writer, String[] args) { argument
443 mHost.dumpLoaders(prefix, fd, writer, args);
H A DFragmentHostCallback.java78 * @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 DFragmentManager.java416 * @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 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
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);

Completed in 3907 milliseconds

1234567891011>>