Searched refs:callback3 (Results 1 – 4 of 4) sorted by relevance
/frameworks/base/core/tests/coretests/src/android/view/ |
D | ScrollCaptureTargetResolverTest.java | 159 FakeScrollCaptureCallback callback3 = new FakeScrollCaptureCallback(); in testPreferNonEmptyBounds() local 160 callback3.setScrollBounds(null); in testPreferNonEmptyBounds() 161 ScrollCaptureTarget target3 = createTarget(callback3, new Rect(20, 30, 40, 50), in testPreferNonEmptyBounds() 192 FakeScrollCaptureCallback callback3 = new FakeScrollCaptureCallback(); in testPreferHintInclude() local 193 callback3.setScrollBounds(new Rect(2, 2, 18, 18)); in testPreferHintInclude() 194 ScrollCaptureTarget target3 = createTarget(callback3, new Rect(20, 30, 40, 50), in testPreferHintInclude() 239 FakeScrollCaptureCallback callback3 = new FakeScrollCaptureCallback(); in testDescendantPreferred() local 240 callback3.setScrollBounds(new Rect(0, 0, 15, 15)); in testDescendantPreferred() 241 ScrollCaptureTarget target3 = createTargetWithView(targetView3, callback3, in testDescendantPreferred() 286 BackgroundTestCallback callback3 = new BackgroundTestCallback(); in testTimeout() local [all …]
|
/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 | 4128 TestKeepaliveCallback callback3 = new TestKeepaliveCallback(); in testPacketKeepalives() local 4130 myNet, validKaInterval, callback3, myIPv4, 9876, dstIPv4); in testPacketKeepalives() 4131 callback3.expectStarted(); in testPacketKeepalives() 4137 callback3.expectStopped(); in testPacketKeepalives()
|