/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 | 306 SLint32 fd; member in struct:SLDataLocator_AndroidFD_
|
/frameworks/wilhelm/src/android/ |
H A D | AudioPlayer_to_android.cpp | 41 // bufferqueue and uri/fd playback are moved under the GenericPlayer C++ object 997 // fd is already non null 1492 int fd = ::open(pathname, O_RDONLY); local 1493 if (fd >= 0) { 1496 if (!::fstat(fd, &statbuf) && S_ISREG(statbuf.st_mode)) { 1498 // let setDataSource take responsibility for closing fd 1499 pAudioPlayer->mAPlayer->setDataSource(fd, 0, statbuf.st_size, true); 1503 (void) ::close(fd); 1512 (int)pAudioPlayer->mDataSource.mLocator.mFD.fd, 1554 (int)pAudioPlayer->mDataSource.mLocator.mFD.fd, [all...] |
H A D | MediaPlayer_to_android.cpp | 438 (int)mp->mDataSource.mLocator.mFD.fd,
|
H A D | android_AudioSfDecoder.cpp | 202 // As FileSource unconditionally takes ownership of the fd and closes it, then 204 int fd = mDataLocator.fdi.fd; local 208 fd = ::dup(fd); 210 dataSource = new FileSource(fd, mDataLocator.fdi.offset, mDataLocator.fdi.length);
|
H A D | android_GenericPlayer.cpp | 100 void GenericPlayer::setDataSource(int fd, int64_t offset, int64_t length, bool closeAfterUse) { argument 101 SL_LOGV("GenericPlayer::setDataSource(fd=%d, offset=%lld, length=%lld, closeAfterUse=%s)", fd, 105 mDataLocator.fdi.fd = fd; 108 int ret = fstat(fd, &sb); 110 SL_LOGE("GenericPlayer::setDataSource: fstat(%d) failed: %d, %s", fd, ret, strerror(errno)); 275 (void) ::close(mDataLocator.fdi.fd); 277 //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 | 63 } else if (mPlayer->setDataSource(mDataLocator.fdi.fd, mDataLocator.fdi.offset, 68 // Binder dups the fd for use by mediaserver, so if we own the fd then OK to close now 70 (void) ::close(mDataLocator.fdi.fd); 71 mDataLocator.fdi.fd = -1;
|
H A D | android_defs.h | 189 kDataLocatorFd = 'fd', 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 | 216 SL_LOGV("%s: fd=%d offset=%lld length=%lld", name, pDataLocator->mFD.fd, 218 // NTH check against process fd limit 219 if (0 > pDataLocator->mFD.fd) { 220 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 | 414 void TestDecToBuffQueue( SLObjectItf sl, const char *path, int fd) argument 419 ok = fstat(fd, &statbuf); 432 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 | 111 int fd = open(path, O_RDONLY); local 112 if (fd == -1) { 116 locatorFd.fd = (SLint32) fd; 187 close(fd);
|
H A D | slesTestSendToPresetReverb.cpp | 178 int fd = open(path, O_RDONLY); local 179 if (fd == -1) { 183 locatorFd.fd = (SLint32) fd; 188 fprintf(stderr, "option --fd is not supported\n"); 322 close(locatorFd.fd); 352 } else if (!strcmp(arg, "--fd")) { 362 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 | 314 int fd = -1; local 316 fd = open(uri, O_RDONLY); 317 if (fd < 0) { 323 ok = fstat(fd, &statbuf); 333 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/opt/telephony/src/java/com/android/internal/telephony/ |
H A D | CallTracker.java | 175 public void dump(FileDescriptor fd, PrintWriter pw, String[] args) { argument
|
H A D | DebugService.java | 45 public void dump(FileDescriptor fd, PrintWriter pw, String[] args) { argument 71 phoneBase.dump(fd, pw, args); 78 phoneBase.mDcTracker.dump(fd, pw, args); 85 phoneBase.getServiceStateTracker().dump(fd, pw, args); 92 phoneBase.getCallTracker().dump(fd, pw, args); 99 ((RIL)phoneBase.mCi).dump(fd, pw, args); 106 UiccController.getInstance().dump(fd, pw, args); 113 ((IccCardProxy)phoneProxy.getIccCard()).dump(fd, pw, args);
|
H A D | PhoneBase.java | 1365 public void dump(FileDescriptor fd, PrintWriter pw, String[] args) { argument
|
H A D | PhoneSubInfo.java | 226 protected void dump(FileDescriptor fd, PrintWriter pw, String[] args) { argument
|
H A D | PhoneSubInfoProxy.java | 149 protected void dump(FileDescriptor fd, PrintWriter pw, String[] args) { argument 150 mPhoneSubInfo.dump(fd, pw, args);
|
H A D | RIL.java | 4049 public void dump(FileDescriptor fd, PrintWriter pw, String[] args) { argument
|
H A D | ServiceStateTracker.java | 721 public void dump(FileDescriptor fd, PrintWriter pw, String[] args) { argument
|