Searched refs:runServerTask (Results 1 – 1 of 1) sorted by relevance
47 private RunServerTask runServerTask; field in HelloworldActivity66 if (runServerTask != null) { in onPause()67 runServerTask.cancel(true); in onPause()68 runServerTask = null; in onPause()91 if (runServerTask != null) { in startOrStopServer()92 runServerTask.cancel(true); in startOrStopServer()93 runServerTask = null; in startOrStopServer()97 runServerTask = new RunServerTask(this); in startOrStopServer()100 runServerTask.executeOnExecutor(AsyncTask.THREAD_POOL_EXECUTOR, port); in startOrStopServer()158 if (runServerTask != null) { in isRunServerTaskCancelled()[all …]