Home
last modified time | relevance | path

Searched refs:runOnServiceSync (Results 1 – 10 of 10) sorted by relevance

/cts/tests/accessibilityservice/src/android/accessibilityservice/cts/
DAccessibilityMagnificationTest.java120 mService.runOnServiceSync(() -> result.set(controller.setScale(scale, false))); in testSetScale()
125 mService.runOnServiceSync(() -> result.set(controller.reset(false))); in testSetScale()
143 mService.runOnServiceSync(() -> { in testSetScaleAndCenter()
155 mService.runOnServiceSync(() -> result.set(controller.reset(false))); in testSetScaleAndCenter()
171 mService.runOnServiceSync(() -> result.set(controller.setScale(scale, false))); in testListener()
177 mService.runOnServiceSync(() -> result.set(controller.reset(false))); in testListener()
190 mService.runOnServiceSync(() -> controller.setScale(2.0f, false)); in testMagnificationServiceShutsDownWhileMagnifying_shouldReturnTo1x()
192 mService.runOnServiceSync(() -> mService.disableSelf()); in testMagnificationServiceShutsDownWhileMagnifying_shouldReturnTo1x()
211 mService.runOnServiceSync(() -> mService.disableSelf()); in testGetMagnificationRegion_whenCantControlMagnification_shouldBeEmpty()
226 mService.runOnServiceSync(() -> mService.disableSelf()); in testGetMagnificationRegion_whenMagnificationGesturesEnabled_shouldNotBeEmpty()
[all …]
DAccessibilityVolumeTest.java104 service.runOnServiceSync(() -> mAudioManager.setStreamVolume( in testChangeAccessibilityVolume_inAccessibilityService_shouldWork()
108 service.runOnServiceSync(() -> mAudioManager.setStreamVolume( in testChangeAccessibilityVolume_inAccessibilityService_shouldWork()
DAccessibilityOverlayTest.java92 sUiAutomation.executeAndWaitForEvent(() -> mService.runOnServiceSync(() -> { in testA11yServiceShowsOverlay_shouldAppear()
119 sUiAutomation.executeAndWaitForEvent(() -> mService.runOnServiceSync(() -> { in testA11yServiceShowsOverlayOnVirtualDisplay_shouldAppear()
DTouchExplorerTest.java618 mService.runOnServiceSync( in syncAccessibilityFocusToInputFocus()
629 mService.runOnServiceSync( in setRightSideOfActivityWindowGestureDetectionPassthrough()
637 mService.runOnServiceSync( in setRightSideOfActivityWindowTouchExplorationPassthrough()
644 mService.runOnServiceSync( in clearPassthroughRegions()
DAccessibilityGestureDispatchTest.java375 magnificationService.runOnServiceSync(() -> { in testClickWhenMagnified_matchesActualTouch()
389 magnificationService.runOnServiceSync(() -> { in testClickWhenMagnified_matchesActualTouch()
409 magnificationService.runOnServiceSync(() -> in testClickWhenMagnified_matchesActualTouch()
411 magnificationService.runOnServiceSync(() -> magnificationService.disableSelf()); in testClickWhenMagnified_matchesActualTouch()
DAccessibilityGestureDetectorTest.java382 mService.runOnServiceSync(() -> in testGesture()
499 mService.runOnServiceSync(() -> in testDispatchGesture_privateDisplay_gestureCancelled()
509 mService.runOnServiceSync( in assertEventAfterGesture()
DAccessibilitySoftKeyboardTest.java123 secondService.runOnServiceSync(() -> secondService.disableSelf()); in secondServiceChangingTheShowMode_updatesModeAndNotifiesFirstService()
/cts/tests/accessibility/common/src/android/accessibility/cts/common/
DInstrumentedAccessibilityServiceTestRule.java148 service.runOnServiceSync(service::disableSelfAndRemove); in callFinishOnServiceSync()
DInstrumentedAccessibilityService.java114 public void runOnServiceSync(Runnable runner) { in runOnServiceSync() method in InstrumentedAccessibilityService
123 runOnServiceSync( in getOnService() method
/cts/tests/accessibilityservice/src/android/accessibilityservice/cts/utils/
DGestureUtils.java70 service.runOnServiceSync(() -> { in dispatchGesture()