Home
last modified time | relevance | path

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

123456789

/frameworks/base/services/robotests/backup/src/com/android/server/backup/keyvalue/
DKeyValueBackupTaskTest.java275 KeyValueBackupTask task = createKeyValueBackupTask(transportMock, true); in testRunTask_whenQueueEmpty_updatesBookkeeping() local
289 KeyValueBackupTask task = createKeyValueBackupTask(transportMock, true); in testRunTask_whenQueueEmpty_releasesWakeLock() local
300 KeyValueBackupTask task = createKeyValueBackupTask(transportMock, true); in testRunTask_whenQueueEmpty_doesNotProduceData() local
312 KeyValueBackupTask task = createKeyValueBackupTask(transportMock, true); in testRunTask_whenQueueEmpty_doesNotCallTransport() local
325 KeyValueBackupTask task = createKeyValueBackupTask(transportMock, true); in testRunTask_whenQueueEmpty_notifiesCorrectly() local
337 KeyValueBackupTask task = createKeyValueBackupTask(transportMock, true); in testRunTask_whenQueueEmpty_doesNotChangeStateFiles() local
354 KeyValueBackupTask task = createKeyValueBackupTask(transportMock, true); in testRunTask_whenQueueEmptyOnFirstBackup_doesNotUpdateCurrentToken() local
367 KeyValueBackupTask task = createKeyValueBackupTask(transportMock, PACKAGE_1); in testRunTask_whenOnePackageAndTransportUnavailable() local
380 KeyValueBackupTask task = createKeyValueBackupTask(transportMock, PACKAGE_1); in testRunTask_whenOnePackage_logsBackupStartEvent() local
391 KeyValueBackupTask task = createKeyValueBackupTask(transportMock, PACKAGE_1); in testRunTask_whenOnePackage_releasesWakeLock() local
[all …]
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
DTaskTests.java129 final Task task = createTaskInRootTask(rootTask, 0 /* userId */); in testRemoveContainer() local
172 final Task task = createTaskInRootTask(rootTask, 0 /* userId */); in testRemoveContainer_deferRemoval() local
193 final Task task = createTaskInRootTask(taskController1, 0 /* userId */); in testReparent() local
223 final Task task = createTaskInRootTask(rootTask1, 0 /* userId */); in testReparent_BetweenDisplays() local
242 final Task task = createTaskInRootTask(rootTask1, 0 /* userId */); in testBounds() local
263 final Task task = createTask(mDisplayContent); in testPerformClearTop() local
292 final Task task = createTask(mDisplayContent); in testRemoveChildForOverlayTask() local
358 final Task task = createTask(mDisplayContent); in testResolveNonResizableTaskWindowingMode() local
410 final Task task = createTask(mDisplayContent); in testAlwaysOnTop() local
433 final Task task = createTask(1); in testCopyBaseIntentForTaskInfo() local
[all …]
DDesktopModeLaunchParamsModifierTests.java77 final Task task = new TaskBuilder(mSupervisor).build(); in testReturnsSkipIfNotBoundsPhase() local
84 final Task task = new TaskBuilder(mSupervisor).setActivityType( in testReturnsSkipIfTaskNotUsingActivityTypeStandard() local
91 final Task task = new TaskBuilder(mSupervisor).setActivityType( in testReturnsSkipIfCurrentParamsHasBounds() local
99 final Task task = new TaskBuilder(mSupervisor).setActivityType( in testUsesDefaultBounds() local
108 final Task task = new TaskBuilder(mSupervisor).setActivityType( in testUsesDisplayAreaAndWindowingModeFromSource() local
119 private int dpiToPx(Task task, int dpi) { in dpiToPx()
132 private CalculateRequestBuilder setTask(Task task) { in setTask()
DBackNavigationControllerTests.java79 Task task = createTopTaskWithActivity(); in backNavInfo_HomeWhenBackToLauncher() local
107 Task task = createTopTaskWithActivity(); in backTypeCrossActivityWhenBackToPreviousActivity() local
149 Task task = createTopTaskWithActivity(); in preparesForBackToHome() local
159 Task task = createTopTaskWithActivity(); in backTypeCallback() local
174 Task task = createTopTaskWithActivity(); in testUnregisterCallbacksWithSystemCallback() local
222 private IOnBackInvokedCallback withSystemCallback(Task task) { in withSystemCallback()
229 private IOnBackInvokedCallback withAppCallback(Task task) { in withAppCallback()
DRootTaskTests.java162 final Task task = createTaskInRootTask(rootTask, 0 /* userId */); in testRootTaskRemoveImmediately() local
174 final Task task = createTaskInRootTask(rootTask, 0 /* userId */); in testRemoveContainer() local
190 final Task task = createTaskInRootTask(rootTask, 0 /* userId */); in testRemoveContainer_deferRemoval() local
249 final Task task = r.getTask(); in testResumedActivity() local
262 final Task task = r.getTask(); in testResumedActivityFromTaskReparenting() local
281 final Task task = r.getTask(); in testResumedActivityFromActivityReparenting() local
400 final Task task = r.getTask(); in testFindTaskWithOverlay() local
425 final Task task = new TaskBuilder(mSupervisor).setParentTaskFragment(parentTask).build(); in testFindTaskAlias() local
795 final Task task = firstActivity.getTask(); in testShouldBeVisible_FullscreenBehindTranslucentInHomeRootTask() local
1006 final Task task; in createTaskForShouldBeVisibleTest() local
[all …]
DTaskFragmentOrganizerControllerTest.java349 final Task task = activity.getTask(); in testOnActivityReparentedToTask_activityInOrganizerProcess_useActivityToken() local
392 final Task task = createTask(mDisplayContent); in testOnActivityReparentedToTask_activityNotInOrganizerProcess_useTemporaryToken() local
434 final Task task = createTask(mDisplayContent); in testOnActivityReparentedToTask_untrustedEmbed_notReported() local
463 final Task task = activity.getTask(); in testOnActivityReparentedToTask_trimReportedIntent() local
582 final Task task = createTask(mDisplayContent); in testApplyTransaction_enforceTaskFragmentOrganized_startActivityInTaskFragment() local
604 final Task task = createTask(mDisplayContent); in testApplyTransaction_enforceTaskFragmentOrganized_reparentActivityInTaskFragment() local
625 final Task task = createTask(mDisplayContent); in testApplyTransaction_enforceTaskFragmentOrganized_setAdjacentTaskFragments() local
664 final Task task = createTask(mDisplayContent); in testApplyTransaction_enforceTaskFragmentOrganized_requestFocusOnTaskFragment() local
684 final Task task = createTask(mDisplayContent); in testApplyTransaction_enforceTaskFragmentOrganized_setTaskFragmentOperation() local
708 final Task task = createTask(mDisplayContent); in testSetTaskFragmentOperation() local
[all …]
DActivityRecordTests.java207 final Task task = activity.getTask(); in testTaskFragmentCleanupOnClearingTask() local
216 final Task task = activity.getTask(); in testTaskFragmentCleanupOnActivityRemoval() local
225 final Task task = activity.getTask(); in testRootTaskCleanupOnTaskRemoval() local
235 final Task task = activity.getTask(); in testRemoveChildWithOverlayActivity() local
293 final Task task = activity.getTask(); in testPausingWhenVisibleFromStopped() local
363 final Task task = activity.getTask(); in testNewParentConfigurationIncrementsSeq() local
377 final Task task = activity.getTask(); in testSetsRelaunchReason_NotDragResizing() local
402 final Task task = activity.getTask(); in testSetsRelaunchReason_DragResizing() local
429 final Task task = activity.getTask(); in testRelaunchClearTopWaitingTranslucent() local
450 final Task task = activity.getTask(); in testSetsRelaunchReason_NonResizeConfigChanges() local
[all …]
DWindowOrganizerTests.java134 final Task task = createTaskInRootTask(rootTask, 0); in createTask() local
162 final Task task = createTask(rootTask); in testAppearVanish() local
178 final Task task = createTask(rootTask, false); in testAppearWaitsForVisibility() local
201 final Task task = createTask(rootTask, false /* hasBeenVisible */); in testNoVanishedIfNoAppear() local
217 final Task task = createTask(rootTask, false /* fakeDraw */); in testTaskNoDraw() local
236 final Task task = createTask(rootTask); in testClearOrganizer() local
255 final Task task = createTask(rootTask); in testRemoveWithOrganizerRemovesTask() local
273 final Task task = createTask(rootTask); in testNoRemoveWithOrganizerNoRemoveTask() local
291 final Task task = createTask(rootTask); in testUnregisterOrganizer() local
309 final Task task = createTask(rootTask); in testUnregisterOrganizerReturnsRegistrationToPrevious() local
[all …]
DTaskFragmentTest.java300 final Task task = taskFragment.getTask(); in testEmbeddedTaskFragmentEnterPip_singleActivity_resetOrganizerOverrideConfig() local
329 final Task task = createTask(mDisplayContent); in testEmbeddedTaskFragmentEnterPip_multiActivities_notifyOrganizer() local
370 final Task task = createTask(mDisplayContent); in testEmbeddedActivityExitPip_notifyOrganizer() local
404 final Task task = taskFragment.getTask(); in testIsReadyToTransit() local
531 final Task task = createTask(mDisplayContent); in testIgnoreRequestedOrientationForActivityEmbeddingSplit() local
583 final Task task = createTask(mDisplayContent); in testIsVisibleWithAdjacent_reportOrientationUnspecified() local
611 final Task task = createTask(mDisplayContent); in testUpdateImeParentForActivityEmbedding() local
DRootWindowContainerTests.java152 Task task = activity.getTask(); in testAllPausedActivitiesComplete() local
202 final Task task = new TaskBuilder(mSupervisor).setCreateActivity(true).build(); in testForceStopPackage() local
234 Task task = mRootWindowContainer.anyTaskForId(0 /*taskId*/, in testRestoringInvalidTask() local
286 final Task task = firstActivity.getTask(); in testMovingBottomMostRootTaskActivityToPinnedRootTask() local
317 final Task task = activity.getTask(); in testSingleActivityTaskEnterPip() local
341 final Task task = activity.getTask(); in testSingleActivityInTaskFragmentEnterPip() local
385 final Task task = mRootWindowContainer.getDefaultTaskDisplayArea().createRootTask( in testMovingEmbeddedActivityToPip() local
408 private static void ensureTaskPlacement(Task task, ActivityRecord... activities) { in ensureTaskPlacement()
429 final Task task = new TaskBuilder(mSupervisor) in testApplySleepTokens() local
463 Task task, boolean displaySleeping, boolean displayShouldSleep, in verifySleepTokenBehavior()
[all …]
DAppTransitionControllerTest.java121 final Task task = behind.getTask(); in testClearTaskSkipAppExecuteTransition() local
216 final Task task = opening.getTask(); in testTransitWithinTask() local
368 final Task task = createTask(mDisplayContent); in testExitAnimationDone_beforeAppTransition() local
777 final Task task = createTask(mDisplayContent); in testGetAnimationTargets_activityInEmbeddedTask() local
920 final Task task = createTask(mDisplayContent); in testOverrideTaskFragmentAdapter_overrideWithEmbeddedActivity() local
941 final Task task = createTask(mDisplayContent); in testOverrideTaskFragmentAdapter_noOverrideWithOnlyTaskFragmentFillingTask() local
972 final Task task = createTask(mDisplayContent); in testOverrideTaskFragmentAdapter_overrideWithTaskFragmentNotFillingTask() local
1007 final Task task = createTask(mDisplayContent); in testOverrideTaskFragmentAdapter_overrideWithNonEmbeddedActivity() local
1032 final Task task = createTask(mDisplayContent); in testOverrideTaskFragmentAdapter_overrideEmbeddedActivityWithDiffUid() local
1059 final Task task = createTask(mDisplayContent); in testOverrideTaskFragmentAdapter_noOverrideWithTwoApps() local
[all …]
/frameworks/base/services/core/java/com/android/server/wm/
DRecentTasks.java141 void onRecentTaskAdded(Task task); in onRecentTaskAdded()
146 void onRecentTaskRemoved(Task task, boolean wasTrimmed, boolean killProcess); in onRecentTaskRemoved()
461 private void notifyTaskAdded(Task task) { in notifyTaskAdded()
468 private void notifyTaskRemoved(Task task, boolean wasTrimmed, boolean killProcess) { in notifyTaskRemoved()
538 void notifyTaskPersisterLocked(Task task, boolean flush) { in notifyTaskPersisterLocked()
558 final Task task = mTasks.get(i); in syncPersistentTaskIdsLocked() local
572 private static boolean shouldPersistTaskLocked(Task task) { in shouldPersistTaskLocked()
642 Task task = mTasks.get(i); in removeTasksForUserLocked() local
654 final Task task = mTasks.get(i); in onPackagesSuspendedChanged() local
673 final Task task = mTasks.get(i); in onLockTaskModeStateChanged() local
[all …]
DTaskOrganizerController.java111 SurfaceControl prepareLeash(Task task, String reason) { in prepareLeash()
115 void onTaskAppeared(Task task) { in onTaskAppeared()
126 void onTaskVanished(Task task) { in onTaskVanished()
136 void onTaskInfoChanged(Task task, ActivityManager.RunningTaskInfo taskInfo) { in onTaskInfoChanged()
156 void onBackPressedOnTaskRoot(Task task) { in onBackPressedOnTaskRoot()
217 boolean removePendingTaskEvents(Task task) { in removePendingTaskEvents()
234 private PendingTaskEvent getPendingTaskEvent(Task task, int type) { in getPendingTaskEvent()
246 PendingTaskEvent getPendingLifecycleTaskEvent(Task task) { in getPendingLifecycleTaskEvent()
267 final Task task = event.mTask; in dispatchPendingEvent() local
287 private void dispatchTaskInfoChanged(Task task, boolean force) { in dispatchTaskInfoChanged()
[all …]
DLockTaskController.java238 boolean isTaskLocked(Task task) { in isTaskLocked()
245 private boolean isRootTask(Task task) { in isRootTask()
254 final Task task = activity.getTask(); in activityBlockedFromFinish() local
303 boolean canMoveTaskToBack(Task task) { in canMoveTaskToBack()
330 boolean isLockTaskModeViolation(Task task) { in isLockTaskModeViolation()
338 boolean isLockTaskModeViolation(Task task, boolean isNewClearTask) { in isLockTaskModeViolation()
492 void stopLockTaskMode(@Nullable Task task, boolean stopAppPinning, int callingUid) { in stopLockTaskMode()
551 void clearLockedTask(final Task task) { in clearLockedTask()
574 private void removeLockedTask(final Task task) { in removeLockedTask()
647 void startLockTaskMode(@NonNull Task task, boolean isSystemCaller, int callingUid) { in startLockTaskMode()
[all …]
DRunningTasks.java94 final Task task = iter.next(); in getTasks() local
100 private void processTask(Task task) { in processTask()
140 private RunningTaskInfo createRunningTaskInfo(Task task) { in createRunningTaskInfo()
/frameworks/base/core/java/android/window/
DITaskOrganizerController.aidl47 boolean deleteRootTask(in WindowContainerToken task); in deleteRootTask()
63 void setInterceptBackPressedOnTaskRoot(in WindowContainerToken task, in setInterceptBackPressedOnTaskRoot()
69 void restartTaskTopActivityProcessIfVisible(in WindowContainerToken task); in restartTaskTopActivityProcessIfVisible()
72 void updateCameraCompatControlState(in WindowContainerToken task, int state); in updateCameraCompatControlState()
/frameworks/base/libs/WindowManager/Shell/tests/unittest/src/com/android/wm/shell/desktopmode/
DDesktopTasksControllerTest.kt225 val task = setUpFullscreenTask() in moveToDesktop() constant
257 val task = setUpFreeformTask() in moveToFullscreen() constant
345 val task = createFreeformTask() in handleRequest_freeformTask_noOtherTasks_returnSwitchToFullscreenWCT() constant
355 val task = in handleRequest_notOpenOrToFrontTransition_returnNull() constant
374 val task = TestRunningTaskInfoBuilder().setActivityType(ACTIVITY_TYPE_HOME).build() in handleRequest_triggerTaskNotStandard_returnNull() constant
382 val task = in handleRequest_triggerTaskNotFullscreenOrFreeform_returnNull() constant
391 val task = createFreeformTask() in setUpFreeformTask() constant
400 val task = createHomeTask() in setUpHomeTask() constant
407 val task = createFullscreenTask() in setUpFullscreenTask() constant
/frameworks/base/packages/BackupEncryption/test/robolectric/src/com/android/server/backup/encryption/tasks/
DFullRestoreToFileTaskTest.java82 FullRestoreToFileTask task = createTaskWithFakeDownloader(); in restoreToFile_readsDataAndWritesToFile() local
89 FullRestoreToFileTask task = createTaskWithMockDownloader(); in restoreToFile_noErrors_closesDownloaderWithFinished() local
99 FullRestoreToFileTask task = createTaskWithMockDownloader(); in restoreToFile_ioException_closesDownloaderWithTransferFailure() local
/frameworks/opt/car/services/builtInServices/src/com/android/server/wm/
DTaskWrapper.java33 private TaskWrapper(Task task) { in TaskWrapper()
39 public static TaskWrapper create(@Nullable Task task) { in create()
/frameworks/base/services/backup/java/com/android/server/backup/internal/
DBackupHandler.java260 BackupRestoreTask task = (BackupRestoreTask) msg.obj; in handleMessage() local
286 PerformAdbBackupTask task = new PerformAdbBackupTask( in handleMessage() local
301 PerformUnifiedRestoreTask task = in handleMessage() local
340 PerformAdbRestoreTask task = new PerformAdbRestoreTask(backupManagerService, in handleMessage() local
350 Runnable task = in handleMessage() local
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
DTestExecutorService.java47 CompletedFuture(Callable<T> task) { in CompletedFuture()
52 CompletedFuture(Callable<T> task, long delayMs) { in CompletedFuture()
57 CompletedFuture(Runnable task, long delayMs) { in CompletedFuture()
146 public <T> Future<T> submit(Callable<T> task) { in submit()
151 public <T> Future<T> submit(Runnable task, T result) { in submit()
156 public Future<?> submit(Runnable task) { in submit()
/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/core/java/com/android/internal/widget/
DLockPatternChecker.java68 AsyncTask<Void, Void, VerifyCredentialResponse> task = in verifyCredential() local
104 AsyncTask<Void, Void, Boolean> task = new AsyncTask<Void, Void, Boolean>() { in checkCredential() local
150 AsyncTask<Void, Void, VerifyCredentialResponse> task = in verifyTiedProfileChallenge() local
/frameworks/base/libs/WindowManager/Shell/tests/unittest/src/com/android/wm/shell/splitscreen/
DSideStageTests.java75 final ActivityManager.RunningTaskInfo task = new TestRunningTaskInfoBuilder().build(); in testAddTask() local
84 final ActivityManager.RunningTaskInfo task = new TestRunningTaskInfoBuilder().build(); in testRemoveTask() local

123456789