Searched refs:Handler2 (Results 1 – 5 of 5) sorted by relevance
32 BHandler Handler2; in SetNextHandler0() local35 Looper.AddHandler(&Handler2); in SetNextHandler0()37 Handler1.SetNextHandler(&Handler2); in SetNextHandler0()38 CPPUNIT_ASSERT(Handler1.NextHandler() == &Handler2); in SetNextHandler0()58 BHandler Handler2; in SetNextHandler1() local59 Handler1.SetNextHandler(&Handler2); in SetNextHandler1()77 BHandler Handler2; in SetNextHandler2() local81 Handler1.SetNextHandler(&Handler2); in SetNextHandler2()99 BHandler Handler2; in SetNextHandler3() local102 Handler1.SetNextHandler(&Handler2); in SetNextHandler3()[all …]
45 case 1: Handler1 and Handler2 do not belong to a BLooper46 case 2: Handler1 belongs to a BLooper (which is unlocked), Handler2 does not47 case 3: Handler1 belongs to a BLooper (which is locked), Handler2 does not48 case 4: Handler1 does not belong to a BLooper, Handler2 does (which is unlocked)49 case 5: Handler1 does not belong to a BLooper, Handler2 does (which is locked)50 case 6: Handler1 and Handler2 belong to different BLoopers, which are unlocked51 case 7: Handler1 and Handler2 belong to different BLoopers, and Handler1's52 BLooper is locked; Handler2's is not53 case 8: Handler1 and Handler2 belong to different BLoopers, and Handler1's54 BLooper is unlocked; Handler2's is locked[all …]
71 BHandler Handler2; in IndexOfTest4() local78 Looper.AddHandler(&Handler2); in IndexOfTest4()80 CPPUNIT_ASSERT(Looper.IndexOf(&Handler2) == 2); in IndexOfTest4()83 CPPUNIT_ASSERT(Looper.IndexOf(&Handler2) == 2); in IndexOfTest4()87 CPPUNIT_ASSERT(Looper.IndexOf(&Handler2) == 2); in IndexOfTest4()92 CPPUNIT_ASSERT(Looper.IndexOf(&Handler2) == 2); in IndexOfTest4()100 CPPUNIT_ASSERT(Looper.IndexOf(&Handler2) == 2); in IndexOfTest4()106 CPPUNIT_ASSERT(Looper.IndexOf(&Handler2) == 2); in IndexOfTest4()112 CPPUNIT_ASSERT(Looper.IndexOf(&Handler2) == 2); in IndexOfTest4()116 Looper.RemoveHandler(&Handler2); in IndexOfTest4()[all …]
42 BHandler Handler2; in CountHandlersTest2() local47 Looper.AddHandler(&Handler2); in CountHandlersTest2()54 Looper.RemoveHandler(&Handler2); in CountHandlersTest2()
60 CREATE_AND_ADD(Handler2); in HandlerAtTest3()65 CPPUNIT_ASSERT(Looper.HandlerAt(2) == &Handler2); in HandlerAtTest3()