Home
last modified time | relevance | path

Searched refs:NamedTaskExecutor (Results 1 – 16 of 16) sorted by relevance

/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/util/
DPerNameExecutor.kt25 class PerNameExecutor(private val mExecutorFactory: Factory<NamedTaskExecutor>) :
26 NamedTaskExecutor {
27 private var mExecutors: HashMap<String, NamedTaskExecutor>? = null
48 mExecutors = HashMap<String, NamedTaskExecutor>() in execute()
51 var executor: NamedTaskExecutor? = mExecutors?.get(name) in execute()
DSingleThreadNamedTaskExecutor.kt24 class SingleThreadNamedTaskExecutor(threadFactory: ThreadFactory?) : NamedTaskExecutor {
85 fun factory(threadFactory: ThreadFactory?): Factory<NamedTaskExecutor> { in factory()
86 return object : Factory<NamedTaskExecutor> { in factory()
87 override fun create(): NamedTaskExecutor { in factory()
DBatchingNamedTaskExecutor.kt26 class BatchingNamedTaskExecutor(private val mExecutor: NamedTaskExecutor) : NamedTaskExecutor {
DNamedTaskExecutor.kt19 interface NamedTaskExecutor { interface
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/
DQsbApplication.kt44 private var mSourceTaskExecutor: NamedTaskExecutor? = null
53 private var mIconLoaderExecutor: NamedTaskExecutor? = null
113 val iconLoaderExecutor: NamedTaskExecutor?
121 protected fun createIconLoaderExecutor(): NamedTaskExecutor { in createIconLoaderExecutor()
168 val sourceTaskExecutor: NamedTaskExecutor?
177 protected fun createSourceTaskExecutor(): NamedTaskExecutor { in createSourceTaskExecutor()
DAbstractSource.kt27 import com.android.quicksearchbox.util.NamedTaskExecutor
34 iconLoader: NamedTaskExecutor
39 private val mIconLoaderExecutor: NamedTaskExecutor
DAbstractInternalSource.kt22 import com.android.quicksearchbox.util.NamedTaskExecutor
28 iconLoader: NamedTaskExecutor
DQueryTask.kt23 import com.android.quicksearchbox.util.NamedTaskExecutor
63 executor: NamedTaskExecutor, in startQuery()
DSuggestionsProviderImpl.kt21 import com.android.quicksearchbox.util.NamedTaskExecutor
32 private val mQueryExecutor: NamedTaskExecutor,
DPackageIconLoader.kt43 iconLoaderExecutor: NamedTaskExecutor
54 private val mIconLoaderExecutor: NamedTaskExecutor
/packages/apps/QuickSearchBox/tests/src/com/android/quicksearchbox/util/
DMockNamedTaskExecutorFactory.java24 public class MockNamedTaskExecutorFactory implements Factory<NamedTaskExecutor> {
38 public NamedTaskExecutor create() { in create()
DMockNamedTaskExecutor.java27 public class MockNamedTaskExecutor implements NamedTaskExecutor {
DPerNameExecutorTest.java33 private NamedTaskExecutor mExecutor;
/packages/apps/QuickSearchBox/tests/src/com/android/quicksearchbox/
DPackageIconLoaderTest.java26 import com.android.quicksearchbox.util.NamedTaskExecutor;
55 NamedTaskExecutor executor = new SingleThreadNamedTaskExecutor( in create()
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/google/
DAbstractGoogleSource.kt28 import com.android.quicksearchbox.util.NamedTaskExecutor
34 iconLoader: NamedTaskExecutor
DGoogleSuggestClient.kt31 import com.android.quicksearchbox.util.NamedTaskExecutor
49 iconLoader: NamedTaskExecutor,