/packages/apps/Email/tests/src/com/android/email/ |
GroupMessagingListenerUnitTests.java | 35 MessagingListener listener1 = new MessagingListener(); local 38 groupListener.addListener(listener1); 41 groupListener.removeListener(listener1); 51 MessagingListener listener1 = new MessagingListener(); local 54 assertFalse(groupListener.isActiveListener(listener1)); 57 groupListener.addListener(listener1); 58 assertTrue(groupListener.isActiveListener(listener1)); 62 assertTrue(groupListener.isActiveListener(listener1)); 65 groupListener.removeListener(listener1); 66 assertFalse(groupListener.isActiveListener(listener1)); [all...] |
/cts/tests/tests/text/src/android/text/method/cts/ |
TextKeyListenerTest.java | 148 TextKeyListener listener1 = TextKeyListener.getInstance(true, Capitalize.WORDS); local 153 assertNotNull(listener1); 155 assertSame(listener1, listener2); 157 assertNotSame(listener1, listener3); 158 assertNotSame(listener1, listener4); 161 listener1.release(); 173 TextKeyListener listener1 = TextKeyListener.getInstance(); local 176 assertNotNull(listener1); 178 assertSame(listener1, listener2); 180 listener1.release() [all...] |
DateKeyListenerTest.java | 72 DateKeyListener listener1 = DateKeyListener.getInstance(); local 75 assertNotNull(listener1); 77 assertSame(listener1, listener2);
|
DateTimeKeyListenerTest.java | 72 DateTimeKeyListener listener1 = DateTimeKeyListener.getInstance(); local 75 assertNotNull(listener1); 77 assertSame(listener1, listener2);
|
DialerKeyListenerTest.java | 83 DialerKeyListener listener1 = DialerKeyListener.getInstance(); local 86 assertTrue(listener1 instanceof DialerKeyListener); 88 assertSame(listener1, listener2);
|
TimeKeyListenerTest.java | 68 TimeKeyListener listener1 = TimeKeyListener.getInstance(); local 71 assertNotNull(listener1); 73 assertSame(listener1, listener2);
|
QwertyKeyListenerTest.java | 329 QwertyKeyListener listener1 = QwertyKeyListener.getInstance(true, Capitalize.WORDS); local 334 assertNotNull(listener1); 336 assertSame(listener1, listener2); 338 assertNotSame(listener1, listener3); 339 assertNotSame(listener1, listener4);
|
DigitsKeyListenerTest.java | 587 DigitsKeyListener listener1 = DigitsKeyListener.getInstance(); local 590 assertNotNull(listener1); 592 assertSame(listener1, listener2); 601 DigitsKeyListener listener1 = DigitsKeyListener.getInstance(true, true); local 604 assertNotNull(listener1); 606 assertSame(listener1, listener2); 608 listener1 = DigitsKeyListener.getInstance(true, false); 611 assertNotNull(listener1); 613 assertSame(listener1, listener2);
|
MultiTapKeyListenerTest.java | 450 MultiTapKeyListener listener1 = MultiTapKeyListener.getInstance(false, Capitalize.NONE); local 455 assertNotNull(listener1); 457 assertSame(listener1, listener2); 459 assertNotSame(listener1, listener3); 461 assertNotSame(listener4, listener1);
|
/dalvik/libcore/logging/src/test/java/org/apache/harmony/logging/tests/java/util/logging/ |
LogManagerTest.java | 1048 MockPropertyChangeListener listener1 = new MockPropertyChangeListener(); local [all...] |