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.java426 TestLooper callbackLooper = new TestLooper(); in testOnStartedIsCalledWithReservation() local
427 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() local
454 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() local
479 Handler callbackHandler = new Handler(callbackLooper.getLooper()); in testOnStoppedIsCalled()
[all …]