/frameworks/base/core/java/android/os/ |
TransactionTracker.java | 62 PrintWriter pw = new FastPrintWriter(new FileOutputStream(fd.getFileDescriptor()));
|
ParcelFileDescriptor.java | 311 return dup(getFileDescriptor()); 367 FileDescriptor fd = socket.getFileDescriptor$(); 381 FileDescriptor fd = datagramSocket.getFileDescriptor$(); 511 FileDescriptor fd = file.getFileDescriptor(); 553 public FileDescriptor getFileDescriptor() { 555 return mWrapped.getFileDescriptor(); 855 super(pfd.getFileDescriptor()); [all...] |
Binder.java | 347 dump(fd.getFileDescriptor(), args); 367 shellCommand(in != null ? in.getFileDescriptor() : null, 368 out.getFileDescriptor(), 369 err != null ? err.getFileDescriptor() : out.getFileDescriptor(),
|
/frameworks/base/media/java/android/media/ |
MediaExtractor.java | 116 setDataSource(fd.getFileDescriptor()); 119 fd.getFileDescriptor(), 207 setDataSource(afd.getFileDescriptor()); 209 setDataSource(afd.getFileDescriptor(), afd.getStartOffset(), afd.getDeclaredLength());
|
/libcore/ojluni/src/main/java/java/net/ |
DatagramSocketImpl.java | 241 protected FileDescriptor getFileDescriptor() {
|
SocketImpl.java | 225 protected FileDescriptor getFileDescriptor() {
|
SocketOutputStream.java | 58 super(impl.getFileDescriptor());
|
/packages/apps/Messaging/src/com/android/messaging/util/ |
MediaMetadataRetrieverWrapper.java | 45 mRetriever.setDataSource(fd.getFileDescriptor());
|
MediaUtilImpl.java | 42 afd.getFileDescriptor(), afd.getStartOffset(), afd.getLength());
|
/cts/tests/tests/os/src/android/os/cts/ |
ParcelFileDescriptorTest.java | 152 FileDescriptor fd = pfd.getFileDescriptor(); 222 assertNotNull(pfd.getFileDescriptor()); 225 assertSame(pfd.getFileDescriptor(), p.getFileDescriptor()); 239 new FileOutputStream(pfd.getFileDescriptor()).write(oneByte); 246 // Using new FileInputStream(PFD.getFileDescriptor()) is discouraged, as error 249 return new FileInputStream(pfd.getFileDescriptor()).read();
|
ParcelFileDescriptorPeer.java | 126 return new FileInputStream(mLocal.getFileDescriptor()).read(); 135 new FileOutputStream(mLocal.getFileDescriptor()).write(oneByte);
|
MessageQueueTest.java | 242 queue.addOnFileDescriptorEventListener(reader.getFileDescriptor(), 0, null); 266 queue.removeOnFileDescriptorEventListener(reader.getFileDescriptor()); 293 assertEquals(pipe[1].getFileDescriptor(), fd); 330 assertEquals(pipe[0].getFileDescriptor(), fd); 597 queue.addOnFileDescriptorEventListener(pipe2[0].getFileDescriptor(), [all...] |
/cts/tests/tests/media/src/android/media/cts/ |
MediaMetadataRetrieverTest.java | 50 mRetriever.setDataSource(afd.getFileDescriptor(), afd.getStartOffset(), afd.getLength()); 174 retriever.setDataSource(afd.getFileDescriptor(), afd.getStartOffset(), afd.getLength());
|
/development/samples/BackupRestore/src/com/example/android/backuprestore/ |
ExampleAgent.java | 146 FileInputStream instream = new FileInputStream(oldState.getFileDescriptor()); 182 FileOutputStream outstream = new FileOutputStream(stateFile.getFileDescriptor());
|
MultiRecordExampleAgent.java | 87 FileInputStream instream = new FileInputStream(oldState.getFileDescriptor()); 136 FileOutputStream outstream = new FileOutputStream(stateFile.getFileDescriptor());
|
/frameworks/base/core/java/android/app/backup/ |
BackupHelperDispatcher.java | 55 oldStateFD = oldState.getFileDescriptor(); 83 FileDescriptor newStateFD = newState.getFileDescriptor();
|
/frameworks/base/tests/HugeBackup/src/com/android/hugebackup/ |
HugeAgent.java | 158 FileInputStream instream = new FileInputStream(oldState.getFileDescriptor()); 194 FileOutputStream outstream = new FileOutputStream(stateFile.getFileDescriptor());
|
/cts/hostsidetests/net/app/src/com/android/cts/net/hostside/ |
RemoteSocketFactoryClient.java | 81 return mService.openSocketFd(host, port, timeoutMs).getFileDescriptor();
|
/cts/tests/accessibilityservice/src/android/accessibilityservice/cts/ |
ShellCommandBuilder.java | 74 try (InputStream inputStream = new FileInputStream(fd.getFileDescriptor())) {
|
/cts/tests/tests/webkit/src/android/webkit/cts/ |
MockContentProvider.java | 83 FileOutputStream outputStream = new FileOutputStream(output.getFileDescriptor());
|
/libcore/luni/src/test/java/libcore/java/util/zip/ |
ZipFileTest.java | 48 fd.setInt$(zipFile.getFileDescriptor());
|
/development/samples/Vault/tests/src/com/example/android/vault/ |
EncryptedDocumentTest.java | 112 final FileOutputStream os = new FileOutputStream(beforePipe[1].getFileDescriptor()); 137 final FileInputStream is = new FileInputStream(afterPipe[0].getFileDescriptor()); 229 final FileOutputStream os = new FileOutputStream(pipe[1].getFileDescriptor());
|
/frameworks/base/core/java/com/android/internal/os/ |
TransferPipe.java | 91 caller.go(iface, tp.getWriteFd().getFileDescriptor(), prefix, args); 116 binder.dumpAsync(tp.getWriteFd().getFileDescriptor(), args); 195 fis = new FileInputStream(readFd.getFileDescriptor());
|
/frameworks/base/core/java/com/android/internal/backup/ |
LocalTransport.java | 162 StructStat ss = Os.fstat(data.getFileDescriptor()); 178 BackupDataInput changeSet = new BackupDataInput(data.getFileDescriptor()); 205 long cur = Os.lseek(data.getFileDescriptor(), 0, SEEK_CUR); 348 mSocket = ParcelFileDescriptor.dup(socket.getFileDescriptor()); 349 mSocketInputStream = new FileInputStream(mSocket.getFileDescriptor()); 541 BackupDataOutput out = new BackupDataOutput(outFd.getFileDescriptor()); 657 mFullRestoreSocketStream = new FileOutputStream(socket.getFileDescriptor());
|
/external/conscrypt/src/platform/java/org/conscrypt/ |
Platform.java | 78 public static FileDescriptor getFileDescriptor(Socket s) { 79 return s.getFileDescriptor$(); 106 Os.setsockoptTimeval(s.getFileDescriptor$(), SOL_SOCKET, SO_SNDTIMEO, tv);
|