/frameworks/base/lowpan/java/android/net/lowpan/ |
D | LowpanScanner.java | 189 Runnable runnable = () -> callback.onNetScanBeacon(beaconInfo); in startNetScan() 192 handler.post(runnable); in startNetScan() 194 runnable.run(); in startNetScan() 211 Runnable runnable = () -> callback.onScanFinished(); in startNetScan() 214 handler.post(runnable); in startNetScan() 216 runnable.run(); in startNetScan() 266 Runnable runnable = in startEnergyScan() 278 handler.post(runnable); in startEnergyScan() 280 runnable.run(); in startEnergyScan() 292 Runnable runnable = () -> callback.onScanFinished(); in startEnergyScan() [all …]
|
/frameworks/support/app-toolkit/runtime/src/main/java/android/arch/core/executor/ |
D | TaskExecutor.java | 36 public abstract void executeOnDiskIO(Runnable runnable); in executeOnDiskIO() argument 43 public abstract void postToMainThread(Runnable runnable); in postToMainThread() argument 52 public void executeOnMainThread(Runnable runnable) { in executeOnMainThread() argument 54 runnable.run(); in executeOnMainThread() 56 postToMainThread(runnable); in executeOnMainThread()
|
D | DefaultTaskExecutor.java | 39 public void executeOnDiskIO(Runnable runnable) { in executeOnDiskIO() argument 40 mDiskIO.execute(runnable); in executeOnDiskIO() 44 public void postToMainThread(Runnable runnable) { in postToMainThread() argument 53 mMainHandler.post(runnable); in postToMainThread()
|
D | AppToolkitTaskExecutor.java | 94 public void executeOnDiskIO(Runnable runnable) { in executeOnDiskIO() argument 95 mDelegate.executeOnDiskIO(runnable); in executeOnDiskIO() 99 public void postToMainThread(Runnable runnable) { in postToMainThread() argument 100 mDelegate.postToMainThread(runnable); in postToMainThread()
|
/frameworks/base/core/tests/coretests/src/android/view/ |
D | RunQueue.java | 52 final Runnable runnable = new Runnable() { in onCreate() local 57 view.post(runnable); in onCreate() 58 view.post(runnable); in onCreate() 59 view.post(runnable); in onCreate() 60 view.post(runnable); in onCreate() 61 view.removeCallbacks(runnable); in onCreate()
|
/frameworks/base/core/java/com/android/internal/view/ |
D | OneShotPreDrawListener.java | 39 private OneShotPreDrawListener(View view, boolean returnValue, Runnable runnable) { in OneShotPreDrawListener() argument 42 mRunnable = runnable; in OneShotPreDrawListener() 55 public static OneShotPreDrawListener add(View view, Runnable runnable) { in add() argument 56 return add(view, true, runnable); in add() 68 public static OneShotPreDrawListener add(View view, boolean returnValue, Runnable runnable) { in add() argument 69 OneShotPreDrawListener listener = new OneShotPreDrawListener(view, returnValue, runnable); in add()
|
/frameworks/support/transition/tests/src/android/support/transition/ |
D | SceneTest.java | 88 CheckCalledRunnable runnable = new CheckCalledRunnable(); in testEnterAction() local 89 scene.setEnterAction(runnable); in testEnterAction() 91 assertThat(runnable.wasCalled(), is(true)); in testEnterAction() 100 CheckCalledRunnable runnable = new CheckCalledRunnable(); in testExitAction() local 101 scene.setExitAction(runnable); in testExitAction() 103 assertThat(runnable.wasCalled(), is(true)); in testExitAction() 111 CheckCalledRunnable runnable = new CheckCalledRunnable(); in testExitAction_withoutEnter() local 112 scene.setExitAction(runnable); in testExitAction_withoutEnter() 114 assertThat(runnable.wasCalled(), is(false)); in testExitAction_withoutEnter()
|
/frameworks/support/lifecycle/extensions/src/test/java/android/arch/lifecycle/util/ |
D | InstantTaskExecutor.java | 23 public void executeOnDiskIO(Runnable runnable) { in executeOnDiskIO() argument 24 runnable.run(); in executeOnDiskIO() 28 public void postToMainThread(Runnable runnable) { in postToMainThread() argument 29 runnable.run(); in postToMainThread()
|
/frameworks/support/app-toolkit/core-testing/src/main/java/android/arch/core/executor/testing/ |
D | InstantTaskExecutorRule.java | 37 public void executeOnDiskIO(Runnable runnable) { in starting() 38 runnable.run(); in starting() 42 public void postToMainThread(Runnable runnable) { in starting() 43 runnable.run(); in starting()
|
D | CountingTaskExecutorRule.java | 44 public void executeOnDiskIO(Runnable runnable) { in starting() 45 super.executeOnDiskIO(new CountingRunnable(runnable)); in starting() 49 public void postToMainThread(Runnable runnable) { in starting() 50 super.postToMainThread(new CountingRunnable(runnable)); in starting()
|
/frameworks/support/fragment/java/android/support/v4/app/ |
D | OneShotPreDrawListener.java | 41 private OneShotPreDrawListener(View view, Runnable runnable) { in OneShotPreDrawListener() argument 44 mRunnable = runnable; in OneShotPreDrawListener() 54 public static OneShotPreDrawListener add(View view, Runnable runnable) { in add() argument 55 OneShotPreDrawListener listener = new OneShotPreDrawListener(view, runnable); in add()
|
/frameworks/base/telephony/java/com/android/internal/telephony/ |
D | ExponentialBackoff.java | 38 @NonNull Runnable runnable) { in ExponentialBackoff() argument 39 this(initialDelayMs, maximumDelayMs, multiplier, new Handler(looper), runnable); in ExponentialBackoff() 47 @NonNull Runnable runnable) { in ExponentialBackoff() argument 53 mRunnable = runnable; in ExponentialBackoff()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/util/leak/ |
D | GarbageMonitor.java | 57 void scheduleInspectGarbage(Runnable runnable) { in scheduleInspectGarbage() argument 58 mHandler.postDelayed(runnable, GARBAGE_INSPECTION_INTERVAL); in scheduleInspectGarbage() 72 void scheduleReinspectGarbage(Runnable runnable) { in scheduleReinspectGarbage() argument 73 mHandler.postDelayed(runnable, (long) 100); in scheduleReinspectGarbage()
|
/frameworks/support/app-toolkit/core-testing/src/main/java/android/arch/core/executor/ |
D | TaskExecutorWithFakeMainThread.java | 66 public void executeOnDiskIO(Runnable runnable) { in executeOnDiskIO() argument 67 mIOService.execute(runnable); in executeOnDiskIO() 71 public void postToMainThread(Runnable runnable) { in postToMainThread() argument 76 mMainThreadService.execute(runnable); in postToMainThread()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/util/leak/ |
D | GarbageMonitorTest.java | 119 void scheduleInspectGarbage(Runnable runnable) { in scheduleInspectGarbage() argument 121 mInspectCallback = runnable; in scheduleInspectGarbage() 132 void scheduleReinspectGarbage(Runnable runnable) { in scheduleReinspectGarbage() argument 134 mReinspectCallback = runnable; in scheduleReinspectGarbage()
|
/frameworks/support/v17/leanback/src/android/support/v17/leanback/app/ |
D | ProgressBarManager.java | 28 private Runnable runnable = new Runnable() { field in ProgressBarManager 68 mHandler.postDelayed(runnable, mInitialDelay); in show() 84 mHandler.removeCallbacks(runnable); in hide()
|
/frameworks/base/services/core/java/com/android/server/ |
D | SystemServerInitThreadPool.java | 59 public Future<?> submit(Runnable runnable, String description) { in submit() argument 64 runnable.run(); in submit() 72 return mService.submit(runnable); in submit()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/ |
D | UiOffloadThread.java | 31 public Future<?> submit(Runnable runnable) { in submit() argument 32 return mExecutorService.submit(runnable); in submit()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/util/wakelock/ |
D | WakeLockFake.java | 37 public Runnable wrap(Runnable runnable) { in wrap() argument 41 runnable.run(); in wrap()
|
/frameworks/support/compat/java/android/support/v4/provider/ |
D | SelfDestructiveThread.java | 105 private void post(Runnable runnable) { in post() argument 114 mHandler.sendMessage(mHandler.obtainMessage(MSG_INVOKE_RUNNABLE, runnable)); in post() 212 private void onInvokeRunnable(Runnable runnable) { in onInvokeRunnable() argument 213 runnable.run(); in onInvokeRunnable()
|
/frameworks/layoutlib/create/src/com/android/tools/layoutlib/create/ |
D | InjectMethodsAdapter.java | 30 public InjectMethodsAdapter(ClassVisitor cv, InjectMethodRunnable runnable) { in InjectMethodsAdapter() argument 32 mRunnable = runnable; in InjectMethodsAdapter()
|
/frameworks/av/services/oboeservice/ |
D | AAudioThread.h | 46 AAudioThread(Runnable *runnable); 52 aaudio_result_t start(Runnable *runnable = nullptr);
|
/frameworks/opt/bitmap/src/com/android/bitmap/ |
D | NamedThreadFactory.java | 34 public Thread newThread(final Runnable runnable) { in newThread() argument 35 final Thread thread = mDefaultThreadFactory.newThread(runnable); in newThread()
|
/frameworks/base/core/java/com/android/internal/graphics/ |
D | SfVsyncFrameCallbackProvider.java | 37 public void postCommitCallback(Runnable runnable) { in postCommitCallback() argument 38 mChoreographer.postCallback(Choreographer.CALLBACK_COMMIT, runnable, null); in postCommitCallback()
|
/frameworks/layoutlib/bridge/tests/src/com/android/layoutlib/bridge/impl/ |
D | ResourceHelperTest.java | 24 private static void assertNumberFormatException(Runnable runnable) { in assertNumberFormatException() argument 26 runnable.run(); in assertNumberFormatException()
|