Searched refs:getNativeInstanceCount (Results 1 – 5 of 5) sorted by relevance
20 assertEquals(AwContents.getNativeInstanceCount(), 0); in testStartup()
169 return AwContents.getNativeInstanceCount() <= MAX_IDLE_INSTANCES; in testCreateAndGcManyTimes()177 assertTrue(AwContents.getNativeInstanceCount() >= CONCURRENT_INSTANCES); in testCreateAndGcManyTimes()178 assertTrue(AwContents.getNativeInstanceCount() <= (i + 1) * CONCURRENT_INSTANCES); in testCreateAndGcManyTimes()192 return AwContents.getNativeInstanceCount() <= MAX_IDLE_INSTANCES; in testCreateAndGcManyTimes()
311 return AwContents.getNativeInstanceCount() == 0; in testDoesNotCrashOnSlowStream()
48 if (sBitmapCache.size() > AwContents.getNativeInstanceCount()) { in createBitmap()
705 public static int getNativeInstanceCount() { in getNativeInstanceCount() method in AwContents