Home
last modified time | relevance | path

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

/frameworks/base/services/tests/PackageManagerServiceTests/server/src/com/android/server/pm/utils/
DWatcherTest.java135 WatchableTester tester; in testBasicBehavior() local
142 tester = new WatchableTester(leafA, "Leaf"); in testBasicBehavior()
143 tester.verify(0, "Initial leaf - no registration"); in testBasicBehavior()
145 tester.verify(0, "Updates with no registration"); in testBasicBehavior()
146 tester.register(); in testBasicBehavior()
148 tester.verify(1, "Updates with registration"); in testBasicBehavior()
151 tester.verify(3, "Updates with registration"); in testBasicBehavior()
157 tester.verify(4, "Tick after snapshot"); in testBasicBehavior()
162 tester.clear(); in testBasicBehavior()
168 tester.verify(1, "Updates with buddies"); in testBasicBehavior()
[all …]
/frameworks/base/core/tests/coretests/src/android/os/
DIpcDataCacheTest.java113 ServerProxy tester = new ServerProxy(); in testBasicCache() local
118 new ServerQuery(tester)); in testBasicCache()
123 tester.verify(0); in testBasicCache()
124 assertEquals(tester.value(3), testCache.query(3)); in testBasicCache()
125 tester.verify(1); in testBasicCache()
126 assertEquals(tester.value(3), testCache.query(3)); in testBasicCache()
127 tester.verify(2); in testBasicCache()
129 assertEquals(tester.value(3), testCache.query(3)); in testBasicCache()
130 tester.verify(3); in testBasicCache()
131 assertEquals(tester.value(5), testCache.query(5)); in testBasicCache()
[all …]
DBroadcasterTest.java44 HandlerTester tester = new HandlerTester() { in test1() local
67 tester.doTest(1000); in test1()
122 HandlerTester tester = new Tests2and3(2); in test2() local
123 tester.doTest(1000); in test2()
132 HandlerTester tester = new Tests2and3(10); in test3() local
133 tester.doTest(1000); in test3()
143 HandlerTester tester = new HandlerTester() { in test4() local
169 tester.doTest(1000); in test4()
179 HandlerTester tester = new HandlerTester() { in test5() local
205 tester.doTest(1000); in test5()
[all …]
DIdleHandlerTest.java67 TestHandlerThread tester = new BaseTestHandler() { in testOneShotFirst() local
96 tester.doTest(1000); in testOneShotFirst()
102 TestHandlerThread tester = new BaseTestHandler() { in testOneShotLater() local
133 tester.doTest(1000); in testOneShotLater()
140 TestHandlerThread tester = new BaseTestHandler() { in testRepeatedFirst() local
169 tester.doTest(1000); in testRepeatedFirst()
175 TestHandlerThread tester = new BaseTestHandler() { in testRepeatedLater() local
206 tester.doTest(1000); in testRepeatedLater()
DMessageQueueTest.java76 TestHandlerThread tester = new BaseTestHandler() { in testMessageOrder() local
90 tester.doTest(1000); in testMessageOrder()
96 TestHandlerThread tester = new BaseTestHandler() { in testAtFrontOfQueue() local
115 tester.doTest(1000); in testAtFrontOfQueue()
160 TestHandlerThread tester = new TestFieldIntegrityHandler() { in testFieldIntegrity() local
287 tester.doTest(1000); in testFieldIntegrity()
/frameworks/av/media/module/libmediatranscoding/transcoder/tests/
DMediaSampleReaderNDKTests.cpp269 SampleAccessTester tester{mSourceFd, mFileSize}; in TEST_F() local
270 tester.readSamplesAsync(SAMPLE_COUNT_ALL); in TEST_F()
271 tester.waitForTracks(); in TEST_F()
272 compareSamples(tester.getSamples()); in TEST_F()
281 SampleAccessTester tester{mSourceFd, mFileSize}; in TEST_F() local
283 tester.readSamplesAsync(trackIndex, mExtractorSamples[trackIndex].size() - 1); in TEST_F()
285 tester.waitForTracks(); in TEST_F()
287 tester.readSamplesAsync(trackIndex, SAMPLE_COUNT_ALL); in TEST_F()
288 tester.waitForTrack(trackIndex); in TEST_F()
290 compareSamples(tester.getSamples()); in TEST_F()
[all …]
/frameworks/base/core/tests/coretests/src/android/app/
DPropertyInvalidatedCacheTests.java107 ServerProxy tester = new ServerProxy(); in testBasicCache() local
112 new ServerQuery(tester)); in testBasicCache()
117 tester.verify(0); in testBasicCache()
118 assertEquals(tester.value(3), testCache.query(3)); in testBasicCache()
119 tester.verify(1); in testBasicCache()
120 assertEquals(tester.value(3), testCache.query(3)); in testBasicCache()
121 tester.verify(2); in testBasicCache()
123 assertEquals(tester.value(3), testCache.query(3)); in testBasicCache()
124 tester.verify(3); in testBasicCache()
125 assertEquals(tester.value(5), testCache.query(5)); in testBasicCache()
[all …]
/frameworks/av/media/libaaudio/tests/
Dtest_atomic_fifo.cpp343 TestFifoBuffer tester(capacity); in TEST() local
344 tester.checkMisc(); in TEST()
345 tester.checkWriteRead(); in TEST()
350 TestFifoBuffer tester(capacity); in TEST() local
351 tester.checkWrappingWriteRead(); in TEST()
356 TestFifoBuffer tester(capacity); in TEST() local
357 tester.checkWriteReadSmallLarge(); in TEST()
362 TestFifoBuffer tester(capacity); in TEST() local
363 tester.checkRandomWriteRead(); in TEST()
369 TestFifoBuffer tester(capacity, threshold); in TEST() local
[all …]
Dtest_block_adapter.cpp123 TestBlockWriter tester; in TEST() local
132 result = tester.testInputWrite(size); in TEST()
138 TestBlockReader tester; in TEST() local
147 result = tester.testOutputRead(size); in TEST()
/frameworks/rs/toolkit/test/
DMainActivity.kt41 val tester = Tester(this, validate) in onCreate() constant
48 val r = tester.testAll(t) in onCreate()
53 tester.destroy() in onCreate()
/frameworks/base/services/core/java/com/android/server/wallpaper/
DWallpaperManagerService.java930 private void appendConnectorWithCondition(Predicate<Display> tester) { in appendConnectorWithCondition() argument
933 if (tester.test(display)) { in appendConnectorWithCondition()