/frameworks/base/tests/BlobStoreTestUtils/src/com/android/utils/blob/ |
D | FakeBlobData.java | 155 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 …]
|
D | Utils.java | 81 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/ |
D | BlobStoreSession.java | 211 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/ |
D | android_service_DataLoaderService.cpp | 62 jlong offsetBytes, in nativeWriteData() argument 66 …return DataLoader_FilesystemConnector_writeData(connector, name, offsetBytes, lengthBytes, incomin… in nativeWriteData()
|
/frameworks/base/core/java/android/service/dataloader/ |
D | DataLoaderService.java | 218 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/ |
D | IPackageInstallerSession.aidl | 35 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
|
D | IPackageInstallerSessionFileSystemConnector.aidl | 23 void writeData(String name, long offsetBytes, long lengthBytes, in ParcelFileDescriptor fd); in writeData() argument
|
D | PackageInstaller.java | 1596 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/ |
D | IBlobStoreSession.aidl | 23 ParcelFileDescriptor openWrite(long offsetBytes, long lengthBytes); in openWrite() argument
|
D | BlobStoreManager.java | 674 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/ |
D | PackageInstallerSession.java | 1875 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/ |
D | android-33.jar | AndroidManifest.xml
META-INF/
META-INF/MANIFEST.MF
NOTICES/
NOTICES/libcore ... |