Searched refs:getFileDescriptor (Results 1 - 25 of 91) sorted by relevance

1234

/frameworks/base/core/java/android/net/
H A DLocalServerSocket.java100 public FileDescriptor getFileDescriptor() { method in class:LocalServerSocket
101 return impl.getFileDescriptor();
H A DLocalSocket.java336 public FileDescriptor getFileDescriptor() { method in class:LocalSocket
337 return impl.getFileDescriptor();
/frameworks/av/services/oboeservice/
H A DSharedMemoryProxy.h39 int getFileDescriptor() const { function in class:aaudio::SharedMemoryProxy
/frameworks/base/core/java/android/app/backup/
H A DFileBackupHelperBase.java70 FileDescriptor oldStateFd = oldState != null ? oldState.getFileDescriptor() : null;
71 FileDescriptor newStateFd = newState.getFileDescriptor();
105 int result = writeSnapshot_native(mPtr, fd.getFileDescriptor());
H A DFullBackupDataOutput.java35 mData = new BackupDataOutput(fd.getFileDescriptor(), quota);
H A DBackupHelperDispatcher.java55 oldStateFD = oldState.getFileDescriptor();
83 FileDescriptor newStateFD = newState.getFileDescriptor();
/frameworks/base/packages/MtpDocumentsProvider/src/com/android/mtp/
H A DMtpFileWriter.java60 Os.lseek(mCacheFd.getFileDescriptor(), offset, OsConstants.SEEK_SET);
61 return Os.write(mCacheFd.getFileDescriptor(), bytes, 0, size);
80 final long size = Os.lseek(mCacheFd.getFileDescriptor(), 0, OsConstants.SEEK_END);
85 Os.lseek(mCacheFd.getFileDescriptor(), 0, OsConstants.SEEK_SET);
/frameworks/base/core/tests/coretests/src/android/app/backup/
H A DBackupDataTest.java83 BackupDataOutput bdo = new BackupDataOutput(mDataFile.getFileDescriptor());
90 BackupDataInput bdi = new BackupDataInput(mDataFile.getFileDescriptor());
102 BackupDataOutput bdo = new BackupDataOutput(mDataFile.getFileDescriptor());
111 BackupDataInput bdi = new BackupDataInput(mDataFile.getFileDescriptor());
123 BackupDataOutput bdo = new BackupDataOutput(mDataFile.getFileDescriptor());
132 BackupDataInput bdi = new BackupDataInput(mDataFile.getFileDescriptor());
145 BackupDataOutput bdo = new BackupDataOutput(mDataFile.getFileDescriptor());
156 BackupDataInput bdi = new BackupDataInput(mDataFile.getFileDescriptor());
174 BackupDataInput bdi = new BackupDataInput(mDataFile.getFileDescriptor());
203 BackupDataInput bdi = new BackupDataInput(mDataFile.getFileDescriptor());
[all...]
/frameworks/base/tests/AccessoryDisplay/source/src/com/android/accessorydisplay/source/
H A DUsbAccessoryStreamTransport.java40 mInputStream = new FileInputStream(fd.getFileDescriptor());
41 mOutputStream = new FileOutputStream(fd.getFileDescriptor());
/frameworks/base/core/java/com/android/internal/os/
H A DZygoteServer.java103 FileDescriptor fd = mServerSocket.getFileDescriptor();
125 return mServerSocket.getFileDescriptor();
140 fds.add(mServerSocket.getFileDescriptor());
H A DTransferPipe.java101 caller.go(iface, tp.getWriteFd().getFileDescriptor(), prefix, args);
123 binder.dumpAsync(tp.getWriteFd().getFileDescriptor(), args);
205 fis = new FileInputStream(readFd.getFileDescriptor());
/frameworks/base/core/tests/coretests/src/android/graphics/
H A DBitmapFactoryTest.java38 FileDescriptor fd = pfd.getFileDescriptor();
/frameworks/support/compat/java/android/support/v4/net/
H A DTrafficStatsCompat.java36 TrafficStats.tagSocket(new DatagramSocketWrapper(socket, pfd.getFileDescriptor()));
40 // the getFileDescriptor() result which tagging depends on.
46 TrafficStats.untagSocket(new DatagramSocketWrapper(socket, pfd.getFileDescriptor()));
50 // the getFileDescriptor() result which tagging depends on.
/frameworks/base/core/tests/coretests/src/android/net/
H A DNetworkTest.java84 assertTrue(mLocalClient.getFileDescriptor().valid());
87 mNetwork.bindSocket(mLocalClient.getFileDescriptor());
96 mNetwork.bindSocket(mLocalClient.getFileDescriptor());
/frameworks/base/core/java/android/hardware/
H A DSerialPort.java55 native_open(pfd.getFileDescriptor(), speed);
H A DSensorDirectChannel.java205 fd = ashmem.getFileDescriptor().getInt$();
/frameworks/base/core/java/android/os/
H A DTransactionTracker.java62 PrintWriter pw = new FastPrintWriter(new FileOutputStream(fd.getFileDescriptor()));
H A DParcelFileDescriptor.java342 return dup(getFileDescriptor());
398 FileDescriptor fd = socket.getFileDescriptor$();
412 FileDescriptor fd = datagramSocket.getFileDescriptor$();
542 FileDescriptor fd = file.getFileDescriptor();
604 public FileDescriptor getFileDescriptor() { method in class:ParcelFileDescriptor
606 return mWrapped.getFileDescriptor();
906 super(pfd.getFileDescriptor());
957 super(pfd.getFileDescriptor());
H A DBinder.java452 dump(fd.getFileDescriptor(), args);
473 shellCommand(in != null ? in.getFileDescriptor() : null,
474 out.getFileDescriptor(),
475 err != null ? err.getFileDescriptor() : out.getFileDescriptor(),
/frameworks/base/core/java/android/hardware/usb/
H A DUsbDeviceConnection.java62 boolean wasOpened = native_open(name, pfd.getFileDescriptor());
100 public int getFileDescriptor() { method in class:UsbDeviceConnection
/frameworks/base/tests/HugeBackup/src/com/android/hugebackup/
H A DHugeAgent.java158 FileInputStream instream = new FileInputStream(oldState.getFileDescriptor());
194 FileOutputStream outstream = new FileOutputStream(stateFile.getFileDescriptor());
/frameworks/base/tests/UsbHostExternalManagmentTest/AoapTestDevice/src/com/android/hardware/usb/aoapdevicetest/
H A DUsbAoapDeviceTestActivity.java130 mInputStream = new FileInputStream(fd.getFileDescriptor());
131 mOutputStream = new FileOutputStream(fd.getFileDescriptor());
/frameworks/base/media/java/android/media/
H A DMediaExtractor.java125 setDataSource(fd.getFileDescriptor());
128 fd.getFileDescriptor(),
223 setDataSource(afd.getFileDescriptor());
225 setDataSource(afd.getFileDescriptor(), afd.getStartOffset(), afd.getDeclaredLength());
H A DSoundPool.java199 id = _load(fd.getFileDescriptor(), 0, f.length(), priority);
227 id = _load(afd.getFileDescriptor(), afd.getStartOffset(), afd.getLength(), priority);
251 return _load(afd.getFileDescriptor(), afd.getStartOffset(), len, priority);
/frameworks/base/core/java/com/android/internal/backup/
H A DLocalTransport.java164 StructStat ss = Os.fstat(data.getFileDescriptor());
180 BackupDataInput changeSet = new BackupDataInput(data.getFileDescriptor());
207 long cur = Os.lseek(data.getFileDescriptor(), 0, SEEK_CUR);
350 mSocket = ParcelFileDescriptor.dup(socket.getFileDescriptor());
351 mSocketInputStream = new FileInputStream(mSocket.getFileDescriptor());
543 BackupDataOutput out = new BackupDataOutput(outFd.getFileDescriptor());
659 mFullRestoreSocketStream = new FileOutputStream(socket.getFileDescriptor());

Completed in 414 milliseconds

1234