Home
last modified time | relevance | path

Searched full:task (Results 1 – 25 of 14837) sorted by relevance

12345678910>>...594

/aosp_15_r20/external/chromium-trace/catapult/systrace/systrace/test_data/
H A Datrace_procfs_dump1 proc/1/task/1
2 /proc/10/task/10
3 /proc/100/task/100
4 /proc/101/task/101
5 /proc/102/task/102
6 /proc/103/task/103
7 /proc/104/task/104
8 /proc/105/task/105
9 /proc/106/task/106
10 /proc/1068/task/1068
[all …]
/aosp_15_r20/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
H A DTaskTests.java49 import static com.android.server.wm.Task.FLAG_FORCE_HIDDEN_FOR_TASK_ORG;
121 * Test class for {@link Task}.
134 private static final String TASK_TAG = "task";
146 final Task rootTask = createTask(mDisplayContent); in testRemoveContainer()
147 final Task task = createTaskInRootTask(rootTask, 0 /* userId */); in testRemoveContainer() local
148 final ActivityRecord activity = createActivityRecord(mDisplayContent, task); in testRemoveContainer()
150 task.remove(false /* withTransition */, "testRemoveContainer"); in testRemoveContainer()
151 // There is still an activity to be destroyed, so the task is not removed immediately. in testRemoveContainer()
152 assertNotNull(task.getParent()); in testRemoveContainer()
154 assertTrue(task.hasChild()); in testRemoveContainer()
[all …]
H A DRootTaskTests.java48 import static com.android.server.wm.Task.FLAG_FORCE_HIDDEN_FOR_TASK_ORG;
49 import static com.android.server.wm.Task.REPARENT_KEEP_ROOT_TASK_AT_FRONT;
50 import static com.android.server.wm.Task.REPARENT_MOVE_ROOT_TASK_TO_FRONT;
92 * Tests for the root {@link Task} behavior.
111 final Task rootTask = createTask(mDisplayContent); in testRootTaskPositionChildAt()
112 final Task task1 = createTaskInRootTask(rootTask, 0 /* userId */); in testRootTaskPositionChildAt()
113 final Task task2 = createTaskInRootTask(rootTask, 1 /* userId */); in testRootTaskPositionChildAt()
115 // Current user root task should be moved to top. in testRootTaskPositionChildAt()
125 // Non-leaf task should be moved to top regardless of the user id. in testRootTaskPositionChildAt()
161 final Task rootTask = createTask(mDisplayContent); in testRootTaskRemoveImmediately()
[all …]
/aosp_15_r20/external/google-cloud-java/java-tasks/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/
H A DCreateTaskRequest.java131 private com.google.cloud.tasks.v2.Task task_;
136 * Required. The task to add.
137 * Task names have the following format:
139 * The user can optionally specify a task [name][google.cloud.tasks.v2.Task.name]. If a
141 * unique task id, which will be set in the task returned in the
142 * [response][google.cloud.tasks.v2.Task.name].
143 * If [schedule_time][google.cloud.tasks.v2.Task.schedule_time] is not set or is in the
145 * Task De-duplication:
146 * Explicitly specifying a task ID enables task de-duplication. If
147 * a task's ID is identical to that of an existing task or a task
[all …]
H A DCreateTaskRequestOrBuilder.java63 * Required. The task to add.
64 * Task names have the following format:
66 * The user can optionally specify a task [name][google.cloud.tasks.v2.Task.name]. If a
68 * unique task id, which will be set in the task returned in the
69 * [response][google.cloud.tasks.v2.Task.name].
70 * If [schedule_time][google.cloud.tasks.v2.Task.schedule_time] is not set or is in the
72 * Task De-duplication:
73 * Explicitly specifying a task ID enables task de-duplication. If
74 * a task's ID is identical to that of an existing task or a task
77 * If the task's queue was created using Cloud Tasks, then another task with
[all …]
/aosp_15_r20/external/google-cloud-java/java-tasks/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/
H A DCreateTaskRequest.java132 private com.google.cloud.tasks.v2beta2.Task task_;
137 * Required. The task to add.
138 * Task names have the following format:
140 * The user can optionally specify a task
141 * [name][google.cloud.tasks.v2beta2.Task.name]. If a name is not specified
142 * then the system will generate a random unique task id, which will be set in
143 * the task returned in the [response][google.cloud.tasks.v2beta2.Task.name].
144 * If [schedule_time][google.cloud.tasks.v2beta2.Task.schedule_time] is not
146 * Task De-duplication:
147 * Explicitly specifying a task ID enables task de-duplication. If
[all …]
H A DCreateTaskRequestOrBuilder.java63 * Required. The task to add.
64 * Task names have the following format:
66 * The user can optionally specify a task
67 * [name][google.cloud.tasks.v2beta2.Task.name]. If a name is not specified
68 * then the system will generate a random unique task id, which will be set in
69 * the task returned in the [response][google.cloud.tasks.v2beta2.Task.name].
70 * If [schedule_time][google.cloud.tasks.v2beta2.Task.schedule_time] is not
72 * Task De-duplication:
73 * Explicitly specifying a task ID enables task de-duplication. If
74 * a task's ID is identical to that of an existing task or a task
[all …]
/aosp_15_r20/external/google-cloud-java/java-tasks/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/
H A DCreateTaskRequest.java131 private com.google.cloud.tasks.v2beta3.Task task_;
136 * Required. The task to add.
137 * Task names have the following format:
139 * The user can optionally specify a task [name][google.cloud.tasks.v2beta3.Task.name]. If a
141 * unique task id, which will be set in the task returned in the
142 * [response][google.cloud.tasks.v2beta3.Task.name].
143 * If [schedule_time][google.cloud.tasks.v2beta3.Task.schedule_time] is not set or is in the
145 * Task De-duplication:
146 * Explicitly specifying a task ID enables task de-duplication. If
147 * a task's ID is identical to that of an existing task or a task
[all …]
H A DCreateTaskRequestOrBuilder.java63 * Required. The task to add.
64 * Task names have the following format:
66 * The user can optionally specify a task [name][google.cloud.tasks.v2beta3.Task.name]. If a
68 * unique task id, which will be set in the task returned in the
69 * [response][google.cloud.tasks.v2beta3.Task.name].
70 * If [schedule_time][google.cloud.tasks.v2beta3.Task.schedule_time] is not set or is in the
72 * Task De-duplication:
73 * Explicitly specifying a task ID enables task de-duplication. If
74 * a task's ID is identical to that of an existing task or a task
77 * If the task's queue was created using Cloud Tasks, then another task with
[all …]
/aosp_15_r20/frameworks/base/services/core/java/com/android/server/wm/
H A DRecentTasks.java105 * The trimming logic can be boiled down to the following. For recent task list with a number of
108 * sub-range are presented to the user, based on the device type, last task active time, or other
109 * task state. Tasks that are not in the visible range and are not returnable from the SystemUI
128 // the task list will be unfrozen and committed (the current top task will be moved to the
133 private static final Comparator<Task> TASK_ID_COMPARATOR =
147 * Called when a task is added to the recent tasks list.
149 void onRecentTaskAdded(Task task); in onRecentTaskAdded() argument
152 * Called when a task is removed from the recent tasks list.
154 void onRecentTaskRemoved(Task task, boolean wasTrimmed, boolean killProcess); in onRecentTaskRemoved() argument
175 * The AtomicBoolean per user will be locked when reading persisted task from storage.
[all …]
H A DTaskOrganizerController.java98 * lifecycle order since we may be updating the visibility of task surface controls in a pending
99 * transaction before they are presented to the task org.
112 SurfaceControl prepareLeash(Task task, String reason) { in prepareLeash() argument
113 return new SurfaceControl(task.getSurfaceControl(), reason); in prepareLeash()
116 void onTaskAppeared(Task task) { in onTaskAppeared() argument
117 ProtoLog.v(WM_DEBUG_WINDOW_ORGANIZER, "Task appeared taskId=%d", task.mTaskId); in onTaskAppeared()
118 final RunningTaskInfo taskInfo = task.getTaskInfo(); in onTaskAppeared()
120 mTaskOrganizer.onTaskAppeared(taskInfo, prepareLeash(task, in onTaskAppeared()
127 void onTaskVanished(Task task) { in onTaskVanished() argument
128 ProtoLog.v(WM_DEBUG_WINDOW_ORGANIZER, "Task vanished taskId=%d", task.mTaskId); in onTaskVanished()
[all …]
H A DTaskDisplayArea.java76 * The children can be either {@link Task} or {@link TaskDisplayArea}.
94 * currently all task animation backgrounds are the same color.
100 private Task mRootHomeTask;
101 private Task mRootPinnedTask;
108 private ArrayList<Task> mTmpTasks = new ArrayList<>();
116 Task task; field in TaskDisplayArea.LaunchRootTaskDef
128 * A launch root task for activity launching with {@link FLAG_ACTIVITY_LAUNCH_ADJACENT} flag.
131 Task mLaunchAdjacentFlagRootTask;
134 * A focusable root task that is purposely to be positioned at the top. Although the root
135 * task may not have the topmost index, it is used as a preferred candidate to prevent being
[all …]
H A DLockTaskController.java79 * Helper class that deals with all things related to task locking. This includes the screen pinning
133 /** Can enter app pinning with user approval. Can never start over existing lockTask task. */
135 /** Starts in LOCK_TASK_MODE_LOCKED automatically. Can start over existing lockTask task. */
137 /** Can enter lockTask without user approval. Can start over existing lockTask task. */
140 * lockTask task. */
164 * The first task in the list, which started the current LockTask session, is called the root
165 * task. It coincides with the Home task in a typical multi-app kiosk deployment. When there are
166 * more than one locked tasks, the root task can't be finished. Nor can it be moved to the back
167 * of the stack by {@link Task#moveTaskToBack(Task)};
169 * Calling {@link Activity#stopLockTask()} on the root task will finish all tasks but itself in
[all …]
/aosp_15_r20/external/libwebsockets/lib/misc/threadpool/
H A Dthreadpool.c74 pthread_mutex_t lock; /* part of task wake_idle */
75 struct lws_threadpool_task *task; member
125 __lws_threadpool_task_dump(struct lws_threadpool_task *task, char *buf, int len) in __lws_threadpool_task_dump() argument
131 if (!task->acquired) { in __lws_threadpool_task_dump()
133 "task: %s, QUEUED queued: %dms", in __lws_threadpool_task_dump()
134 task->name, ms_delta(now, task->created)); in __lws_threadpool_task_dump()
139 if (task->acc_running) in __lws_threadpool_task_dump()
140 runms = (int)task->acc_running; in __lws_threadpool_task_dump()
142 if (task->acc_syncing) in __lws_threadpool_task_dump()
143 syncms = (int)task->acc_syncing; in __lws_threadpool_task_dump()
[all …]
/aosp_15_r20/external/python/google-api-python-client/docs/dyn/
Dtasks_v1.tasks.html79 … specified task list. The affected tasks will be marked as 'hidden' and no longer be returned by d…
84 <code><a href="#delete">delete(tasklist, task, x__xgafv=None)</a></code></p>
85 <p class="firstline">Deletes the specified task from the task list.</p>
87 <code><a href="#get">get(tasklist, task, x__xgafv=None)</a></code></p>
88 <p class="firstline">Returns the specified task.</p>
91 <p class="firstline">Creates a new task on the specified task list.</p>
94 <p class="firstline">Returns all tasks in the specified task list.</p>
99 …<code><a href="#move">move(tasklist, task, parent=None, previous=None, x__xgafv=None)</a></code></…
100 …="firstline">Moves the specified task to another position in the task list. This can include putti…
102 <code><a href="#patch">patch(tasklist, task, body=None, x__xgafv=None)</a></code></p>
[all …]
Dcloudtasks_v2beta2.projects.locations.queues.tasks.html79task. The worker, that is, the entity that leased this task must call this method to indicate that…
82 …cel a pull task's lease. The worker can use this method to cancel a task's lease by setting its sc…
88task and adds it to a queue. Tasks cannot be updated after creation; there is no UpdateTask comman…
91 <p class="firstline">Deletes a task. A task can be deleted if it is scheduled or dispatched. A task
94 <p class="firstline">Gets a task.</p>
97task via AcknowledgeTask after they have performed the work associated with the task. The payload …
106 …pull task. The worker can use this method to extend the lease by a new duration, starting from now…
109task to run now. When this method is called, Cloud Tasks will dispatch the task, even if the task
113task. The worker, that is, the entity that leased this task must call this method to indicate that…
116 …name: string, Required. The task name. For example: `projects/PROJECT_ID/locations/LOCATION_ID/que…
[all …]
/aosp_15_r20/libcore/jsr166-tests/src/test/java/jsr166/
H A DFutureTaskTest.java256 * isDone is true when a task completes
259 PublicFutureTask task = new PublicFutureTask(new NoOpCallable()); in testIsDone() local
260 assertFalse(task.isDone()); in testIsDone()
261 task.run(); in testIsDone()
262 assertTrue(task.isDone()); in testIsDone()
263 checkCompletedNormally(task, Boolean.TRUE); in testIsDone()
264 assertEquals(1, task.runCount()); in testIsDone()
268 * runAndReset of a non-cancelled task succeeds
271 PublicFutureTask task = new PublicFutureTask(new NoOpCallable()); in testRunAndReset() local
273 assertTrue(task.runAndReset()); in testRunAndReset()
[all …]
/aosp_15_r20/device/google/contexthub/firmware/os/core/
Dseos.c52 struct Task data[MAX_TASKS];
60 static struct Task *mCurrentTask;
61 static struct Task *mSystemTask;
69 struct Task *osGetCurrentTask() in osGetCurrentTask()
74 struct Task *osSetCurrentTask(struct Task *task) in osSetCurrentTask() argument
76 struct Task *old = mCurrentTask; in osSetCurrentTask()
79 if (atomicCmpXchgPtr((uintptr_t*)&mCurrentTask, (uintptr_t)old, (uintptr_t)task)) { in osSetCurrentTask()
88 static inline bool osTaskTestFlags(struct Task *task, uint32_t mask) in osTaskTestFlags() argument
90 return (atomicReadByte(&task->flags) & mask) != 0; in osTaskTestFlags()
95 struct Task *task = osTaskFindByTid(tid); in osAppIsChre() local
[all …]
/aosp_15_r20/frameworks/base/libs/WindowManager/Shell/tests/unittest/src/com/android/wm/shell/desktopmode/
H A DDesktopImmersiveControllerTest.kt115 val task = createFreeformTask() in <lambda>() constant
120 displayId = task.displayId, in <lambda>()
121 taskId = task.taskId, in <lambda>()
125 controller.moveTaskToImmersive(task) in <lambda>()
129 changes = listOf(createChange(task)) in <lambda>()
135 assertThat(desktopRepository.isTaskInFullImmersiveState(task.taskId)).isTrue() in <lambda>()
141 val task = createFreeformTask() in <lambda>() constant
146 displayId = task.displayId, in <lambda>()
147 taskId = task.taskId, in <lambda>()
150 assertThat(desktopRepository.removeBoundsBeforeFullImmersive(task.taskId)).isNull() in <lambda>()
[all …]
/aosp_15_r20/libcore/ojluni/src/test/java/util/concurrent/tck/
H A DFutureTaskTest.java293 * isDone is true when a task completes
297 PublicFutureTask task = new PublicFutureTask(new NoOpCallable()); in testIsDone() local
298 assertFalse(task.isDone()); in testIsDone()
299 task.run(); in testIsDone()
300 assertTrue(task.isDone()); in testIsDone()
301 checkCompletedNormally(task, Boolean.TRUE); in testIsDone()
302 assertEquals(1, task.runCount()); in testIsDone()
306 * runAndReset of a non-cancelled task succeeds
310 PublicFutureTask task = new PublicFutureTask(new NoOpCallable()); in testRunAndReset() local
312 assertTrue(task.runAndReset()); in testRunAndReset()
[all …]
/aosp_15_r20/external/pigweed/pw_async2/
H A Ddispatcher_base.cc34 void Task::RemoveAllWakersLocked() { in RemoveAllWakersLocked()
43 void Task::AddWakerLocked(Waker& waker) { in AddWakerLocked()
49 void Task::RemoveWakerLocked(Waker& waker) { in RemoveWakerLocked()
63 bool Task::IsRegistered() const { in IsRegistered()
65 return state_ != Task::State::kUnposted; in IsRegistered()
68 void Task::Deregister() { in Deregister()
71 // Fast path: the task is not running. in Deregister()
76 // The task was running, so we have to wait for the task to stop being in Deregister()
90 bool Task::TryDeregister() { in TryDeregister()
92 case Task::State::kUnposted: in TryDeregister()
[all …]
/aosp_15_r20/external/cronet/base/task/thread_pool/
H A Dsequence_unittest.cc5 #include "base/task/thread_pool/sequence.h"
28 Task CreateTask(MockTask* mock_task, TimeTicks now = TimeTicks::Now()) { in CreateTask()
29 return Task(FROM_HERE, BindOnce(&MockTask::Run, Unretained(mock_task)), now, in CreateTask()
33 Task CreateDelayedTask(MockTask* mock_task, in CreateDelayedTask()
36 return Task(FROM_HERE, BindOnce(&MockTask::Run, Unretained(mock_task)), now, in CreateDelayedTask()
40 void ExpectMockTask(MockTask* mock_task, Task* task) { in ExpectMockTask() argument
42 std::move(task->task).Run(); in ExpectMockTask()
60 // Push task A in the sequence. PushImmediateTask() should return true since in TEST()
61 // it's the first task. in TEST()
65 // Push task B, C and D in the sequence. PushImmediateTask() should return in TEST()
[all …]
/aosp_15_r20/external/deqp/android/cts/main/vk-main-2023-03-01/
H A Dycbcr.txt64 dEQP-VK.ycbcr.query.levels.task.b10x6g10x6r10x6g10x6_422_unorm_4pack16
65 dEQP-VK.ycbcr.query.levels.task.b12x4g12x4r12x4g12x4_422_unorm_4pack16
66 dEQP-VK.ycbcr.query.levels.task.b16g16r16g16_422_unorm
67 dEQP-VK.ycbcr.query.levels.task.b8g8r8g8_422_unorm
68 dEQP-VK.ycbcr.query.levels.task.g10x6_b10x6_r10x6_3plane_420_unorm_3pack16
69 dEQP-VK.ycbcr.query.levels.task.g10x6_b10x6_r10x6_3plane_420_unorm_3pack16_disjoint
70 dEQP-VK.ycbcr.query.levels.task.g10x6_b10x6_r10x6_3plane_422_unorm_3pack16
71 dEQP-VK.ycbcr.query.levels.task.g10x6_b10x6_r10x6_3plane_422_unorm_3pack16_disjoint
72 dEQP-VK.ycbcr.query.levels.task.g10x6_b10x6_r10x6_3plane_444_unorm_3pack16
73 dEQP-VK.ycbcr.query.levels.task.g10x6_b10x6_r10x6_3plane_444_unorm_3pack16_disjoint
[all …]
/aosp_15_r20/external/tensorflow/tensorflow/compiler/mlir/tfrt/python_tests/regression_tests/
H A Dlarge.disabled.mlir2 …%0 = "tf.RightShift"(%V__0, %V__0) { device = "/job:localhost/replica:0/task:0/device:CPU:0" } : (…
3 …%1 = "tf.Ceil"(%V__1) { device = "/job:localhost/replica:0/task:0/device:CPU:0" } : (tensor<?x?x?x…
4 …%2 = "tf.Shape"(%1) { device = "/job:localhost/replica:0/task:0/device:CPU:0" } : (tensor<?x?x?x?x…
5 … { value = dense<[0]> : tensor<1xi32>, device = "/job:localhost/replica:0/task:0/device:CPU:0" } :…
6 …%4 = "tf.Max"(%V__2, %dims4) { keep_dims = true, device = "/job:localhost/replica:0/task:0/device:…
7 … { value = dense<[2]> : tensor<1xi32>, device = "/job:localhost/replica:0/task:0/device:CPU:0" } :…
8 …%5 = "tf.Min"(%4, %dims5) { keep_dims = true, device = "/job:localhost/replica:0/task:0/device:CPU…
9 …value = dense<[0, 3]> : tensor<2xi32>, device = "/job:localhost/replica:0/task:0/device:CPU:0" } :…
10 …%6 = "tf.Prod"(%5, %dims6) { keep_dims = true, device = "/job:localhost/replica:0/task:0/device:CP…
11 …value = dense<[0, 1]> : tensor<2xi32>, device = "/job:localhost/replica:0/task:0/device:CPU:0" } :…
[all …]
/aosp_15_r20/prebuilts/go/linux-x86/src/internal/trace/testdata/tests/
Dgo122-annotations-stress.test18 UserRegionBegin dt=183 task=8 name_string=33 stack=26
19 UserLog dt=26 task=8 key_string=24 value_string=49 stack=27
20 UserRegionEnd dt=8 task=8 name_string=33 stack=28
23 UserRegionBegin dt=40 task=8 name_string=35 stack=26
24 UserLog dt=9 task=8 key_string=24 value_string=50 stack=27
25 UserRegionEnd dt=2 task=8 name_string=35 stack=28
34 UserTaskEnd dt=35 task=9 stack=36
35 UserRegionEnd dt=16 task=8 name_string=31 stack=28
38 UserTaskEnd dt=14 task=8 stack=54
39 UserLog dt=26 task=3 key_string=24 value_string=51 stack=55
[all …]

12345678910>>...594