/frameworks/base/tools/aapt2/xml/ |
H A D | XmlActionExecutor_test.cpp | 27 XmlActionExecutor executor; local 28 XmlNodeAction& manifest_action = executor["manifest"]; 47 ASSERT_TRUE(executor.Execute(XmlActionExecutorPolicy::kNone, &diag, doc.get())); 56 XmlActionExecutor executor; local 57 executor["manifest"]["application"]; 62 ASSERT_FALSE(executor.Execute(XmlActionExecutorPolicy::kWhitelist, &diag, doc.get()));
|
/frameworks/base/core/java/android/net/ |
H A D | NetworkRecommendationProvider.java | 59 * @param executor used to execute the incoming requests. Cannot be {@code null}. 61 public NetworkRecommendationProvider(Context context, Executor executor) { argument 63 Preconditions.checkNotNull(executor); 64 mService = new ServiceWrapper(context, executor); 92 ServiceWrapper(Context context, Executor executor) { argument 94 mExecutor = executor;
|
/frameworks/support/paging/runtime/src/main/java/android/support/v7/recyclerview/extensions/ |
H A D | ListAdapterConfig.java | 19 import android.arch.core.executor.AppToolkitTaskExecutor; 82 * If provided, defines the main thread executor used to dispatch adapter update 87 * @param executor The executor which can run tasks in the UI thread. 91 public ListAdapterConfig.Builder<T> setMainThreadExecutor(Executor executor) { argument 92 mMainThreadExecutor = executor; 97 * If provided, defines the background executor used to calculate the diff between an old 102 * @param executor The background executor to run list diffing. 106 public ListAdapterConfig.Builder<T> setBackgroundThreadExecutor(Executor executor) { argument [all...] |
/frameworks/support/app-toolkit/core-testing/src/main/java/android/arch/core/executor/testing/ |
H A D | InstantTaskExecutorRule.java | 17 package android.arch.core.executor.testing; 19 import android.arch.core.executor.AppToolkitTaskExecutor; 20 import android.arch.core.executor.TaskExecutor; 26 * A JUnit Test Rule that swaps the background executor used by the Architecture Components with a
|
H A D | CountingTaskExecutorRule.java | 17 package android.arch.core.executor.testing; 19 import android.arch.core.executor.AppToolkitTaskExecutor; 20 import android.arch.core.executor.DefaultTaskExecutor; 30 * A JUnit Test Rule that swaps the background executor used by the Architecture Components with a
|
/frameworks/support/app-toolkit/runtime/src/main/java/android/arch/core/executor/ |
H A D | TaskExecutor.java | 17 package android.arch.core.executor; 22 * A task executor that can divide tasks into logical groups.
|
H A D | DefaultTaskExecutor.java | 17 package android.arch.core.executor;
|
H A D | AppToolkitTaskExecutor.java | 17 package android.arch.core.executor; 63 * Returns an instance of the task executor. 82 * If you have a common executor, you can set it as the delegate and App Toolkit components will 87 * @param taskExecutor The task executor to handle task requests.
|
/frameworks/support/lifecycle/extensions/src/test/java/android/arch/lifecycle/util/ |
H A D | InstantTaskExecutor.java | 19 import android.arch.core.executor.TaskExecutor;
|
/frameworks/base/core/tests/coretests/src/android/widget/ |
H A D | AppWidgetHostViewTest.java | 85 RunnableList executor = new RunnableList(); 86 mHostView.setExecutor(executor); 92 assertEquals(1, executor.size()); 95 executor.get(0).run(); 102 RunnableList executor = new RunnableList(); 103 mHostView.setExecutor(executor); 110 assertEquals(2, executor.size()); 112 assertTrue(((Future) executor.get(0)).isCancelled()); 115 executor.get(0).run(); 116 executor [all...] |
/frameworks/base/core/tests/coretests/src/android/net/ |
H A D | NetworkRecommendationProviderTest.java | 41 Executor executor = Executors.newSingleThreadExecutor(); 43 mRecProvider = new NetworkRecProvider(mContext, executor, mScoreRequestLatch); 94 NetworkRecProvider(Context context, Executor executor, CountDownLatch networkRequestLatch) { argument 95 super(context, executor);
|
/frameworks/support/app-toolkit/core-testing/src/test/java/android/arch/core/executor/testing/ |
H A D | InstantTaskExecutorRuleTest.java | 17 package android.arch.core.executor.testing; 21 import android.arch.core.executor.AppToolkitTaskExecutor;
|
/frameworks/ml/nn/runtime/ |
H A D | ExecutionBuilder.cpp | 189 StepExecutor executor(executionBuilder, executionBuilder->getModel(), 192 executor.mapInputsAndOutputsTrivially(); 194 if (executor.startCompute(&fallbackCallback) != ANEURALNETWORKS_NO_ERROR) { 213 std::shared_ptr<StepExecutor> executor; local 214 int n = plan->fallback(controller, &executor); 215 if (n != ANEURALNETWORKS_NO_ERROR || executor->isCpu()) { 220 if (executor->startComputeOnCpu(&fallbackCallback) != ANEURALNETWORKS_NO_ERROR) { 239 std::shared_ptr<StepExecutor> executor; local 241 int n = plan->next(controller, &executor); 250 if (executor 605 CpuExecutor executor; local [all...] |
H A D | ExecutionPlan.cpp | 477 std::shared_ptr<StepExecutor>* executor) const { 478 *executor = nullptr; 480 VLOG(EXECUTION) << "ExecutionPlan::fallback(" << controller << ", " << executor 489 // The last call to next() did not produce an executor. 494 return next(controller, executor); 498 std::shared_ptr<StepExecutor>* executor) const { 499 *executor = nullptr; 501 VLOG(EXECUTION) << "ExecutionPlan::next(" << controller << ", " << executor 518 *executor = std::make_shared<StepExecutor>( 523 (*executor) [all...] |
/frameworks/base/tools/aapt2/link/ |
H A D | ManifestFixer.h | 54 bool BuildRules(xml::XmlActionExecutor* executor, IDiagnostics* diag);
|
H A D | ManifestFixer.cpp | 192 bool ManifestFixer::BuildRules(xml::XmlActionExecutor* executor, 234 xml::XmlNodeAction& manifest_action = (*executor)["manifest"]; 406 xml::XmlActionExecutor executor; 407 if (!BuildRules(&executor, context->GetDiagnostics())) { 411 if (!executor.Execute(xml::XmlActionExecutorPolicy::kWhitelist, context->GetDiagnostics(), doc)) {
|
/frameworks/support/lifecycle/extensions/src/test/java/android/arch/lifecycle/ |
H A D | ThreadedLiveDataTest.java | 26 import android.arch.core.executor.JunitTaskExecutorRule; 27 import android.arch.core.executor.TaskExecutor;
|
H A D | ComputableLiveDataTest.java | 30 import android.arch.core.executor.AppToolkitTaskExecutor; 31 import android.arch.core.executor.TaskExecutor; 32 import android.arch.core.executor.TaskExecutorWithFakeMainThread; 78 TaskExecutorWithFakeMainThread executor = new TaskExecutorWithFakeMainThread(2); 79 AppToolkitTaskExecutor.getInstance().setDelegate(executor); 120 executor.drainTasks(2);
|
/frameworks/base/packages/MtpDocumentsProvider/src/com/android/mtp/ |
H A D | PipeManager.java | 40 PipeManager(MtpDatabase database, ExecutorService executor) { argument 42 this.mExecutor = executor;
|
/frameworks/ml/nn/driver/sample/ |
H A D | SampleDriver.cpp | 85 CpuExecutor executor; local 86 int n = executor.run(mModel, request, mPoolInfos, requestPoolInfos); 87 VLOG(DRIVER) << "executor.run returned " << n;
|
/frameworks/support/room/integration-tests/kotlintestapp/src/androidTest/java/android/arch/persistence/room/integration/kotlintestapp/test/ |
H A D | TestDatabaseTest.kt | 19 import android.arch.core.executor.testing.InstantTaskExecutorRule
|
/frameworks/support/app-toolkit/core-testing/src/main/java/android/arch/core/executor/ |
H A D | JunitTaskExecutorRule.java | 17 package android.arch.core.executor; 30 * A JUnit rule that swaps the task executor with a more controllable one.
|
/frameworks/support/lifecycle/extensions/src/main/java/android/arch/lifecycle/ |
H A D | ComputableLiveData.java | 19 import android.arch.core.executor.AppToolkitTaskExecutor; 55 // TODO if we make this class public, we should accept an executor 117 // TODO if we make this class public, we should accept an executor.
|
/frameworks/support/app-toolkit/core-testing/src/androidTest/java/android/arch/core/executor/testing/ |
H A D | CountingTaskExecutorRuleTest.java | 17 package android.arch.core.executor.testing; 22 import android.arch.core.executor.AppToolkitTaskExecutor;
|
/frameworks/support/paging/runtime/src/main/java/android/arch/paging/ |
H A D | LivePagedListProvider.java | 19 import android.arch.core.executor.AppToolkitTaskExecutor;
|