Home
last modified time | relevance | path

Searched refs:numPages (Results 1 – 3 of 3) sorted by relevance

/frameworks/av/media/libmedia/
DMediaUtils.cpp35 long numPages = sysconf(_SC_PHYS_PAGES); 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/packages/SystemUI/src/com/android/systemui/qs/
DPageIndicator.java44 public void setNumPages(int numPages) { in setNumPages() argument
45 setVisibility(numPages > 1 ? View.VISIBLE : View.INVISIBLE); in setNumPages()
49 while (numPages < getChildCount()) { in setNumPages()
52 while (numPages > getChildCount()) { in setNumPages()
/frameworks/base/core/java/android/database/sqlite/
DSQLiteDatabase.java897 long numPages = numBytes / pageSize; in setMaximumSize() local
900 numPages++; in setMaximumSize()
902 long newPageCount = DatabaseUtils.longForQuery(this, "PRAGMA max_page_count = " + numPages, in setMaximumSize()