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()
547 TestLooper callbackLooper = new TestLooper(); in testOnStartedIsCalledWithReservation() local548 Handler callbackHandler = new Handler(callbackLooper.getLooper()); in testOnStartedIsCalledWithReservation()554 callbackLooper.dispatchAll(); in testOnStartedIsCalledWithReservation()561 callbackLooper.dispatchAll(); in testOnStartedIsCalledWithReservation()579 TestLooper callbackLooper = new TestLooper(); in testOnStartedIsCalledWithReservationAndSaeSoftApConfig() local580 Handler callbackHandler = new Handler(callbackLooper.getLooper()); in testOnStartedIsCalledWithReservationAndSaeSoftApConfig()586 callbackLooper.dispatchAll(); in testOnStartedIsCalledWithReservationAndSaeSoftApConfig()593 callbackLooper.dispatchAll(); in testOnStartedIsCalledWithReservationAndSaeSoftApConfig()606 TestLooper callbackLooper = new TestLooper(); in testOnStartedIsCalledWithNullConfig() local607 Handler callbackHandler = new Handler(callbackLooper.getLooper()); in testOnStartedIsCalledWithNullConfig()[all …]