Searched refs:testLooper (Results 1 – 8 of 8) sorted by relevance
52 private lateinit var testLooper: TestLooper in <lambda>() variable in android.hardware.input.InputDeviceBatteryListenerTest63 testLooper = TestLooper() in <lambda>()64 executor = HandlerExecutor(Handler(testLooper.looper)) in <lambda>()139 testLooper.dispatchAll() in <lambda>()145 testLooper.dispatchNext() in <lambda>()170 testLooper.dispatchNext() in <lambda>()175 testLooper.dispatchNext() in <lambda>()180 testLooper.dispatchNext() in <lambda>()181 testLooper.dispatchNext() in <lambda>()193 testLooper.dispatchNext() in <lambda>()[all …]
31 public static void setTestableLooper(Looper testLooper) { in setTestableLooper() argument32 setTestThread(testLooper == null ? null : testLooper.getThread()); in setTestableLooper()
71 private lateinit var testLooper: TestLooper variable in com.android.server.input.InputManagerServiceTests76 testLooper = TestLooper() in setup()78 InputManagerService(object : InputManagerService.Injector(context, testLooper.looper) { in setup()105 testLooper.dispatchNext() in testPointerDisplayUpdatesWhenDisplayViewportsChanged()126 testLooper.dispatchNext() in testSetVirtualMousePointerDisplayId()153 testLooper.dispatchNext() in testSetVirtualMousePointerDisplayId()178 testLooper.dispatchNext() in testSetVirtualMousePointerDisplayId_unsuccessfulUpdate()219 testLooper.dispatchNext() in testSetVirtualMousePointerDisplayId_competingRequests()300 testLooper.dispatchNext() in setVirtualMousePointerDisplayIdAndVerify()
67 lateinit var testLooper: TestLooper variable in com.android.wm.shell.pip.tv.TvPipBoundsControllerTest91 testLooper = TestLooper { time } in setUp()92 mainHandler = Handler(testLooper.getLooper()) in setUp()253 testLooper.dispatchAll() in advanceTimeTo()
133 TestableLooper testLooper) { in NotificationTestHelper() argument135 mTestLooper = testLooper; in NotificationTestHelper()
141 TestLooper testLooper = new TestLooper(); in setUp() local142 mTestHandler = new Handler(testLooper.getLooper()); in setUp()
414 TestLooper testLooper = new TestLooper(); in testStateMachineQuitNowAfterStart() local417 "smQuitNowAfterStartTest", testLooper.getLooper()); in testStateMachineQuitNowAfterStart()422 testLooper.dispatchAll(); in testStateMachineQuitNowAfterStart()
1648 TestLooperAutoDispatcher(TestLooper testLooper) { in TestLooperAutoDispatcher() argument1649 mTestLooper = testLooper; in TestLooperAutoDispatcher()