/frameworks/base/telephony/java/com/android/internal/telephony/ |
D | ExponentialBackoff.java | 40 public boolean postDelayed(Runnable runnable, long delayMillis) { 41 return mHandler.postDelayed(runnable, delayMillis); 45 public void removeCallbacks(Runnable runnable) { 46 mHandler.removeCallbacks(runnable); 54 boolean postDelayed(Runnable runnable, long delayMillis); in postDelayed() argument 55 void removeCallbacks(Runnable runnable); in removeCallbacks() argument 63 @NonNull Runnable runnable) { in ExponentialBackoff() argument 64 this(initialDelayMs, maximumDelayMs, multiplier, new Handler(looper), runnable); in ExponentialBackoff() 72 @NonNull Runnable runnable) { in ExponentialBackoff() argument 78 mRunnable = runnable; in ExponentialBackoff()
|
/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 …]
|
D | LowpanManager.java | 261 Runnable runnable = in registerCallback() 270 mHandler.post(runnable); in registerCallback() 275 Runnable runnable = in registerCallback() 284 mHandler.post(runnable); in registerCallback()
|
/frameworks/base/services/core/java/com/android/server/incident/ |
D | RequestQueue.java | 66 public final Runnable runnable; field in RequestQueue.Rec 71 Rec(IBinder key, boolean value, Runnable runnable) { in Rec() argument 74 this.runnable = runnable; in Rec() 94 copy.get(i).runnable.run(); 130 public void enqueue(IBinder key, boolean value, Runnable runnable) { in enqueue() argument 146 mPending.add(new Rec(key, value, runnable)); in enqueue()
|
/frameworks/base/core/tests/coretests/src/android/view/ |
D | RunQueue.java | 51 final Runnable runnable = new Runnable() { in onCreate() local 56 view.post(runnable); in onCreate() 57 view.post(runnable); in onCreate() 58 view.post(runnable); in onCreate() 59 view.post(runnable); in onCreate() 60 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/layoutlib/bridge/tests/src/com/android/layoutlib/bridge/test/widgets/ |
D | HookWidget.java | 37 public static void setOnPreDrawHook(Runnable runnable) { in setOnPreDrawHook() argument 38 sOnPreDrawHook = runnable; in setOnPreDrawHook() 41 public static void setOnPreMeasure(Runnable runnable) { in setOnPreMeasure() argument 42 sOnPreMeasure = runnable; in setOnPreMeasure() 45 public static void setOnPreLayout(Runnable runnable) { in setOnPreLayout() argument 46 sOnPreLayout = runnable; in setOnPreLayout()
|
/frameworks/base/packages/SystemUI/shared/src/com/android/systemui/shared/system/ |
D | BackgroundExecutor.java | 50 public Future<?> submit(Runnable runnable) { in submit() argument 51 return mExecutorService.submit(runnable); in submit() 58 public <T> Future<T> submit(Runnable runnable, T result) { in submit() argument 59 return mExecutorService.submit(runnable, result); in submit()
|
D | ChoreographerCompat.java | 30 public static void postInputFrame(Choreographer choreographer, Runnable runnable) { in postInputFrame() argument 31 choreographer.postCallback(CALLBACK_INPUT, runnable, null); in postInputFrame()
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/utils/ |
D | ThreadUtils.java | 66 public static Future postOnBackgroundThread(Runnable runnable) { in postOnBackgroundThread() argument 70 return sSingleThreadExecutor.submit(runnable); in postOnBackgroundThread() 76 public static void postOnMainThread(Runnable runnable) { in postOnMainThread() argument 77 getUiThreadHandler().post(runnable); in postOnMainThread()
|
/frameworks/base/tests/FlickerTests/lib/src/com/android/server/wm/flicker/ |
D | TransitionRunner.java | 358 TransitionBuilder runBeforeAll(Runnable runnable) { in runBeforeAll() argument 359 mBeforeAlls.add(runnable); in runBeforeAll() 363 TransitionBuilder runBefore(Runnable runnable) { in runBefore() argument 364 mBefores.add(runnable); in runBefore() 368 TransitionBuilder run(Runnable runnable) { in run() argument 369 mTransitions.add(runnable); in run() 373 TransitionBuilder runAfter(Runnable runnable) { in runAfter() argument 374 mAfters.add(runnable); in runAfter() 378 TransitionBuilder runAfterAll(Runnable runnable) { in runAfterAll() argument 379 mAfterAlls.add(runnable); in runAfterAll()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/ |
D | UiOffloadThread.java | 39 public Future<?> submit(Runnable runnable) { in submit() argument 40 return mExecutorService.submit(runnable); in submit()
|
D | InitController.java | 44 public void addPostInitTask(Runnable runnable) { in addPostInitTask() argument 48 mTasks.add(runnable); in addPostInitTask()
|
/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/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/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 | 45 public void postCommitCallback(Runnable runnable) { in postCommitCallback() argument 46 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()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/ |
D | BackDropView.java | 61 public void setOnVisibilityChangedRunnable(Runnable runnable) { in setOnVisibilityChangedRunnable() argument 62 mOnVisibilityChangedRunnable = runnable; in setOnVisibilityChangedRunnable()
|
/frameworks/base/services/core/java/com/android/server/timezone/ |
D | RulesManagerServiceHelperImpl.java | 53 public void execute(Runnable runnable) { in execute() argument 54 AsyncTask.execute(runnable); in execute()
|
/frameworks/av/services/oboeservice/ |
D | AAudioThread.cpp | 68 aaudio_result_t AAudioThread::start(Runnable *runnable) { in start() argument 75 mRunnable = runnable; in start()
|
/frameworks/base/core/java/android/app/job/ |
D | JobSnapshot.java | 36 public JobSnapshot(JobInfo info, int satisfiedMask, boolean runnable) { in JobSnapshot() argument 39 mIsRunnable = runnable; in JobSnapshot()
|
/frameworks/base/core/tests/utiltests/src/com/android/internal/util/ |
D | WakeupMessageTest.java | 177 final Runnable runnable = mock(Runnable.class); in scheduleRunnable() local 178 WakeupMessage dut = new WakeupMessage(mContext, mHandler, TEST_CMD_NAME, runnable); in scheduleRunnable() 183 verify(runnable, times(1)).run(); in scheduleRunnable()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/am/ |
D | ActivityManagerInternalTest.java | 145 CustomThread(Object lock, Runnable runnable) { in CustomThread() argument 146 super(runnable); in CustomThread() 148 mRunnable = runnable; in CustomThread()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/util/wakelock/ |
D | WakeLock.java | 114 public Runnable wrap(Runnable runnable) { 115 return wrapImpl(this, runnable);
|