Lines Matching defs:socket
358 * the socket file descriptor on which the transport will receive the data itself.
368 * read() from the socket except as instructed to via the {@link #sendBackupData(int)}
373 * its datastore, if appropriate, and close the socket that had been provided in
381 * @param socket The socket file descriptor through which the data will be provided.
391 public int performFullBackup(PackageInfo targetPackage, ParcelFileDescriptor socket) {
396 * Tells the transport to read {@code numBytes} bytes of data from the socket file
401 * socket.
438 * The transport writes some data to the socket supplied to this call, and returns
450 * <p>The transport should always close this socket when returning from this method.
451 * Do not cache this socket across multiple calls or you may leak file descriptors.
453 * @param socket The file descriptor that the transport will use for delivering the
454 * streamed archive. The transport must close this socket in all cases when returning
465 public int getNextFullRestoreDataChunk(ParcelFileDescriptor socket) {
586 public int performFullBackup(PackageInfo targetPackage, ParcelFileDescriptor socket) throws RemoteException {
587 return BackupTransport.this.performFullBackup(targetPackage, socket);
601 public int getNextFullRestoreDataChunk(ParcelFileDescriptor socket) {
602 return BackupTransport.this.getNextFullRestoreDataChunk(socket);