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/core/java/com/android/internal/security/ |
D | VerityUtils.java | 153 int contentSize = result.second; in generateApkVeritySetupData() local 158 return SetupResult.ok(Os.dup(rfd), contentSize); in generateApkVeritySetupData() 212 int contentSize = shmBufferFactory.getBufferLimit(); in generateFsVerityIntoSharedMemory() local 220 return Pair.create(shm, contentSize); in generateFsVerityIntoSharedMemory() 248 public static SetupResult ok(@NonNull FileDescriptor fileDescriptor, int contentSize) { in ok() argument 249 return new SetupResult(RESULT_OK, fileDescriptor, contentSize); in ok() 264 private SetupResult(int code, FileDescriptor fileDescriptor, int contentSize) { in SetupResult() argument 267 this.mContentSize = contentSize; in SetupResult()
|
/frameworks/base/services/backup/java/com/android/server/backup/utils/ |
D | TarBackupReader.java | 719 final int contentSize = (int) info.size; in readPaxExtendedHeader() local 724 while (eol < contentSize && data[eol] != ' ') { in readPaxExtendedHeader() 727 if (eol >= contentSize) { in readPaxExtendedHeader() 759 } while (offset < contentSize); in readPaxExtendedHeader()
|
/frameworks/native/cmds/installd/ |
D | InstalldNativeService.cpp | 2694 android::base::unique_fd verityInputAshmem, int32_t contentSize) { in installApkVerity() argument 2736 if (contentSize < 0) { in installApkVerity() 2737 return error("Invalid content size: " + std::to_string(contentSize)); in installApkVerity() 2739 if (contentSize > shmSize) { in installApkVerity() 2740 return error("Content size overflow: " + std::to_string(contentSize) + " > " + in installApkVerity() 2744 mmap(nullptr, contentSize, PROT_READ, MAP_SHARED, verityInputAshmem.get(), 0), in installApkVerity() 2745 [contentSize] (void* ptr) { in installApkVerity() 2747 munmap(ptr, contentSize); in installApkVerity() 2755 int remaining = contentSize; in installApkVerity() 2760 + "/" + std::to_string(contentSize) + ")"); in installApkVerity()
|
D | InstalldNativeService.h | 155 android::base::unique_fd verityInput, int32_t contentSize);
|
/frameworks/native/cmds/installd/binder/android/os/ |
D | IInstalld.aidl | 97 int contentSize); in installApkVerity() argument
|
/frameworks/base/services/core/java/com/android/server/pm/ |
D | Installer.java | 684 public void installApkVerity(String filePath, FileDescriptor verityInput, int contentSize) in installApkVerity() argument 689 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()
|