HomeSort by relevance Sort by last modified time
    Searched defs:runnable (Results 1 - 25 of 618) sorted by null

1 2 3 4 5 6 7 8 91011>>

  /external/autotest/client/site_tests/network_FirewallHolePunch/src/tcpserver/commands/
BrowserCommands.js 25 Commands.prototype.addCommand=function(name, help, runnable) {
30 this.commands[name] = {help: help, runnable: runnable}; property in class:this.commands
54 return this.commands[name].runnable.call(context, args);
  /external/vogar/test/vogar/target/junit4/
MockitoFieldTest.java 32 private Runnable runnable; field in class:MockitoFieldTest
36 assertNotNull("Runnable field was not mocked", runnable);
  /external/proguard/src/proguard/gui/
SwingUtil.java 37 * Invokes the given Runnable in the AWT event dispatching thread,
40 * @see SwingUtilities#invokeAndWait(Runnable)
41 * @param runnable the Runnable to be executed.
43 public static void invokeAndWait(Runnable runnable)
50 runnable.run();
54 SwingUtilities.invokeAndWait(runnable);
65 * Invokes the given Runnable in the AWT event dispatching thread, not
68 * @see SwingUtilities#invokeLater(Runnable)
    [all...]
  /external/junit/src/main/java/org/junit/internal/runners/
ClassRoadie.java 23 private final Runnable runnable; field in class:ClassRoadie
26 Description description, Runnable runnable) {
30 this.runnable = runnable;
34 runnable.run();
  /external/mockito/src/test/java/org/mockitoutil/
ThrowableAssert.java 12 private ThrowableAssert(Runnable runnable) {
14 runnable.run();
19 throw new AssertionError("Expected runnable to throw an exception but it didn't");
37 * Executes provided runnable, expects it to throw an exception.
40 public static ThrowableAssert assertThat(Runnable runnable) {
41 return new ThrowableAssert(runnable);
  /external/volley/src/test/java/com/android/volley/mock/
MockResponseDelivery.java 41 public void postResponse(Request<?> request, Response<?> response, Runnable runnable) {
44 runnable.run();
  /frameworks/base/core/tests/coretests/src/android/view/
RunQueue.java 46 view.post(new Runnable() {
52 final Runnable runnable = new Runnable() { local
57 view.post(runnable);
58 view.post(runnable);
59 view.post(runnable);
60 view.post(runnable);
61 view.removeCallbacks(runnable);
  /frameworks/data-binding/integration-tests/TestApp/app/src/main/java/android/databinding/testapp/adapter/
WeirdListeners.java 36 @BindingAdapter({"runnable", "fooId", "barId"})
37 public static void setRunnable(View view, Runnable runnable, int foo, int bar) {
38 runnable.run();
  /packages/apps/Camera2/src/com/android/camera/async/
MainThread.java 68 public void execute(@Nonnull Runnable runnable) {
72 runnable.run();
  /packages/apps/Launcher3/src/com/android/launcher3/util/
LooperExecuter.java 37 public void execute(Runnable runnable) {
39 runnable.run();
41 mHandler.post(runnable);
59 public List<Runnable> shutdownNow() {
  /external/guava/guava-tests/test/com/google/common/util/concurrent/
AbstractListeningExecutorServiceTest.java 42 TestRunnable runnable = new TestRunnable(); local
43 ListenableFuture<?> runnableFuture = e.submit(runnable);
46 assertTrue(runnable.run);
61 private static class TestRunnable implements Runnable {
83 public void execute(Runnable runnable) {
84 assertTrue(runnable instanceof ListenableFutureTask);
85 runnable.run();
93 public List<Runnable> shutdownNow() {
  /frameworks/support/transition/tests/src/android/support/transition/
SceneTest.java 88 CheckCalledRunnable runnable = new CheckCalledRunnable(); local
89 scene.setEnterAction(runnable);
91 assertThat(runnable.wasCalled(), is(true));
100 CheckCalledRunnable runnable = new CheckCalledRunnable(); local
101 scene.setExitAction(runnable);
103 assertThat(runnable.wasCalled(), is(true));
111 CheckCalledRunnable runnable = new CheckCalledRunnable(); local
112 scene.setExitAction(runnable);
114 assertThat(runnable.wasCalled(), is(false));
TransitionManagerTest.java 59 CheckCalledRunnable runnable = new CheckCalledRunnable(); local
60 mScenes[0].setEnterAction(runnable);
61 assertThat(runnable.wasCalled(), is(false));
63 assertThat(runnable.wasCalled(), is(true));
72 rule.runOnUiThread(new Runnable() {
83 rule.runOnUiThread(new Runnable() {
96 rule.runOnUiThread(new Runnable() {
113 rule.runOnUiThread(new Runnable() {
129 rule.runOnUiThread(new Runnable() {
148 rule.runOnUiThread(new Runnable() {
    [all...]
  /external/robolectric/v1/src/main/java/com/xtremelabs/robolectric/shadows/
ShadowMapController.java 25 public void animateTo(com.google.android.maps.GeoPoint geoPoint, java.lang.Runnable runnable) {
27 runnable.run();
  /external/robolectric/v1/src/test/java/com/xtremelabs/robolectric/util/
RobolectricBackgroundExecutorServiceTest.java 20 private Runnable runnable; field in class:RobolectricBackgroundExecutorServiceTest
28 runnable = new Runnable() {
37 executorService.execute(runnable);
47 Future<String> future = executorService.submit(runnable, "foo");
63 runnable.run();
  /packages/apps/TV/src/com/android/tv/util/
MainThreadExecutor.java 42 public void execute(Runnable runnable) {
44 runnable.run();
46 mHandler.post(runnable);
64 public List<Runnable> shutdownNow() {
  /cts/tests/tests/telecom2/src/android/telecom/cts/
DefaultDialerOperationsNoPermissionsTest.java 65 verifyForReadPhoneStateOrDefaultDialer(new Runnable() {
77 verifyForReadPhoneStateOrDefaultDialer(new Runnable() {
89 verifyForReadPhoneStateOrDefaultDialer(new Runnable() {
101 verifyForReadPhoneStateOrDefaultDialer(new Runnable() {
113 verifyForReadPhoneStateOrDefaultDialer(new Runnable() {
125 verifyForReadPhoneStateOrDefaultDialer(new Runnable() {
137 verifyForReadPhoneStateOrDefaultDialer(new Runnable() {
145 private void verifyForReadPhoneStateOrDefaultDialer(Runnable runnable, String methodName)
148 runnable.run()
    [all...]
  /external/guava/guava/src/com/google/common/util/concurrent/
ExecutionList.java 31 * guarantees that every {@code Runnable} that is {@linkplain #add added} will
32 * be executed after {@link #execute()} is called. Any {@code Runnable} added
52 * The runnable, executor pairs to execute. This acts as a stack threaded through the
64 * Adds the {@code Runnable} and accompanying {@code Executor} to the list of
81 public void add(Runnable runnable, Executor executor) {
85 Preconditions.checkNotNull(runnable, "Runnable was null.");
93 runnables = new RunnableExecutorPair(runnable, executor, runnables);
97 // Execute the runnable immediately. Because of scheduling this may end u
167 final Runnable runnable; field in class:ExecutionList.RunnableExecutorPair
    [all...]
  /external/guava/guava-tests/test/com/google/common/reflect/
ReflectionTest.java 39 Runnable runnable = Reflection.newProxy(Runnable.class, X_RETURNER); local
40 assertEquals("x", runnable.toString());
  /external/libmojo/mojo/android/system/src/org/chromium/mojo/system/impl/
BaseRunLoop.java 46 public void postDelayedTask(Runnable runnable, long delay) {
48 nativePostDelayedTask(mRunLoopID, runnable, delay);
64 private static void runRunnable(Runnable runnable) {
65 runnable.run();
72 private native void nativePostDelayedTask(long runLoopID, Runnable runnable, long delay);
  /frameworks/base/services/core/java/com/android/server/
SystemServerInitThreadPool.java 34 * <p>System services can {@link #submit(Runnable)} tasks for execution during boot.
59 public Future<?> submit(Runnable runnable, String description) {
64 runnable.run();
72 return mService.submit(runnable);
86 List<Runnable> unstartedRunnables = sInstance.mService.shutdownNow();
  /frameworks/support/emoji/bundled/src/android/support/text/emoji/bundled/
BundledEmojiCompatConfig.java 57 final InitRunnable runnable = new InitRunnable(mContext, loaderCallback); local
58 final Thread thread = new Thread(runnable);
65 private static class InitRunnable implements Runnable {
  /frameworks/support/v17/leanback/src/android/support/v17/leanback/app/
ProgressBarManager.java 28 private Runnable runnable = new Runnable() { field in class:ProgressBarManager
68 mHandler.postDelayed(runnable, mInitialDelay);
84 mHandler.removeCallbacks(runnable);
  /hardware/qcom/gps/msm8909/utils/
LocThread.cpp 41 LocRunnable* runnable, bool joinable);
45 const char* threadName, LocRunnable* runnable, bool joinable);
66 const char* threadName, LocRunnable* runnable, bool joinable) :
67 mRunnable(runnable), mJoinable(joinable), mThandle(NULL),
112 const char* threadName, LocRunnable* runnable, bool joinable) {
114 if (runnable) {
115 thread = new LocThreadDelegate(creator, threadName, runnable, joinable);
179 LocRunnable* runnable = locThread->mRunnable; local
181 if (runnable) {
183 runnable->prerun()
    [all...]
  /hardware/qcom/gps/msm8996/utils/
LocThread.cpp 41 LocRunnable* runnable, bool joinable);
45 const char* threadName, LocRunnable* runnable, bool joinable);
66 const char* threadName, LocRunnable* runnable, bool joinable) :
67 mRunnable(runnable), mJoinable(joinable), mThandle(NULL),
112 const char* threadName, LocRunnable* runnable, bool joinable) {
114 if (runnable) {
115 thread = new LocThreadDelegate(creator, threadName, runnable, joinable);
179 LocRunnable* runnable = locThread->mRunnable; local
181 if (runnable) {
183 runnable->prerun()
    [all...]

Completed in 713 milliseconds

1 2 3 4 5 6 7 8 91011>>