HomeSort by relevance Sort by last modified time
    Searched refs:sentEvent (Results 1 - 3 of 3) sorted by null

  /cts/tests/tests/accessibility/src/android/view/accessibility/cts/
AccessibilityEventTest.java 54 AccessibilityEvent sentEvent = AccessibilityEvent.obtain();
55 fullyPopulateAccessibilityEvent(sentEvent);
59 sentEvent.writeToParcel(parcel, 0);
64 assertEqualsAccessiblityEvent(sentEvent, receivedEvent);
164 * @param sentEvent The event to populate.
166 private void fullyPopulateAccessibilityEvent(AccessibilityEvent sentEvent) {
167 sentEvent.setAddedCount(1);
168 sentEvent.setBeforeText("BeforeText");
169 sentEvent.setChecked(true);
170 sentEvent.setClassName("foo.bar.baz.Class")
    [all...]
  /frameworks/base/services/tests/servicestests/src/com/android/server/
AccessibilityManagerServiceTest.java 198 AccessibilityEvent sentEvent = AccessibilityEvent.obtain();
199 fullyPopulateDefaultAccessibilityEvent(sentEvent);
202 service.expectEvent(sentEvent);
206 mManagerService.sendAccessibilityEvent(sentEvent, UserHandle.USER_OWNER);
228 AccessibilityEvent sentEvent = AccessibilityEvent.obtain();
229 fullyPopulateDefaultAccessibilityEvent(sentEvent);
230 sentEvent.setPackageName("no.service.registered.for.this.package");
236 mManagerService.sendAccessibilityEvent(sentEvent, UserHandle.USER_OWNER);
258 AccessibilityEvent sentEvent = AccessibilityEvent.obtain();
259 fullyPopulateDefaultAccessibilityEvent(sentEvent);
    [all...]
AccessibilityManagerTest.java 149 AccessibilityEvent sentEvent = AccessibilityEvent.obtain();
156 expect(mockServiceInterface.sendAccessibilityEvent(eqAccessibilityEvent(sentEvent),
158 expect(mockServiceInterface.sendAccessibilityEvent(eqAccessibilityEvent(sentEvent),
165 manager.sendAccessibilityEvent(sentEvent);
170 "recycled", sentEvent, nextEventDifferentProcesses);
173 manager.sendAccessibilityEvent(sentEvent);
178 "be recycled", sentEvent, nextEventSameProcess);
187 AccessibilityEvent sentEvent = AccessibilityEvent.obtain();
199 manager.sendAccessibilityEvent(sentEvent);

Completed in 35 milliseconds