Searched refs:mHandler1 (Results 1 – 1 of 1) sorted by relevance
41 private final MockHandler mHandler1 = new MockHandler(Looper.getMainLooper()); field in HandlerTest46 mHandler1.reset(); in tearDown()90 Message msg = mHandler1.obtainMessage(); in testSendMessageAtTime()91 assertTrue(mHandler1.sendMessageAtTime(msg, SystemClock.uptimeMillis() + RUNTIME)); in testSendMessageAtTime()92 assertNull(mHandler1.message); in testSendMessageAtTime()94 assertSame(msg, mHandler1.message); in testSendMessageAtTime()95 mHandler1.removeMessages(msg.what); in testSendMessageAtTime()124 Message msg = mHandler1.obtainMessage(); in testRemoveCallbacksAndMessages()125 mHandler1.sendMessageAtTime(msg, SystemClock.uptimeMillis() + RUNTIME); in testRemoveCallbacksAndMessages()129 mHandler1.removeCallbacksAndMessages(null); in testRemoveCallbacksAndMessages()[all …]