Home
last modified time | relevance | path

Searched refs:offsetBytes (Results 1 – 3 of 3) sorted by relevance

/frameworks/base/core/java/android/content/pm/
DIPackageInstallerSession.aidl30 ParcelFileDescriptor openWrite(String name, long offsetBytes, long lengthBytes); in openWrite() argument
33 void write(String name, long offsetBytes, long lengthBytes, in ParcelFileDescriptor fd); in write() argument
DPackageInstaller.java829 public @NonNull OutputStream openWrite(@NonNull String name, long offsetBytes, in openWrite() argument
834 mSession.openWrite(name, offsetBytes, lengthBytes)); in openWrite()
837 offsetBytes, lengthBytes); in openWrite()
849 public void write(@NonNull String name, long offsetBytes, long lengthBytes, in write() argument
852 mSession.write(name, offsetBytes, lengthBytes, fd); in write()
/frameworks/base/services/core/java/com/android/server/pm/
DPackageInstallerSession.java600 public ParcelFileDescriptor openWrite(String name, long offsetBytes, long lengthBytes) { in openWrite() argument
602 return doWriteInternal(name, offsetBytes, lengthBytes, null); in openWrite()
609 public void write(String name, long offsetBytes, long lengthBytes, in write() argument
612 doWriteInternal(name, offsetBytes, lengthBytes, fd); in write()
618 private ParcelFileDescriptor doWriteInternal(String name, long offsetBytes, long lengthBytes, in doWriteInternal() argument
669 if (offsetBytes > 0) { in doWriteInternal()
670 Os.lseek(targetFd, offsetBytes, OsConstants.SEEK_SET); in doWriteInternal()