/frameworks/base/core/java/android/database/sqlite/ |
D | SQLiteDebug.java | 125 public long pageSize; field in SQLiteDebug.DbStats 136 public DbStats(String dbName, long pageCount, long pageSize, int lookaside, in DbStats() argument 139 this.pageSize = pageSize / 1024; in DbStats() 140 dbSize = (pageCount * pageSize) / 1024; in DbStats()
|
D | SQLiteConnection.java | 1114 long pageSize = 0; in collectDbStats() local 1117 pageSize = executeForLong("PRAGMA page_size;", null, null); in collectDbStats() 1121 dbStatsList.add(getMainDbStatsUnsafe(lookaside, pageCount, pageSize)); in collectDbStats() 1133 pageSize = 0; in collectDbStats() 1136 pageSize = executeForLong("PRAGMA " + name + ".page_size;", null, null); in collectDbStats() 1144 dbStatsList.add(new DbStats(label, pageCount, pageSize, 0, 0, 0, 0)); in collectDbStats() 1163 private DbStats getMainDbStatsUnsafe(int lookaside, long pageCount, long pageSize) { in getMainDbStatsUnsafe() argument 1170 return new DbStats(label, pageCount, pageSize, lookaside, in getMainDbStatsUnsafe()
|
D | SQLiteDatabase.java | 896 long pageSize = getPageSize(); in setMaximumSize() local 897 long numPages = numBytes / pageSize; in setMaximumSize() 899 if ((numBytes % pageSize) != 0) { in setMaximumSize() 904 return newPageCount * pageSize; in setMaximumSize()
|
/frameworks/av/media/libmedia/ |
D | MediaUtils.cpp | 39 long pageSize = sysconf(_SC_PAGESIZE); in limitProcessMemory() local 43 if (pageSize > 0 && numPages > 0) { in limitProcessMemory() 44 if (size_t(numPages) < SIZE_MAX / size_t(pageSize)) { in limitProcessMemory() 45 maxMem = size_t(numPages) * size_t(pageSize); in limitProcessMemory()
|
D | IOMX.cpp | 679 size_t pageSize = 0; in onTransact() local 689 pageSize = (size_t) sysconf(_SC_PAGE_SIZE); in onTransact() 690 if (size > SIZE_MAX - (pageSize * 2)) { in onTransact() 693 allocSize = (size + pageSize * 2) & ~(pageSize - 1); in onTransact() 713 if (mprotect((char*)params + allocSize - pageSize, pageSize, in onTransact()
|
/frameworks/base/libs/hwui/utils/ |
D | LinearAllocator.cpp | 102 void* end(int pageSize) { in end() argument 103 return (void*) (((size_t)start()) + pageSize); in end() 235 LinearAllocator::Page* LinearAllocator::newPage(size_t pageSize) { in newPage() argument 236 pageSize = ALIGN(pageSize + sizeof(LinearAllocator::Page)); in newPage() 238 mTotalAllocated += pageSize; in newPage() 240 void* buf = malloc(pageSize); in newPage()
|
D | LinearAllocator.h | 134 Page* newPage(size_t pageSize);
|
/frameworks/support/media-compat/tests/src/android/support/v4/media/ |
D | MediaBrowserCompatTest.java | 297 final int pageSize = 3; in testSubscribeWithOptions() local 299 (StubMediaBrowserServiceCompat.MEDIA_ID_CHILDREN.length - 1) / pageSize; in testSubscribeWithOptions() 301 options.putInt(MediaBrowserCompat.EXTRA_PAGE_SIZE, pageSize); in testSubscribeWithOptions() 314 assertEquals(pageSize, mSubscriptionCallback.mLastChildMediaItems.size()); in testSubscribeWithOptions() 317 (StubMediaBrowserServiceCompat.MEDIA_ID_CHILDREN.length - 1) % pageSize in testSubscribeWithOptions() 324 StubMediaBrowserServiceCompat.MEDIA_ID_CHILDREN[page * pageSize + i], in testSubscribeWithOptions() 369 final int pageSize = 5; in testSubscribeInvalidItemWithOptions() local 372 options.putInt(MediaBrowserCompat.EXTRA_PAGE_SIZE, pageSize); in testSubscribeInvalidItemWithOptions() 384 assertEquals(pageSize, in testSubscribeInvalidItemWithOptions() 395 final int pageSize = 1; in testUnsubscribeForMultipleSubscriptions() local [all …]
|
D | MediaBrowserServiceCompatTest.java | 127 final int pageSize = 5; in testNotifyChildrenChangedWithPagination() local 130 options.putInt(MediaBrowserCompat.EXTRA_PAGE_SIZE, pageSize); in testNotifyChildrenChangedWithPagination()
|
/frameworks/compile/mclinker/lib/Core/ |
D | GeneralOptions.cpp | 139 m_CommPageSize = pOption.pageSize(); in addZOption() 142 m_MaxPageSize = pOption.pageSize(); in addZOption()
|
/frameworks/support/samples/Support4Demos/src/com/example/android/supportv4/media/ |
D | MediaBrowserServiceSupport.java | 281 int pageSize = -1; in loadChildrenImpl() local 286 pageSize = options.getInt(MediaBrowserCompat.EXTRA_PAGE_SIZE, -1); in loadChildrenImpl() 288 if (page < 0 || pageSize < 1) { in loadChildrenImpl() 294 int fromIndex = page == -1 ? 0 : page * pageSize; in loadChildrenImpl() 316 toIndex = page == -1 ? genres.size() : Math.min(fromIndex + pageSize, genres.size()); in loadChildrenImpl() 337 toIndex = page == -1 ? tracks.size() : Math.min(fromIndex + pageSize, tracks.size()); in loadChildrenImpl()
|
D | BrowseFragment.java | 81 int pageSize = options.getInt(MediaBrowserCompat.EXTRA_PAGE_SIZE, -1); 82 if (page < 0 || pageSize != PAGE_SIZE || children == null
|
/frameworks/base/media/java/android/service/media/ |
D | MediaBrowserService.java | 682 int pageSize = options.getInt(MediaBrowser.EXTRA_PAGE_SIZE, -1); in applyOptions() local 683 if (page == -1 && pageSize == -1) { in applyOptions() 686 int fromIndex = pageSize * page; in applyOptions() 687 int toIndex = fromIndex + pageSize; in applyOptions() 688 if (page < 0 || pageSize < 1 || fromIndex >= list.size()) { in applyOptions()
|
/frameworks/compile/mclinker/include/mcld/MC/ |
D | ZOption.h | 57 uint64_t pageSize() const { return m_PageSize; } in pageSize() function
|
/frameworks/av/media/libstagefright/ |
D | NuCachedSource2.cpp | 34 explicit PageCache(size_t pageSize); 66 PageCache::PageCache(size_t pageSize) in PageCache() argument 67 : mPageSize(pageSize), in PageCache()
|
D | OggExtractor.cpp | 873 ssize_t pageSize; in buildTableOfContents() local 874 while ((pageSize = readPage(offset, &page)) > 0) { in buildTableOfContents() 883 offset += (size_t)pageSize; in buildTableOfContents()
|
/frameworks/support/media-compat/java/android/support/v4/media/ |
D | MediaBrowserServiceCompat.java | 1353 int pageSize = options.getInt(MediaBrowserCompat.EXTRA_PAGE_SIZE, -1); in applyOptions() local 1354 if (page == -1 && pageSize == -1) { in applyOptions() 1357 int fromIndex = pageSize * page; in applyOptions() 1358 int toIndex = fromIndex + pageSize; in applyOptions() 1359 if (page < 0 || pageSize < 1 || fromIndex >= list.size()) { in applyOptions()
|
D | MediaBrowserCompat.java | 784 int pageSize = options.getInt(MediaBrowserCompat.EXTRA_PAGE_SIZE, -1); in applyOptions() local 785 if (page == -1 && pageSize == -1) { in applyOptions() 788 int fromIndex = pageSize * page; in applyOptions() 789 int toIndex = fromIndex + pageSize; in applyOptions() 790 if (page < 0 || pageSize < 1 || fromIndex >= list.size()) { in applyOptions()
|
/frameworks/base/core/java/android/app/ |
D | ActivityThread.java | 1167 pw.print(','); pw.print(dbStats.pageSize); in dumpMemInfo() 1212 (dbStats.pageSize > 0) ? String.valueOf(dbStats.pageSize) : " ", in dumpMemInfo()
|