Home
last modified time | relevance | path

Searched refs:pageSize (Results 1 – 11 of 11) sorted by relevance

/aosp14/frameworks/base/core/java/android/database/sqlite/
H A DSQLiteDebug.java165 public long pageSize; field in SQLiteDebug.DbStats
186 public DbStats(@NonNull String dbName, long pageCount, long pageSize, int lookaside, in DbStats() argument
189 this.pageSize = pageSize / 1024; in DbStats()
190 dbSize = (pageCount * pageSize) / 1024; in DbStats()
H A DSQLiteConnection.java1294 long pageSize = 0; in collectDbStats() local
1297 pageSize = executeForLong("PRAGMA page_size;", null, null); in collectDbStats()
1301 dbStatsList.add(getMainDbStatsUnsafe(lookaside, pageCount, pageSize)); in collectDbStats()
1313 pageSize = 0; in collectDbStats()
1316 pageSize = executeForLong("PRAGMA " + name + ".page_size;", null, null); in collectDbStats()
1325 new DbStats(label.toString(), pageCount, pageSize, 0, 0, 0, 0, false)); in collectDbStats()
1344 private DbStats getMainDbStatsUnsafe(int lookaside, long pageCount, long pageSize) { in getMainDbStatsUnsafe() argument
1353 return new DbStats(label, pageCount, pageSize, lookaside, in getMainDbStatsUnsafe()
H A DSQLiteDatabase.java1292 long pageSize = getPageSize(); in setMaximumSize() local
1293 long numPages = numBytes / pageSize; in setMaximumSize()
1295 if ((numBytes % pageSize) != 0) { in setMaximumSize()
1300 return newPageCount * pageSize; in setMaximumSize()
/aosp14/frameworks/base/libs/hwui/utils/
H A DLinearAllocator.cpp89 void* end(int pageSize) { return (void*)(((size_t)start()) + pageSize); } in end() argument
219 LinearAllocator::Page* LinearAllocator::newPage(size_t pageSize) { in newPage() argument
220 pageSize = ALIGN(pageSize + sizeof(LinearAllocator::Page)); in newPage()
222 mTotalAllocated += pageSize; in newPage()
224 void* buf = malloc(pageSize); in newPage()
H A DLinearAllocator.h135 Page* newPage(size_t pageSize);
/aosp14/frameworks/base/media/java/android/service/media/
H A DMediaBrowserService.java771 int pageSize = options.getInt(MediaBrowser.EXTRA_PAGE_SIZE, -1); in applyOptions() local
772 if (page == -1 && pageSize == -1) { in applyOptions()
775 int fromIndex = pageSize * page; in applyOptions()
776 int toIndex = fromIndex + pageSize; in applyOptions()
777 if (page < 0 || pageSize < 1 || fromIndex >= list.size()) { in applyOptions()
/aosp14/frameworks/base/core/java/android/app/
H A DActivityThread.java1557 pw.print(','); pw.print(dbStats.pageSize); in dumpMemInfo()
1607 (dbStats.pageSize > 0) ? String.valueOf(dbStats.pageSize) : " ", in dumpMemInfo()
1745 proto.write(MemInfoDumpProto.AppData.SqlStats.Database.PAGE_SIZE, dbStats.pageSize); in dumpMemInfo()
/aosp14/frameworks/base/core/api/
H A Dtest-lint-baseline.txt814 MutableBareField: android.database.sqlite.SQLiteDebug.DbStats#pageSize:
815 Bare field pageSize must be marked final, or moved behind accessors if mutable
H A Dtest-current.txt1292 field public long pageSize;
/aosp14/frameworks/base/config/
H A Dboot-image-profile.txt26292 HSPLjava/nio/Bits;->pageSize()I
/aosp14/frameworks/base/boot/hiddenapi/
H A Dhiddenapi-max-target-o.txt14738 Landroid/database/sqlite/SQLiteDebug$DbStats;->pageSize:J