Searched refs:FallibleTaskResult (Results 1 – 1 of 1) sorted by relevance
22 import com.android.dialer.common.concurrent.FallibleAsyncTask.FallibleTaskResult;37 extends AsyncTask<ParamsT, ProgressT, FallibleTaskResult<ResultT>> {40 protected final FallibleTaskResult<ResultT> doInBackground(ParamsT... params) { in doInBackground()42 return FallibleTaskResult.createSuccessResult(doInBackgroundFallible(params)); in doInBackground()44 return FallibleTaskResult.createFailureResult(t); in doInBackground()58 public abstract static class FallibleTaskResult<ResultT> { class in FallibleAsyncTask61 private static <ResultT> FallibleTaskResult<ResultT> createFailureResult(@NonNull Throwable t) { in createFailureResult()66 private static <ResultT> FallibleTaskResult<ResultT> createSuccessResult( in createSuccessResult()