Searched refs:callback3 (Results 1 – 3 of 3) sorted by relevance
/frameworks/base/core/tests/utiltests/src/com/android/internal/util/ |
D | CallbackRegistryTest.java | 33 final Integer callback3 = 3; field in CallbackRegistryTest 46 } else if (callback == callback3) { in addNotifyCount() 126 registry.add(callback3); in testRemoveWhileNotifying() 134 assertEquals(callback3, callbacks.get(0)); in testRemoveWhileNotifying() 151 registry.add(callback3); in testDeepRemoveWhileNotifying() 171 } else if (callback == callback3) { in testAddRemovedListener() 180 registry.add(callback3); in testAddRemovedListener() 186 assertEquals(callback3, callbacks.get(1)); in testAddRemovedListener()
|
/frameworks/base/core/tests/coretests/src/android/provider/ |
D | FontsContractE2ETest.java | 141 final TestCallback callback3 = new TestCallback(); in typefaceCacheTest() local 145 FontsContract.requestFonts(ctx, request, new Handler(), null, callback3); in typefaceCacheTest() 148 assertEquals(1, callback3.getSuccessCallCount()); in typefaceCacheTest() 149 assertEquals(0, callback3.getFailedCallCount()); in typefaceCacheTest() 150 assertNotSame(callback.getTypeface(), callback3.getTypeface()); in typefaceCacheTest()
|
/frameworks/base/tests/net/java/com/android/server/ |
D | ConnectivityServiceTest.java | 4136 TestKeepaliveCallback callback3 = new TestKeepaliveCallback(); in testPacketKeepalives() local 4138 myNet, validKaInterval, callback3, myIPv4, 9876, dstIPv4); in testPacketKeepalives() 4139 callback3.expectStarted(); in testPacketKeepalives() 4145 callback3.expectStopped(); in testPacketKeepalives()
|