Home
last modified time | relevance | path

Searched refs:Runnable (Results 1 – 25 of 47) 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.java1495 Runnable delayCommand = new Runnable() { in addExecCommandToQueue()
1773 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/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()
/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/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()
/tools/tradefederation/core/src/com/android/tradefed/device/
DDeviceManager.java443 Runnable checkRunnable = new Runnable() { in checkAndAddAvailableDevice()
1226 Runnable connectedRunnable = in deviceConnected()
1227 new Runnable() { in deviceConnected()
/tools/tradefederation/core/src/com/android/tradefed/cluster/
DClusterCommandScheduler.java105 public Thread newThread(Runnable r) { in newThread()
379 class HeartbeatSender implements Runnable {
428 public void rejectedExecution(Runnable r, ThreadPoolExecutor e) { in getHeartbeatThreadPool()
/tools/tradefederation/core/tests/src/com/android/tradefed/cluster/
DClusterCommandSchedulerTest.java1394 new Runnable() {
1415 Runnable heartbeat = handler.new HeartbeatSender();
1449 Runnable heartbeat = handler.new HeartbeatSender();
1488 Runnable heartbeat = handler.new HeartbeatSender();
DClusterEventUploaderFuncTest.java61 new Runnable() { in testPostCommandEvent_multipleThread()
71 new Runnable() { in testPostCommandEvent_multipleThread()
/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/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/tests/src/com/android/tradefed/testtype/
DDeviceBatteryLevelCheckerTest.java208 Thread raise = new Thread(new Runnable() { in testLow_becomeHigh()
249 new Runnable() { in testLow_becomeNull()
/tools/dexter/testdata/expected/
Dmedium.asm4950 17| invoke-virtual {v0,v1}, android.os.Handler.post(java.lang.Runnable):boolean
17268 …m.android.calendar.AllInOneActivity.-get2(com.android.calendar.AllInOneActivity):java.lang.Runnable
17270 …om.android.calendar.Utils.getTimeZone(android.content.Context, java.lang.Runnable):java.lang.String
17285 …m.android.calendar.AllInOneActivity.-get6(com.android.calendar.AllInOneActivity):java.lang.Runnable
17290 …android.calendar.Utils.setMidnightUpdater(android.os.Handler, java.lang.Runnable, java.lang.String…
17318 …m.android.calendar.AllInOneActivity.-get2(com.android.calendar.AllInOneActivity):java.lang.Runnable
17320 …om.android.calendar.Utils.getTimeZone(android.content.Context, java.lang.Runnable):java.lang.String
17331 …m.android.calendar.AllInOneActivity.-get6(com.android.calendar.AllInOneActivity):java.lang.Runnable
17336 …android.calendar.Utils.setMidnightUpdater(android.os.Handler, java.lang.Runnable, java.lang.String…
17581 …m.android.calendar.AllInOneActivity.-get2(com.android.calendar.AllInOneActivity):java.lang.Runnable
[all …]
Dmedium.exit_hook5385 17| invoke-virtual {v0,v1}, android.os.Handler.post(java.lang.Runnable):boolean
18859 …m.android.calendar.AllInOneActivity.-get2(com.android.calendar.AllInOneActivity):java.lang.Runnable
18861 …om.android.calendar.Utils.getTimeZone(android.content.Context, java.lang.Runnable):java.lang.String
18876 …m.android.calendar.AllInOneActivity.-get6(com.android.calendar.AllInOneActivity):java.lang.Runnable
18881 …android.calendar.Utils.setMidnightUpdater(android.os.Handler, java.lang.Runnable, java.lang.String…
18911 …m.android.calendar.AllInOneActivity.-get2(com.android.calendar.AllInOneActivity):java.lang.Runnable
18913 …om.android.calendar.Utils.getTimeZone(android.content.Context, java.lang.Runnable):java.lang.String
18924 …m.android.calendar.AllInOneActivity.-get6(com.android.calendar.AllInOneActivity):java.lang.Runnable
18929 …android.calendar.Utils.setMidnightUpdater(android.os.Handler, java.lang.Runnable, java.lang.String…
19189 …m.android.calendar.AllInOneActivity.-get2(com.android.calendar.AllInOneActivity):java.lang.Runnable
[all …]
/tools/apksig/src/main/java/com/android/apksig/util/
DRunnablesProvider.java20 Runnable createRunnable(); in createRunnable()
/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 {
/tools/tradefederation/core/src/com/android/tradefed/util/executor/
DParallelDeviceExecutor.java56 public Thread newThread(Runnable r) { in invokeAll()

12