Home
last modified time | relevance | path

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

/frameworks/base/libs/hwui/tests/unit/
DTextureCacheTests.cpp30 int initialCount = GpuMemoryTracker::getInstanceCount(GpuObjectType::Texture); in RENDERTHREAD_OPENGL_PIPELINE_TEST()
36 ASSERT_EQ(GpuMemoryTracker::getInstanceCount(GpuObjectType::Texture), initialCount + 1); in RENDERTHREAD_OPENGL_PIPELINE_TEST()
38 ASSERT_EQ(GpuMemoryTracker::getInstanceCount(GpuObjectType::Texture), initialCount); in RENDERTHREAD_OPENGL_PIPELINE_TEST()
DGpuMemoryTrackerTests.cpp56 ASSERT_EQ(0, GpuMemoryTracker::getInstanceCount(GpuObjectType::Texture)); in TEST()
59 ASSERT_EQ(1, GpuMemoryTracker::getInstanceCount(GpuObjectType::Texture)); in TEST()
68 ASSERT_EQ(0, GpuMemoryTracker::getInstanceCount(GpuObjectType::Texture)); in TEST()
DOffscreenBufferPoolTests.cpp137 EXPECT_EQ(0, GpuMemoryTracker::getInstanceCount(GpuObjectType::OffscreenBuffer)); in RENDERTHREAD_OPENGL_PIPELINE_TEST()
150 EXPECT_EQ(40, GpuMemoryTracker::getInstanceCount(GpuObjectType::OffscreenBuffer)); in RENDERTHREAD_OPENGL_PIPELINE_TEST()
154 EXPECT_EQ(0, GpuMemoryTracker::getInstanceCount(GpuObjectType::OffscreenBuffer)); in RENDERTHREAD_OPENGL_PIPELINE_TEST()
/frameworks/base/libs/hwui/
DGpuMemoryTracker.h51 static int getInstanceCount(GpuObjectType type);
DGpuMemoryTracker.cpp102 int GpuMemoryTracker::getInstanceCount(GpuObjectType type) { in getInstanceCount() function in android::uirenderer::GpuMemoryTracker
/frameworks/base/core/java/android/os/
DStrictMode.java2459 int actual = InstanceTracker.getInstanceCount(klass); in decrementExpectedActivityCount()
2792 public static int getInstanceCount(Class<?> klass) { in getInstanceCount() method in StrictMode.InstanceTracker