Searched refs:testCache (Results 1 – 3 of 3) sorted by relevance
/frameworks/base/core/tests/coretests/src/android/os/ |
D | IpcDataCacheTest.java | 116 IpcDataCache<Integer, Boolean> testCache = in testBasicCache() local 121 testCache.testPropertyName(); in testBasicCache() 124 assertEquals(tester.value(3), testCache.query(3)); in testBasicCache() 126 assertEquals(tester.value(3), testCache.query(3)); in testBasicCache() 128 testCache.invalidateCache(); in testBasicCache() 129 assertEquals(tester.value(3), testCache.query(3)); in testBasicCache() 131 assertEquals(tester.value(5), testCache.query(5)); in testBasicCache() 133 assertEquals(tester.value(5), testCache.query(5)); in testBasicCache() 135 assertEquals(tester.value(3), testCache.query(3)); in testBasicCache() 139 testCache.invalidateCache(); in testBasicCache() [all …]
|
D | UserHandleTest.java | 77 public void testCache() throws Exception { in testCache() method in UserHandleTest
|
/frameworks/base/core/tests/coretests/src/android/app/ |
D | PropertyInvalidatedCacheTests.java | 110 PropertyInvalidatedCache<Integer, Boolean> testCache = in testBasicCache() local 115 testCache.testPropertyName(); in testBasicCache() 118 assertEquals(tester.value(3), testCache.query(3)); in testBasicCache() 120 assertEquals(tester.value(3), testCache.query(3)); in testBasicCache() 122 testCache.invalidateCache(); in testBasicCache() 123 assertEquals(tester.value(3), testCache.query(3)); in testBasicCache() 125 assertEquals(tester.value(5), testCache.query(5)); in testBasicCache() 127 assertEquals(tester.value(5), testCache.query(5)); in testBasicCache() 129 assertEquals(tester.value(3), testCache.query(3)); in testBasicCache() 133 testCache.invalidateCache(); in testBasicCache() [all …]
|