/dalvik/dx/tests/113-old-style-inner-class/ |
Blort.java | 18 public static Runnable theRunnable = new Runnable() { 22 public Runnable create() { 23 return new Runnable() {
|
/art/test/069-field-type/src/ |
Holder.java | 6 public Runnable mValue;
|
Blah.java | 5 public class Blah implements Runnable {
|
/libcore/ojluni/src/main/java/java/lang/ |
Runnable.java | 29 * The <code>Runnable</code> interface should be implemented by any 35 * <code>Runnable</code> is implemented by class <code>Thread</code>. 39 * In addition, <code>Runnable</code> provides the means for a class to be 41 * <code>Runnable</code> can run without subclassing <code>Thread</code> 43 * as the target. In most cases, the <code>Runnable</code> interface should 56 public interface Runnable { 58 * When an object implementing interface <code>Runnable</code> is used
|
/frameworks/av/services/oboeservice/ |
AAudioThread.h | 28 * Abstract class similar to Java Runnable. 30 class Runnable { 32 Runnable() {}; 33 virtual ~Runnable() = default; 46 AAudioThread(Runnable *runnable); 52 aaudio_result_t start(Runnable *runnable = nullptr); 62 * Override this or pass a Runnable to start(). 69 Runnable *mRunnable [all...] |
/external/robolectric/v1/src/main/java/com/xtremelabs/robolectric/internal/ |
EmptyRunnable.java | 3 public class EmptyRunnable implements Runnable {
|
/libcore/ojluni/src/main/java/java/util/concurrent/ |
Executor.java | 39 * An object that executes submitted {@link Runnable} tasks. This 59 * public void execute(Runnable r) { 70 * public void execute(Runnable r) { 82 * final Queue<Runnable> tasks = new ArrayDeque<>(); 84 * Runnable active; 90 * public synchronized void execute(final Runnable r) { 91 * tasks.add(new Runnable() { 119 * submitting a {@code Runnable} object to an {@code Executor} 133 * @param command the runnable task 138 void execute(Runnable command) [all...] |
ThreadFactory.java | 40 * removes hardwiring of calls to {@link Thread#Thread(Runnable) new Thread}, 47 * public Thread newThread(Runnable r) { 64 * @param r a runnable to be executed by new thread instance 68 Thread newThread(Runnable r);
|
RejectedExecutionHandler.java | 57 * @param r the runnable task requested to be executed 61 void rejectedExecution(Runnable r, ThreadPoolExecutor executor);
|
RunnableFuture.java | 39 * A {@link Future} that is {@link Runnable}. Successful execution of 48 public interface RunnableFuture<V> extends Runnable, Future<V> {
|
ScheduledExecutorService.java | 48 * <p>Commands submitted using the {@link Executor#execute(Runnable)} 80 * final Runnable beeper = new Runnable() { 85 * scheduler.schedule(new Runnable() { 110 public ScheduledFuture<?> schedule(Runnable command, 168 public ScheduledFuture<?> scheduleAtFixedRate(Runnable command, 208 public ScheduledFuture<?> scheduleWithFixedDelay(Runnable command,
|
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/util/ |
NamedTask.java | 22 public interface NamedTask extends Runnable {
|
/external/junit/src/main/java/org/junit/runners/model/ |
RunnerScheduler.java | 15 void schedule(Runnable childStatement);
|
/external/protobuf/java/core/src/test/java/com/google/protobuf/ |
ForceFieldBuildersPreRun.java | 42 public class ForceFieldBuildersPreRun implements Runnable {
|
/external/robolectric/v1/src/test/java/com/xtremelabs/robolectric/util/ |
TestRunnable.java | 3 public class TestRunnable implements Runnable {
|
/external/guava/guava/src/com/google/common/util/concurrent/ |
Runnables.java | 23 * Static utility methods pertaining to the {@link Runnable} interface. 31 private static final Runnable EMPTY_RUNNABLE = new Runnable() { 38 * Returns a {@link Runnable} instance that does nothing when run. 40 public static Runnable doNothing() {
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/misc/ |
ReferenceCountedTrigger.java | 31 ArrayList<Runnable> mFirstIncRunnables = new ArrayList<>(); 32 ArrayList<Runnable> mLastDecRunnables = new ArrayList<>(); 33 Runnable mErrorRunnable; 36 Runnable mIncrementRunnable = new Runnable() { 42 Runnable mDecrementRunnable = new Runnable() { 53 public ReferenceCountedTrigger(Runnable firstIncRunnable, Runnable lastDecRunnable, 54 Runnable errorRunanable) [all...] |
/frameworks/support/app-toolkit/runtime/src/main/java/android/arch/core/executor/ |
TaskExecutor.java | 34 * @param runnable The runnable to run in the disk IO thread pool. 36 public abstract void executeOnDiskIO(Runnable runnable); 41 * @param runnable The runnable to run on the main thread. 43 public abstract void postToMainThread(Runnable runnable); 48 * If the current thread is a main thread, immediately runs the given runnable. 50 * @param runnable The runnable to run on the main thread [all...] |
/packages/apps/Launcher2/src/com/android/launcher2/ |
DeferredHandler.java | 35 private LinkedList<Pair<Runnable, Integer>> mQueue = new LinkedList<Pair<Runnable, Integer>>(); 41 Pair<Runnable, Integer> p; 42 Runnable r; 62 private class IdleRunnable implements Runnable { 63 Runnable mRunnable; 65 IdleRunnable(Runnable r) { 77 /** Schedule runnable to run after everything that's on the queue right now. */ 78 public void post(Runnable runnable) { [all...] |
/cts/apps/CtsVerifier/src/com/android/cts/verifier/bluetooth/ |
TestTaskQueue.java | 33 private ArrayList<Runnable> mTasks = new ArrayList<>();
46 for (Runnable task : mTasks) {
62 public synchronized void addTask(Runnable r) {
73 public synchronized void addTask(final Runnable r, long delay) {
75 Runnable task = new Runnable() {
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/util/wakelock/ |
WakeLock.java | 32 /** @see android.os.PowerManager.WakeLock#wrap(Runnable) */ 33 Runnable wrap(Runnable r); 45 static Runnable wrapImpl(WakeLock w, Runnable r) { 68 /** @see PowerManager.WakeLock#wrap(Runnable) */ 69 public Runnable wrap(Runnable runnable) { 70 return wrapImpl(this, runnable); [all...] |
/frameworks/base/telecomm/java/android/telecom/Logging/ |
Runnable.java | 22 * Encapsulates session logging in a Runnable to reduce code duplication when continuing subsessions 26 public abstract class Runnable { 31 private final java.lang.Runnable mRunnable = new java.lang.Runnable() { 49 * Creates a new Telecom Runnable that incorporates Session Logging into it. Useful for carrying 54 public Runnable(String subsessionName, Object lock) { 64 * Return the runnable that will be canceled in the handler queue. 65 * @return Runnable object to cancel. 67 public final java.lang.Runnable getRunnableToCancel() { 72 * Creates a Runnable and a logging subsession that can be used in a handler/thread. Be sure t [all...] |
/external/guava/guava-tests/test/com/google/common/util/concurrent/ |
ForwardingObjectTesterTest.java | 43 private static abstract class FailToForward extends ForwardingObject implements Runnable { 47 private static abstract class ForwardToDelegate extends ForwardingObject implements Runnable { 51 @Override protected abstract Runnable delegate();
|
/art/test/085-old-style-inner-class/src/ |
Main.java | 23 private static Runnable theRunnable = new Runnable() { 27 private static Runnable create() { 28 return new Runnable() {
|
/art/test/144-static-field-sigquit/src/ |
SynchronizedUse.java | 19 public class SynchronizedUse implements Runnable {
|