Searched refs:expectedEvent (Results 1 – 2 of 2) sorted by relevance
/frameworks/base/services/tests/servicestests/src/com/android/server/ |
D | MockAccessibilityService.java | 116 public void expectEvent(AccessibilityEvent expectedEvent) { in expectEvent() argument 117 mExpectedEvents.add(expectedEvent); in expectEvent() 137 AccessibilityEvent expectedEvent = mExpectedEvents.poll(); in onAccessibilityEvent() local 138 assertEqualsAccessiblityEvent(expectedEvent, receivedEvent); in onAccessibilityEvent() 179 private void assertEqualsAccessiblityEvent(AccessibilityEvent expectedEvent, in assertEqualsAccessiblityEvent() argument 181 TestCase.assertEquals("addedCount has incorrect value", expectedEvent.getAddedCount(), in assertEqualsAccessiblityEvent() 183 TestCase.assertEquals("beforeText has incorrect value", expectedEvent.getBeforeText(), in assertEqualsAccessiblityEvent() 185 TestCase.assertEquals("checked has incorrect value", expectedEvent.isChecked(), in assertEqualsAccessiblityEvent() 187 TestCase.assertEquals("className has incorrect value", expectedEvent.getClassName(), in assertEqualsAccessiblityEvent() 189 TestCase.assertEquals("contentDescription has incorrect value", expectedEvent in assertEqualsAccessiblityEvent() [all …]
|
D | AccessibilityManagerTest.java | 229 public AccessibilityEventMather(AccessibilityEvent expectedEvent) { in AccessibilityEventMather() argument 230 mExpectedEvent = expectedEvent; in AccessibilityEventMather()
|