Home
last modified time | relevance | path

Searched refs:tasks (Results 1 – 25 of 74) sorted by relevance

123

/frameworks/base/libs/hwui/tests/microbench/
DTaskManagerBench.cpp42 std::vector<sp<TrivialTask> > tasks; in BM_TaskManager_allocateTask() local
43 tasks.reserve(state.max_iterations); in BM_TaskManager_allocateTask()
46 tasks.emplace_back(new TrivialTask); in BM_TaskManager_allocateTask()
47 benchmark::DoNotOptimize(tasks.back()); in BM_TaskManager_allocateTask()
55 std::vector<sp<TrivialTask> > tasks; in BM_TaskManager_enqueueTask() local
56 tasks.reserve(state.max_iterations); in BM_TaskManager_enqueueTask()
59 tasks.emplace_back(new TrivialTask); in BM_TaskManager_enqueueTask()
60 benchmark::DoNotOptimize(tasks.back()); in BM_TaskManager_enqueueTask()
61 processor->add(tasks.back()); in BM_TaskManager_enqueueTask()
64 for (sp<TrivialTask>& task : tasks) { in BM_TaskManager_enqueueTask()
[all …]
/frameworks/base/core/tests/overlaytests/
Dtestrunner.py408 def __init__(self, type, tasks): argument
410 self.tasks = tasks
419 for t in self.tasks:
426 tasks = [
440 return CompoundTask(TASK_DISABLE_OVERLAYS, tasks)
443 tasks = [
450 return CompoundTask(TASK_ENABLE_SINGLE_OVERLAY, tasks)
453 tasks = [
463 return CompoundTask(TASK_ENABLE_MULTIPLE_OVERLAYS, tasks)
466 tasks = [
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DAppButtonData.java30 public ArrayList<RecentTaskInfo> tasks; field in AppButtonData
38 return tasks == null ? 0 : tasks.size(); in getTaskCount()
49 if (tasks == null) { in addTask()
50 tasks = new ArrayList<RecentTaskInfo>(); in addTask()
52 tasks.add(task); in addTask()
56 if (tasks != null) { in clearTasks()
57 tasks.clear(); in clearTasks()
/frameworks/base/services/core/java/com/android/server/am/
DLaunchingTaskPositioner.java115 void updateDefaultBounds(TaskRecord task, ArrayList<TaskRecord> tasks, in updateDefaultBounds() argument
121 positionCenter(task, tasks, mDefaultFreeformWidth, mDefaultFreeformHeight); in updateDefaultBounds()
130 positionTopRight(task, tasks, width, height); in updateDefaultBounds()
132 positionTopLeft(task, tasks, width, height); in updateDefaultBounds()
136 positionBottomRight(task, tasks, width, height); in updateDefaultBounds()
138 positionBottomLeft(task, tasks, width, height); in updateDefaultBounds()
145 positionCenter(task, tasks, width, height); in updateDefaultBounds()
171 private void positionBottomLeft(TaskRecord task, ArrayList<TaskRecord> tasks, int width, in positionBottomLeft() argument
175 position(task, tasks, mTmpProposal, !ALLOW_RESTART, SHIFT_POLICY_HORIZONTAL_RIGHT); in positionBottomLeft()
178 private void positionBottomRight(TaskRecord task, ArrayList<TaskRecord> tasks, int width, in positionBottomRight() argument
[all …]
DPinnedActivityStack.java100 ArrayList<TaskRecord> tasks = getAllTasks(); in updatePictureInPictureModeForPinnedStackAnimation() local
101 for (int i = 0; i < tasks.size(); i++ ) { in updatePictureInPictureModeForPinnedStackAnimation()
102 mStackSupervisor.scheduleUpdatePictureInPictureModeIfNeeded(tasks.get(i), in updatePictureInPictureModeForPinnedStackAnimation()
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/model/
DTaskStack.java135 void set(List<Task> tasks) { in set() argument
137 mTasks.addAll(tasks); in set()
660 ArrayList<Task> tasks = mStackTaskList.getTasks();
661 for (int i = tasks.size() - 1; i >= 0; i--) {
662 Task t = tasks.get(i);
686 public void setTasks(Context context, List<Task> tasks, boolean notifyStackChanges) {
689 ArrayMap<Task.TaskKey, Task> newTasksMap = createTaskKeyMapFromList(tasks);
712 taskCount = tasks.size();
714 Task newTask = tasks.get(i);
780 ArrayList<Task> tasks = computeAllTasksList(); in getTaskKeys() local
[all …]
/frameworks/data-binding/extensions/
Dbuild.gradle24 def bundleSupportLibTask = tasks['bundleSupportLib']
37 bundleSupportLibTask.dependsOn tasks['uploadArchives']
39 def configureOut = tasks.create(name: 'configureOut') << {
41 def deployer = tasks['uploadArchives'].repositories.mavenDeployer.repository
46 tasks['uploadArchives'].mustRunAfter configureOut
47 tasks['uploadArchives'].mustRunAfter unzipRepo
56 preparePrebuilds.dependsOn project.tasks.findAll {task -> task.name.startsWith('prebuild')}
/frameworks/support/buildSrc/src/main/groovy/android/support/checkapi/
DUpdateApiTask.groovy21 import org.gradle.api.tasks.Input
22 import org.gradle.api.tasks.InputFile
23 import org.gradle.api.tasks.Optional
24 import org.gradle.api.tasks.TaskAction
25 import org.gradle.api.tasks.OutputFile
26 import org.gradle.api.tasks.WorkResult
DApiXmlConversionTask.groovy19 import org.gradle.api.tasks.JavaExec
20 import org.gradle.api.tasks.InputFile
21 import org.gradle.api.tasks.ParallelizableTask
22 import org.gradle.api.tasks.OutputFile
/frameworks/data-binding/
Dbuild.gradle65 def buildExtensionsTask = project.tasks.create "buildExtensionsTask", Exec
74 def prepareExtensionPrebuilds = project.tasks.create "prepareExtensionPrebuilds", Exec
85 def testTask = project.tasks.create "runTestsOf${it.getName().capitalize()}", Exec
97 dependsOn tasks.findAll { task -> task.name.startsWith('runTestsOf') }
111 runAllTests.dependsOn project.tasks.findAll {task -> task.name.equals('test')}
112 runAllTests.dependsOn project.tasks.findAll {task -> task.name.equals('connectedCheck')}
113 preparePrebuilds.dependsOn project.tasks.findAll {task -> task.name.startsWith('prebuild')}
121 tasks['runTestsOfMultiModuleTestApp'].dependsOn tasks['runTestsOfIndependentLibrary']
146 tasks.create(name : 'createEapdataBindingConfigFile') << {
168 def localizeTask = project.parent.tasks.findByName('localizeDependencies')
[all …]
/frameworks/base/services/tests/servicestests/src/com/android/server/am/
DActivityStackSupervisorTests.java107 TaskRecord... tasks) { in ensureStackPlacement() argument
110 assertEquals(stackTasks.size(), tasks != null ? tasks.length : 0); in ensureStackPlacement()
112 if (tasks == null) { in ensureStackPlacement()
116 for (TaskRecord task : tasks) { in ensureStackPlacement()
/frameworks/base/libs/hwui/thread/
DTaskManager.cpp92 std::vector<TaskWrapper> tasks; in threadLoop() local
95 tasks.swap(mTasks); in threadLoop()
98 for (size_t i = 0; i < tasks.size(); i++) { in threadLoop()
99 const TaskWrapper& task = tasks[i]; in threadLoop()
/frameworks/data-binding/developmentPlugins/localizeMavenPlugin/src/main/groovy/android/databinding/
DMavenDependencyCollectorPlugin.groovy28 def localizeDependenciesTask = parent.tasks.findByName(DEFAULT_TASK_NAME)
30 localizeDependenciesTask = parent.tasks.
38 …project.tasks.create("collectDependenciesOf${it.getName().capitalize()}", MavenDependencyCollector…
45 project.tasks.create("buildLicenseNotice", ExportLicensesTask) {
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/util/
DWifiPermissionsWrapper.java62 List<ActivityManager.RunningTaskInfo> tasks = am.getRunningTasks(1); in getTopPkgName() local
63 if (!tasks.isEmpty()) { in getTopPkgName()
64 return tasks.get(0).topActivity.getPackageName(); in getTopPkgName()
/frameworks/data-binding/compilerCommon/
Dbuild.gradle45 project.tasks.create(name : "generateXmlLexer", type : JavaExec) {
52 project.tasks.create(name : "generateXmlParser", type : JavaExec) {
60 project.tasks.create(name : "generateGrammar", type : JavaExec) {
66 tasks.create(name : 'exportBuildVersions') << {
84 tasks['jar'].dependsOn('exportBuildVersions')
85 tasks['exportBuildVersions'].dependsOn('processResources')
/frameworks/data-binding/gradlePlugin/src/main/java/android/databinding/tool/
DDataBindingExcludeGeneratedTask.java24 import org.gradle.api.tasks.Input;
25 import org.gradle.api.tasks.TaskAction;
26 import org.gradle.api.tasks.bundling.Jar;
47 private org.gradle.api.tasks.bundling.Jar packageTask;
/frameworks/support/buildSrc/src/main/groovy/android/support/jdiff/
DJDiffTask.groovy19 import org.gradle.api.tasks.Input
20 import org.gradle.api.tasks.InputFile
21 import org.gradle.api.tasks.InputFiles
22 import org.gradle.api.tasks.javadoc.Javadoc
23 import org.gradle.api.tasks.Optional
24 import org.gradle.api.tasks.ParallelizableTask
/frameworks/support/buildSrc/
Dinit.gradle19 import com.android.build.gradle.internal.tasks.DeviceProviderInstrumentTestTask
131 def lintTask = project.tasks.create("lint")
141 project.tasks.whenTaskAdded { task ->
142 if (task instanceof org.gradle.api.tasks.testing.Test) {
177 def jarifyTask = project.tasks.create(
193 def collectJacocoAntPackages = project.tasks.create(
221 Upload uploadTask = (Upload) project.tasks.uploadArchives;
250 uploadTask.dependsOn rootProject.tasks.prepareRepo
262 project.tasks.whenTaskAdded { task ->
286 project.tasks.whenTaskAdded { task ->
[all …]
/frameworks/av/services/mediaanalytics/
Dmediametrics.rc5 writepid /dev/cpuset/foreground/tasks /dev/stune/foreground/tasks
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/views/
DTaskStackView.java517 ArrayList<Task> tasks, float curStackScroll, float targetStackScroll, in computeVisibleTaskTransforms() argument
519 int taskCount = tasks.size(); in computeVisibleTaskTransforms()
526 Utilities.matchTaskListSize(tasks, taskTransforms); in computeVisibleTaskTransforms()
534 Task task = tasks.get(i); in computeVisibleTaskTransforms()
596 ArrayList<Task> tasks = mStack.getStackTasks(); in bindVisibleTaskViews() local
597 int[] visibleTaskRange = computeVisibleTaskTransforms(mCurrentTaskTransforms, tasks, in bindVisibleTaskViews()
636 for (int i = tasks.size() - 1; i >= 0; i--) { in bindVisibleTaskViews()
637 Task task = tasks.get(i); in bindVisibleTaskViews()
676 updatePrefetchingTask(tasks, visibleTaskRange[0], visibleTaskRange[1]); in bindVisibleTaskViews()
764 public void getCurrentTaskTransforms(ArrayList<Task> tasks, in getCurrentTaskTransforms() argument
[all …]
/frameworks/av/camera/cameraserver/
Dcameraserver.rc6 writepid /dev/cpuset/camera-daemon/tasks /dev/stune/top-app/tasks
/frameworks/av/media/mediaserver/
Dmediaserver.rc6 writepid /dev/cpuset/foreground/tasks /dev/stune/foreground/tasks
/frameworks/av/media/audioserver/
Daudioserver.rc7 writepid /dev/cpuset/foreground/tasks /dev/stune/foreground/tasks
/frameworks/data-binding/compilationTests/
Dbuild.gradle16tasks['test'].systemProperties['useReleaseVersion'] = dataBindingConfig.inReleaseBuild ? 'true' : …
17tasks['test'].systemProperties['addRemoteRepos'] = dataBindingConfig.addRemoteRepos ? 'true' : 'fa…
/frameworks/data-binding/extensions/baseAdapters/
Dbuild.gradle61 //create jar tasks
70 def javadocTask = project.tasks.create(name: "javadoc${suffix}", type: Javadoc) {
76 def javadocJarTask = project.tasks.create(name: "javadocJar${suffix}", type: Jar) {
82 def sourcesJarTask = project.tasks.create(name: "sourceJar${suffix}", type: Jar) {

123