Home
last modified time | relevance | path

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

/frameworks/base/wifi/tests/src/android/net/wifi/
DWifiManagerTest.java389 TestLooper callbackLooper = new TestLooper(); in testOnStartedIsCalledWithReservation() local
390 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() local
417 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() local
442 Handler callbackHandler = new Handler(callbackLooper.getLooper()); in testOnStoppedIsCalled()
[all …]
/frameworks/base/core/java/android/os/
DAsyncTask.java321 public AsyncTask(@Nullable Looper callbackLooper) { in AsyncTask() argument
322 mHandler = callbackLooper == null || callbackLooper == Looper.getMainLooper() in AsyncTask()
324 : new Handler(callbackLooper); in AsyncTask()