Searched refs:callback2 (Results 1 – 4 of 4) sorted by relevance
32 final Integer callback2 = 2; field in CallbackRegistryTest44 } else if (callback == callback2) { in addNotifyCount()103 registry.add(callback2); in testSimpleNotify()119 registry.remove(callback2); in testRemoveWhileNotifying()125 registry.add(callback2); in testRemoveWhileNotifying()150 registry.add(callback2); in testDeepRemoveWhileNotifying()170 registry.remove(callback2); in testAddRemovedListener()172 registry.add(callback2); in testAddRemovedListener()179 registry.add(callback2); in testAddRemovedListener()187 assertEquals(callback2, callbacks.get(2)); in testAddRemovedListener()
30 final Integer callback2 = 2; field in CallbackRegistryTest42 } else if (callback == callback2) { in addNotifyCount()103 registry.add(callback2); in testSimpleNotify()120 registry.remove(callback2); in testRemoveWhileNotifying()126 registry.add(callback2); in testRemoveWhileNotifying()152 registry.add(callback2); in testDeepRemoveWhileNotifying()173 registry.remove(callback2); in testAddRemovedListener()175 registry.add(callback2); in testAddRemovedListener()182 registry.add(callback2); in testAddRemovedListener()190 assertEquals(callback2, callbacks.get(2)); in testAddRemovedListener()
24 public void takeSurface(SurfaceHolder.Callback2 callback2) { in takeSurface() argument
2467 TestKeepaliveCallback callback2 = new TestKeepaliveCallback(); in testPacketKeepalives() local2468 PacketKeepalive ka2 = mCm.startNattKeepalive(myNet, 25, callback2, myIPv4, 6789, dstIPv4); in testPacketKeepalives()2469 callback2.expectStarted(); in testPacketKeepalives()2481 callback2.expectStopped(); in testPacketKeepalives()