Searched refs:mHandler1 (Results 1 – 1 of 1) sorted by relevance
43 private final MockHandler mHandler1 = new MockHandler(Looper.getMainLooper()); field in HandlerTest48 mHandler1.reset(); in tearDown()92 Message msg = mHandler1.obtainMessage(); in testSendMessageAtTime()93 assertTrue(mHandler1.sendMessageAtTime(msg, SystemClock.uptimeMillis() + RUNTIME)); in testSendMessageAtTime()94 assertNull(mHandler1.message); in testSendMessageAtTime()96 assertSame(msg, mHandler1.message); in testSendMessageAtTime()97 mHandler1.removeMessages(msg.what); in testSendMessageAtTime()126 Message msg = mHandler1.obtainMessage(); in testRemoveCallbacksAndMessages()127 mHandler1.sendMessageAtTime(msg, SystemClock.uptimeMillis() + RUNTIME); in testRemoveCallbacksAndMessages()131 mHandler1.removeCallbacksAndMessages(null); in testRemoveCallbacksAndMessages()[all …]