Searched refs:callbackLooper (Results 1 – 2 of 2) sorted by relevance
382 public AsyncTask(@Nullable Looper callbackLooper) { in AsyncTask() argument383 mHandler = callbackLooper == null || callbackLooper == Looper.getMainLooper() in AsyncTask()385 : new Handler(callbackLooper); in AsyncTask()
426 TestLooper callbackLooper = new TestLooper(); in testOnStartedIsCalledWithReservation() local427 Handler callbackHandler = new Handler(callbackLooper.getLooper()); in testOnStartedIsCalledWithReservation()431 callbackLooper.dispatchAll(); in testOnStartedIsCalledWithReservation()441 callbackLooper.dispatchAll(); in testOnStartedIsCalledWithReservation()453 TestLooper callbackLooper = new TestLooper(); in testOnStartedIsCalledWithNullConfig() local454 Handler callbackHandler = new Handler(callbackLooper.getLooper()); in testOnStartedIsCalledWithNullConfig()458 callbackLooper.dispatchAll(); in testOnStartedIsCalledWithNullConfig()467 callbackLooper.dispatchAll(); in testOnStartedIsCalledWithNullConfig()478 TestLooper callbackLooper = new TestLooper(); in testOnStoppedIsCalled() local479 Handler callbackHandler = new Handler(callbackLooper.getLooper()); in testOnStoppedIsCalled()[all …]