/frameworks/wilhelm/include/OMXAL/ |
H A D | OpenMAXAL_Android.h | 166 XAint32 fd; member in struct:XADataLocator_AndroidFD_
|
/frameworks/wilhelm/include/SLES/ |
H A D | OpenSLES_Android.h | 364 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, 1839 (int)pAudioPlayer->mDataSource.mLocator.mFD.fd, [all...] |
H A D | android_AudioSfDecoder.cpp | 210 // 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 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/wear/src/main/java/androidx/wear/ambient/ |
H A D | AmbientDelegate.java | 161 void dump(String prefix, FileDescriptor fd, PrintWriter writer, String[] args) { argument 163 mWearableController.dump(prefix, fd, writer, args);
|
H A D | AmbientMode.java | 253 public void dump(String prefix, FileDescriptor fd, PrintWriter writer, String[] args) { argument 255 mDelegate.dump(prefix, fd, writer, args);
|
H A D | AmbientModeSupport.java | 253 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 D | com.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 D | TypefaceCompatApi21Impl.java | 49 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 D | DatagramSocketWrapper.java | 31 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 D | FragmentLifecycleTest.java | 1413 public void onDump(String prefix, FileDescriptor fd, PrintWriter writer, String[] args) { argument
|
/frameworks/support/fragment/src/main/java/androidx/fragment/app/ |
H A D | BackStackRecord.java | 250 public void dump(String prefix, FileDescriptor fd, PrintWriter writer, String[] args) { argument
|
H A D | Fragment.java | 2276 * @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 D | FragmentActivity.java | 676 * @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 D | FragmentController.java | 472 public void dumpLoaders(String prefix, FileDescriptor fd, PrintWriter writer, String[] args) { argument
|