Searched refs:getCallbackCount (Results 1 – 3 of 3) sorted by relevance
54 public long getCallbackCount() { in getCallbackCount() method in SidecarCallbackCounter
273 state -> getCallbackCount(activityName, ON_CONFIGURATION_CHANGED) == 1, in waitAndAssertConfigurationChange()280 state -> getCallbackCount(activityName, ON_RESUME) == 1, in waitAndAssertResume()284 private static int getCallbackCount(ComponentName activityName, in getCallbackCount() method in MultiDisplayClientTests
116 assertTrue("Callback should be called twice", sidecarCallback.getCallbackCount() >= 2); in testSidecarInterface_onWindowLayoutChangeListener()129 assertEquals("Callback should not be called", 0, sidecarCallback.getCallbackCount()); in testSidecarInterface_onWindowLayoutChangeListener()