/cts/tests/inputmethod/mockime/src/com/android/cts/mockime/ |
D | MockIme.java | 521 private void recordEventInternal(@NonNull String eventName, @NonNull Runnable runnable) { 522 recordEventInternal(eventName, runnable, new Bundle()); 525 private void recordEventInternal(@NonNull String eventName, @NonNull Runnable runnable, 528 runnable.run(); return null; 564 public void onCreate(@NonNull Runnable runnable) { 565 recordEventInternal("onCreate", runnable); 569 boolean isCandidatesOnly, @NonNull Runnable runnable) { 573 recordEventInternal("onConfigureWindow", runnable, arguments); 589 @NonNull Runnable runnable) { 593 recordEventInternal("onStartInput", runnable, arguments); [all …]
|
/cts/libs/vogar-expect/src/vogar/util/ |
D | Threads.java | 51 …@Override protected void afterExecute(Runnable runnable, Throwable throwable) { if … in fixedThreadsExecutor() 52 Log.info("Unexpected failure from " + runnable, throwable); in fixedThreadsExecutor()
|
/cts/tests/tests/telecom2/src/android/telecom/cts/ |
D | DefaultDialerOperationsNoPermissionsTest.java | 145 private void verifyForReadPhoneStateOrDefaultDialer(Runnable runnable, String methodName) in verifyForReadPhoneStateOrDefaultDialer() argument 148 runnable.run(); in verifyForReadPhoneStateOrDefaultDialer() 155 runnable.run(); in verifyForReadPhoneStateOrDefaultDialer()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/security/ |
D | BiometricPromptBoundKeysTest.java | 35 private final Executor mExecutor = (runnable) -> { 36 mHandler.post(runnable);
|
/cts/tests/tests/preference2/src/android/preference2/cts/ |
D | PreferenceActivityFlowPortraitTest.java | 201 protected void runOnUiThread(final Runnable runnable) { in runOnUiThread() argument 204 runnable.run(); in runOnUiThread()
|
D | PreferenceActivityFlowLandscapeTest.java | 201 protected void runOnUiThread(final Runnable runnable) { in runOnUiThread() argument 204 runnable.run(); in runOnUiThread()
|
D | PreferenceActivityLegacyFlowTest.java | 131 private void runOnUiThread(final Runnable runnable) { in runOnUiThread() argument 134 runnable.run(); in runOnUiThread()
|
/cts/tests/tests/media/src/android/media/cts/ |
D | MockMediaSessionService2.java | 57 final Executor executor = (runnable) -> handler.post(runnable); in onCreateSession()
|
D | TestUtils.java | 150 public void postAndSync(Runnable runnable) throws InterruptedException { in postAndSync() argument 152 runnable.run(); in postAndSync() 156 runnable.run(); in postAndSync()
|
D | MockMediaLibraryService2.java | 112 final Executor executor = (runnable) -> handler.post(runnable); in onCreateSession()
|
D | MediaSession2TestBase.java | 79 sHandlerExecutor = (runnable) -> { in setUpThread() 80 sHandler.post(runnable); in setUpThread()
|
D | MediaSession2_PermissionTest.java | 137 private void testOnCommandRequest(int commandCode, PermissionTestRunnable runnable) in testOnCommandRequest() argument 140 runnable.run(createController(mSession.getToken())); in testOnCommandRequest() 147 runnable.run(createController(mSession.getToken())); in testOnCommandRequest()
|
/cts/tests/tests/hardware/src/android/hardware/biometrics/cts/ |
D | BiometricPromptTest.java | 46 public void execute(Runnable runnable) { 47 mHandler.post(runnable);
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/location/base/ |
D | EmergencyCallUtil.java | 78 Runnable runnable = new Runnable() { in endCallWithDelay() local 89 new Thread(runnable).start(); in endCallWithDelay()
|
/cts/tests/tests/permission/src/android/permission/cts/ |
D | PermissionGroupChange.java | 70 private void eventually(ThrowingRunnable runnable, long timeoutSec) throws Throwable { in eventually() argument 74 runnable.run(); in eventually()
|
/cts/tests/signature/api-check/src/java/android/signature/cts/api/ |
D | AbstractApiTest.java | 103 void runWithTestResultObserver(RunnableWithTestResultObserver runnable) { in runWithTestResultObserver() argument 105 runnable.run(mResultObserver); in runWithTestResultObserver()
|
/cts/tests/tests/graphics/src/android/graphics/drawable/cts/ |
D | DrawableTest.java | 618 Runnable runnable = mock(Runnable.class); in testScheduleSelf() local 619 mockDrawable.scheduleSelf(runnable, 1000L); in testScheduleSelf() 623 mockDrawable.scheduleSelf(runnable, 1000L); in testScheduleSelf() 624 verify(mockCallback).scheduleDrawable(eq(mockDrawable), eq(runnable), eq(1000L)); in testScheduleSelf() 626 mockDrawable.scheduleSelf(runnable, 0L); in testScheduleSelf() 627 verify(mockCallback).scheduleDrawable(eq(mockDrawable), eq(runnable), eq(0L)); in testScheduleSelf() 629 mockDrawable.scheduleSelf(runnable, -1000L); in testScheduleSelf() 630 verify(mockCallback).scheduleDrawable(eq(mockDrawable), eq(runnable), eq(-1000L)); in testScheduleSelf()
|
/cts/tests/framework/base/windowmanager/src/android/server/wm/ |
D | LocationInWindowTests.java | 159 private void runOnMainSync(Runnable runnable) { in runOnMainSync() argument 160 InstrumentationRegistry.getInstrumentation().runOnMainSync(runnable); in runOnMainSync()
|
D | LocationOnScreenTests.java | 143 private void runOnMainSync(Runnable runnable) { in runOnMainSync() argument 144 InstrumentationRegistry.getInstrumentation().runOnMainSync(runnable); in runOnMainSync()
|
/cts/tests/camera/src/android/hardware/camera2/cts/ |
D | AllocationTest.java | 758 public void forEachCamera(CameraBlock runnable) in forEachCamera() argument 760 forEachCamera(/*fullHwLevel*/false, runnable); in forEachCamera() 763 public void forEachCamera(boolean fullHwLevel, CameraBlock runnable) in forEachCamera() argument 790 runnable.run(mCamera); in forEachCamera() 826 public void forEachSize(int format, SizeBlock runnable) throws CameraAccessException { in forEachSize() argument 855 runnable.run(size); in forEachSize()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/sensors/sixdof/Fragments/ |
D | ComplexMovementFragment.java | 137 Runnable runnable = new Runnable() { in setupUILoop() local 168 super.initUIHandler(runnable); in setupUILoop()
|
D | RobustnessFragment.java | 140 Runnable runnable = new Runnable() { in setupUILoop() local 178 super.initUIHandler(runnable); in setupUILoop()
|
D | AccuracyFragment.java | 148 Runnable runnable = new Runnable() { in setupUILoop() local 217 super.initUIHandler(runnable); in setupUILoop()
|
/cts/tests/tests/display/src/android/display/cts/ |
D | VirtualDisplayTest.java | 262 private void runOnUiThread(Runnable runnable) { in runOnUiThread() argument 272 mHandler.post(runnable); in runOnUiThread()
|
/cts/tests/tests/webkit/src/android/webkit/cts/ |
D | CookieManagerTest.java | 442 private void runTestOnUiThreadAndCatch(Runnable runnable) { in runTestOnUiThreadAndCatch() argument 444 runTestOnUiThread(runnable); in runTestOnUiThreadAndCatch()
|