/frameworks/av/drm/libdrmframework/plugins/forward-lock/FwdLockEngine/include/ |
H A D | FwdLockEngine.h | 154 * @param fd descriptor of the protected content as a file source 158 String8 onGetOriginalMimeType(int uniqueId, const String8& path, int fd); 325 * @param fd File descriptor of the protected content to be decrypted 334 int fd, off64_t offset, off64_t length); 338 int fd, int offset, int length); 542 DecodeSession(int fd) { argument 543 fileDesc = fd;
|
/frameworks/av/media/libmediaplayerservice/ |
H A D | StagefrightPlayer.cpp | 63 status_t StagefrightPlayer::setDataSource(int fd, int64_t offset, int64_t length) { argument 64 ALOGV("setDataSource(%d, %lld, %lld)", fd, offset, length); 65 return mPlayer->setDataSource(dup(fd), offset, length); 216 status_t StagefrightPlayer::dump(int fd, const Vector<String16> &args) const { argument 217 return mPlayer->dump(fd, args);
|
/frameworks/base/services/common_time/ |
H A D | common_time_server_api.cpp | 284 write(fd, buffer, res); \ 288 status_t CommonTimeServer::dumpClockInterface(int fd, argument 300 write(fd, buffer, strlen(buffer)); 356 mClient_PacketRTTLog.dumpLog(fd, mCommonClock); 357 mStateChangeLog.dumpLog(fd); 358 mElectionLog.dumpLog(fd); 359 mBadPktLog.dumpLog(fd); 365 status_t CommonTimeServer::dumpConfigInterface(int fd, argument 376 write(fd, buffer, strlen(buffer)); 406 void CommonTimeServer::PacketRTTLog::dumpLog(int fd, cons argument [all...] |
/frameworks/native/libs/binder/ |
H A D | ProcessState.cpp | 345 int fd = open("/dev/binder", O_RDWR); local 346 if (fd >= 0) { 347 fcntl(fd, F_SETFD, FD_CLOEXEC); 349 status_t result = ioctl(fd, BINDER_VERSION, &vers); 352 close(fd); 353 fd = -1; 357 close(fd); 358 fd = -1; 361 result = ioctl(fd, BINDER_SET_MAX_THREADS, &maxThreads); 368 return fd; [all...] |
/frameworks/base/core/jni/ |
H A D | android_os_Parcel.cpp | 363 int fd = parcel->readFileDescriptor(); local 364 if (fd < 0) return NULL; 365 fd = dup(fd); 366 if (fd < 0) return NULL; 367 return jniCreateFileDescriptor(env, fd); 409 int fd = open(name8.string(), flags, realMode); local 410 if (fd < 0) { 414 jobject object = jniCreateFileDescriptor(env, fd); 416 close(fd); 433 int fd = dup(origfd); local 451 int fd = jniGetFDFromFileDescriptor(env, object); local 465 int fd = jniGetFDFromFileDescriptor(env, object); local [all...] |
H A D | android_util_Process.cpp | 192 int fd; local 197 fd = open(proc_path, O_RDONLY); 198 if (fd >= 0) { 199 int rc = read(fd, cmdline, sizeof(cmdline)-1); 201 close(fd); 353 int fd = open(text, O_WRONLY); local 354 if (fd >= 0) { 356 write(fd, text, strlen(text)); 357 close(fd); 380 int fd local 427 int fd = open("/proc/meminfo", O_RDONLY); local 540 int fd = open(file.string(), O_RDONLY); local 838 int fd = open(file8, O_RDONLY); local 973 int fd = open(path, O_RDONLY); local [all...] |
H A D | com_android_internal_content_NativeLibraryHelper.cpp | 122 int fd = TEMP_FAILURE_RETRY(open(filePath, O_RDONLY)); local 123 if (fd < 0) { 131 while ((numBytes = TEMP_FAILURE_RETRY(read(fd, crcBuffer, sizeof(crcBuffer)))) > 0) { 134 close(fd); 223 int fd = mkstemp(localTmpFileName); local 224 if (fd < 0) { 229 if (!zipFile->uncompressEntry(zipEntry, fd)) { 231 close(fd); 236 close(fd);
|
H A D | android_backup_BackupDataInput.cpp | 35 int fd = jniGetFDFromFileDescriptor(env, fileDescriptor); local 36 if (fd == -1) { 40 return (int)new BackupDataReader(fd);
|
/frameworks/base/services/java/com/android/server/am/ |
H A D | NativeCrashListener.java | 180 static int readExactly(FileDescriptor fd, byte[] buffer, int offset, int numBytes) argument 184 int n = Libcore.os.read(fd, buffer, offset + totalRead, numBytes); 198 void consumeNativeCrashData(FileDescriptor fd) { argument 205 Libcore.os.setsockoptTimeval(fd, SOL_SOCKET, SO_RCVTIMEO, timeout); 206 Libcore.os.setsockoptTimeval(fd, SOL_SOCKET, SO_SNDTIMEO, timeout); 209 int headerBytes = readExactly(fd, buf, 0, 8); 240 bytes = Libcore.os.read(fd, buf, 0, buf.length);
|
/frameworks/av/cmds/stagefright/ |
H A D | stream.cpp | 46 // Object assumes ownership of fd. 47 MyStreamSource(int fd); 68 MyStreamSource::MyStreamSource(int fd) argument 69 : mFd(fd), 72 CHECK_GE(fd, 0); 74 mFileSize = lseek64(fd, 0, SEEK_END); 75 lseek64(fd, 0, SEEK_SET); 359 int fd = open(argv[1], O_RDONLY); local 361 if (fd < 0) { 366 source = new MyStreamSource(fd); [all...] |
/frameworks/base/tests/touchlag/ |
H A D | touchlag.cpp | 142 int fd; member in class:TouchEvents::EventThread 148 read(fd, &event, sizeof(event)); 170 fd = open("/dev/input/event1", O_RDONLY); 224 int fd = open("/dev/graphics/fb0", O_RDWR); local 225 ioctl(fd, FBIOGET_VSCREENINFO, &vi); 226 ioctl(fd, FBIOGET_FSCREENINFO, &fi); 227 void* bits = mmap(0, fi.smem_len, PROT_READ | PROT_WRITE, MAP_SHARED, fd, 0); 260 int err = ioctl(fd, FBIO_WAITFORVSYNC, &crt); 292 close(fd);
|
/frameworks/av/drm/libdrmframework/include/ |
H A D | DrmManagerService.h | 73 String8 getOriginalMimeType(int uniqueId, const String8& path, int fd); 100 int uniqueId, int fd, off64_t offset, off64_t length, const char *mime); 121 virtual status_t dump(int fd, const Vector<String16>& args);
|
/frameworks/av/media/mtp/ |
H A D | MtpDataPacket.h | 98 int read(int fd); 101 int write(int fd); 102 int writeData(int fd, void* data, uint32_t length);
|
H A D | MtpServer.cpp | 98 MtpServer::MtpServer(int fd, MtpDatabase* database, bool ptp, argument 100 : mFD(fd), 154 int fd = mFD; local 156 ALOGV("MtpServer::run fd: %d\n", fd); 159 int ret = mRequest.read(fd); 180 int ret = mData.read(fd); 201 ret = mData.write(fd); 214 ret = mResponse.write(fd); 240 close(fd); 274 addEditObject(MtpObjectHandle handle, MtpString& path, uint64_t size, MtpObjectFormat format, int fd) argument 1188 int fd = open((const char *)path, O_RDWR | O_EXCL); local [all...] |
/frameworks/base/core/java/android/os/ |
H A D | FileObserver.java | 133 private native void observe(int fd); argument 134 private native int startWatching(int fd, String path, int mask); argument 135 private native void stopWatching(int fd, int wfd); argument
|
/frameworks/base/graphics/java/android/graphics/ |
H A D | BitmapRegionDecoder.java | 74 * @param fd The file descriptor containing the data to decode 86 FileDescriptor fd, boolean isShareable) throws IOException { 87 return nativeNewInstance(fd, isShareable); 267 FileDescriptor fd, boolean isShareable); 85 newInstance( FileDescriptor fd, boolean isShareable) argument 266 nativeNewInstance( FileDescriptor fd, boolean isShareable) argument
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/ |
H A D | SystemUIService.java | 86 protected void dump(FileDescriptor fd, PrintWriter pw, String[] args) { argument 90 ui.dump(fd, pw, args); 97 ui.dump(fd, pw, args);
|
/frameworks/base/core/java/android/app/ |
H A D | ApplicationThreadNative.java | 354 ParcelFileDescriptor fd = data.readFileDescriptor(); 357 if (fd != null) { 358 dumpService(fd.getFileDescriptor(), service, args); 360 fd.close(); 369 ParcelFileDescriptor fd = data.readFileDescriptor(); 372 if (fd != null) { 373 dumpProvider(fd.getFileDescriptor(), service, args); 375 fd.close(); 420 ParcelFileDescriptor fd = data.readInt() != 0 422 profilerControl(start, path, fd, profileTyp 1023 dumpService(FileDescriptor fd, IBinder token, String[] args) argument 1034 dumpProvider(FileDescriptor fd, IBinder token, String[] args) argument 1082 profilerControl(boolean start, String path, ParcelFileDescriptor fd, int profileType) argument 1130 dumpHeap(boolean managed, String path, ParcelFileDescriptor fd) argument 1147 dumpActivity(FileDescriptor fd, IBinder token, String prefix, String[] args) argument 1184 dumpMemInfo(FileDescriptor fd, Debug.MemoryInfo mem, boolean checkin, boolean dumpInfo, boolean dumpDalvik, String[] args) argument 1201 dumpGfxInfo(FileDescriptor fd, String[] args) argument 1210 dumpDbInfo(FileDescriptor fd, String[] args) argument [all...] |
/frameworks/base/services/input/ |
H A D | EventHub.cpp | 160 EventHub::Device::Device(int fd, int32_t id, const String8& path, argument 163 fd(fd), id(id), path(path), identifier(identifier), 183 if (fd >= 0) { 184 ::close(fd); 185 fd = -1; 299 if(ioctl(device->fd, EVIOCGABS(axis), &info)) { 300 ALOGW("Error reading absolute controller %d for device %s fd %d, errno=%d", 301 axis, device->identifier.name.string(), device->fd, errno); 351 if (ioctl(device->fd, EVIOCGKE [all...] |
/frameworks/av/include/media/ |
H A D | IMediaMetadataRetriever.h | 39 virtual status_t setDataSource(int fd, int64_t offset, int64_t length) = 0;
|
H A D | MediaMetadataRetrieverInterface.h | 38 virtual status_t setDataSource(int fd, int64_t offset, int64_t length) = 0;
|
/frameworks/av/include/media/stagefright/ |
H A D | AMRWriter.h | 33 AMRWriter(int fd);
|
/frameworks/av/media/libmedia/ |
H A D | mediametadataretriever.cpp | 112 status_t MediaMetadataRetriever::setDataSource(int fd, int64_t offset, int64_t length) argument 114 ALOGV("setDataSource(%d, %lld, %lld)", fd, offset, length); 120 if (fd < 0 || offset < 0 || length < 0) { 124 return mRetriever->setDataSource(fd, offset, length);
|
/frameworks/av/media/libstagefright/include/ |
H A D | StagefrightMetadataRetriever.h | 39 virtual status_t setDataSource(int fd, int64_t offset, int64_t length);
|
/frameworks/av/services/audioflinger/ |
H A D | AudioWatchdog.h | 38 void dump(int fd); // should only be called on a stable copy, not the original
|