Searched defs:fd (Results 1 - 25 of 805) sorted by last modified time

1234567891011>>

/frameworks/wilhelm/include/OMXAL/
H A DOpenMAXAL_Android.h166 XAint32 fd; member in struct:XADataLocator_AndroidFD_
/frameworks/wilhelm/include/SLES/
H A DOpenSLES_Android.h364 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,
1839 (int)pAudioPlayer->mDataSource.mLocator.mFD.fd,
[all...]
H A Dandroid_AudioSfDecoder.cpp210 // As FileSource unconditionally takes ownership of the fd and closes it, then
212 int fd = mDataLocator.fdi.fd; local
216 fd = ::dup(fd);
218 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/wear/src/main/java/androidx/wear/ambient/
H A DAmbientDelegate.java161 void dump(String prefix, FileDescriptor fd, PrintWriter writer, String[] args) { argument
163 mWearableController.dump(prefix, fd, writer, args);
H A DAmbientMode.java253 public void dump(String prefix, FileDescriptor fd, PrintWriter writer, String[] args) { argument
255 mDelegate.dump(prefix, fd, writer, args);
H A DAmbientModeSupport.java253 public void dump(String prefix, FileDescriptor fd, PrintWriter writer, String[] args) { argument
255 mDelegate.dump(prefix, fd, writer, args);
/frameworks/support/wear/wear_stubs/
H A Dcom.google.android.wearable-stubs.jar ... lang.String[]) String prefix java.io.FileDescriptor fd java.io.PrintWriter writer String[] args } com/google ...
/frameworks/support/compat/src/main/java/androidx/core/graphics/
H A DTypefaceCompatApi21Impl.java49 private File getFile(ParcelFileDescriptor fd) { argument
51 final String path = Os.readlink("/proc/self/fd/" + fd.getFd());
/frameworks/support/compat/src/main/java/androidx/core/net/
H A DDatagramSocketWrapper.java31 DatagramSocketWrapper(DatagramSocket socket, FileDescriptor fd) throws SocketException { argument
32 super(new DatagramSocketImplWrapper(socket, fd));
39 DatagramSocketImplWrapper(DatagramSocket socket, FileDescriptor fd) { argument
42 this.fd = fd;
/frameworks/support/fragment/src/androidTest/java/androidx/fragment/app/
H A DFragmentLifecycleTest.java1413 public void onDump(String prefix, FileDescriptor fd, PrintWriter writer, String[] args) { argument
/frameworks/support/fragment/src/main/java/androidx/fragment/app/
H A DBackStackRecord.java250 public void dump(String prefix, FileDescriptor fd, PrintWriter writer, String[] args) { argument
H A DFragment.java2276 * @param fd The raw file descriptor that the dump is being sent to.
2281 public void dump(String prefix, FileDescriptor fd, PrintWriter writer, String[] args) { argument
2350 LoaderManager.getInstance(this).dump(prefix, fd, writer, args);
2353 mChildFragmentManager.dump(prefix + " ", fd, writer, args);
H A DFragmentActivity.java676 * @param fd The raw file descriptor that the dump is being sent to.
682 public void dump(String prefix, FileDescriptor fd, PrintWriter writer, String[] args) { argument
683 super.dump(prefix, fd, writer, args);
692 LoaderManager.getInstance(this).dump(innerPrefix, fd, writer, args);
693 mFragments.getSupportFragmentManager().dump(prefix, fd, writer, args);
950 public void onDump(String prefix, FileDescriptor fd, PrintWriter writer, String[] args) { argument
951 FragmentActivity.this.dump(prefix, fd, writer, args);
H A DFragmentController.java472 public void dumpLoaders(String prefix, FileDescriptor fd, PrintWriter writer, String[] args) { argument

Completed in 1588 milliseconds

1234567891011>>