Searched refs:callbackLooper (Results 1 – 2 of 2) sorted by relevance
389 TestLooper callbackLooper = new TestLooper(); in testOnStartedIsCalledWithReservation() local390 Handler callbackHandler = new Handler(callbackLooper.getLooper()); in testOnStartedIsCalledWithReservation()394 callbackLooper.dispatchAll(); in testOnStartedIsCalledWithReservation()404 callbackLooper.dispatchAll(); in testOnStartedIsCalledWithReservation()416 TestLooper callbackLooper = new TestLooper(); in testOnStartedIsCalledWithNullConfig() local417 Handler callbackHandler = new Handler(callbackLooper.getLooper()); in testOnStartedIsCalledWithNullConfig()421 callbackLooper.dispatchAll(); in testOnStartedIsCalledWithNullConfig()430 callbackLooper.dispatchAll(); in testOnStartedIsCalledWithNullConfig()441 TestLooper callbackLooper = new TestLooper(); in testOnStoppedIsCalled() local442 Handler callbackHandler = new Handler(callbackLooper.getLooper()); in testOnStoppedIsCalled()[all …]
321 public AsyncTask(@Nullable Looper callbackLooper) { in AsyncTask() argument322 mHandler = callbackLooper == null || callbackLooper == Looper.getMainLooper() in AsyncTask()324 : new Handler(callbackLooper); in AsyncTask()