/frameworks/base/tools/aidl/ |
H A D | aidl_language.cpp | 7 int isatty(int fd) argument 9 return (fd == 0);
|
/frameworks/base/core/java/android/app/backup/ |
H A D | FullBackupDataOutput.java | 15 public FullBackupDataOutput(ParcelFileDescriptor fd) { argument 16 mData = new BackupDataOutput(fd.getFileDescriptor());
|
H A D | BackupDataOutput.java | 68 public BackupDataOutput(FileDescriptor fd) { argument 69 if (fd == null) throw new NullPointerException(); 70 mBackupWriter = ctor(fd); 72 throw new RuntimeException("Native initialization failed with fd=" + fd); 124 private native static int ctor(FileDescriptor fd); argument
|
/frameworks/base/include/media/ |
H A D | MediaRecorderBase.h | 47 virtual status_t setOutputFile(int fd, int64_t offset, int64_t length) = 0; 48 virtual status_t setOutputFileAuxiliary(int fd) {return INVALID_OPERATION;} argument 57 virtual status_t dump(int fd, const Vector<String16>& args) const = 0;
|
/frameworks/base/include/utils/ |
H A D | Compat.h | 30 static inline off64_t lseek64(int fd, off64_t offset, int whence) { argument 31 return lseek(fd, offset, whence); 35 static inline ssize_t pread64(int fd, void* buf, size_t nbytes, off64_t offset) { argument 36 return pread(fd, buf, nbytes, offset);
|
/frameworks/base/media/mtp/ |
H A D | MtpRequestPacket.cpp | 38 int MtpRequestPacket::read(int fd) { argument 39 int ret = ::read(fd, mBuffer, mBufferSize);
|
H A D | MtpResponsePacket.cpp | 38 int MtpResponsePacket::write(int fd) { argument 41 int ret = ::write(fd, mBuffer, mPacketSize);
|
H A D | MtpEventPacket.cpp | 43 int MtpEventPacket::write(int fd) { argument 51 int ret = ::ioctl(fd, MTP_SEND_EVENT, (unsigned long)&event);
|
/frameworks/base/tools/obbtool/ |
H A D | pbkdf2gen.cpp | 43 int fd = open("/dev/urandom", O_RDONLY); local 44 if (fd < 0) { 46 close(fd); 52 if (read(fd, &salt, SALT_LEN) != SALT_LEN) { 54 close(fd); 57 close(fd);
|
/frameworks/base/cmds/backup/ |
H A D | backup.cpp | 58 int fd; local 60 fd = open(filename, O_RDONLY); 61 if (fd == -1) { 66 BackupDataReader reader(fd);
|
/frameworks/base/cmds/servicemanager/ |
H A D | bctest.c | 60 int fd; local
|
/frameworks/base/core/java/android/accounts/ |
H A D | IAccountAuthenticatorCache.java | 53 void dump(FileDescriptor fd, PrintWriter fout, String[] args); argument
|
/frameworks/base/core/java/android/bluetooth/ |
H A D | BluetoothHealthCallback.java | 57 * @param fd The Parcel File Descriptor when the channel state is connected. 62 BluetoothDevice device, int prevState, int newState, ParcelFileDescriptor fd, 65 "prevState:" + prevState + "newState:" + newState + "ParcelFd:" + fd + 61 onHealthChannelStateChange(BluetoothHealthAppConfiguration config, BluetoothDevice device, int prevState, int newState, ParcelFileDescriptor fd, int channelId) argument
|
/frameworks/base/core/java/android/net/ |
H A D | LocalServerSocket.java | 63 * @param fd bound file descriptor 66 public LocalServerSocket(FileDescriptor fd) throws IOException argument 68 impl = new LocalSocketImpl(fd); 102 * @return fd or null
|
/frameworks/base/core/jni/ |
H A D | ActivityManager.cpp | 32 int fd = -1; local 44 // Success is indicated here by a nonzero int followed by the fd; 47 fd = dup(reply.readFileDescriptor()); 57 return fd;
|
/frameworks/base/core/jni/android/graphics/ |
H A D | Utils.h | 44 AutoFDSeek(int fd) : fFD(fd) { argument 45 fCurr = ::lseek(fd, 0, SEEK_CUR);
|
/frameworks/base/drm/common/ |
H A D | ReadWriteUtils.cpp | 41 int fd = fileno(file); local 44 if (fstat(fd, &sb) == 0 && sb.st_size > 0) { 47 if (length == read(fd, (void*) bytes, length)) { 63 int fd = fileno(file); local 66 if (fstat(fd, &sb) == 0 && sb.st_size > 0) { 69 if (length != read(fd, (void*) *buffer, length)) { 83 int fd = fileno(file); local 86 if (FAILURE != ftruncate(fd, size)) { 87 if (size != write(fd, data.string(), size)) { 100 int fd local [all...] |
/frameworks/base/drm/libdrmframework/plugins/forward-lock/FwdLockEngine/include/ |
H A D | FwdLockEngine.h | 324 * @param fd File descriptor of the protected content to be decrypted 333 int fd, off64_t offset, off64_t length); 337 int fd, int offset, int length); 533 DecodeSession(int fd) { argument 534 fileDesc = fd;
|
/frameworks/base/libs/utils/ |
H A D | SystemClock.cpp | 55 int fd; 70 fd = open("/dev/alarm", O_RDWR); 71 if(fd < 0) { 77 res = ioctl(fd, ANDROID_ALARM_SET_RTC, &ts); 82 close(fd); 113 int fd = open("/dev/alarm", O_RDONLY); local 114 if (android_atomic_cmpxchg(-1, fd, &s_fd)) { 115 close(fd);
|
H A D | Static.cpp | 69 FdTextOutput(int fd) : BufferedTextOutput(MULTITHREADED), mFD(fd) { } argument
|
/frameworks/base/opengl/tests/angeles/ |
H A D | gpustate.c | 10 int fd; local 13 fd = open(fn, O_RDWR | O_SYNC); 14 if(fd < 0) { 20 MAP_SHARED, fd, base); 21 close(fd);
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/ |
H A D | SystemUI.java | 33 public void dump(FileDescriptor fd, PrintWriter pw, String[] args) { argument
|
/frameworks/base/services/java/com/android/server/ |
H A D | DiskStatsService.java | 44 protected void dump(FileDescriptor fd, PrintWriter pw, String[] args) { argument
|
/frameworks/base/tools/aapt/ |
H A D | printapk.cpp | 28 int fd; local 44 fd = open(filename, O_RDONLY); 45 if (fd == -1) { 50 size = lseek(fd, 0, SEEK_END); 51 amt = lseek(fd, 0, SEEK_SET); 64 amt = read(fd, buf, size); 70 close(fd);
|
/frameworks/support/v4/honeycomb/android/support/v4/app/ |
H A D | ActivityCompatHoneycomb.java | 32 static void dump(Activity activity, String prefix, FileDescriptor fd, argument 34 activity.dump(prefix, fd, writer, args);
|