Searched refs:fd (Results 201 - 225 of 553) sorted by relevance

1234567891011>>

/frameworks/av/services/medialog/
H A DMediaLogService.h41 virtual status_t dump(int fd, const Vector<String16>& args);
/frameworks/base/core/java/android/os/
H A DSELinux.java77 * @param fd FileDescriptor class of the peer socket.
80 public static final native String getPeerContext(FileDescriptor fd); argument
/frameworks/base/libs/androidfw/
H A DBackupData.cpp59 BackupDataWriter::BackupDataWriter(int fd) argument
60 :m_fd(fd),
183 BackupDataReader::BackupDataReader(int fd) argument
184 :m_fd(fd),
/frameworks/base/media/java/android/media/
H A DMediaRecorder.java630 public void setAuxiliaryOutputFile(FileDescriptor fd) argument
650 * @param fd an open file descriptor to be written into.
654 public void setOutputFile(FileDescriptor fd) throws IllegalStateException argument
657 mFd = fd;
675 private native void _setOutputFile(FileDescriptor fd, long offset, long length) argument
H A DThumbnailUtils.java110 FileDescriptor fd = stream.getFD();
114 BitmapFactory.decodeFileDescriptor(fd, null, options);
125 bitmap = BitmapFactory.decodeFileDescriptor(fd, null, options);
317 FileDescriptor fd = pfd.getFileDescriptor();
320 BitmapFactory.decodeFileDescriptor(fd, null, options);
331 b = BitmapFactory.decodeFileDescriptor(fd, null, options);
/frameworks/base/packages/SystemUI/src/com/android/systemui/settings/
H A DSettingsUI.java73 public void dump(FileDescriptor fd, PrintWriter pw, String[] args) { argument
/frameworks/base/services/common_time/
H A Dcommon_time_config_service.h31 virtual status_t dump(int fd, const Vector<String16>& args);
/frameworks/native/services/surfaceflinger/tests/vsync/
H A Dvsync.cpp22 int receiver(int fd, int events, void* data) argument
/frameworks/wilhelm/src/android/
H A Dandroid_defs.h189 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 DFwdLockEngine.cpp312 String8 FwdLockEngine::onGetOriginalMimeType(int uniqueId, const String8& path, int fd) { argument
315 int fileDesc = dup(fd);
468 int fd,
474 int fd,
483 if ((-1 < fd) &&
486 fileDesc = dup(fd);
510 LOG_VERBOSE("FwdLockEngine::onOpenDecryptSession Integrity Check failed for the fd");
538 int fd = open(filePath, O_RDONLY); local
540 if (-1 < fd) {
542 result = onOpenDecryptSession(uniqueId, decryptHandle, fd,
466 onOpenDecryptSession(int uniqueId, DecryptHandle* decryptHandle, int fd, off64_t offset, off64_t length) argument
[all...]
/frameworks/av/services/camera/libcameraservice/api1/client2/
H A DZslProcessor.cpp384 void ZslProcessor::dump(int fd, const Vector<String16>& /*args*/) const { argument
388 write(fd, result.string(), result.size());
389 mLatestCapturedRequest.dump(fd, 2, 6);
392 write(fd, result.string(), result.size());
394 dumpZslQueue(fd);
522 void ZslProcessor::dumpZslQueue(int fd) const {
526 if (fd != -1) {
528 write(fd, header.string(), header.size());
546 if (fd != -1) {
548 write(fd, resul
[all...]
/frameworks/native/cmds/servicemanager/
H A Dbinder.c89 int fd; member in struct:binder_state
104 bs->fd = open("/dev/binder", O_RDWR);
105 if (bs->fd < 0) {
112 bs->mapped = mmap(NULL, mapsize, PROT_READ, MAP_PRIVATE, bs->fd, 0);
124 close(bs->fd);
133 close(bs->fd);
139 return ioctl(bs->fd, BINDER_SET_CONTEXT_MGR, 0);
152 res = ioctl(bs->fd, BINDER_WRITE_READ, &bwr);
339 res = ioctl(bs->fd, BINDER_WRITE_READ, &bwr);
375 res = ioctl(bs->fd, BINDER_WRITE_REA
[all...]
/frameworks/av/media/libmedia/
H A DJetPlayer.cpp335 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/av/services/camera/libcameraservice/device2/
H A DCamera2Device.cpp168 status_t Camera2Device::dump(int fd, const Vector<String16>& args) { argument
186 write(fd, result.string(), result.size());
187 mRequestQueue.dump(fd, args);
190 write(fd, result.string(), result.size());
191 mFrameQueue.dump(fd, args);
195 write(fd, result.string(), result.size());
197 (*s)->dump(fd, args);
201 write(fd, result.string(), result.size());
204 res = mHal2Device->ops->dump(mHal2Device, fd);
811 status_t Camera2Device::MetadataQueue::dump(int fd, argument
1212 dump(int fd, const Vector<String16>& ) argument
1451 dump(int fd, const Vector<String16>& ) argument
[all...]
/frameworks/wilhelm/tests/examples/
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 DslesTestSendToPresetReverb.cpp178 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/libmediaplayerservice/
H A DMediaPlayerService.h111 virtual status_t dump(int fd, const Vector<String16>& args) const;
227 virtual status_t dump(int fd, const Vector<String16>& args) const;
260 virtual status_t decode(int fd, int64_t offset, int64_t length,
271 virtual status_t dump(int fd, const Vector<String16>& args);
360 virtual status_t setDataSource(int fd, int64_t offset, int64_t length);
372 virtual status_t dump(int fd, const Vector<String16>& args) const;
/frameworks/base/core/java/android/provider/
H A DDocumentsContract.java695 final FileDescriptor fd = afd.getFileDescriptor();
702 Libcore.os.lseek(fd, offset, SEEK_SET);
704 is = new BufferedInputStream(new FileInputStream(fd), THUMBNAIL_BUFFER_SIZE);
715 BitmapFactory.decodeFileDescriptor(fd, null, opts);
728 Libcore.os.lseek(fd, offset, SEEK_SET);
732 bitmap = BitmapFactory.decodeFileDescriptor(fd, null, opts);
/frameworks/native/libs/binder/
H A DIMemory.cpp247 ALOGD("UNMAPPING binder=%p, heap=%p, size=%d, fd=%d",
299 ALOGE_IF(err, "binder=%p transaction failed fd=%d, size=%ld, err=%d (%s)",
302 int fd = dup( parcel_fd ); local
303 ALOGE_IF(fd==-1, "cannot dup fd=%d, size=%ld, err=%d (%s)",
314 mBase = mmap(0, size, access, MAP_SHARED, fd, offset);
316 ALOGE("cannot map BpMemoryHeap (binder=%p), size=%ld, fd=%d (%s)",
317 asBinder().get(), size, fd, strerror(errno));
318 close(fd);
323 android_atomic_write(fd,
[all...]
/frameworks/base/core/java/android/app/
H A DWallpaperManager.java290 ParcelFileDescriptor fd = mService.getWallpaper(this, params);
291 if (fd != null) {
298 fd.getFileDescriptor(), null, options);
304 fd.close();
730 ParcelFileDescriptor fd = sGlobals.mService.setWallpaper(
732 if (fd != null) {
735 fos = new ParcelFileDescriptor.AutoCloseOutputStream(fd);
767 ParcelFileDescriptor fd = sGlobals.mService.setWallpaper(null);
768 if (fd == null) {
773 fos = new ParcelFileDescriptor.AutoCloseOutputStream(fd);
[all...]
/frameworks/av/cmds/screenrecord/
H A Dscreenrecord.cpp572 int fd = open("/dev/null", O_WRONLY); local
573 if (fd >= 0) {
574 dup2(fd, STDOUT_FILENO);
575 dup2(fd, STDERR_FILENO);
576 close(fd);
725 int fd = open(fileName, O_CREAT | O_RDWR, 0644); local
726 if (fd < 0) {
730 close(fd);
/frameworks/av/drm/libdrmframework/include/
H A DDrmManager.h86 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 DDrmManagerClientImpl.h151 * @param[in] fd the file descriptor of the protected content
155 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 DIDrmEngine.h169 * @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;

Completed in 1847 milliseconds

1234567891011>>