Home
last modified time | relevance | path

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

/libcore/luni/src/test/java/libcore/libcore/util/
DNativeAllocationRegistryTest.java71 long nativeBytes = getNumNativeBytesAllocated(); in testNativeAllocation() local
72 assertEquals("Native bytes already allocated", 0, nativeBytes); in testNativeAllocation()
132 nativeBytes = getNumNativeBytesAllocated(); in testNativeAllocation()
133 assertTrue("Excessive native bytes still allocated (" + nativeBytes + ")" in testNativeAllocation()
134 + " given max memory of (" + max + ")", nativeBytes <= 2 * max); in testNativeAllocation()
143 assertTrue("Too few native bytes still allocated (" + nativeBytes + "); " in testNativeAllocation()
145 nativeBytes >= nativeReachableBytes); in testNativeAllocation()