Home
last modified time | relevance | path

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

/frameworks/native/libs/gui/
DBitTube.cpp146 void const* events, size_t count, size_t objSize) in sendObjects() argument
149 ssize_t size = tube->write(vaddr, count*objSize); in sendObjects()
152 LOG_ALWAYS_FATAL_IF((size >= 0) && (size % static_cast<ssize_t>(objSize)), in sendObjects()
154 count, objSize, size); in sendObjects()
157 return size < 0 ? size : size / static_cast<ssize_t>(objSize); in sendObjects()
161 void* events, size_t count, size_t objSize) in recvObjects() argument
164 ssize_t size = tube->read(vaddr, count*objSize); in recvObjects()
167 LOG_ALWAYS_FATAL_IF((size >= 0) && (size % static_cast<ssize_t>(objSize)), in recvObjects()
169 count, objSize, size); in recvObjects()
172 return size < 0 ? size : size / static_cast<ssize_t>(objSize); in recvObjects()
/frameworks/base/tests/CoreTests/android/core/
DHeapTest.java457 int objSize = 1 * 1024 * 1024; in disableTestOomeSmall() local
458 while (objSize >= LINK_SIZE) { in disableTestOomeSmall()
460 for (int i = 0; i < SIXTEEN_MB / objSize; i++) { in disableTestOomeSmall()
461 list.add((Object)new byte[objSize]); in disableTestOomeSmall()
473 objSize = (objSize * 4) / 5; in disableTestOomeSmall()
/frameworks/native/include/gui/
DBitTube.h86 void const* events, size_t count, size_t objSize);
89 void* events, size_t count, size_t objSize);