/frameworks/native/libs/gui/ |
H A D | CpuConsumer.cpp | 225 int fd = -1; 227 err = mAcquiredBuffers[lockedIdx].mGraphicBuffer->unlockAsync(&fd); 234 if (CC_LIKELY(fd != -1)) { 235 sp<Fence> fence(new Fence(fd));
|
/frameworks/native/services/surfaceflinger/tests/vsync/ |
H A D | vsync.cpp | 23 int receiver(int fd, int events, void* data) argument
|
/frameworks/wilhelm/src/android/ |
H A D | android_defs.h | 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 | 317 int fd) { 320 int fileDesc = dup(fd); 474 int fd, 480 int fd, 489 if ((-1 < fd) && 492 fileDesc = dup(fd); 516 LOG_VERBOSE("FwdLockEngine::onOpenDecryptSession Integrity Check failed for the fd"); 544 int fd = open(filePath, O_RDONLY); local 546 if (-1 < fd) { 548 result = onOpenDecryptSession(uniqueId, decryptHandle, fd, 315 onGetOriginalMimeType(int , const String8& , int fd) argument 472 onOpenDecryptSession(int , DecryptHandle* decryptHandle, int fd, off64_t offset, off64_t ) argument [all...] |
/frameworks/av/services/camera/libcameraservice/api1/client2/ |
H A D | ZslProcessor.cpp | 454 void ZslProcessor::dump(int fd, const Vector<String16>& /*args*/) const { argument 458 write(fd, result.string(), result.size()); 459 mLatestCapturedRequest.dump(fd, 2, 6); 462 write(fd, result.string(), result.size()); 464 dumpZslQueue(fd); 473 void ZslProcessor::dumpZslQueue(int fd) const { 477 if (fd != -1) { 479 write(fd, header.string(), header.size()); 497 if (fd != -1) { 499 write(fd, resul [all...] |
/frameworks/av/media/libmediaplayerservice/ |
H A D | MediaRecorderClient.cpp | 164 status_t MediaRecorderClient::setOutputFile(int fd, int64_t offset, int64_t length) argument 166 ALOGV("setOutputFile(%d, %lld, %lld)", fd, (long long)offset, (long long)length); 172 return mRecorder->setOutputFile(fd, offset, length); 394 status_t MediaRecorderClient::dump(int fd, const Vector<String16>& args) { argument 396 return mRecorder->dump(fd, args);
|
/frameworks/av/services/audiopolicy/common/managerdefinitions/include/ |
H A D | AudioProfile.h | 122 void dump(int fd, int spaces) const; 284 void dump(int fd, int spaces) const argument 290 write(fd, buffer, strlen(buffer)); 293 write(fd, buffer, strlen(buffer)); 294 itemAt(i)->dump(fd, spaces + 8);
|
/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 | 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 "
|
/frameworks/base/core/jni/ |
H A D | android_os_Debug.cpp | 690 int fd = open("/proc/meminfo", O_RDONLY); local 692 if (fd < 0) { 697 int len = read(fd, buffer, sizeof(buffer)-1); 698 close(fd); 985 jniThrowNullPointerException(env, "fd == null"); 995 int fd = dup(origFd); local 996 if (fd < 0) { 1002 FILE* fp = fdopen(fd, "w"); 1004 ALOGW("fdopen(%d) failed: %s\n", fd, strerror(errno)); 1005 close(fd); 1033 int fd = open(fileName8.string(), O_CREAT | O_WRONLY | O_NOFOLLOW, 0666); /* -rw-rw-rw- */ local [all...] |
/frameworks/base/media/java/android/media/ |
H A D | ThumbnailUtils.java | 105 FileDescriptor fd = stream.getFD(); 109 BitmapFactory.decodeFileDescriptor(fd, null, options); 120 bitmap = BitmapFactory.decodeFileDescriptor(fd, null, options); 312 FileDescriptor fd = pfd.getFileDescriptor(); 315 BitmapFactory.decodeFileDescriptor(fd, null, options); 326 b = BitmapFactory.decodeFileDescriptor(fd, null, options);
|
/frameworks/native/libs/binder/ |
H A D | IMemory.cpp | 259 ALOGD("UNMAPPING binder=%p, heap=%p, size=%zu, fd=%d", 311 ALOGE_IF(err, "binder=%p transaction failed fd=%d, size=%zd, err=%d (%s)", 317 int fd = dup( parcel_fd ); local 318 ALOGE_IF(fd==-1, "cannot dup fd=%d, size=%zd, err=%d (%s)", 327 mBase = mmap(0, size, access, MAP_SHARED, fd, offset); 329 ALOGE("cannot map BpMemoryHeap (binder=%p), size=%zd, fd=%d (%s)", 330 IInterface::asBinder(this).get(), size, fd, strerror(errno)); 331 close(fd); 336 android_atomic_write(fd, [all...] |
/frameworks/av/media/mtp/ |
H A D | MtpDevice.cpp | 57 const int fd = *static_cast<int*>(clientData); local 58 const ssize_t result = write(fd, data, length); 67 MtpDevice* MtpDevice::open(const char* deviceName, int fd) { argument 68 struct usb_device *device = usb_device_new(deviceName, fd); 654 int fd = ::open(destPath, O_RDWR | O_CREAT | O_TRUNC, S_IRUSR | S_IWUSR); local 655 if (fd < 0) { 660 fchown(fd, getuid(), group); 663 fchmod(fd, perm); 666 bool result = readObject(handle, fd); 667 ::close(fd); 671 readObject(MtpObjectHandle handle, int fd) argument [all...] |
/frameworks/base/core/java/android/app/ |
H A D | VoiceInteractor.java | 291 void dump(String prefix, FileDescriptor fd, PrintWriter writer, String[] args) { argument 363 void dump(String prefix, FileDescriptor fd, PrintWriter writer, String[] args) { argument 364 super.dump(prefix, fd, writer, args); 557 void dump(String prefix, FileDescriptor fd, PrintWriter writer, String[] args) { argument 558 super.dump(prefix, fd, writer, args); 634 void dump(String prefix, FileDescriptor fd, PrintWriter writer, String[] args) { argument 635 super.dump(prefix, fd, writer, args); 693 void dump(String prefix, FileDescriptor fd, PrintWriter writer, String[] args) { argument 694 super.dump(prefix, fd, writer, args); 748 void dump(String prefix, FileDescriptor fd, PrintWrite argument 1052 dump(String prefix, FileDescriptor fd, PrintWriter writer, String[] args) argument [all...] |
H A D | WallpaperManager.java | 345 ParcelFileDescriptor fd = mService.getWallpaper(this, FLAG_SYSTEM, 347 if (fd != null) { 351 fd.getFileDescriptor(), null, options); 355 IoUtils.closeQuietly(fd); 929 ParcelFileDescriptor fd = sGlobals.mService.setWallpaper( 932 if (fd != null) { 936 fos = new ParcelFileDescriptor.AutoCloseOutputStream(fd); 1040 ParcelFileDescriptor fd = sGlobals.mService.setWallpaper(null, 1043 if (fd != null) { 1046 fos = new ParcelFileDescriptor.AutoCloseOutputStream(fd); [all...] |
/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);
|
/frameworks/av/media/libmediaplayerservice/nuplayer/ |
H A D | NuPlayerDriver.h | 38 virtual status_t setDataSource(int fd, int64_t offset, int64_t length); 70 virtual status_t dump(int fd, const Vector<String16> &args) const;
|
/frameworks/av/media/libstagefright/foundation/ |
H A D | ALooperRoster.cpp | 115 void ALooperRoster::dump(int fd, const Vector<String16>& args) { argument 169 write(fd, s.string(), s.size());
|
/frameworks/av/media/libstagefright/webm/ |
H A D | WebmFrameThread.h | 60 const int& fd, 67 const int& fd,
|
/frameworks/av/services/audiopolicy/common/managerdefinitions/src/ |
H A D | AudioGain.cpp | 101 void AudioGain::dump(int fd, int spaces, int index) const argument 126 write(fd, result.string(), result.size());
|
/frameworks/av/services/camera/libcameraservice/api1/ |
H A D | CameraClient.h | 75 virtual status_t dump(int fd, const Vector<String16>& args); 77 virtual status_t dumpClient(int fd, const Vector<String16>& args);
|