HomeSort by relevance Sort by last modified time
    Searched refs:listener2 (Results 1 - 25 of 36) sorted by null

1 2

  /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_org/chrome/browser/extensions/
shared_module_apitest.cc 52 ExtensionTestMessageListener listener2("shared_module_updated", false);
55 EXPECT_TRUE(listener2.WaitUntilSatisfied());
extension_context_menu_browsertest.cc 197 ExtensionTestMessageListener listener2("onclick fired", false);
215 ASSERT_TRUE(listener2.WaitUntilSatisfied());
304 ExtensionTestMessageListener listener2("created item", false);
306 ASSERT_TRUE(listener2.WaitUntilSatisfied());
425 ExtensionTestMessageListener listener2("test2 create finished", false);
428 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 54 ExtensionTestMessageListener listener2("got_event", false);
57 ASSERT_TRUE(listener2.WaitUntilSatisfied());
62 ExtensionTestMessageListener listener2("got_expected_error", false);
70 ASSERT_TRUE(listener2.WaitUntilSatisfied());
management_browsertest.cc 286 ExtensionTestMessageListener listener2("v2 installed", false);
289 listener2.WaitUntilSatisfied();
372 ExtensionTestMessageListener listener2("v2 installed", false);
388 ASSERT_FALSE(listener2.was_satisfied());
390 listener2.WaitUntilSatisfied();
  /external/apache-harmony/logging/src/test/java/org/apache/harmony/logging/tests/java/util/logging/
LogManagerTest.java 566 MockPropertyChangeListener listener2 = new MockPropertyChangeListener(); local
570 mockManager.addPropertyChangeListener(listener2);
573 assertNull(listener2.getEvent());
577 assertNotNull(listener2.getEvent());
581 listener2.reset();
588 assertNotNull(listener2.getEvent());
590 listener2.reset();
597 assertNotNull(listener2.getEvent());
598 listener2.reset();
602 assertNull(listener2.getEvent())
    [all...]
  /external/chromium_org/chrome/browser/extensions/api/preference/
preference_apitest.cc 216 ExtensionTestMessageListener listener2(
272 EXPECT_TRUE(listener2.WaitUntilSatisfied()); // Regular ready
275 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 173 MyListener listener2 = new MyListener(); local
175 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());
  /external/chromium_org/ipc/
ipc_channel_posix_unittest.cc 415 IPCChannelPosixTestListener listener2(false);
420 chan_handle, IPC::Channel::MODE_SERVER, &listener2));
  /frameworks/base/core/java/android/content/pm/
RegisteredServicesCache.java 233 final RegisteredServicesCacheListener<V> listener2 = listener; local
236 listener2.onServiceChanged(type, userId, removed);
  /external/chromium_org/components/search_provider_logos/
logo_tracker_unittest.cc 660 MockLogoObserver listener2; local
661 listener2.ExpectFreshLogo(&logo);
662 logo_tracker_->GetLogo(&listener2);
  /prebuilts/tools/common/eclipse/
org.eclipse.equinox.common_3.4.0.v20080421-2006.jar 
  /external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/
org.eclipse.equinox.common_3.6.0.v20100503.jar 
  /prebuilts/devtools/tools/lib/
org-eclipse-equinox-common-3.6.0.jar 

Completed in 515 milliseconds

1 2