Home
last modified time | relevance | path

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

/frameworks/base/tests/BlobStoreTestUtils/src/com/android/utils/blob/
DFakeBlobData.java155 long offsetBytes, long lengthBytes) throws Exception { in writeToSession() argument
157 Utils.writeToSession(session, in, offsetBytes, lengthBytes, lengthBytes); in writeToSession()
162 long offsetBytes, long lengthBytes, long allocateBytes) throws Exception { in writeToSession() argument
164 Utils.writeToSession(session, in, offsetBytes, lengthBytes, allocateBytes); in writeToSession()
168 public void writeToFd(FileDescriptor fd, long offsetBytes, long lengthBytes) throws Exception { in writeToFd() argument
170 in.getChannel().position(offsetBytes); in writeToFd()
182 long offsetBytes, int lengthBytes) throws Exception { in readFromSessionAndVerifyBytes() argument
185 read(in, expectedBytes, offsetBytes, lengthBytes); in readFromSessionAndVerifyBytes()
191 read(in, actualBytes, offsetBytes, lengthBytes); in readFromSessionAndVerifyBytes()
199 long offsetBytes, int lengthBytes) throws Exception { in read() argument
[all …]
DUtils.java81 long offsetBytes, long lengthBytes, long allocateBytes) throws IOException { in writeToSession() argument
82 in.getChannel().position(offsetBytes); in writeToSession()
84 session.openWrite(offsetBytes, allocateBytes))) { in writeToSession()
/frameworks/base/apex/blobstore/service/java/com/android/server/blob/
DBlobStoreSession.java211 public ParcelFileDescriptor openWrite(@BytesLong long offsetBytes, in openWrite() argument
213 Preconditions.checkArgumentNonnegative(offsetBytes, "offsetBytes must not be negative"); in openWrite()
225 fd = openWriteInternal(offsetBytes, lengthBytes); in openWrite()
244 private FileDescriptor openWriteInternal(@BytesLong long offsetBytes, in openWriteInternal() argument
253 if (offsetBytes > 0) { in openWriteInternal()
254 final long curOffset = Os.lseek(fd, offsetBytes, SEEK_SET); in openWriteInternal()
255 if (curOffset != offsetBytes) { in openWriteInternal()
256 throw new IllegalStateException("Failed to seek " + offsetBytes in openWriteInternal()
257 + "; curOffset=" + offsetBytes); in openWriteInternal()
/frameworks/base/core/jni/
Dandroid_service_DataLoaderService.cpp62 jlong offsetBytes, in nativeWriteData() argument
66 …return DataLoader_FilesystemConnector_writeData(connector, name, offsetBytes, lengthBytes, incomin… in nativeWriteData()
/frameworks/base/core/java/android/service/dataloader/
DDataLoaderService.java218 public void writeData(@NonNull String name, long offsetBytes, long lengthBytes, in writeData() argument
221 nativeWriteData(mNativeInstance, name, offsetBytes, lengthBytes, incomingFd); in writeData()
246 private static native void nativeWriteData(long nativeInstance, String name, long offsetBytes, in nativeWriteData() argument
/frameworks/base/core/java/android/content/pm/
DIPackageInstallerSession.aidl35 ParcelFileDescriptor openWrite(String name, long offsetBytes, long lengthBytes); in openWrite() argument
38 void write(String name, long offsetBytes, long lengthBytes, in ParcelFileDescriptor fd); in write() argument
DIPackageInstallerSessionFileSystemConnector.aidl23 void writeData(String name, long offsetBytes, long lengthBytes, in ParcelFileDescriptor fd); in writeData() argument
DPackageInstaller.java1596 public @NonNull OutputStream openWrite(@NonNull String name, long offsetBytes, in openWrite() argument
1601 mSession.openWrite(name, offsetBytes, lengthBytes)); in openWrite()
1604 offsetBytes, lengthBytes); in openWrite()
1616 public void write(@NonNull String name, long offsetBytes, long lengthBytes, in write() argument
1619 mSession.write(name, offsetBytes, lengthBytes, fd); in write()
/frameworks/base/apex/blobstore/framework/java/android/app/blob/
DIBlobStoreSession.aidl23 ParcelFileDescriptor openWrite(long offsetBytes, long lengthBytes); in openWrite() argument
DBlobStoreManager.java674 public @NonNull ParcelFileDescriptor openWrite(@BytesLong long offsetBytes, in openWrite() argument
677 final ParcelFileDescriptor pfd = mSession.openWrite(offsetBytes, lengthBytes); in openWrite()
678 pfd.seekTo(offsetBytes); in openWrite()
/frameworks/base/services/core/java/com/android/server/pm/
DPackageInstallerSession.java1875 public ParcelFileDescriptor openWrite(String name, long offsetBytes, long lengthBytes) { in openWrite() argument
1878 return doWriteInternal(name, offsetBytes, lengthBytes, null); in openWrite()
1885 public void write(String name, long offsetBytes, long lengthBytes, in write() argument
1889 doWriteInternal(name, offsetBytes, lengthBytes, fd); in write()
1944 private ParcelFileDescriptor doWriteInternal(String name, long offsetBytes, long lengthBytes, in doWriteInternal() argument
1992 if (offsetBytes > 0) { in doWriteInternal()
1993 Os.lseek(targetPfd.getFileDescriptor(), offsetBytes, OsConstants.SEEK_SET); in doWriteInternal() local
2302 public void writeData(String name, long offsetBytes, long lengthBytes, in writeData() argument
2311 doWriteInternal(name, offsetBytes, lengthBytes, incomingFd); in writeData()
/frameworks/base/tools/aapt2/integration-tests/CommandTests/
Dandroid-33.jarAndroidManifest.xml META-INF/ META-INF/MANIFEST.MF NOTICES/ NOTICES/libcore ...