/frameworks/minikin/tests/ |
H A D | ICUTestBase.h | 33 int fd = open(fn, O_RDONLY); variable 34 ASSERT_NE(-1, fd); 36 ASSERT_EQ(0, fstat(fd, &sb)); 37 void* data = mmap(NULL, sb.st_size, PROT_READ, MAP_SHARED, fd, 0);
|
/frameworks/native/services/surfaceflinger/tests/waitforvsync/ |
H A D | waitforvsync.cpp | 33 int fd = open("/dev/graphics/fb0", O_RDWR); local 34 if (fd >= 0) { 37 int err = ioctl(fd, FBIO_WAITFORVSYNC, &crt); 43 close(fd);
|
/frameworks/av/include/media/ |
H A D | MediaRecorderBase.h | 48 virtual status_t setOutputFile(int fd, int64_t offset, int64_t length) = 0; 49 virtual status_t setOutputFileAuxiliary(int fd) {return INVALID_OPERATION;} argument 61 virtual status_t dump(int fd, const Vector<String16>& args) const = 0;
|
/frameworks/av/media/mtp/ |
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);
|
H A D | MtpRequestPacket.cpp | 39 int MtpRequestPacket::read(int fd) { argument 40 int ret = ::read(fd, mBuffer, mBufferSize);
|
/frameworks/av/services/audiopolicy/common/managerdefinitions/src/ |
H A D | AudioCollections.cpp | 40 status_t AudioRouteVector::dump(int fd, int spaces) const argument 49 write(fd, buffer, strlen(buffer)); 52 write(fd, buffer, strlen(buffer)); 53 itemAt(i)->dump(fd, 4);
|
H A D | AudioRoute.cpp | 27 void AudioRoute::dump(int fd, int spaces) const argument 49 write(fd, result.string(), result.size());
|
H A D | AudioSourceDescriptor.cpp | 32 status_t AudioSourceDescriptor::dump(int fd) argument 42 write(fd, result.string(), result.size()); 43 mDevice->dump(fd, 2 , 0); 48 status_t AudioSourceCollection::dump(int fd) const 54 write(fd, buffer, strlen(buffer)); 57 write(fd, buffer, strlen(buffer)); 58 valueAt(i)->dump(fd);
|
/frameworks/base/core/java/android/os/ |
H A D | TransactionTracker.java | 57 public void writeTracesToFile(ParcelFileDescriptor fd) { argument 62 PrintWriter pw = new FastPrintWriter(new FileOutputStream(fd.getFileDescriptor()));
|
/frameworks/base/tools/obbtool/ |
H A D | pbkdf2gen.cpp | 44 int fd = open("/dev/urandom", O_RDONLY); local 45 if (fd < 0) { 47 close(fd); 53 if (read(fd, &salt, SALT_LEN) != SALT_LEN) { 55 close(fd); 58 close(fd);
|
/frameworks/compile/mclinker/unittests/ |
H A D | FileHandleTest.cpp | 62 int fd = ::open(path.native().c_str(), O_RDONLY); local 64 ASSERT_TRUE(m_pTestee->delegate(fd, FileHandle::ReadOnly)); 78 int close_result = ::close(fd);
|
/frameworks/av/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/av/media/libmedia/ |
H A D | MidiIoWrapper.cpp | 43 MidiIoWrapper::MidiIoWrapper(int fd, off64_t offset, int64_t size) { argument 44 ALOGV("MidiIoWrapper(fd=%d)", fd); 45 mFd = fd < 0 ? -1 : dup(fd);
|
/frameworks/av/media/libmediaplayerservice/ |
H A D | ActivityManager.cpp | 33 int fd = -1; local 45 // Success is indicated here by a nonzero int followed by the fd; 48 fd = dup(reply.readFileDescriptor()); 58 return fd;
|
/frameworks/av/services/audioflinger/ |
H A D | AudioWatchdog.cpp | 28 void AudioWatchdogDump::dump(int fd) argument 37 dprintf(fd, "Watchdog: underruns=%u, logs=%u, most recent underrun log at %s",
|
/frameworks/av/services/mediaextractor/ |
H A D | MediaExtractorService.cpp | 48 status_t MediaExtractorService::dump(int fd, const Vector<String16>& args) { argument 49 return dumpExtractors(fd, args);
|
/frameworks/base/cmds/backup/ |
H A D | backup.cpp | 55 int fd; local 57 fd = open(filename, O_RDONLY); 58 if (fd == -1) { 63 BackupDataReader reader(fd);
|
/frameworks/base/core/java/android/app/backup/ |
H A D | FullBackupDataOutput.java | 22 public FullBackupDataOutput(ParcelFileDescriptor fd) { argument 23 mData = new BackupDataOutput(fd.getFileDescriptor());
|
/frameworks/base/core/java/android/bluetooth/ |
H A D | BluetoothHealthCallback.java | 59 * @param fd The Parcel File Descriptor when the channel state is connected. 65 BluetoothDevice device, int prevState, int newState, ParcelFileDescriptor fd, 68 "prevState:" + prevState + "newState:" + newState + "ParcelFd:" + fd + 64 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 | 59 * @param fd bound file descriptor 62 public LocalServerSocket(FileDescriptor fd) throws IOException argument 64 impl = new LocalSocketImpl(fd); 98 * @return fd or null
|
/frameworks/base/core/java/android/util/ |
H A D | LocalLog.java | 51 public synchronized void dump(FileDescriptor fd, PrintWriter pw, String[] args) { argument 58 public synchronized void reverseDump(FileDescriptor fd, PrintWriter pw, String[] args) { argument 69 public void dump(FileDescriptor fd, PrintWriter pw, String[] args) { argument 70 mLog.dump(fd, pw, args);
|
/frameworks/base/core/jni/android/graphics/ |
H A D | Utils.h | 56 AutoFDSeek(int fd) : fFD(fd) { argument 57 fCurr = ::lseek(fd, 0, SEEK_CUR);
|
/frameworks/base/native/android/ |
H A D | net.c | 45 int android_setsocknetwork(net_handle_t network, int fd) { argument 52 int rval = setNetworkForSocket(netid, fd);
|
/frameworks/base/packages/PrintSpooler/src/com/android/printspooler/util/ |
H A D | BitmapSerializeUtils.java | 57 private static native void nativeReadBitmapPixels(Bitmap bitmap, int fd); argument 59 private static native void nativeWriteBitmapPixels(Bitmap bitmap, int fd); argument
|