/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/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/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/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/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/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/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/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.
|
H A D | TaskExecutorWithFakeMainThread.java | 17 package android.arch.core.executor;
|
/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/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/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/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/ |
H A D | NotificationInflaterTest.java | 273 public CancellationSignal applyAsync(Context context, ViewGroup parent, Executor executor, argument 280 public CancellationSignal applyAsync(Context context, ViewGroup parent, Executor executor, argument 282 return applyAsync(context, parent, executor, listener, null);
|
/frameworks/base/core/java/android/content/ |
H A D | AsyncTaskLoader.java | 141 public AsyncTaskLoader(Context context, Executor executor) { argument 143 mExecutor = executor;
|
/frameworks/base/services/core/java/com/android/server/timezone/ |
H A D | RulesManagerService.java | 107 helper /* executor */, 114 Executor executor, PackageTracker packageTracker, 117 mExecutor = executor; 113 RulesManagerService(PermissionHelper permissionHelper, Executor executor, PackageTracker packageTracker, TimeZoneDistroInstaller timeZoneDistroInstaller) argument
|
/frameworks/base/tools/aapt2/configuration/ |
H A D | ConfigurationParser.cpp | 211 XmlActionExecutor executor; local 212 XmlNodeAction& root_action = executor["post-process"]; 218 // Helper to bind a static method to an action handler in the DOM executor. 237 if (!executor.Execute(XmlActionExecutorPolicy::kNone, diag_, doc.get())) {
|
/frameworks/opt/net/voip/src/java/com/android/server/sip/ |
H A D | SipWakeupTimer.java | 52 public SipWakeupTimer(Context context, Executor executor) { argument 59 mExecutor = executor;
|
/frameworks/support/core-utils/java/android/support/v4/content/ |
H A D | AsyncTaskLoader.java | 128 private AsyncTaskLoader(Context context, Executor executor) { argument 130 mExecutor = executor;
|
/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...] |
/frameworks/base/core/java/android/appwidget/ |
H A D | AppWidgetHostView.java | 350 * Sets an executor which can be used for asynchronously inflating. CPU intensive tasks like 351 * view inflation or loading images will be performed on the executor. The updates will still 354 * @param executor the executor to use or null. 356 public void setExecutor(Executor executor) { argument 362 mAsyncExecutor = executor;
|
/frameworks/base/core/java/android/widget/ |
H A D | RemoteViewsAdapter.java | 1329 RemoteViews firstView, Context context, Executor executor) { 1331 firstView.applyAsync(context, new RemoteViewsFrameLayout(context, null), executor, 1328 loadFirstViewHeight( RemoteViews firstView, Context context, Executor executor) argument
|
H A D | RemoteViews.java | 3541 * @param executor The executor to use. If null {@link AsyncTask#THREAD_POOL_EXECUTOR} is used. 3546 Context context, ViewGroup parent, Executor executor, OnViewAppliedListener listener) { 3547 return applyAsync(context, parent, executor, listener, null); 3550 private CancellationSignal startTaskOnExecutor(AsyncApplyTask task, Executor executor) { argument 3554 task.executeOnExecutor(executor == null ? AsyncTask.THREAD_POOL_EXECUTOR : executor); 3560 Executor executor, OnViewAppliedListener listener, OnClickHandler handler) { 3561 return startTaskOnExecutor(getAsyncApplyTask(context, parent, listener, handler), executor); 3696 * @param executor Th 3545 applyAsync( Context context, ViewGroup parent, Executor executor, OnViewAppliedListener listener) argument 3559 applyAsync(Context context, ViewGroup parent, Executor executor, OnViewAppliedListener listener, OnClickHandler handler) argument 3700 reapplyAsync( Context context, View v, Executor executor, OnViewAppliedListener listener) argument 3706 reapplyAsync(Context context, View v, Executor executor, OnViewAppliedListener listener, OnClickHandler handler) argument [all...] |