Home
last modified time | relevance | path

Searched refs:getFileDescriptor (Results 1 – 25 of 64) sorted by relevance

123

/frameworks/base/core/java/android/app/backup/
DFileBackupHelperBase.java70 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()
DBackupHelperDispatcher.java53 FileDescriptor newStateFD = newState.getFileDescriptor(); in performBackup()
56 oldStateFD = oldState.getFileDescriptor(); in performBackup()
84 FileDescriptor newStateFD = newState.getFileDescriptor(); in doOneBackup()
DFullBackupDataOutput.java16 mData = new BackupDataOutput(fd.getFileDescriptor()); in FullBackupDataOutput()
DBackupAgent.java564 BackupDataOutput output = new BackupDataOutput(data.getFileDescriptor()); in doBackup()
597 BackupDataInput input = new BackupDataInput(data.getFileDescriptor()); in doRestore()
646 FileOutputStream out = new FileOutputStream(data.getFileDescriptor()); in doFullBackup()
DFullBackup.java122 FileInputStream in = new FileInputStream(data.getFileDescriptor()); in restoreFile()
/frameworks/base/core/java/android/net/
DLocalServerSocket.java104 public FileDescriptor getFileDescriptor() { in getFileDescriptor() method in LocalServerSocket
105 return impl.getFileDescriptor(); in getFileDescriptor()
DLocalSocket.java321 public FileDescriptor getFileDescriptor() { in getFileDescriptor() method in LocalSocket
322 return impl.getFileDescriptor(); in getFileDescriptor()
DVpnService.java190 return protect(socket.getFileDescriptor$().getInt$()); in protect()
201 return protect(socket.getFileDescriptor$().getInt$()); in protect()
/frameworks/base/tests/AccessoryDisplay/source/src/com/android/accessorydisplay/source/
DUsbAccessoryStreamTransport.java40 mInputStream = new FileInputStream(fd.getFileDescriptor()); in UsbAccessoryStreamTransport()
41 mOutputStream = new FileOutputStream(fd.getFileDescriptor()); in UsbAccessoryStreamTransport()
/frameworks/base/core/java/android/os/
DParcelFileDescriptor.java280 return dup(getFileDescriptor()); in dup()
336 FileDescriptor fd = socket.getFileDescriptor$(); in fromSocket()
350 FileDescriptor fd = datagramSocket.getFileDescriptor$(); in fromDatagramSocket()
463 FileDescriptor fd = file.getFileDescriptor(); in fromData()
505 public FileDescriptor getFileDescriptor() { in getFileDescriptor() method in ParcelFileDescriptor
507 return mWrapped.getFileDescriptor(); in getFileDescriptor()
796 super(pfd.getFileDescriptor()); in AutoCloseInputStream()
819 super(pfd.getFileDescriptor()); in AutoCloseOutputStream()
/frameworks/base/core/java/android/hardware/usb/
DUsbDeviceConnection.java46 return native_open(name, pfd.getFileDescriptor()); in open()
66 public int getFileDescriptor() { in getFileDescriptor() method in UsbDeviceConnection
/frameworks/base/core/java/com/android/internal/os/
DTransferPipe.java91 caller.go(iface, tp.getWriteFd().getFileDescriptor(), prefix, args); in go()
116 binder.dumpAsync(tp.getWriteFd().getFileDescriptor(), args); in goDump()
184 final FileInputStream fis = new FileInputStream(getReadFd().getFileDescriptor()); in run()
/frameworks/base/tests/HugeBackup/src/com/android/hugebackup/
DHugeAgent.java158 FileInputStream instream = new FileInputStream(oldState.getFileDescriptor()); in compareStateFile()
194 FileOutputStream outstream = new FileOutputStream(stateFile.getFileDescriptor()); in writeStateFile()
/frameworks/base/media/java/android/media/
DMediaExtractor.java99 setDataSource(fd.getFileDescriptor()); in setDataSource()
102 fd.getFileDescriptor(), in setDataSource()
DSoundPool.java481 id = _load(fd.getFileDescriptor(), 0, f.length(), priority); in load()
494 … id = _load(afd.getFileDescriptor(), afd.getStartOffset(), afd.getLength(), priority); in load()
510 return _load(afd.getFileDescriptor(), afd.getStartOffset(), len, priority); in load()
DRingtone.java292 mLocalPlayer.setDataSource(afd.getFileDescriptor()); in playFallbackRingtone()
294 mLocalPlayer.setDataSource(afd.getFileDescriptor(), in playFallbackRingtone()
/frameworks/base/graphics/tests/graphicstests/src/android/graphics/
DBitmapFactoryTest.java38 FileDescriptor fd = pfd.getFileDescriptor(); in testBitmapParcelFileDescriptor()
/frameworks/base/core/java/android/content/res/
DAssetFileDescriptor.java101 public FileDescriptor getFileDescriptor() { in getFileDescriptor() method in AssetFileDescriptor
102 return mFd.getFileDescriptor(); in getFileDescriptor()
/frameworks/ex/variablespeed/src/com/android/ex/variablespeed/
DVariableSpeedNative.java44 FileDescriptor fileDescriptor = afd.getFileDescriptor(); in playFromContext()
/frameworks/base/core/java/android/hardware/
DSerialPort.java60 native_open(pfd.getFileDescriptor(), speed); in open()
/frameworks/base/core/java/com/android/internal/backup/
DLocalTransport.java113 BackupDataInput changeSet = new BackupDataInput(data.getFileDescriptor()); in performBackup()
243 BackupDataOutput out = new BackupDataOutput(outFd.getFileDescriptor()); in getRestoreData()
/frameworks/base/media/java/android/mtp/
DMtpDevice.java59 boolean result = native_open(mDevice.getDeviceName(), connection.getFileDescriptor()); in open()
/frameworks/base/core/java/android/print/
DPrintFileDocumentAdapter.java118 OutputStream out = new FileOutputStream(mDestination.getFileDescriptor()); in doInBackground()
/frameworks/base/services/java/com/android/server/
DPackageManagerBackupAgent.java373 FileInputStream instream = new FileInputStream(stateFile.getFileDescriptor()); in parseStateFile()
406 FileOutputStream outstream = new FileOutputStream(stateFile.getFileDescriptor()); in writeStateFile()
/frameworks/base/packages/PrintSpooler/src/com/android/printspooler/
DRemotePrintDocumentAdapter.java96 in = new FileInputStream(source.getFileDescriptor()); in write()

123