Searched refs:mTestableLooper (Results 1 – 6 of 6) sorted by relevance
41 private TestableLooper mTestableLooper; field in TestableLooperTest45 mTestableLooper = TestableLooper.get(this); in setup()54 mTestableLooper.processAllMessages(); in testMessageExecuted()65 mTestableLooper.setMessageHandler(messageHandler); in testMessageCallback()70 mTestableLooper.processAllMessages(); in testMessageCallback()86 mTestableLooper.processMessages(2); in testProcessNumberOfMessages()98 mTestableLooper.processAllMessages(); in testProcessAllMessages()110 mTestableLooper.processAllMessages(); in test3Chain()122 mTestableLooper.processAllMessages(); in testProcessAllMessages_2Messages()
57 private TestableLooper mTestableLooper; field in QSDetailTest61 mTestableLooper = TestableLooper.get(this); in setup()62 mTestableLooper.runWithLooper(() -> { in setup()79 mTestableLooper.processAllMessages(); in testShowDetail_Metrics()87 mTestableLooper.processAllMessages(); in testShowDetail_Metrics()93 mTestableLooper.processAllMessages(); in testMoreSettingsButton()104 mTestableLooper.processAllMessages(); in testMoreSettingsButton()
216 private final TestableLooper mTestableLooper; field in TestableLooper.LooperFrameworkMethod224 mTestableLooper = new TestableLooper(mLooper, false); in LooperFrameworkMethod()228 sLoopers.put(test, mTestableLooper); in LooperFrameworkMethod()235 mTestableLooper = other; in LooperFrameworkMethod()252 boolean set = mTestableLooper.mQueueWrapper == null; in invokeExplosively()254 mTestableLooper.mQueueWrapper = InstrumentationRegistry.getInstrumentation() in invokeExplosively()271 mTestableLooper.mQueueWrapper.execute(m); in invokeExplosively()288 mTestableLooper.mQueueWrapper.release(); in invokeExplosively()289 mTestableLooper.mQueueWrapper = null; in invokeExplosively()
55 private TestableLooper mTestableLooper; field in BluetoothControllerImplTest62 mTestableLooper = TestableLooper.get(this); in setup()73 mTestableLooper.getLooper()); in setup()110 mTestableLooper.processMessages(1); in testAsyncBondState()132 mTestableLooper.processMessages(1); in testAsyncConnectionState()
56 private TestableLooper mTestableLooper; field in QSTileImplTest64 mTestableLooper = TestableLooper.get(this); in setup()65 mDependency.injectTestDependency(Dependency.BG_LOOPER, mTestableLooper.getLooper()); in setup()69 mTestableLooper.runWithLooper(() -> { in setup()
91 private TestableLooper mTestableLooper; field in NotificationManagerServiceTest145 mTestableLooper = TestableLooper.get(this); in setUp()150 mNotificationManagerService.init(mTestableLooper.getLooper(), mPackageManager, in setUp()163 mTestableLooper.processAllMessages(); in waitForIdle()