Home
last modified time | relevance | path

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

/cts/tests/tests/graphics/src/android/graphics/cts/utils/
DLeakTest.java84 int fdCount = -1; in runNotLeakingTest() local
97 fdCount = getFdCount(); in runNotLeakingTest()
120 if (curFdCount - fdCount > 10) { in runNotLeakingTest()
122 fdCount, curFdCount, i)); in runNotLeakingTest()
128 if (curFdCount - fdCount > 10) { in runNotLeakingTest()
129 fail(String.format("FDs leaked. Expected=%d, current=%d", fdCount, curFdCount)); in runNotLeakingTest()
/cts/tests/tests/view/src/android/view/cts/
DPixelCopyTest.java792 int fdCount = -1; in runNotLeakingTest() local
799 fdCount = getFdCount(); in runNotLeakingTest()
805 if (curFdCount - fdCount > 10) { in runNotLeakingTest()
807 fdCount, curFdCount, i)); in runNotLeakingTest()
814 if (curFdCount - fdCount > 10) { in runNotLeakingTest()
815 Assert.fail(String.format("FDs leaked. Expected=%d, current=%d", fdCount, curFdCount)); in runNotLeakingTest()