Searched refs:mScheduler (Results 1 – 6 of 6) sorted by relevance
92 private CommandScheduler mScheduler; field in CommandSchedulerTest179 mScheduler = new TestableCommandScheduler(); in setUp()185 if (mScheduler != null) { in tearDown()186 mScheduler.shutdown(); in tearDown()218 mScheduler.start(); in testRun_empty()219 while (!mScheduler.isAlive()) { in testRun_empty()222 mScheduler.shutdown(); in testRun_empty()224 mScheduler.join(); in testRun_empty()238 mScheduler.start(); in testAddConfig_configHelp()239 mScheduler.addCommand(args); in testAddConfig_configHelp()[all …]
36 private ICommandScheduler mScheduler; field in CommandRunner87 mScheduler = getCommandScheduler(); in run()88 mScheduler.setClearcutClient(client); in run()89 mScheduler.start(); in run()90 mScheduler.addCommand(args); in run()95 mScheduler.shutdownOnEmpty(); in run()98 mScheduler.join(getCheckDeviceTimeout()); in run()101 if (mScheduler.getReadyCommandCount() > 0) { in run()104 mScheduler.removeAllCommands(); in run()105 mScheduler.shutdown(); in run()[all …]
99 protected ICommandScheduler mScheduler; field in Console158 mScheduler.shutdownOnEmpty(); in run()160 mScheduler.shutdown(); in run()163 if (!mScheduler.handoverShutdown(mHandoverPort)) { in run()186 mScheduler.shutdownHard(); in run()242 mScheduler = scheduler; in setCommandScheduler()424 mScheduler.addCommandFile(cmdfileName, extraArgs); in runCmdfile()427 if (mScheduler.shouldShutdownOnCmdfileError()) { in runCmdfile()429 mScheduler.shutdown(); in runCmdfile()543 mScheduler.displayInvocationsInfo(new PrintWriter(System.out, true)); in addDefaultCommands()[all …]
48 private ICommandScheduler mScheduler; field in TradefedSandboxRunner119 mScheduler = getCommandScheduler(); in run()120 mScheduler.start(); in run()121 mScheduler.execCommand( in run()130 mScheduler.shutdownOnEmpty(); in run()133 mScheduler.join(); in run()136 mErrorCode = mScheduler.getLastInvocationExitCode(); in run()143 && mScheduler.getLastInvocationThrowable() != null) { in run()145 printStackTrace(mScheduler.getLastInvocationThrowable()); in run()
66 private final ICommandScheduler mScheduler; field in RemoteManager108 mScheduler = null; in RemoteManager()120 mScheduler = scheduler; in RemoteManager()336 if (!mScheduler.handoverShutdown(port)) { in processStartHandover()346 mScheduler.handoverInitiationComplete(); in processHandoverInitComplete()354 mScheduler.completeHandover(); in processHandoverComplete()394 if (!mScheduler.addCommand(c.getCommandArgs(), c.getTotalTime())) { in processAdd()408 mScheduler.addCommandFile(c.getCommandFile(), c.getExtraArgs()); in processAddCommandFile()439 mScheduler.execCommand(tracker, device, c.getCommandArgs()); in processExecCommand()
50 private ScheduledExecutorService mScheduler; field in MonkeyPairedBase76 mScheduler = Executors.newScheduledThreadPool(1); in scheduleRecurringCommand()77 mScheduler.scheduleAtFixedRate( in scheduleRecurringCommand()96 mScheduler.shutdownNow(); in stopRecurringCommand()98 mScheduler.awaitTermination(mCompanionRecurringInterval, TimeUnit.SECONDS); in stopRecurringCommand()