/external/robolectric/src/test/java/com/xtremelabs/robolectric/shadows/ |
ViewTreeObserverTest.java | 21 private TestOnGlobalLayoutListener listener2; field in class:ViewTreeObserverTest 27 listener2 = new TestOnGlobalLayoutListener(); 33 viewTreeObserver.addOnGlobalLayoutListener(listener2); 37 assertTrue(listener2.onGlobalLayoutWasCalled); 40 listener2.reset(); 45 assertTrue(listener2.onGlobalLayoutWasCalled); 48 listener2.reset(); 49 viewTreeObserver.removeGlobalOnLayoutListener(listener2); 53 assertFalse(listener2.onGlobalLayoutWasCalled); 59 viewTreeObserver.addOnGlobalLayoutListener(listener2); [all...] |
LocationManagerTest.java | 134 TestLocationListener listener2 = new TestLocationListener(); local 143 locationManager.requestLocationUpdates(LocationManager.NETWORK_PROVIDER, 1, 1, listener2); 144 locationManager.requestLocationUpdates(LocationManager.NETWORK_PROVIDER, 1, 1, listener2); 150 assertEquals(listOfExpectedProvidersForListener2, new HashSet<String>(shadowLocationManager.getProvidersForListener(listener2)));
|
/external/chromium/chrome/browser/extensions/ |
extension_management_api_browsertest.cc | 18 ExtensionTestMessageListener listener2("got_event", false); 21 ASSERT_TRUE(listener2.WaitUntilSatisfied()); 26 ExtensionTestMessageListener listener2("got_expected_error", false); 34 ASSERT_TRUE(listener2.WaitUntilSatisfied());
|
extension_context_menu_browsertest.cc | 196 ExtensionTestMessageListener listener2("onclick fired", false); 214 ASSERT_TRUE(listener2.WaitUntilSatisfied()); 354 ExtensionTestMessageListener listener2("test2 create finished", false); 357 listener2.WaitUntilSatisfied();
|
extension_management_browsertest.cc | 289 ExtensionTestMessageListener listener2("v2 installed", false); 292 listener2.WaitUntilSatisfied();
|
/cts/tests/tests/text/src/android/text/method/cts/ |
DialerKeyListenerTest.java | 59 DialerKeyListener listener2 = DialerKeyListener.getInstance(); local 62 assertTrue(listener2 instanceof DialerKeyListener); 63 assertSame(listener1, listener2);
|
DateKeyListenerTest.java | 35 DateKeyListener listener2 = DateKeyListener.getInstance(); local 38 assertNotNull(listener2); 39 assertSame(listener1, listener2);
|
TextKeyListenerTest.java | 100 TextKeyListener listener2 = TextKeyListener.getInstance(true, Capitalize.WORDS); local 105 assertNotNull(listener2); 106 assertSame(listener1, listener2); 113 listener2.release(); 120 TextKeyListener listener2 = TextKeyListener.getInstance(); local 123 assertNotNull(listener2); 124 assertSame(listener1, listener2); 127 listener2.release();
|
DateTimeKeyListenerTest.java | 35 DateTimeKeyListener listener2 = DateTimeKeyListener.getInstance(); local 38 assertNotNull(listener2); 39 assertSame(listener1, listener2);
|
TimeKeyListenerTest.java | 32 TimeKeyListener listener2 = TimeKeyListener.getInstance(); local 35 assertNotNull(listener2); 36 assertSame(listener1, listener2);
|
DigitsKeyListenerTest.java | 590 DigitsKeyListener listener2 = DigitsKeyListener.getInstance(); local 593 assertNotNull(listener2); 594 assertSame(listener1, listener2); 599 DigitsKeyListener listener2 = DigitsKeyListener.getInstance(true, true); local 602 assertNotNull(listener2); 603 assertSame(listener1, listener2); 606 listener2 = DigitsKeyListener.getInstance(true, false); 609 assertNotNull(listener2); 610 assertSame(listener1, listener2);
|
MultiTapKeyListenerTest.java | 213 MultiTapKeyListener listener2 = MultiTapKeyListener.getInstance(false, Capitalize.NONE); local 218 assertNotNull(listener2); 219 assertSame(listener1, listener2);
|
QwertyKeyListenerTest.java | 159 QwertyKeyListener listener2 = QwertyKeyListener.getInstance(true, Capitalize.WORDS); local 164 assertNotNull(listener2); 165 assertSame(listener1, listener2);
|
/external/chromium_org/chrome/browser/extensions/api/management/ |
management_api_browsertest.cc | 53 ExtensionTestMessageListener listener2("got_event", false); 56 ASSERT_TRUE(listener2.WaitUntilSatisfied()); 61 ExtensionTestMessageListener listener2("got_expected_error", false); 69 ASSERT_TRUE(listener2.WaitUntilSatisfied());
|
management_browsertest.cc | 282 ExtensionTestMessageListener listener2("v2 installed", false); 285 listener2.WaitUntilSatisfied(); 367 ExtensionTestMessageListener listener2("v2 installed", false); 383 ASSERT_FALSE(listener2.was_satisfied()); 385 listener2.WaitUntilSatisfied();
|
/external/apache-harmony/logging/src/test/java/org/apache/harmony/logging/tests/java/util/logging/ |
LogManagerTest.java | 568 MockPropertyChangeListener listener2 = new MockPropertyChangeListener(); local 572 mockManager.addPropertyChangeListener(listener2); 575 assertNull(listener2.getEvent()); 579 assertNotNull(listener2.getEvent()); 583 listener2.reset(); 590 assertNotNull(listener2.getEvent()); 592 listener2.reset(); 599 assertNotNull(listener2.getEvent()); 600 listener2.reset(); 604 assertNull(listener2.getEvent()) [all...] |
/external/chromium_org/chrome/browser/extensions/ |
extension_context_menu_browsertest.cc | 260 ExtensionTestMessageListener listener2("onclick fired", false); 278 ASSERT_TRUE(listener2.WaitUntilSatisfied()); 367 ExtensionTestMessageListener listener2("created item", false); 369 ASSERT_TRUE(listener2.WaitUntilSatisfied()); 488 ExtensionTestMessageListener listener2("test2 create finished", false); 491 listener2.WaitUntilSatisfied();
|
/external/chromium_org/chrome/browser/extensions/api/preference/ |
preference_apitest.cc | 215 ExtensionTestMessageListener listener2( 271 EXPECT_TRUE(listener2.WaitUntilSatisfied()); // Regular ready 274 listener2.Reply("ok");
|
/external/chromium_org/chrome/test/chromedriver/chrome/ |
devtools_client_impl_unittest.cc | 799 OnConnectedListener listener2("Runtime.enable", &client); 805 listener2.VerifyCalled(); 815 OnConnectedListener listener2("Runtime.enable", &client); 820 listener2.VerifyCalled(); 916 OtherEventListener listener2; local 917 OnEventListener listener1(&client, &listener2); 919 client.AddListener(&listener2); 1138 MockCommandListener listener2; local [all...] |
/cts/tests/tests/animation/src/android/animation/cts/ |
AnimatorTest.java | 161 MyListener listener2 = new MyListener(); local 163 mAnimator.addListener(listener2);
|
/external/chromium_org/chrome/browser/extensions/api/web_request/ |
web_request_apitest.cc | 315 ExtensionTestMessageListener listener2("done", true); 320 EXPECT_TRUE(listener2.WaitUntilSatisfied());
|
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/utils/ |
UserHistoryDictIOUtilsTests.java | 221 final OnAddWordListener listener2 = new OnAddWordListener() { local 236 readDictFromFile(file, listener2);
|
/external/chromium_org/ipc/ |
ipc_channel_posix_unittest.cc | 359 IPCChannelPosixTestListener listener2(false); 362 IPC::Channel channel2(chan_handle, IPC::Channel::MODE_SERVER, &listener2);
|
/external/chromium/testing/gmock/include/gmock/ |
gmock-matchers.h | 1241 StringMatchResultListener listener2; local 1328 StringMatchResultListener listener2; local [all...] |