Home
last modified time | relevance | path

Searched refs:PAGE_SIZE (Results 1 – 17 of 17) sorted by relevance

/frameworks/base/packages/FakeOemFeatures/src/com/android/fakeoemfeatures/
DFakeApp.java43 static final int PAGE_SIZE = 4*1024; field in FakeApp
148 for (int i=0; i<STUFFING_SIZE_BYTES/PAGE_SIZE; i++) { in onCreate()
151 final int OFF = (i*PAGE_SIZE)/4; in onCreate()
152 for (int j=0; j<(PAGE_SIZE/4); j++) { in onCreate()
DFakeBackgroundService.java49 int[] alloc = new int[FakeApp.PAGE_SIZE/4];
52 for (int j=0; j<FakeApp.PAGE_SIZE/4; j++) {
/frameworks/base/services/core/java/com/android/server/
DPinnerService.java92 private static final int PAGE_SIZE = (int) Os.sysconf(OsConstants._SC_PAGESIZE); field in PinnerService
799 if (maxBytesToPin % PAGE_SIZE != 0) { in pinFileRanges()
800 maxBytesToPin -= maxBytesToPin % PAGE_SIZE; in pinFileRanges()
817 pinLength += pinStart % PAGE_SIZE; in pinFileRanges()
818 pinStart -= pinStart % PAGE_SIZE; in pinFileRanges()
819 if (pinLength % PAGE_SIZE != 0) { in pinFileRanges()
820 pinLength += PAGE_SIZE - pinLength % PAGE_SIZE; in pinFileRanges()
/frameworks/base/core/java/android/nfc/tech/
DMifareUltralight.java72 public static final int PAGE_SIZE = 4; field in MifareUltralight
/frameworks/av/media/tests/benchmark/src/native/decoder/
DC2Decoder.cpp107 int alignedSize = ALIGN(size, PAGE_SIZE); in decodeFrames()
/frameworks/base/core/jni/
Dcom_android_internal_content_NativeLibraryHelper.cpp202 if (offset % PAGE_SIZE != 0) { in copyFileIfChanged()
/frameworks/native/vulkan/libvulkan/
Dlayers_extensions.cpp393 if (entry.method != kCompressStored || entry.offset % PAGE_SIZE != 0) in ForEachFileInZip()
/frameworks/native/cmds/installd/
Dotapreopt.cpp525 constexpr size_t kPageSize = PAGE_SIZE; in ChooseRelocationOffsetDelta()
/frameworks/av/media/codec2/vndk/
DC2AllocatorIon.cpp234 size_t alignmentBytes = offset % PAGE_SIZE; in map()
/frameworks/av/media/codec2/hidl/1.0/vts/functional/video/
DVtsHalMediaC2V1_0TargetVideoDecTest.cpp385 auto alignedSize = ALIGN(size, PAGE_SIZE); in decodeNFrames()
/frameworks/base/services/core/java/com/android/server/am/
DProcessList.java227 static final int PAGE_SIZE = 4 * 1024; field in ProcessList
805 buf.putInt((mOomMinFree[i] * 1024)/PAGE_SIZE); in updateOomLevels()
1371 buf.putInt((mOomMinFree[i] * 1024) / PAGE_SIZE);
DActivityManagerService.java12276 longOut[KSM_SHARED] = longTmp[0] * ProcessList.PAGE_SIZE / 1024; in getKsmInfo()
12280 longOut[KSM_SHARING] = longTmp[0] * ProcessList.PAGE_SIZE / 1024; in getKsmInfo()
12284 longOut[KSM_UNSHARED] = longTmp[0] * ProcessList.PAGE_SIZE / 1024; in getKsmInfo()
12288 longOut[KSM_VOLATILE] = longTmp[0] * ProcessList.PAGE_SIZE / 1024; in getKsmInfo()
/frameworks/native/libs/binder/tests/
DbinderLibTest.cpp40 if (((unsigned long)buf & ((unsigned long)PAGE_SIZE - 1)) == 0) in IsPageAligned()
/frameworks/base/core/java/android/app/
DActivityThread.java1474 proto.write(MemInfoDumpProto.AppData.SqlStats.Database.PAGE_SIZE, dbStats.pageSize); in dumpMemInfo()
/frameworks/base/non-updatable-api/
Dcurrent.txt27151 field public static final String EXTRA_PAGE_SIZE = "android.media.browse.extra.PAGE_SIZE";
31157 field public static final int PAGE_SIZE = 4; // 0x4
/frameworks/base/api/
Dcurrent.txt27281 field public static final String EXTRA_PAGE_SIZE = "android.media.browse.extra.PAGE_SIZE";
31301 field public static final int PAGE_SIZE = 4; // 0x4
/frameworks/opt/setupwizard/tools/docs/
Dandroid-22.txt18574 field public static final int PAGE_SIZE = 4; // 0x4