void function ( Object arg0 ) { List < SubmittedTask > loc0 = getSubmittedTasksByIdentifier ( arg0 , true ) ; Assert . assertEquals ( "srini_string" + arg0 + "srini_string" + loc0 , 1 , loc0 . size ( ) ) ; runTask ( loc0 . get ( 0 ) ) ; }
runs a single task matching the given identifier . removes the matching task from the list of submitted tasks , then runs it . the executor used to execute this async task will be a same-thread executor . fails if there was not exactly one task matching the given identifier . this method blocks until the asynctask has completely finished executing . concode_field_sep AsyncTask<?,?,?> mNextTask concode_elem_sep Instrumentation mInstrumentation concode_elem_sep Object mNextLock concode_elem_sep List<SubmittedTask> mSubmittedTasks concode_elem_sep DelayedExecutor mBlockingExecutor concode_elem_sep Object mLock concode_elem_sep Runnable mRunnable concode_elem_sep long mTimeoutMs concode_elem_sep long DEFAULT_TIMEOUT_MS concode_elem_sep AsyncTask<?,?,?> mAsyncTask concode_elem_sep Object mNextIdentifier concode_elem_sep Object mIdentifier concode_field_sep AsyncTask<T,?,?> submit concode_elem_sep AsyncTask<T,?,?> submit concode_elem_sep List<SubmittedTask> getSubmittedTasksByIdentifier concode_elem_sep Object getIdentifier concode_elem_sep Object getIdentifier concode_elem_sep Runnable getRunnable concode_elem_sep Runnable getRunnable concode_elem_sep String toString concode_elem_sep AsyncTaskExecutors.AsyncTaskExecutorFactory getFactory concode_elem_sep void execute concode_elem_sep void runAllTasks concode_elem_sep AsyncTask<?,?,?> getAsyncTask concode_elem_sep AsyncTask<?,?,?> getAsyncTask