Home
last modified time | relevance | path

Searched refs:callbackLooper (Results 1 – 2 of 2) sorted by relevance

/frameworks/base/core/java/android/os/
DAsyncTask.java382 public AsyncTask(@Nullable Looper callbackLooper) { in AsyncTask() argument
383 mHandler = callbackLooper == null || callbackLooper == Looper.getMainLooper() in AsyncTask()
385 : new Handler(callbackLooper); in AsyncTask()
/frameworks/base/wifi/tests/src/android/net/wifi/
DWifiManagerTest.java547 TestLooper callbackLooper = new TestLooper(); in testOnStartedIsCalledWithReservation() local
548 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() local
580 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() local
607 Handler callbackHandler = new Handler(callbackLooper.getLooper()); in testOnStartedIsCalledWithNullConfig()
[all …]