Home
last modified time | relevance | path

Searched refs:cb1 (Results 1 – 2 of 2) sorted by relevance

/packages/apps/Launcher3/robolectric_tests/src/com/android/launcher3/model/
DModelMultiCallbacksTest.java84 MyCallbacks cb1 = spy(MyCallbacks.class); in testTwoCallbacks_loadedTogether() local
85 mModelHelper.getModel().addCallbacksAndLoad(cb1); in testTwoCallbacks_loadedTogether()
88 cb1.verifySynchronouslyBound(3); in testTwoCallbacks_loadedTogether()
91 cb1.reset(); in testTwoCallbacks_loadedTogether()
97 cb1.verifySynchronouslyBound(3); in testTwoCallbacks_loadedTogether()
101 cb1.reset(); in testTwoCallbacks_loadedTogether()
107 assertNull(cb1.mDeferredExecutor); in testTwoCallbacks_loadedTogether()
113 cb1.verifySynchronouslyBound(3); in testTwoCallbacks_loadedTogether()
121 MyCallbacks cb1 = spy(MyCallbacks.class); in testTwoCallbacks_receiveUpdates() local
123 mModelHelper.getModel().addCallbacksAndLoad(cb1); in testTwoCallbacks_receiveUpdates()
[all …]
/packages/apps/Car/libs/car-media-common/tests/robotests/src/com/android/car/media/common/source/
DMediaBrowserConnectorTest.java144 MediaBrowserCompat.ConnectionCallback cb1 = mConnectionCallback; in testConnectionCallback_onConnectedIgnoredWhenLate() local
150 cb1.onConnected(); in testConnectionCallback_onConnectedIgnoredWhenLate()