Home
last modified time | relevance | path

Searched refs:testLooper (Results 1 – 8 of 8) sorted by relevance

/frameworks/base/core/tests/coretests/src/android/hardware/input/
DInputDeviceBatteryListenerTest.kt52 private lateinit var testLooper: TestLooper in <lambda>() variable in android.hardware.input.InputDeviceBatteryListenerTest
63 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 …]
/frameworks/base/packages/SystemUI/customization/src/com/android/systemui/util/
DAssert.java31 public static void setTestableLooper(Looper testLooper) { in setTestableLooper() argument
32 setTestThread(testLooper == null ? null : testLooper.getThread()); in setTestableLooper()
/frameworks/base/services/tests/servicestests/src/com/android/server/input/
DInputManagerServiceTests.kt71 private lateinit var testLooper: TestLooper variable in com.android.server.input.InputManagerServiceTests
76 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()
/frameworks/base/libs/WindowManager/Shell/tests/unittest/src/com/android/wm/shell/pip/tv/
DTvPipBoundsControllerTest.kt67 lateinit var testLooper: TestLooper variable in com.android.wm.shell.pip.tv.TvPipBoundsControllerTest
91 testLooper = TestLooper { time } in setUp()
92 mainHandler = Handler(testLooper.getLooper()) in setUp()
253 testLooper.dispatchAll() in advanceTimeTo()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/row/
DNotificationTestHelper.java133 TestableLooper testLooper) { in NotificationTestHelper() argument
135 mTestLooper = testLooper; in NotificationTestHelper()
/frameworks/opt/net/wifi/libs/WifiTrackerLib/tests/src/com/android/wifitrackerlib/
DUtilsTest.java141 TestLooper testLooper = new TestLooper(); in setUp() local
142 mTestHandler = new Handler(testLooper.getLooper()); in setUp()
/frameworks/base/core/tests/utiltests/src/com/android/internal/util/
DStateMachineTest.java414 TestLooper testLooper = new TestLooper(); in testStateMachineQuitNowAfterStart() local
417 "smQuitNowAfterStartTest", testLooper.getLooper()); in testStateMachineQuitNowAfterStart()
422 testLooper.dispatchAll(); in testStateMachineQuitNowAfterStart()
/frameworks/base/services/tests/servicestests/src/com/android/server/vibrator/
DVibrationThreadTest.java1648 TestLooperAutoDispatcher(TestLooper testLooper) { in TestLooperAutoDispatcher() argument
1649 mTestLooper = testLooper; in TestLooperAutoDispatcher()