Home
last modified time | relevance | path

Searched refs:Runnable (Results 1 – 25 of 34) sorted by relevance

12

/tools/tradefederation/core/src/com/android/tradefed/command/
DConsole.java102 private RegexTrie<Runnable> mCommandTrie = new RegexTrie<Runnable>();
120 protected abstract static class ArgRunnable<T> implements Runnable {
193 RegexTrie<Runnable> getCommandTrie() { in getCommandTrie()
294 protected void setCustomCommands(RegexTrie<Runnable> trie, List<String> genericHelp, in setCustomCommands()
309 void generateHelpListings(RegexTrie<Runnable> trie, List<String> genericHelp, in generateHelpListings()
328 trie.put(new Runnable() { in generateHelpListings()
340 trie.put(new Runnable() { in generateHelpListings()
446 void addDefaultCommands(RegexTrie<Runnable> trie, List<String> genericHelp, in addDefaultCommands()
540 trie.put(new Runnable() { in addDefaultCommands()
546 trie.put(new Runnable() { in addDefaultCommands()
[all …]
DCommandScheduler.java1382 Runnable delayCommand = new Runnable() { in addExecCommandToQueue()
1650 for (Runnable task : mCommandTimer.getQueue()) { in removeAllCommands()
/tools/trebuchet/core/common/src/main/kotlin/trebuchet/util/
DBatchProcessor.kt36 private val workArray = ArrayDeque<Runnable?>(8192) in <lambda>()
47 fun submit(task: Runnable) { in <lambda>()
55 var next: Runnable? in <lambda>()
71 var remaining: Runnable? in <lambda>()
91 fun submit(task: Runnable) { in submit()
116 pool.submit(Runnable { in par_map()
/tools/tradefederation/core/tests/src/com/android/tradefed/util/
DFileIdleMonitorTest.java45 private Runnable mCallback;
50 mCallback = mock(Runnable.class); in setUp()
62 .schedule(any(Runnable.class), eq(TIMEOUT.toMillis()), eq(TimeUnit.MILLISECONDS)); in testSchedulesCheckIfNoTimestamp()
78 any(Runnable.class), in testSchedulesCheckIfTimeoutNotReached()
92 .schedule(any(Runnable.class), eq(TIMEOUT.toMillis()), eq(TimeUnit.MILLISECONDS)); in testExecutesCallbackIfTimeoutExceeded()
/tools/tradefederation/core/tests/src/com/android/tradefed/command/
DConsoleTest.java220 RegexTrie<Runnable> trie = mConsole.getCommandTrie(); in testRunCommand()
226 Runnable runnable = trie.retrieve(captures, command); in testRunCommand()
240 RegexTrie<Runnable> trie = mConsole.getCommandTrie(); in testRunCommand_shortcut()
246 Runnable runnable = trie.retrieve(captures, command); in testRunCommand_shortcut()
264 RegexTrie<Runnable> trie = mConsole.getCommandTrie(); in testRunCommand_startsWithCommand()
270 Runnable runnable = trie.retrieve(captures, command); in testRunCommand_startsWithCommand()
DCommandSchedulerFuncTest.java370 Thread test = new Thread(new Runnable() { in testShutdown_interruptible()
446 Thread shutdownThread = new Thread(new Runnable() { in testShutdown_notInterruptible()
561 Thread shutdownThread = new Thread(new Runnable() { in testShutdown_notInterruptible_timeout()
DCommandInterrupterTest.java170 private static void execute(Runnable runnable) throws InterruptedException { in execute()
/tools/tradefederation/core/src/com/android/tradefed/util/
DFileIdleMonitor.java39 private final Runnable mCallback;
52 public FileIdleMonitor(Duration timeout, Runnable callback, File... files) { in FileIdleMonitor()
60 Runnable callback, in FileIdleMonitor()
DBulkEmailer.java58 new Thread(new Runnable() { in sendEmailsBg()
DRunUtil.java765 Thread t = new Thread(new Runnable() { in inheritIO()
/tools/trebuchet/trebuchet/viewer/src/main/kotlin/traceviewer/ui/tracks/
DSchedTrack.kt33 SchedulingState.RUNNABLE -> Runnable in colorFor()
44 val Runnable = Color.decode("#03A9F4") constant
/tools/tradefederation/core/tests/src/com/android/tradefed/log/
DLogRegistryTest.java116 class SecondThread implements Runnable { in testThreadedLogging()
123 class FirstThread implements Runnable { in testThreadedLogging()
/tools/tradefederation/core/tests/src/com/android/tradefed/testtype/
DDeviceBatteryLevelCheckerTest.java137 Thread raise = new Thread(new Runnable() { in testLow_becomeHigh()
164 Thread raise = new Thread(new Runnable() { in testLow_becomeNull()
/tools/tradefederation/core/tests/src/com/android/tradefed/device/
DBackgroundDeviceActionTest.java127 Thread test = new Thread(new Runnable() { in testwaitForDeviceRecovery_online()
152 Thread test = new Thread(new Runnable() { in testwaitForDeviceRecovery_blockOffline()
/tools/tradefederation/core/clearcut_client/com/android/tradefed/clearcut/
DClearcutClient.java115 Runnable command = in ClearcutClient()
116 new Runnable() { in ClearcutClient()
/tools/tradefederation/core/src/com/android/tradefed/device/
DDeviceManager.java431 Runnable checkRunnable = new Runnable() { in checkAndAddAvailableDevice()
1127 Runnable connectedRunnable = in deviceConnected()
1128 new Runnable() { in deviceConnected()
/tools/apksig/src/main/java/com/android/apksig/util/
DRunnablesProvider.java20 Runnable getRunnable(); in getRunnable()
/tools/tradefederation/core/tests/test-apps/TradeFedTestApp/src/com/android/tradefed/testapp/
DOnDeviceTest.java43 getInstrumentation().runOnMainSync(new Runnable() { in testCrash()
/tools/test/graphicsbenchmark/apps/alloc_stress_app/src/java/com/android/game/qualification/allocstress/
DMainActivity.java27 new Thread(new Runnable() { in onCreate()
/tools/apkzlib/src/main/java/com/android/tools/build/apkzlib/utils/
DIOExceptionRunnable.java42 public static Runnable asRunnable(@Nonnull IOExceptionRunnable r) { in asRunnable()
/tools/apkzlib/src/main/java/com/android/tools/build/apkzlib/zip/
DZFileOptions.java76 Runnable::run, in ZFileOptions()
/tools/test/graphicsbenchmark/functional_tests/java/src/com/android/game/qualification/tests/
DChoreoTestActivity.java42 private class ChoreoTestView extends SurfaceView implements Runnable {
DSurfaceFlingerTestActivity.java67 private class TestView extends SurfaceView implements Runnable {
/tools/tradefederation/contrib/src/com/android/monkey/
DMonkeyPairedBase.java78 new Runnable() { in scheduleRecurringCommand()
/tools/tradefederation/core/tests/src/com/android/tradefed/testtype/suite/
DITestSuiteIntegrationTest.java438 new Runnable() { in scheduleConfig()

12