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.java60 long nativeBytes = getNumNativeBytesAllocated(); in testNativeAllocation() local
61 assertEquals("Native bytes already allocated", 0, nativeBytes); in testNativeAllocation()
105 nativeBytes = getNumNativeBytesAllocated(); in testNativeAllocation()
106 assertTrue("Excessive native bytes still allocated (" + nativeBytes + ")" in testNativeAllocation()
107 + " given max memory of (" + max + ")", nativeBytes <= max); in testNativeAllocation()
116 assertTrue("Too few native bytes still allocated (" + nativeBytes + "); " in testNativeAllocation()
118 nativeBytes >= nativeReachableBytes); in testNativeAllocation()