/frameworks/base/media/java/android/media/ |
H A D | MediaRecorder.java | 677 public void setAuxiliaryOutputFile(FileDescriptor fd) argument 697 * @param fd an open file descriptor to be written into. 701 public void setOutputFile(FileDescriptor fd) throws IllegalStateException argument 704 mFd = fd; 722 private native void _setOutputFile(FileDescriptor fd, long offset, long length) argument
|
H A D | ThumbnailUtils.java | 104 FileDescriptor fd = stream.getFD(); 108 BitmapFactory.decodeFileDescriptor(fd, null, options); 119 bitmap = BitmapFactory.decodeFileDescriptor(fd, null, options); 311 FileDescriptor fd = pfd.getFileDescriptor(); 314 BitmapFactory.decodeFileDescriptor(fd, null, options); 325 b = BitmapFactory.decodeFileDescriptor(fd, null, options);
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/ |
H A D | AccessibilityController.java | 53 public void dump(FileDescriptor fd, PrintWriter pw, String[] args) { argument
|
/frameworks/native/libs/gui/ |
H A D | CpuConsumer.cpp | 234 int fd = -1; 236 err = mAcquiredBuffers[lockedIdx].mGraphicBuffer->unlockAsync(&fd); 243 if (CC_LIKELY(fd != -1)) { 244 sp<Fence> fence(new Fence(fd));
|
/frameworks/native/services/surfaceflinger/tests/vsync/ |
H A D | vsync.cpp | 22 int receiver(int fd, int events, void* data) argument
|
/frameworks/wilhelm/src/android/ |
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/av/drm/libdrmframework/plugins/forward-lock/FwdLockEngine/src/ |
H A D | FwdLockEngine.cpp | 312 String8 FwdLockEngine::onGetOriginalMimeType(int uniqueId, const String8& path, int fd) { argument 315 int fileDesc = dup(fd); 469 int fd, 475 int fd, 484 if ((-1 < fd) && 487 fileDesc = dup(fd); 511 LOG_VERBOSE("FwdLockEngine::onOpenDecryptSession Integrity Check failed for the fd"); 539 int fd = open(filePath, O_RDONLY); local 541 if (-1 < fd) { 543 result = onOpenDecryptSession(uniqueId, decryptHandle, fd, 467 onOpenDecryptSession(int uniqueId, DecryptHandle* decryptHandle, int fd, off64_t offset, off64_t length) argument [all...] |
/frameworks/av/services/camera/libcameraservice/api1/client2/ |
H A D | ZslProcessor.cpp | 400 void ZslProcessor::dump(int fd, const Vector<String16>& /*args*/) const { argument 404 write(fd, result.string(), result.size()); 405 mLatestCapturedRequest.dump(fd, 2, 6); 408 write(fd, result.string(), result.size()); 410 dumpZslQueue(fd); 538 void ZslProcessor::dumpZslQueue(int fd) const { 542 if (fd != -1) { 544 write(fd, header.string(), header.size()); 562 if (fd != -1) { 564 write(fd, resul [all...] |
H A D | ZslProcessor3.cpp | 456 void ZslProcessor3::dump(int fd, const Vector<String16>& /*args*/) const { argument 460 write(fd, result.string(), result.size()); 461 mLatestCapturedRequest.dump(fd, 2, 6); 464 write(fd, result.string(), result.size()); 466 dumpZslQueue(fd); 475 void ZslProcessor3::dumpZslQueue(int fd) const { 479 if (fd != -1) { 481 write(fd, header.string(), header.size()); 499 if (fd != -1) { 501 write(fd, resul [all...] |
/frameworks/base/libs/hwui/renderthread/ |
H A D | RenderProxy.cpp | 374 CREATE_BRIDGE2(dumpProfileInfo, CanvasContext* context, int fd) { argument 375 args->context->profiler().dumpData(args->fd); 379 void RenderProxy::dumpProfileInfo(int fd) { argument 382 args->fd = fd; 386 CREATE_BRIDGE1(outputLogBuffer, int fd) { argument 387 RenderNode::outputLogBuffer(args->fd); 391 void RenderProxy::outputLogBuffer(int fd) { argument 393 args->fd = fd; [all...] |
/frameworks/av/media/libmedia/ |
H A D | JetPlayer.cpp | 335 mEasJetFileLoc->fd = 0; 349 int JetPlayer::loadFromFD(const int fd, const long long offset, const long long length) argument 351 ALOGV("JetPlayer::loadFromFD(): fd=%d offset=%lld length=%lld", fd, offset, length); 356 mEasJetFileLoc->fd = fd;
|
/frameworks/wilhelm/tests/examples/ |
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 | 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 "
|
/frameworks/av/media/libstagefright/webm/ |
H A D | WebmElement.cpp | 111 int WebmElement::write(int fd, uint64_t& size) { argument 114 off64_t off = ::lseek64(fd, (size - 1), SEEK_CUR) - (size - 1); 115 ::write(fd, buf, 1); // extend file 121 void *dst = ::mmap64(NULL, mapSize, PROT_WRITE, MAP_SHARED, fd, alignedOff); 124 ALOGE("fd %d; flags: %o", fd, ::fcntl(fd, F_GETFL, 0));
|
/frameworks/base/core/java/android/provider/ |
H A D | DocumentsProvider.java | 738 final ParcelFileDescriptor fd = openDocument(getDocumentId(uri), mode, null); 739 return fd != null ? new AssetFileDescriptor(fd, 0, -1) : null; 752 final ParcelFileDescriptor fd = openDocument(getDocumentId(uri), mode, signal); 753 return fd != null ? new AssetFileDescriptor(fd, 0, -1) : null;
|
/frameworks/native/libs/binder/ |
H A D | IMemory.cpp | 247 ALOGD("UNMAPPING binder=%p, heap=%p, size=%zu, fd=%d", 299 ALOGE_IF(err, "binder=%p transaction failed fd=%d, size=%zd, err=%d (%s)", 302 int fd = dup( parcel_fd ); local 303 ALOGE_IF(fd==-1, "cannot dup fd=%d, size=%zd, err=%d (%s)", 314 mBase = mmap(0, size, access, MAP_SHARED, fd, offset); 316 ALOGE("cannot map BpMemoryHeap (binder=%p), size=%zd, fd=%d (%s)", 317 asBinder().get(), size, fd, strerror(errno)); 318 close(fd); 323 android_atomic_write(fd, [all...] |
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ |
H A D | PhoneFactory.java | 409 public static void dump(FileDescriptor fd, PrintWriter pw, String[] args) { argument 419 phoneBase.dump(fd, pw, args); 429 ((IccCardProxy)phoneProxy.getIccCard()).dump(fd, pw, args); 438 DctController.getInstance().dump(fd, pw, args); 444 mUiccController.dump(fd, pw, args); 452 SubscriptionController.getInstance().dump(fd, pw, args);
|
/frameworks/av/services/camera/libcameraservice/ |
H A D | CameraService.cpp | 1609 status_t CameraService::dump(int fd, const Vector<String16>& args) { argument 1616 write(fd, result.string(), result.size()); 1622 write(fd, result.string(), result.size()); 1628 write(fd, result.string(), result.size()); 1650 write(fd, result.string(), result.size()); 1653 desc->dump(fd, /*verbosity*/2, /*indentation*/4); 1663 write(fd, result.string(), result.size()); 1678 write(fd, result.string(), result.size()); 1680 fd, /*verbosity*/2, /*indentation*/4); 1682 write(fd, resul [all...] |
/frameworks/av/services/audioflinger/ |
H A D | Threads.cpp | 572 void AudioFlinger::ThreadBase::dumpBase(int fd, const Vector<String16>& args __unused) argument 580 dprintf(fd, "thread %p maybe dead locked\n", this); 583 dprintf(fd, " I/O handle: %d\n", mId); 584 dprintf(fd, " TID: %d\n", getTid()); 585 dprintf(fd, " Standby: %s\n", mStandby ? "yes" : "no"); 586 dprintf(fd, " Sample rate: %u\n", mSampleRate); 587 dprintf(fd, " HAL frame count: %zu\n", mFrameCount); 588 dprintf(fd, " HAL buffer size: %u bytes\n", mBufferSize); 589 dprintf(fd, " Channel Count: %u\n", mChannelCount); 590 dprintf(fd, " Channe 611 dumpEffectChains(int fd, const Vector<String16>& args) argument 1244 dump(int fd, const Vector<String16>& args) argument 1251 dumpTracks(int fd, const Vector<String16>& args __unused) argument 1316 dumpInternals(int fd, const Vector<String16>& args) argument 3875 dumpInternals(int fd, const Vector<String16>& args) argument [all...] |
/frameworks/av/drm/libdrmframework/ |
H A D | NoOpDrmManagerClientImpl.cpp | 60 String8 NoOpDrmManagerClientImpl::getOriginalMimeType(int uniqueId, const String8& path, int fd) { argument 111 int uniqueId, int fd, off64_t offset, off64_t length, const char* mime) { 110 openDecryptSession( int uniqueId, int fd, off64_t offset, off64_t length, const char* mime) argument
|
/frameworks/av/drm/libdrmframework/include/ |
H A D | DrmManager.h | 86 String8 getOriginalMimeType(int uniqueId, const String8& path, int fd); 113 int uniqueId, int fd, off64_t offset, off64_t length, const char* mime);
|
H A D | DrmManagerClientImpl.h | 151 * @param[in] fd the file descriptor of the protected content 155 virtual String8 getOriginalMimeType(int uniqueId, const String8& path, int fd); 301 * @param[in] fd File descriptor of the protected content to be decrypted 309 int uniqueId, int fd, off64_t offset, off64_t length, const char* mime);
|
/frameworks/av/drm/libdrmframework/plugins/common/include/ |
H A D | IDrmEngine.h | 169 * @param[in] fd File descriptor of the protected content 173 virtual String8 getOriginalMimeType(int uniqueId, const String8& path, int fd) = 0; 321 * @param[in] fd File descriptor of the protected content to be decrypted 331 int fd, off64_t offset, off64_t length, const char* mime) = 0;
|
/frameworks/av/include/media/stagefright/ |
H A D | MPEG4Writer.h | 36 MPEG4Writer(int fd); 49 virtual status_t dump(int fd, const Vector<String16>& args);
|