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.java911 public @NonNull OutputStream openWrite(@NonNull String name, long offsetBytes, in openWrite() argument
916 mSession.openWrite(name, offsetBytes, lengthBytes)); in openWrite()
919 offsetBytes, lengthBytes); in openWrite()
931 public void write(@NonNull String name, long offsetBytes, long lengthBytes, in write() argument
934 mSession.write(name, offsetBytes, lengthBytes, fd); in write()
/frameworks/base/services/core/java/com/android/server/pm/
DPackageInstallerSession.java658 public ParcelFileDescriptor openWrite(String name, long offsetBytes, long lengthBytes) { in openWrite() argument
660 return doWriteInternal(name, offsetBytes, lengthBytes, null); in openWrite()
667 public void write(String name, long offsetBytes, long lengthBytes, in write() argument
670 doWriteInternal(name, offsetBytes, lengthBytes, fd); in write()
676 private ParcelFileDescriptor doWriteInternal(String name, long offsetBytes, long lengthBytes, in doWriteInternal() argument
724 if (offsetBytes > 0) { in doWriteInternal()
725 Os.lseek(targetFd, offsetBytes, OsConstants.SEEK_SET); in doWriteInternal()