/external/robolectric/src/test/java/com/xtremelabs/robolectric/shadows/ |
ViewTreeObserverTest.java | 20 private TestOnGlobalLayoutListener listener1; field in class:ViewTreeObserverTest 26 listener1 = new TestOnGlobalLayoutListener(); 32 viewTreeObserver.addOnGlobalLayoutListener(listener1); 36 assertTrue(listener1.onGlobalLayoutWasCalled); 39 listener1.reset(); 41 viewTreeObserver.removeGlobalOnLayoutListener(listener1); 44 assertFalse(listener1.onGlobalLayoutWasCalled); 47 listener1.reset(); 52 assertFalse(listener1.onGlobalLayoutWasCalled); 58 viewTreeObserver.addOnGlobalLayoutListener(listener1); [all...] |
LocationManagerTest.java | 133 TestLocationListener listener1 = new TestLocationListener(); local 136 locationManager.requestLocationUpdates(LocationManager.NETWORK_PROVIDER, 1, 1, listener1); 137 locationManager.requestLocationUpdates(LocationManager.GPS_PROVIDER, 1, 1, listener1); 149 assertEquals(listOfExpectedProvidersForListener1, new HashSet<String>(shadowLocationManager.getProvidersForListener(listener1))); 152 locationManager.removeUpdates(listener1); 153 assertEquals(0, shadowLocationManager.getProvidersForListener(listener1).size());
|
/external/chromium/chrome/browser/extensions/ |
extension_management_api_browsertest.cc | 13 ExtensionTestMessageListener listener1("ready", false); 16 ASSERT_TRUE(listener1.WaitUntilSatisfied()); 25 ExtensionTestMessageListener listener1("app_launched", false); 33 ASSERT_TRUE(listener1.WaitUntilSatisfied()); 39 ExtensionTestMessageListener listener1("success", false); 44 ASSERT_TRUE(listener1.WaitUntilSatisfied());
|
extension_test_message_listener.h | 27 // ExtensionTestMessageListener listener1("foo1"); 29 // ASSERT_TRUE(listener1.WaitUntilSatisfied()); 32 // listener1.Reply("foo2 is ready");
|
extension_context_menu_browsertest.cc | 195 ExtensionTestMessageListener listener1("created item", false); 200 ASSERT_TRUE(listener1.WaitUntilSatisfied()); 328 ExtensionTestMessageListener listener1("test1 create finished", false); 331 listener1.WaitUntilSatisfied();
|
extension_management_browsertest.cc | 273 ExtensionTestMessageListener listener1("v1 installed", false); 278 listener1.WaitUntilSatisfied(); 448 ExtensionTestMessageListener listener1("ready", false); 451 ASSERT_TRUE(listener1.WaitUntilSatisfied());
|
/external/llvm/unittests/ExecutionEngine/JIT/ |
JITEventListenerTest.cpp | 131 RecordingJITEventListener Listener1; 137 EE->RegisterJITEventListener(&Listener1); 141 EE->UnregisterJITEventListener(&Listener1); 148 EE->RegisterJITEventListener(&Listener1); 150 EE->UnregisterJITEventListener(&Listener1); 155 ASSERT_EQ(1U, Listener1.EmittedEvents.size()); 156 ASSERT_EQ(1U, Listener1.FreedEvents.size()); 158 EXPECT_EQ(0U, Listener1.EmittedEvents[0].Index); 159 EXPECT_EQ(F1, Listener1.EmittedEvents[0].F); 160 EXPECT_EQ(F1_addr, Listener1.EmittedEvents[0].Code) [all...] |
/cts/tests/tests/text/src/android/text/method/cts/ |
TextKeyListenerTest.java | 99 TextKeyListener listener1 = TextKeyListener.getInstance(true, Capitalize.WORDS); local 104 assertNotNull(listener1); 106 assertSame(listener1, listener2); 108 assertNotSame(listener1, listener3); 109 assertNotSame(listener1, listener4); 112 listener1.release(); 119 TextKeyListener listener1 = TextKeyListener.getInstance(); local 122 assertNotNull(listener1); 124 assertSame(listener1, listener2); 126 listener1.release() [all...] |
DialerKeyListenerTest.java | 58 DialerKeyListener listener1 = DialerKeyListener.getInstance(); local 61 assertTrue(listener1 instanceof DialerKeyListener); 63 assertSame(listener1, listener2);
|
MultiTapKeyListenerTest.java | 212 MultiTapKeyListener listener1 = MultiTapKeyListener.getInstance(false, Capitalize.NONE); local 217 assertNotNull(listener1); 219 assertSame(listener1, listener2); 221 assertNotSame(listener1, listener3); 223 assertNotSame(listener4, listener1);
|
QwertyKeyListenerTest.java | 158 QwertyKeyListener listener1 = QwertyKeyListener.getInstance(true, Capitalize.WORDS); local 163 assertNotNull(listener1); 165 assertSame(listener1, listener2); 167 assertNotSame(listener1, listener3); 168 assertNotSame(listener1, listener4);
|
DateKeyListenerTest.java | 34 DateKeyListener listener1 = DateKeyListener.getInstance(); local 37 assertNotNull(listener1); 39 assertSame(listener1, listener2);
|
DateTimeKeyListenerTest.java | 34 DateTimeKeyListener listener1 = DateTimeKeyListener.getInstance(); local 37 assertNotNull(listener1); 39 assertSame(listener1, listener2);
|
TimeKeyListenerTest.java | 31 TimeKeyListener listener1 = TimeKeyListener.getInstance(); local 34 assertNotNull(listener1); 36 assertSame(listener1, listener2);
|
DigitsKeyListenerTest.java | 589 DigitsKeyListener listener1 = DigitsKeyListener.getInstance(); local 592 assertNotNull(listener1); 594 assertSame(listener1, listener2); 598 DigitsKeyListener listener1 = DigitsKeyListener.getInstance(true, true); local 601 assertNotNull(listener1); 603 assertSame(listener1, listener2); 605 listener1 = DigitsKeyListener.getInstance(true, false); 608 assertNotNull(listener1); 610 assertSame(listener1, listener2);
|
/external/chromium_org/chrome/browser/extensions/api/management/ |
management_api_browsertest.cc | 48 ExtensionTestMessageListener listener1("ready", false); 51 ASSERT_TRUE(listener1.WaitUntilSatisfied()); 60 ExtensionTestMessageListener listener1("app_launched", false); 68 ASSERT_TRUE(listener1.WaitUntilSatisfied()); 74 ExtensionTestMessageListener listener1("success", false); 79 ASSERT_TRUE(listener1.WaitUntilSatisfied()); 84 ExtensionTestMessageListener listener1("success", false); 89 ASSERT_TRUE(listener1.WaitUntilSatisfied()); 94 ExtensionTestMessageListener listener1("success", false); 99 ASSERT_TRUE(listener1.WaitUntilSatisfied()) [all...] |
management_browsertest.cc | 263 ExtensionTestMessageListener listener1("v1 installed", false); 271 listener1.WaitUntilSatisfied(); 347 ExtensionTestMessageListener listener1("v1 installed", false); 355 listener1.WaitUntilSatisfied(); 527 ExtensionTestMessageListener listener1("ready", false); 530 ASSERT_TRUE(listener1.WaitUntilSatisfied());
|
/external/chromium_org/chrome/browser/extensions/ |
extension_test_message_listener.h | 30 // ExtensionTestMessageListener listener1("foo1"); 32 // ASSERT_TRUE(listener1.WaitUntilSatisfied()); 35 // listener1.Reply("foo2 is ready");
|
extension_context_menu_browsertest.cc | 259 ExtensionTestMessageListener listener1("created item", false); 264 ASSERT_TRUE(listener1.WaitUntilSatisfied()); 363 ExtensionTestMessageListener listener1("created item", false); 365 ASSERT_TRUE(listener1.WaitUntilSatisfied()); 462 ExtensionTestMessageListener listener1("test1 create finished", false); 465 listener1.WaitUntilSatisfied();
|
/external/apache-harmony/logging/src/test/java/org/apache/harmony/logging/tests/java/util/logging/ |
LogManagerTest.java | 567 MockPropertyChangeListener listener1 = new MockPropertyChangeListener(); local 569 // add same listener1 two times 570 mockManager.addPropertyChangeListener(listener1); 571 mockManager.addPropertyChangeListener(listener1); 574 assertNull(listener1.getEvent()); 578 assertNotNull(listener1.getEvent()); 582 listener1.reset(); 585 // remove listener1, no effect 586 mockManager.removePropertyChangeListener(listener1); 589 assertNotNull(listener1.getEvent()) [all...] |
/external/chromium_org/chrome/browser/extensions/api/preference/ |
preference_apitest.cc | 210 ExtensionTestMessageListener listener1("changeDefault regular ready", true); 265 EXPECT_TRUE(listener1.WaitUntilSatisfied()); // Regular ready 267 listener1.Reply("ok");
|
/cts/tests/tests/animation/src/android/animation/cts/ |
AnimatorTest.java | 160 MyListener listener1 = new MyListener(); local 162 mAnimator.addListener(listener1);
|
/external/chromium_org/chrome/test/chromedriver/chrome/ |
devtools_client_impl_unittest.cc | 798 OnConnectedListener listener1("DOM.getDocument", &client); 804 listener1.VerifyCalled(); 814 OnConnectedListener listener1("DOM.getDocument", &client); 819 listener1.VerifyCalled(); 917 OnEventListener listener1(&client, &listener2); 918 client.AddListener(&listener1); 1136 MockCommandListener listener1; local [all...] |
/external/jmonkeyengine/engine/src/bullet/com/jme3/bullet/ |
PhysicsSpace.java | 236 // PhysicsCollisionGroupListener listener1 = collisionGroupListeners.get(collisionObject1.getCollisionGroup()); 239 // } else if (listener1 != null) { 240 // return listener1.collide(collisionObject, collisionObject1); [all...] |
/external/jmonkeyengine/engine/src/jbullet/com/jme3/bullet/ |
PhysicsSpace.java | 214 PhysicsCollisionGroupListener listener1 = collisionGroupListeners.get(collisionObject1.getCollisionGroup()); 217 } else if (listener1 != null) { 218 return listener1.collide(collisionObject, collisionObject1); [all...] |