Searched refs:contentSize (Results 1 – 8 of 8) sorted by relevance
/frameworks/base/tests/AccessoryDisplay/common/src/com/android/accessorydisplay/common/ |
D | Transport.java | 259 final int contentSize = buffer.getInt(); in handleMessage() local 260 if (contentSize == 0) { in handleMessage() 263 final int end = buffer.position() + contentSize; in handleMessage() 293 int contentSize = -1; in loop() local 316 if (contentSize < 0 && position >= Protocol.HEADER_SIZE) { in loop() 317 contentSize = buffer.getInt(4); in loop() 318 if (contentSize < 0 || contentSize > Protocol.MAX_CONTENT_SIZE) { in loop() 319 mLogger.logError("Encountered invalid content size: " + contentSize); in loop() 322 length += contentSize; in loop() 336 contentSize = -1; in loop() [all …]
|
/frameworks/base/services/core/java/com/android/server/security/ |
D | VerityUtils.java | 123 int contentSize = result.second; in generateApkVeritySetupData() local 128 return SetupResult.ok(Os.dup(rfd), contentSize); in generateApkVeritySetupData() 182 int contentSize = shmBufferFactory.getBufferLimit(); in generateFsVerityIntoSharedMemory() local 190 return Pair.create(shm, contentSize); in generateFsVerityIntoSharedMemory() 216 public static SetupResult ok(@NonNull FileDescriptor fileDescriptor, int contentSize) { in ok() argument 217 return new SetupResult(RESULT_OK, fileDescriptor, contentSize); in ok() 228 private SetupResult(int code, FileDescriptor fileDescriptor, int contentSize) { in SetupResult() argument 231 this.mContentSize = contentSize; in SetupResult()
|
/frameworks/base/services/backup/java/com/android/server/backup/utils/ |
D | TarBackupReader.java | 702 final int contentSize = (int) info.size; in readPaxExtendedHeader() local 707 while (eol < contentSize && data[eol] != ' ') { in readPaxExtendedHeader() 710 if (eol >= contentSize) { in readPaxExtendedHeader() 742 } while (offset < contentSize); in readPaxExtendedHeader()
|
/frameworks/native/cmds/installd/ |
D | InstalldNativeService.cpp | 2680 android::base::unique_fd verityInputAshmem, int32_t contentSize) { in installApkVerity() argument 2722 if (contentSize < 0) { in installApkVerity() 2723 return error("Invalid content size: " + std::to_string(contentSize)); in installApkVerity() 2725 if (contentSize > shmSize) { in installApkVerity() 2726 return error("Content size overflow: " + std::to_string(contentSize) + " > " + in installApkVerity() 2730 mmap(nullptr, contentSize, PROT_READ, MAP_SHARED, verityInputAshmem.get(), 0), in installApkVerity() 2731 [contentSize] (void* ptr) { in installApkVerity() 2733 munmap(ptr, contentSize); in installApkVerity() 2741 int remaining = contentSize; in installApkVerity() 2746 + "/" + std::to_string(contentSize) + ")"); in installApkVerity()
|
D | InstalldNativeService.h | 152 android::base::unique_fd verityInput, int32_t contentSize);
|
/frameworks/native/cmds/installd/binder/android/os/ |
D | IInstalld.aidl | 99 int contentSize); in installApkVerity() argument
|
/frameworks/base/services/core/java/com/android/server/pm/ |
D | Installer.java | 552 public void installApkVerity(String filePath, FileDescriptor verityInput, int contentSize) in installApkVerity() argument 557 mInstalld.installApkVerity(filePath, verityInput, contentSize); in installApkVerity()
|
/frameworks/base/core/java/com/android/internal/widget/ |
D | GridLayoutManager.java | 737 final int contentSize = Math.round(maxSizeInOther * mSpanCount); in guessMeasurement() local 739 calculateItemBorders(Math.max(contentSize, currentOtherDirSize)); in guessMeasurement()
|