/frameworks/base/core/tests/coretests/src/android/app/backup/ |
D | BackupDataTest.java | 83 BackupDataOutput bdo = new BackupDataOutput(mDataFile.getFileDescriptor()); in testSingle() 90 BackupDataInput bdi = new BackupDataInput(mDataFile.getFileDescriptor()); in testSingle() 102 BackupDataOutput bdo = new BackupDataOutput(mDataFile.getFileDescriptor()); in testMultiple() 111 BackupDataInput bdi = new BackupDataInput(mDataFile.getFileDescriptor()); in testMultiple() 123 BackupDataOutput bdo = new BackupDataOutput(mDataFile.getFileDescriptor()); in testDelete() 132 BackupDataInput bdi = new BackupDataInput(mDataFile.getFileDescriptor()); in testDelete() 145 BackupDataOutput bdo = new BackupDataOutput(mDataFile.getFileDescriptor()); in testMixed() 156 BackupDataInput bdi = new BackupDataInput(mDataFile.getFileDescriptor()); in testMixed() 174 BackupDataInput bdi = new BackupDataInput(mDataFile.getFileDescriptor()); in testReadMockData() 203 BackupDataInput bdi = new BackupDataInput(mDataFile.getFileDescriptor()); in testReadRealData() [all …]
|
/frameworks/base/packages/MtpDocumentsProvider/src/com/android/mtp/ |
D | MtpFileWriter.java | 60 Os.lseek(mCacheFd.getFileDescriptor(), offset, OsConstants.SEEK_SET); in write() 61 return Os.write(mCacheFd.getFileDescriptor(), bytes, 0, size); in write() 80 final long size = Os.lseek(mCacheFd.getFileDescriptor(), 0, OsConstants.SEEK_END); in flush() 85 Os.lseek(mCacheFd.getFileDescriptor(), 0, OsConstants.SEEK_SET); in flush()
|
/frameworks/base/core/java/android/app/backup/ |
D | FileBackupHelperBase.java | 70 FileDescriptor oldStateFd = oldState != null ? oldState.getFileDescriptor() : null; in performBackup_checked() 71 FileDescriptor newStateFd = newState.getFileDescriptor(); in performBackup_checked() 105 int result = writeSnapshot_native(mPtr, fd.getFileDescriptor()); in writeNewStateDescription()
|
D | BackupHelperDispatcher.java | 55 oldStateFD = oldState.getFileDescriptor(); in performBackup() 83 FileDescriptor newStateFD = newState.getFileDescriptor(); in doOneBackup()
|
D | FullBackupDataOutput.java | 23 mData = new BackupDataOutput(fd.getFileDescriptor()); in FullBackupDataOutput()
|
/frameworks/base/core/java/android/net/ |
D | LocalServerSocket.java | 100 public FileDescriptor getFileDescriptor() { in getFileDescriptor() method in LocalServerSocket 101 return impl.getFileDescriptor(); in getFileDescriptor()
|
D | LocalSocket.java | 322 public FileDescriptor getFileDescriptor() { in getFileDescriptor() method in LocalSocket 323 return impl.getFileDescriptor(); in getFileDescriptor()
|
/frameworks/base/tests/AccessoryDisplay/source/src/com/android/accessorydisplay/source/ |
D | UsbAccessoryStreamTransport.java | 40 mInputStream = new FileInputStream(fd.getFileDescriptor()); in UsbAccessoryStreamTransport() 41 mOutputStream = new FileOutputStream(fd.getFileDescriptor()); in UsbAccessoryStreamTransport()
|
/frameworks/support/v4/ics/android/support/v4/net/ |
D | TrafficStatsCompatIcs.java | 60 TrafficStats.tagSocket(new DatagramSocketWrapper(socket, pfd.getFileDescriptor())); in tagDatagramSocket() 70 TrafficStats.untagSocket(new DatagramSocketWrapper(socket, pfd.getFileDescriptor())); in untagDatagramSocket()
|
/frameworks/base/core/tests/coretests/src/android/net/ |
D | NetworkTest.java | 84 assertTrue(mLocalClient.getFileDescriptor().valid()); in testBindSocketOfLocalSocketThrows() 87 mNetwork.bindSocket(mLocalClient.getFileDescriptor()); in testBindSocketOfLocalSocketThrows() 96 mNetwork.bindSocket(mLocalClient.getFileDescriptor()); in testBindSocketOfLocalSocketThrows()
|
/frameworks/base/core/java/android/os/ |
D | ParcelFileDescriptor.java | 311 return dup(getFileDescriptor()); in dup() 367 FileDescriptor fd = socket.getFileDescriptor$(); in fromSocket() 381 FileDescriptor fd = datagramSocket.getFileDescriptor$(); in fromDatagramSocket() 511 FileDescriptor fd = file.getFileDescriptor(); in fromData() 553 public FileDescriptor getFileDescriptor() { in getFileDescriptor() method in ParcelFileDescriptor 555 return mWrapped.getFileDescriptor(); in getFileDescriptor() 855 super(pfd.getFileDescriptor()); in AutoCloseInputStream() 906 super(pfd.getFileDescriptor()); in AutoCloseOutputStream()
|
D | Binder.java | 347 dump(fd.getFileDescriptor(), args); in onTransact() 367 shellCommand(in != null ? in.getFileDescriptor() : null, in onTransact() 368 out.getFileDescriptor(), in onTransact() 369 err != null ? err.getFileDescriptor() : out.getFileDescriptor(), in onTransact()
|
D | TransactionTracker.java | 62 PrintWriter pw = new FastPrintWriter(new FileOutputStream(fd.getFileDescriptor())); in writeTracesToFile()
|
/frameworks/base/core/java/com/android/internal/backup/ |
D | LocalTransport.java | 162 StructStat ss = Os.fstat(data.getFileDescriptor()); in performBackup() 178 BackupDataInput changeSet = new BackupDataInput(data.getFileDescriptor()); in performBackup() 205 long cur = Os.lseek(data.getFileDescriptor(), 0, SEEK_CUR); in performBackup() 348 mSocket = ParcelFileDescriptor.dup(socket.getFileDescriptor()); in performFullBackup() 349 mSocketInputStream = new FileInputStream(mSocket.getFileDescriptor()); in performFullBackup() 541 BackupDataOutput out = new BackupDataOutput(outFd.getFileDescriptor()); in getRestoreData() 657 mFullRestoreSocketStream = new FileOutputStream(socket.getFileDescriptor()); in getNextFullRestoreDataChunk()
|
/frameworks/base/media/java/android/media/ |
D | MediaExtractor.java | 116 setDataSource(fd.getFileDescriptor()); in setDataSource() 119 fd.getFileDescriptor(), in setDataSource() 207 setDataSource(afd.getFileDescriptor()); in setDataSource() 209 setDataSource(afd.getFileDescriptor(), afd.getStartOffset(), afd.getDeclaredLength()); in setDataSource()
|
D | SoundPool.java | 222 id = _load(fd.getFileDescriptor(), 0, f.length(), priority); in load() 250 id = _load(afd.getFileDescriptor(), afd.getStartOffset(), afd.getLength(), priority); in load() 274 return _load(afd.getFileDescriptor(), afd.getStartOffset(), len, priority); in load()
|
/frameworks/base/core/java/com/android/internal/os/ |
D | TransferPipe.java | 91 caller.go(iface, tp.getWriteFd().getFileDescriptor(), prefix, args); in go() 116 binder.dumpAsync(tp.getWriteFd().getFileDescriptor(), args); in goDump() 195 fis = new FileInputStream(readFd.getFileDescriptor()); in run()
|
/frameworks/base/core/java/android/hardware/usb/ |
D | UsbDeviceConnection.java | 46 return native_open(name, pfd.getFileDescriptor()); in open() 66 public int getFileDescriptor() { in getFileDescriptor() method in UsbDeviceConnection
|
/frameworks/base/tests/HugeBackup/src/com/android/hugebackup/ |
D | HugeAgent.java | 158 FileInputStream instream = new FileInputStream(oldState.getFileDescriptor()); in compareStateFile() 194 FileOutputStream outstream = new FileOutputStream(stateFile.getFileDescriptor()); in writeStateFile()
|
/frameworks/base/graphics/java/android/graphics/pdf/ |
D | PdfRenderer.java | 150 Libcore.os.lseek(input.getFileDescriptor(), 0, OsConstants.SEEK_SET); in PdfRenderer() 151 size = Libcore.os.fstat(input.getFileDescriptor()).st_size; in PdfRenderer()
|
D | PdfEditor.java | 75 Libcore.os.lseek(input.getFileDescriptor(), 0, OsConstants.SEEK_SET); in PdfEditor() 76 size = Libcore.os.fstat(input.getFileDescriptor()).st_size; in PdfEditor()
|
/frameworks/base/core/java/android/content/res/ |
D | AssetFileDescriptor.java | 101 public FileDescriptor getFileDescriptor() { in getFileDescriptor() method in AssetFileDescriptor 102 return mFd.getFileDescriptor(); in getFileDescriptor()
|
/frameworks/base/graphics/tests/graphicstests/src/android/graphics/ |
D | BitmapFactoryTest.java | 38 FileDescriptor fd = pfd.getFileDescriptor(); in testBitmapParcelFileDescriptor()
|
/frameworks/base/packages/MtpDocumentsProvider/tests/src/com/android/mtp/ |
D | MtpDocumentsProviderTest.java | 495 assertEquals(6, Os.lseek(fd.getFileDescriptor(), 6, OsConstants.SEEK_SET)); in testOpenDocument() 496 assertEquals(5, Os.read(fd.getFileDescriptor(), readBytes, 0, 5)); in testOpenDocument() 499 assertEquals(0, Os.lseek(fd.getFileDescriptor(), 0, OsConstants.SEEK_SET)); in testOpenDocument() 500 assertEquals(5, Os.read(fd.getFileDescriptor(), readBytes, 0, 5)); in testOpenDocument() 533 assertEquals(11, Os.read(fd.getFileDescriptor(), readBytes, 0, readBytes.length)); in testOpenDocument_shortBytes()
|
/frameworks/opt/bitmap/src/com/android/bitmap/ |
D | DecodeTask.java | 213 BitmapFactory.decodeFileDescriptor(fd.getFileDescriptor(), null, mOpts); in decode() 313 .newInstance(fd.getFileDescriptor(), true /* shareable */); in decode() 491 result = BitmapFactory.decodeFileDescriptor(fd.getFileDescriptor(), null, mOpts); in decode()
|