Home
last modified time | relevance | path

Searched refs:changed (Results 1 – 25 of 36) sorted by relevance

12

/libcore/ojluni/src/main/java/java/util/
DObservable.java63 private boolean changed = false; field in Observable
178 changed = true; in setChanged()
192 changed = false; in clearChanged()
206 return changed; in hasChanged()
DRegularEnumSet.java269 boolean changed = (elements != 0); in retainAll()
271 return changed; in retainAll()
DJumboEnumSet.java324 boolean changed = (size != 0); in retainAll()
326 return changed; in retainAll()
/libcore/ojluni/src/test/java/time/tck/java/time/
DTCKClock_System.java136 Clock changed = test.withZone(MOSCOW); in test_withZone() local
138 assertEquals(changed.getZone(), MOSCOW); in test_withZone()
143 Clock changed = test.withZone(PARIS); in test_withZone_equal() local
144 assertEquals(changed.getZone(), PARIS); in test_withZone_equal()
149 Clock changed = test.withZone(PARIS); in test_withZone_fromUTC() local
150 assertEquals(changed.getZone(), PARIS); in test_withZone_fromUTC()
DTCKClock_Fixed.java104 Clock changed = test.withZone(MOSCOW); in test_withZone() local
106 assertEquals(changed.getZone(), MOSCOW); in test_withZone()
111 Clock changed = test.withZone(PARIS); in test_withZone_equal() local
112 assertEquals(changed.getZone(), PARIS); in test_withZone_equal()
DTCKClock_Offset.java113 Clock changed = test.withZone(MOSCOW); in test_withZone() local
115 assertEquals(changed.getZone(), MOSCOW); in test_withZone()
120 Clock changed = test.withZone(PARIS); in test_withZone_equal() local
121 assertEquals(test, changed); in test_withZone_equal()
DTCKClock.java128 Clock changed = MOCK_INSTANT.withZone(london); in test_mockInstantClock_withZone() local
131 assertEquals(changed.getZone(), london); in test_mockInstantClock_withZone()
DTCKClock_Tick.java193 Clock changed = test.withZone(MOSCOW); in test_withZone() local
195 assertEquals(changed.getZone(), MOSCOW); in test_withZone()
200 Clock changed = test.withZone(PARIS); in test_withZone_equal() local
201 assertEquals(test, changed); in test_withZone_equal()
/libcore/ojluni/src/test/java/time/test/java/time/
DTestClock_System.java80 Clock changed = test.withZone(PARIS); in test_withZone_same() local
81 assertSame(test, changed); in test_withZone_same()
DTestClock_Offset.java83 Clock changed = test.withZone(PARIS); in test_withZone_same() local
84 assertSame(test, changed); in test_withZone_same()
DTestClock_Fixed.java85 Clock changed = test.withZone(PARIS); in test_withZone_same() local
86 assertSame(test, changed); in test_withZone_same()
DTestClock_Tick.java87 Clock changed = test.withZone(PARIS); in test_withZone_same() local
88 assertSame(test, changed); in test_withZone_same()
/libcore/luni/src/test/java/libcore/java/util/prefs/
DOldPreferenceChangeEventTest.java129 private int changed = 0; field in OldPreferenceChangeEventTest.MockPreferenceChangeListener
134 changed++; in preferenceChange()
162 return changed; in getChanged()
166 changed = 0; in reset()
DOldPreferencesTest.java930 private int changed = 0; field in OldPreferencesTest.MockPreferenceChangeListener
948 ++changed; in preferenceChange()
954 return changed; in getChanged()
959 changed = 0; in reset()
/libcore/ojluni/src/main/java/java/time/zone/
DZoneRulesProvider.java297 boolean changed = false; in refresh()
299 changed |= provider.provideRefresh(); in refresh()
301 return changed; in refresh()
/libcore/luni/src/test/java/libcore/java/lang/invoke/
DMethodTypeTest.java227 MethodType changed = mt.changeParameterType(1, String.class); in testChangeParameterType() local
228 assertEquals(String.class, changed.parameterType(1)); in testChangeParameterType()
231 assertEquals(mt.parameterCount(), changed.parameterCount()); in testChangeParameterType()
232 assertEquals(mt.returnType(), changed.returnType()); in testChangeParameterType()
233 assertEquals(mt.parameterType(0), changed.parameterType(0)); in testChangeParameterType()
234 assertEquals(mt.parameterType(2), changed.parameterType(2)); in testChangeParameterType()
450 MethodType changed = mt.changeReturnType(long.class); in testChangeReturnType() local
451 assertEquals(long.class, changed.returnType()); in testChangeReturnType()
452 assertParameterTypes(changed, String.class); in testChangeReturnType()
/libcore/jsr166-tests/src/test/java/jsr166/
DPriorityQueueTest.java389 boolean changed = q.retainAll(p); in testRetainAll()
391 assertFalse(changed); in testRetainAll()
393 assertTrue(changed); in testRetainAll()
DConcurrentLinkedQueueTest.java355 boolean changed = q.retainAll(p); in testRetainAll()
357 assertFalse(changed); in testRetainAll()
359 assertTrue(changed); in testRetainAll()
DConcurrentSkipListSubSetTest.java311 boolean changed = q.retainAll(p); in testRetainAll()
313 assertFalse(changed); in testRetainAll()
315 assertTrue(changed); in testRetainAll()
801 boolean changed = q.retainAll(p); in testDescendingRetainAll()
803 assertFalse(changed); in testDescendingRetainAll()
805 assertTrue(changed); in testDescendingRetainAll()
DTreeSubSetTest.java308 boolean changed = q.retainAll(p); in testRetainAll()
310 assertFalse(changed); in testRetainAll()
312 assertTrue(changed); in testRetainAll()
787 boolean changed = q.retainAll(p); in testDescendingRetainAll()
789 assertFalse(changed); in testDescendingRetainAll()
791 assertTrue(changed); in testDescendingRetainAll()
DLinkedListTest.java309 boolean changed = q.retainAll(p); in testRetainAll()
311 assertFalse(changed); in testRetainAll()
313 assertTrue(changed); in testRetainAll()
DPriorityBlockingQueueTest.java513 boolean changed = q.retainAll(p); in testRetainAll()
515 assertFalse(changed); in testRetainAll()
517 assertTrue(changed); in testRetainAll()
DDelayQueueTest.java557 boolean changed = q.retainAll(p); in testRetainAll()
559 assertFalse(changed); in testRetainAll()
561 assertTrue(changed); in testRetainAll()
DLinkedBlockingQueueTest.java575 boolean changed = q.retainAll(p); in testRetainAll()
577 assertFalse(changed); in testRetainAll()
579 assertTrue(changed); in testRetainAll()
DConcurrentLinkedDequeTest.java624 boolean changed = q.retainAll(p); in testRetainAll()
626 assertFalse(changed); in testRetainAll()
628 assertTrue(changed); in testRetainAll()

12