Home
last modified time | relevance | path

Searched defs:task (Results 1 – 25 of 125) sorted by relevance

12345

/frameworks/base/services/robotests/backup/src/com/android/server/backup/keyvalue/
DKeyValueBackupTaskTest.java263 KeyValueBackupTask task = createKeyValueBackupTask(transportMock, true); in testRunTask_whenQueueEmpty_updatesBookkeeping() local
277 KeyValueBackupTask task = createKeyValueBackupTask(transportMock, true); in testRunTask_whenQueueEmpty_releasesWakeLock() local
288 KeyValueBackupTask task = createKeyValueBackupTask(transportMock, true); in testRunTask_whenQueueEmpty_doesNotProduceData() local
300 KeyValueBackupTask task = createKeyValueBackupTask(transportMock, true); in testRunTask_whenQueueEmpty_doesNotCallTransport() local
313 KeyValueBackupTask task = createKeyValueBackupTask(transportMock, true); in testRunTask_whenQueueEmpty_notifiesCorrectly() local
325 KeyValueBackupTask task = createKeyValueBackupTask(transportMock, true); in testRunTask_whenQueueEmpty_doesNotChangeStateFiles() local
344 KeyValueBackupTask task = createKeyValueBackupTask(transportMock, true); in testRunTask_whenQueueEmptyOnFirstBackup_doesNotUpdateCurrentToken() local
357 KeyValueBackupTask task = createKeyValueBackupTask(transportMock, PACKAGE_1); in testRunTask_whenOnePackageAndTransportUnavailable() local
370 KeyValueBackupTask task = createKeyValueBackupTask(transportMock, PACKAGE_1); in testRunTask_whenOnePackage_logsBackupStartEvent() local
381 KeyValueBackupTask task = createKeyValueBackupTask(transportMock, PACKAGE_1); in testRunTask_whenOnePackage_releasesWakeLock() local
[all …]
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
DTaskTests.java46 final WindowTestUtils.TestTask task = WindowTestUtils.createTestTask(stackController1); in testRemoveContainer() local
60 final WindowTestUtils.TestTask task = WindowTestUtils.createTestTask(stackController1); in testRemoveContainer_deferRemoval() local
82 final WindowTestUtils.TestTask task = WindowTestUtils.createTestTask(stackController1); in testReparent() local
113 final WindowTestUtils.TestTask task = WindowTestUtils.createTestTask(stack1); in testReparent_BetweenDisplays() local
132 final WindowTestUtils.TestTask task = WindowTestUtils.createTestTask(stack1); in testBounds() local
DTaskRecordTests.java119 final TaskRecord task = createTaskRecord(1); in testCopyBaseIntentForTaskInfo() local
141 final TaskRecord task = createTaskRecord(1); in testReturnsToHomeStack() local
183 TaskRecord task = new TaskBuilder(mSupervisor).setStack(stack).build(); in testFitWithinBounds() local
221 TaskRecord task = stack.getChildAt(0); in testBoundsOnModeChangeFreeformToFullscreen() local
276 TaskRecord task = stack.getChildAt(0); in testFullscreenBoundsForcedOrientation() local
341 TaskRecord task = stack.getChildAt(0); in testIgnoresForcedOrientationWhenParentHandles() local
359 final TaskRecord task = new TaskBuilder(mSupervisor).build(); in testComputeConfigResourceOverrides() local
426 final TaskRecord task = TaskRecord.create(mService, 1 /* taskId */, info, intent, in testTaskIntentActivityAlias() local
452 TaskRecord task = new TaskBuilder(mSupervisor).setStack(stack).build(); in testStackBoundsConfiguration() local
DLaunchParamsControllerTests.java281 final TaskRecord task = new TaskBuilder(mService.mStackSupervisor).build(); in testLayoutTaskPreferredDisplayChange() local
301 final TaskRecord task = new TaskBuilder(mService.mStackSupervisor).build(); in testLayoutTaskWindowingModeChange() local
326 final TaskRecord task = new TaskBuilder(mService.mStackSupervisor).build(); in testLayoutTaskBoundsChangeFreeformWindow() local
349 final TaskRecord task = new TaskBuilder(mService.mStackSupervisor).build(); in testLayoutTaskBoundsChangeFixedWindow() local
372 public int onCalculate(TaskRecord task, WindowLayout layout, ActivityRecord activity, in onCalculate()
422 void saveTask(TaskRecord task) { in saveTask()
436 void getLaunchParams(TaskRecord task, ActivityRecord activity, LaunchParams params) { in getLaunchParams()
DTaskStackTests.java108 final Task task = createTaskInStack(stack, 0 /* userId */); in testStackRemoveImmediately() local
120 final WindowTestUtils.TestTask task = WindowTestUtils.createTestTask(stack); in testRemoveContainer() local
136 final WindowTestUtils.TestTask task = WindowTestUtils.createTestTask(stack); in testRemoveContainer_deferRemoval() local
/frameworks/base/services/core/java/com/android/server/wm/
DLockTaskController.java224 boolean isTaskLocked(TaskRecord task) { in isTaskLocked()
231 private boolean isRootTask(TaskRecord task) { in isRootTask()
240 final TaskRecord task = activity.getTaskRecord(); in activityBlockedFromFinish() local
257 boolean canMoveTaskToBack(TaskRecord task) { in canMoveTaskToBack()
269 boolean isTaskWhitelisted(TaskRecord task) { in isTaskWhitelisted()
285 boolean isLockTaskModeViolation(TaskRecord task) { in isLockTaskModeViolation()
293 boolean isLockTaskModeViolation(TaskRecord task, boolean isNewClearTask) { in isLockTaskModeViolation()
311 private boolean isLockTaskModeViolationInternal(TaskRecord task, boolean isNewClearTask) { in isLockTaskModeViolationInternal()
342 private boolean isEmergencyCallTask(TaskRecord task) { in isEmergencyCallTask()
387 void stopLockTaskMode(@Nullable TaskRecord task, boolean isSystemCaller, int callingUid) { in stopLockTaskMode()
[all …]
DRecentTasks.java137 void onRecentTaskAdded(TaskRecord task); in onRecentTaskAdded()
142 void onRecentTaskRemoved(TaskRecord task, boolean wasTrimmed, boolean killProcess); in onRecentTaskRemoved()
426 private void notifyTaskAdded(TaskRecord task) { in notifyTaskAdded()
432 private void notifyTaskRemoved(TaskRecord task, boolean wasTrimmed, boolean killProcess) { in notifyTaskRemoved()
501 void notifyTaskPersisterLocked(TaskRecord task, boolean flush) { in notifyTaskPersisterLocked()
521 final TaskRecord task = mTasks.get(i); in syncPersistentTaskIdsLocked() local
535 private static boolean shouldPersistTaskLocked(TaskRecord task) { in shouldPersistTaskLocked()
706 final TaskRecord task = mTasks.get(i); in cleanupLocked() local
802 private boolean canAddTaskWithoutTrim(TaskRecord task) { in canAddTaskWithoutTrim()
963 final TaskRecord task = mTasks.get(i); in getPersistableTaskIds() local
[all …]
DTaskSnapshotController.java173 final Task task = tasks.valueAt(i); in snapshotTasks() local
228 @Nullable private AppWindowToken findAppTokenForSnapshot(Task task) { in findAppTokenForSnapshot()
249 SurfaceControl.ScreenshotGraphicBuffer createTaskSnapshot(@NonNull Task task, in createTaskSnapshot()
270 @Nullable private TaskSnapshot snapshotTask(Task task) { in snapshotTask()
348 final Task task = atoken.getTask(); in getClosingTasks() local
359 int getSnapshotMode(Task task) { in getSnapshotMode()
374 private TaskSnapshot drawAppThemeSnapshot(Task task) { in drawAppThemeSnapshot()
480 private int getSystemUiVisibility(Task task) { in getSystemUiVisibility()
DTaskScreenshotAnimatable.java40 public static TaskScreenshotAnimatable create(Task task) { in create()
44 private static SurfaceControl.ScreenshotGraphicBuffer getBufferFromTask(Task task) { in getBufferFromTask()
54 private TaskScreenshotAnimatable(Task task, in TaskScreenshotAnimatable()
DActivityStack.java1088 final TaskRecord task = mTaskHistory.get(taskNdx); in topRunningNonOverlayTaskActivity() local
1102 final TaskRecord task = mTaskHistory.get(taskNdx); in topRunningNonDelayedActivityLocked() local
1125 TaskRecord task = mTaskHistory.get(taskNdx); in topRunningActivityLocked() local
1168 final TaskRecord task = mTaskHistory.get(taskNdx); in taskForIdLocked() local
1185 final TaskRecord task = r.getTaskRecord(); in isInStackLocked() local
1195 boolean isInStackLocked(TaskRecord task) { in isInStackLocked()
1226 final void removeActivitiesFromLRUListLocked(TaskRecord task) { in removeActivitiesFromLRUListLocked()
1260 void moveToFront(String reason, TaskRecord task) { in moveToFront()
1302 void moveToBack(String reason, TaskRecord task) { in moveToBack()
1353 final TaskRecord task = mTaskHistory.get(taskNdx); in findTaskLocked() local
[all …]
/frameworks/base/packages/SystemUI/legacy/recents/src/com/android/systemui/recents/events/ui/dragndrop/
DDragStartEvent.java30 public final Task task; field in DragStartEvent
35 public DragStartEvent(Task task, TaskView taskView, Point tlOffset) { in DragStartEvent()
39 public DragStartEvent(Task task, TaskView taskView, Point tlOffset, in DragStartEvent()
DDragDropTargetChangedEvent.java29 public final Task task; field in DragDropTargetChangedEvent
32 public DragDropTargetChangedEvent(Task task, DropTarget dropTarget) { in DragDropTargetChangedEvent()
DDragEndEvent.java29 public final Task task; field in DragEndEvent
33 public DragEndEvent(Task task, TaskView taskView, DropTarget dropTarget) { in DragEndEvent()
DDragStartInitializeDropTargetsEvent.java30 public final Task task; field in DragStartInitializeDropTargetsEvent
34 public DragStartInitializeDropTargetsEvent(Task task, TaskView taskView, in DragStartInitializeDropTargetsEvent()
DDragEndCancelledEvent.java30 public final Task task; field in DragEndCancelledEvent
33 public DragEndCancelledEvent(TaskStack stack, Task task, TaskView taskView) { in DragEndCancelledEvent()
/frameworks/base/packages/SystemUI/legacy/recents/src/com/android/systemui/recents/events/ui/
DDeleteTaskDataEvent.java28 public final Task task; field in DeleteTaskDataEvent
30 public DeleteTaskDataEvent(Task task) { in DeleteTaskDataEvent()
DShowApplicationInfoEvent.java27 public final Task task; field in ShowApplicationInfoEvent
29 public ShowApplicationInfoEvent(Task task) { in ShowApplicationInfoEvent()
DTaskViewDismissedEvent.java29 public final Task task; field in TaskViewDismissedEvent
33 public TaskViewDismissedEvent(Task task, TaskView taskView, AnimationProps animation) { in TaskViewDismissedEvent()
/frameworks/base/packages/SystemUI/legacy/recents/src/com/android/systemui/recents/events/activity/
DLaunchTaskEvent.java34 public final Task task; field in LaunchTaskEvent
40 public LaunchTaskEvent(TaskView taskView, Task task, Rect targetTaskBounds, in LaunchTaskEvent()
46 public LaunchTaskEvent(TaskView taskView, Task task, Rect targetTaskBounds, in LaunchTaskEvent()
/frameworks/base/services/backup/java/com/android/server/backup/internal/
DBackupHandler.java225 BackupRestoreTask task = (BackupRestoreTask) msg.obj; in handleMessage() local
251 PerformAdbBackupTask task = new PerformAdbBackupTask(backupManagerService, in handleMessage() local
262 PerformFullTransportBackupTask task = (PerformFullTransportBackupTask) msg.obj; in handleMessage() local
271 PerformUnifiedRestoreTask task = in handleMessage() local
308 PerformAdbRestoreTask task = new PerformAdbRestoreTask(backupManagerService, in handleMessage() local
318 Runnable task = in handleMessage() local
/frameworks/base/core/java/com/android/internal/widget/
DLockPatternChecker.java69 AsyncTask<Void, Void, byte[]> task = new AsyncTask<Void, Void, byte[]>() { in verifyPattern() local
111 AsyncTask<Void, Void, Boolean> task = new AsyncTask<Void, Void, Boolean>() { in checkPattern() local
181 AsyncTask<Void, Void, byte[]> task = new AsyncTask<Void, Void, byte[]>() { in verifyPassword() local
218 AsyncTask<Void, Void, byte[]> task = new AsyncTask<Void, Void, byte[]>() { in verifyTiedProfileChallenge() local
271 AsyncTask<Void, Void, Boolean> task = new AsyncTask<Void, Void, Boolean>() { in checkPassword() local
/frameworks/native/services/vr/performanced/
Dperformance_service.cpp115 Task task(getpid()); in PerformanceService() local
143 const pdx::Message& sender, const Task& task) { in PerformanceService()
248 Task task(task_id); in OnSetSchedulerPolicy() local
326 Task task(task_id); in OnSetCpuPartition() local
352 Task task(task_id); in OnSetSchedulerClass() local
390 Task task(task_id); in OnGetCpuPartition() local
/frameworks/base/services/tests/servicestests/src/com/android/server/storage/
DDiskStatsLoggingServiceTest.java95 LogRunnable task = new LogRunnable(); in testEmptyLog() local
137 LogRunnable task = new LogRunnable(); in testPopulatedLogTask() local
166 LogRunnable task = new LogRunnable(); in testDontCrashOnPackageStatsTimeout() local
/frameworks/base/services/core/jni/BroadcastRadio/
DNativeCallbackThread.cpp52 Task task; in threadLoop() local
84 void NativeCallbackThread::enqueue(const Task &task) { in enqueue()
/frameworks/base/telephony/java/android/telephony/
DVisualVoicemailService.java198 public abstract void onCellServiceConnected(VisualVoicemailTask task, in onCellServiceConnected()
212 public abstract void onSmsReceived(VisualVoicemailTask task, in onSmsReceived()
223 public abstract void onSimRemoved(VisualVoicemailTask task, in onSimRemoved()
231 public abstract void onStopped(VisualVoicemailTask task); in onStopped()

12345