Searched defs:mapSize (Results 1 - 4 of 4) sorted by relevance
/frameworks/base/core/jni/ |
H A D | android_ddm_DdmHandleNativeHeap.cpp | 47 size_t mapSize; member in struct:Header 79 header.mapSize = maps.size(); 85 ALOGD("*** mapSize: %zu allocSize: %zu allocInfoSize: %zu totalMemory: %zu", 86 header.mapSize, header.allocSize, header.allocInfoSize, header.totalMemory); 94 jbyteArray array = env->NewByteArray(sizeof(Header) + header.mapSize + header.allocSize);
|
/frameworks/base/services/core/java/com/android/server/ |
H A D | PinnerService.java | 472 int mapSize = 0; 479 mapSize = (int) Math.min(Os.fstat(fd).st_size, Integer.MAX_VALUE); 480 address = Os.mmap(0, mapSize, 496 pinStart = clamp(0, pinStart, mapSize); 497 pinLength = clamp(0, pinLength, mapSize - pinStart); 526 PinnedFile pinnedFile = new PinnedFile(address, mapSize, fileToPin, bytesPinned); 535 safeMunmap(address, mapSize); 544 private static void safeMunmap(long address, long mapSize) { argument 546 Os.munmap(address, mapSize); 607 final int mapSize; field in class:PinnerService.PinnedFile 611 PinnedFile(long address, int mapSize, String fileName, int bytesPinned) argument [all...] |
/frameworks/av/media/libstagefright/webm/ |
H A D | WebmElement.cpp | 121 off64_t mapSize = curOff - alignedOff; local 123 void *dst = ::mmap64(NULL, mapSize, PROT_WRITE, MAP_SHARED, fd, alignedOff); 130 ::msync(dst, mapSize, MS_SYNC); 131 return ::munmap(dst, mapSize);
|
/frameworks/native/services/inputflinger/ |
H A D | InputReader.cpp | 123 const int32_t map[][4], size_t mapSize) { 125 for (size_t i = 0; i < mapSize; i++) { 154 const int32_t map[][2], size_t mapSize) { 156 for (size_t i = 0; i < mapSize; i++) { 122 rotateValueUsingRotationMap(int32_t value, int32_t orientation, const int32_t map[][4], size_t mapSize) argument 153 rotateStemKey(int32_t value, int32_t orientation, const int32_t map[][2], size_t mapSize) argument
|
Completed in 201 milliseconds