Home
last modified time | relevance | path

Searched refs:NamedTask (Results 1 – 9 of 9) sorted by relevance

/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/util/
DBatchingNamedTaskExecutor.kt28 private val mQueuedTasks: ArrayList<NamedTask?> = arrayListOf()
29 override fun execute(task: NamedTask?) { in execute()
36 private fun dispatch(task: NamedTask?) { in dispatch()
46 var batch = arrayOfNulls<NamedTask?>(0) in executeNextBatch()
49 val nextTasks: ArrayList<NamedTask?> = mQueuedTasks.subList(0, count) as ArrayList<NamedTask?> in executeNextBatch()
DSingleThreadNamedTaskExecutor.kt25 private val mQueue: LinkedBlockingQueue<NamedTask>
43 override fun execute(task: NamedTask?) { in execute()
63 val task: NamedTask = in loop()
95 mQueue = LinkedBlockingQueue<NamedTask>()
DNamedTask.kt19 interface NamedTask : Runnable { interface
DNamedTaskExecutor.kt25 fun execute(task: NamedTask?)
DPerNameExecutor.kt46 override fun execute(task: NamedTask?) { in execute()
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/
DQueryTask.kt22 import com.android.quicksearchbox.util.NamedTask
32 ) : NamedTask {
DPackageIconLoader.kt200 private inner class IconLaterTask(iconUri: Uri) : CachedLater<Drawable?>(), NamedTask {
/packages/apps/QuickSearchBox/tests/src/com/android/quicksearchbox/util/
DMockNamedTaskExecutor.java31 public void execute(NamedTask task) { in execute()
DMockTask.java24 public class MockTask implements NamedTask {