/frameworks/av/media/utils/ |
D | LimitProcessMemory.cpp | 34 long pageSize = sysconf(_SC_PAGESIZE); in limitProcessMemory() local 38 if (pageSize > 0 && numPages > 0) { in limitProcessMemory() 39 if (size_t(numPages) < SIZE_MAX / size_t(pageSize)) { in limitProcessMemory() 40 maxMem = size_t(numPages) * size_t(pageSize); in limitProcessMemory()
|
/frameworks/base/media/java/android/media/browse/ |
D | MediaBrowserUtils.java | 92 int pageSize = options.getInt(MediaBrowser.EXTRA_PAGE_SIZE, -1); in applyPagingOptions() local 93 if (page == -1 && pageSize == -1) { in applyPagingOptions() 96 int fromIndex = pageSize * page; in applyPagingOptions() 97 int toIndex = fromIndex + pageSize; in applyPagingOptions() 98 if (page < 0 || pageSize < 1 || fromIndex >= list.size()) { in applyPagingOptions()
|
/frameworks/base/core/java/android/database/sqlite/ |
D | SQLiteDebug.java | 165 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()
|
D | SQLiteConnection.java | 1375 long pageSize = 0; in collectDbStats() local 1378 pageSize = executeForLong("PRAGMA page_size;", null, null); in collectDbStats() 1382 dbStatsList.add(getMainDbStatsUnsafe(lookaside, pageCount, pageSize)); in collectDbStats() 1394 pageSize = 0; in collectDbStats() 1397 pageSize = executeForLong("PRAGMA " + name + ".page_size;", null, null); in collectDbStats() 1406 new DbStats(label.toString(), pageCount, pageSize, 0, 0, 0, 0, false)); in collectDbStats() 1425 private DbStats getMainDbStatsUnsafe(int lookaside, long pageCount, long pageSize) { in getMainDbStatsUnsafe() argument 1434 return new DbStats(label, pageCount, pageSize, lookaside, in getMainDbStatsUnsafe()
|
D | SQLiteDatabase.java | 1368 long pageSize = getPageSize(); in setMaximumSize() local 1369 long numPages = numBytes / pageSize; in setMaximumSize() 1371 if ((numBytes % pageSize) != 0) { in setMaximumSize() 1376 return newPageCount * pageSize; in setMaximumSize()
|
/frameworks/base/libs/hwui/utils/ |
D | LinearAllocator.cpp | 89 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()
|
D | LinearAllocator.h | 135 Page* newPage(size_t pageSize);
|
/frameworks/av/media/libshmem/ |
D | ShmemCompat.cpp | 34 const size_t pageSize = getpagesize(); in convertSharedFileRegionToIMemory() local 35 const size_t pageMask = ~(pageSize - 1); in convertSharedFileRegionToIMemory() 44 const uint64_t heapEndOffset = (endOffset + pageSize - 1) & pageMask; in convertSharedFileRegionToIMemory()
|
/frameworks/av/media/utils/include/mediautils/ |
D | SharedMemoryAllocator.h | 57 constexpr inline size_t roundup(size_t size, size_t pageSize) { 58 LOG_ALWAYS_FATAL_IF(pageSize == 0 || (pageSize & (pageSize - 1)) != 0, 60 return ((size + pageSize - 1) & ~(pageSize - 1));
|
/frameworks/compile/mclinker/lib/Core/ |
D | GeneralOptions.cpp | 139 m_CommPageSize = pOption.pageSize(); in addZOption() 142 m_MaxPageSize = pOption.pageSize(); in addZOption()
|
/frameworks/compile/mclinker/include/mcld/MC/ |
D | ZOption.h | 57 uint64_t pageSize() const { return m_PageSize; } in pageSize() function
|
/frameworks/native/libs/binder/tests/ |
D | binderRecordedTransactionTest.cpp | 94 const size_t pageSize = sysconf(_SC_PAGE_SIZE); in TEST() local 95 const size_t largeDataSize = pageSize + 100; in TEST()
|
/frameworks/av/media/libmedia/ |
D | IOMX.cpp | 527 size_t pageSize = 0; in onTransact() local 537 pageSize = (size_t) sysconf(_SC_PAGE_SIZE); in onTransact() 538 if (size > SIZE_MAX - (pageSize * 2)) { in onTransact() 541 allocSize = (size + pageSize * 2) & ~(pageSize - 1); in onTransact() 561 if (mprotect((char*)params + allocSize - pageSize, pageSize, in onTransact()
|
/frameworks/native/libs/binder/ |
D | RecordedTransaction.cpp | 182 const long pageSize = sysconf(_SC_PAGE_SIZE); in fromFile() local 211 off_t mmapPageAlignedStart = (fdCurrentPosition / pageSize) * pageSize; in fromFile()
|
/frameworks/av/media/libdatasource/ |
D | NuCachedSource2.cpp | 34 explicit PageCache(size_t pageSize); 66 PageCache::PageCache(size_t pageSize) in PageCache() argument 67 : mPageSize(pageSize), in PageCache()
|
/frameworks/base/services/core/java/com/android/server/ |
D | BootReceiver.java | 249 long pageSize = Os.sysconf(OsConstants._SC_PAGESIZE); in getCurrentBootHeaders() local 250 if (pageSize != 4096) { in getCurrentBootHeaders() 251 builder.append("PageSize: ").append(pageSize).append("\n"); in getCurrentBootHeaders()
|
/frameworks/av/media/module/extractors/ogg/ |
D | OggExtractor.cpp | 1028 ssize_t pageSize; in buildTableOfContents() local 1029 while ((pageSize = readPage(offset, &page)) > 0) { in buildTableOfContents() 1038 offset += (size_t)pageSize; in buildTableOfContents()
|
/frameworks/base/core/java/android/app/ |
D | ActivityThread.java | 1683 pw.print(','); pw.print(dbStats.pageSize); in dumpMemInfo() 1733 (dbStats.pageSize > 0) ? String.valueOf(dbStats.pageSize) : " ", in dumpMemInfo() 1876 proto.write(MemInfoDumpProto.AppData.SqlStats.Database.PAGE_SIZE, dbStats.pageSize); in dumpMemInfo()
|
/frameworks/base/services/core/java/com/android/server/am/ |
D | ActivityManagerService.java | 9935 long pageSize = Os.sysconf(OsConstants._SC_PAGESIZE); in addErrorToDropBox() local 9936 if (pageSize != 4096) { in addErrorToDropBox() 9937 sb.append("PageSize: ").append(pageSize).append("\n"); in addErrorToDropBox()
|
/frameworks/base/core/api/ |
D | test-current.txt | 1434 field public long pageSize;
|
/frameworks/base/config/ |
D | boot-image-profile.txt | 25821 HSPLjava/nio/Bits;->pageSize()I
|
/frameworks/base/boot/hiddenapi/ |
D | hiddenapi-max-target-o.txt | 14738 Landroid/database/sqlite/SQLiteDebug$DbStats;->pageSize:J
|