Home
last modified time | relevance | path

Searched defs:runnable (Results 1 – 25 of 236) sorted by relevance

12345678910

/aosp12/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/common/
H A DShellExecutor.java36 void execute(Runnable runnable); in execute()
45 default void executeBlocking(Runnable runnable, int waitTimeout, TimeUnit waitTimeUnit) in executeBlocking()
61 default void executeBlocking(Runnable runnable) throws InterruptedException { in executeBlocking()
69 default <T> T executeBlockingForResult(Supplier<T> runnable, Class clazz) { in executeBlockingForResult()
88 void executeDelayed(Runnable runnable, long delayMillis); in executeDelayed()
93 void removeCallbacks(Runnable runnable); in removeCallbacks()
98 boolean hasCallback(Runnable runnable); in hasCallback()
/aosp12/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/wmshell/
H A DSyncExecutor.java27 public void execute(Runnable runnable) { in execute()
32 public void executeDelayed(Runnable runnable, long delayMillis) { in executeDelayed()
37 public void removeCallbacks(Runnable runnable) { in removeCallbacks()
41 public boolean hasCallback(Runnable runnable) { in hasCallback()
/aosp12/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/util/concurrency/
H A DFakeExecutorTest.java55 RunnableImpl runnable = new RunnableImpl(); in testNoDelay() local
104 RunnableImpl runnable = new RunnableImpl(); in testDelayed() local
138 RunnableImpl runnable = new RunnableImpl(); in testDelayed_AdvanceAndRun() local
253 RunnableImpl runnable = new RunnableImpl(); in testRemoval_single() local
293 RunnableImpl runnable = new RunnableImpl(); in testRemoval_multi() local
329 Runnable runnable = () -> assertThat(fakeExecutor.isExecuting()).isTrue(); in testIsExecuting() local
/aosp12/hardware/qcom/sm7250/gps/utils/
H A DLocThread.cpp50 shared_ptr<LocRunnable> runnable = mRunnable.lock(); in ~LocThreadDelegate() local
60 LocThreadDelegate* LocThreadDelegate::create(const char* tName, shared_ptr<LocRunnable> runnable) { in create()
80 LocThreadDelegate::LocThreadDelegate(const string tName, shared_ptr<LocRunnable> runnable) : in LocThreadDelegate()
94 bool LocThread::start(const char* tName, shared_ptr<LocRunnable> runnable) { in start()
/aosp12/hardware/qcom/sm8150/gps/utils/
H A DLocThread.cpp50 shared_ptr<LocRunnable> runnable = mRunnable.lock(); in ~LocThreadDelegate() local
60 LocThreadDelegate* LocThreadDelegate::create(const char* tName, shared_ptr<LocRunnable> runnable) { in create()
80 LocThreadDelegate::LocThreadDelegate(const string tName, shared_ptr<LocRunnable> runnable) : in LocThreadDelegate()
94 bool LocThread::start(const char* tName, shared_ptr<LocRunnable> runnable) { in start()
/aosp12/frameworks/base/services/core/java/com/android/server/soundtrigger_middleware/
H A DUptimeTimer.java55 Task createTask(@NonNull Runnable runnable, long uptimeMs) { in createTask()
73 TaskImpl(@NonNull Runnable runnable) { in TaskImpl()
84 Runnable runnable = mRunnable.get(); in run() local
/aosp12/frameworks/base/telephony/java/com/android/internal/telephony/
H A DExponentialBackoff.java54 boolean postDelayed(Runnable runnable, long delayMillis); in postDelayed()
55 void removeCallbacks(Runnable runnable); in removeCallbacks()
63 @NonNull Runnable runnable) { in ExponentialBackoff()
72 @NonNull Runnable runnable) { in ExponentialBackoff()
/aosp12/frameworks/base/services/core/java/com/android/server/incident/
H A DRequestQueue.java66 public final Runnable runnable; field in RequestQueue.Rec
71 Rec(IBinder key, boolean value, Runnable runnable) { in Rec()
130 public void enqueue(IBinder key, boolean value, Runnable runnable) { in enqueue()
/aosp12/frameworks/base/core/java/com/android/internal/view/
H A DOneShotPreDrawListener.java39 private OneShotPreDrawListener(View view, boolean returnValue, Runnable runnable) { in OneShotPreDrawListener()
55 public static OneShotPreDrawListener add(View view, Runnable runnable) { in add()
68 public static OneShotPreDrawListener add(View view, boolean returnValue, Runnable runnable) { in add()
/aosp12/packages/apps/Dialer/java/com/android/dialer/common/concurrent/
H A DThreadUtil.java27 public static void postOnUiThread(Runnable runnable) { in postOnUiThread()
32 public static void postDelayedOnUiThread(Runnable runnable, long delayMillis) { in postDelayedOnUiThread()
/aosp12/hardware/qcom/gps/msm8909/utils/
H A DLocThread.cpp66 const char* threadName, LocRunnable* runnable, bool joinable) : in LocThreadDelegate()
112 const char* threadName, LocRunnable* runnable, bool joinable) { in create()
179 LocRunnable* runnable = locThread->mRunnable; in threadMain() local
211 bool LocThread::start(tCreate creator, const char* threadName, LocRunnable* runnable, bool joinable… in start()
/aosp12/hardware/qcom/gps/msm8909w_3100/utils/
H A DLocThread.cpp67 const char* threadName, LocRunnable* runnable, bool joinable) : in LocThreadDelegate()
114 const char* threadName, LocRunnable* runnable, bool joinable) { in create()
181 LocRunnable* runnable = locThread->mRunnable; in threadMain() local
213 bool LocThread::start(tCreate creator, const char* threadName, LocRunnable* runnable, bool joinable… in start()
/aosp12/hardware/qcom/gps/msm8996/utils/
H A DLocThread.cpp66 const char* threadName, LocRunnable* runnable, bool joinable) : in LocThreadDelegate()
112 const char* threadName, LocRunnable* runnable, bool joinable) { in create()
179 LocRunnable* runnable = locThread->mRunnable; in threadMain() local
211 bool LocThread::start(tCreate creator, const char* threadName, LocRunnable* runnable, bool joinable… in start()
/aosp12/hardware/qcom/gps/msm8998/utils/
H A DLocThread.cpp67 const char* threadName, LocRunnable* runnable, bool joinable) : in LocThreadDelegate()
114 const char* threadName, LocRunnable* runnable, bool joinable) { in create()
181 LocRunnable* runnable = locThread->mRunnable; in threadMain() local
213 bool LocThread::start(tCreate creator, const char* threadName, LocRunnable* runnable, bool joinable… in start()
/aosp12/hardware/qcom/sm7150/gps/utils/
H A DLocThread.cpp67 const char* threadName, LocRunnable* runnable, bool joinable) : in LocThreadDelegate()
114 const char* threadName, LocRunnable* runnable, bool joinable) { in create()
181 LocRunnable* runnable = locThread->mRunnable; in threadMain() local
213 bool LocThread::start(tCreate creator, const char* threadName, LocRunnable* runnable, bool joinable… in start()
/aosp12/hardware/qcom/sdm845/gps/msm8909/utils/
H A DLocThread.cpp66 const char* threadName, LocRunnable* runnable, bool joinable) : in LocThreadDelegate()
112 const char* threadName, LocRunnable* runnable, bool joinable) { in create()
179 LocRunnable* runnable = locThread->mRunnable; in threadMain() local
211 bool LocThread::start(tCreate creator, const char* threadName, LocRunnable* runnable, bool joinable… in start()
/aosp12/hardware/qcom/sdm845/gps/msm8998/utils/
H A DLocThread.cpp67 const char* threadName, LocRunnable* runnable, bool joinable) : in LocThreadDelegate()
114 const char* threadName, LocRunnable* runnable, bool joinable) { in create()
181 LocRunnable* runnable = locThread->mRunnable; in threadMain() local
213 bool LocThread::start(tCreate creator, const char* threadName, LocRunnable* runnable, bool joinable… in start()
/aosp12/hardware/qcom/sm8150p/gps/utils/
H A DLocThread.cpp67 const char* threadName, LocRunnable* runnable, bool joinable) : in LocThreadDelegate()
114 const char* threadName, LocRunnable* runnable, bool joinable) { in create()
181 LocRunnable* runnable = locThread->mRunnable; in threadMain() local
213 bool LocThread::start(tCreate creator, const char* threadName, LocRunnable* runnable, bool joinable… in start()
/aosp12/hardware/qcom/sdm845/gps/sdm845/utils/
H A DLocThread.cpp67 const char* threadName, LocRunnable* runnable, bool joinable) : in LocThreadDelegate()
114 const char* threadName, LocRunnable* runnable, bool joinable) { in create()
181 LocRunnable* runnable = locThread->mRunnable; in threadMain() local
213 bool LocThread::start(tCreate creator, const char* threadName, LocRunnable* runnable, bool joinable… in start()
/aosp12/hardware/qcom/sdm845/gps/msm8996/utils/
H A DLocThread.cpp66 const char* threadName, LocRunnable* runnable, bool joinable) : in LocThreadDelegate()
112 const char* threadName, LocRunnable* runnable, bool joinable) { in create()
179 LocRunnable* runnable = locThread->mRunnable; in threadMain() local
211 bool LocThread::start(tCreate creator, const char* threadName, LocRunnable* runnable, bool joinable… in start()
/aosp12/packages/apps/Contacts/src/com/android/contacts/util/
H A DSchedulingUtils.java28 public static void doAfterLayout(final View view, final Runnable runnable) { in doAfterLayout()
42 final Runnable runnable) { in doOnPreDraw()
/aosp12/packages/apps/TV/src/com/android/tv/ui/hideable/
H A DAutoHideScheduler.java47 public AutoHideScheduler(Context context, Runnable runnable) { in AutoHideScheduler()
55 AutoHideScheduler(Runnable runnable, AccessibilityManager accessibilityManager, Looper looper) { in AutoHideScheduler()
92 protected void handleMessage(Message msg, @NonNull Runnable runnable) { in handleMessage()
/aosp12/packages/apps/Settings/tests/robotests/src/com/android/settings/testutils/shadow/
H A DShadowThreadUtils.java37 protected static void postOnBackgroundThread(Runnable runnable) { in postOnBackgroundThread()
42 protected static void postOnMainThread(Runnable runnable) { in postOnMainThread()
/aosp12/packages/apps/Dialer/java/com/android/dialer/util/
H A DViewUtil.java90 @NonNull final View view, final boolean drawNextFrame, final Runnable runnable) { in doOnPreDraw()
104 @NonNull final View view, final boolean drawNextFrame, final ViewRunnable runnable) { in doOnPreDraw()
117 public static void doOnGlobalLayout(@NonNull final View view, final ViewRunnable runnable) { in doOnGlobalLayout()
/aosp12/packages/apps/DeskClock/tests/src/com/android/deskclock/timer/
H A DTimerSetupViewTest.java127 Runnable runnable = () -> { in validateDefaultState_NoTimersExist() local
150 Runnable runnable = () -> { in type0InDefaultState_NoTimersExist() local
205 Runnable runnable = () -> { in fillDisplayThenDeleteAll_NoTimersExist() local
233 Runnable runnable = () -> { in fillDisplayWith9s_NoTimersExist() local

12345678910