Home
last modified time | relevance | path

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

12345678

/aosp14/frameworks/base/services/robotests/backup/src/com/android/server/backup/keyvalue/
H A DKeyValueBackupTaskTest.java286 KeyValueBackupTask task = createKeyValueBackupTask(transportMock, true); in testRunTask_whenQueueEmpty_updatesBookkeeping() local
300 KeyValueBackupTask task = createKeyValueBackupTask(transportMock, true); in testRunTask_whenQueueEmpty_releasesWakeLock() local
311 KeyValueBackupTask task = createKeyValueBackupTask(transportMock, true); in testRunTask_whenQueueEmpty_doesNotProduceData() local
323 KeyValueBackupTask task = createKeyValueBackupTask(transportMock, true); in testRunTask_whenQueueEmpty_doesNotCallTransport() local
336 KeyValueBackupTask task = createKeyValueBackupTask(transportMock, true); in testRunTask_whenQueueEmpty_notifiesCorrectly() local
348 KeyValueBackupTask task = createKeyValueBackupTask(transportMock, true); in testRunTask_whenQueueEmpty_doesNotChangeStateFiles() local
516 KeyValueBackupTask task = in testRunTask_whenNonPmPackageAndPmAndNonIncremental_backsUpPm() local
2132 KeyValueBackupTask task = createKeyValueBackupTask(transportMock); in testRunTask_whenBackupRunning_doesNotThrow() local
2517 private void runTask(KeyValueBackupTask task) { in runTask()
2525 private ConditionVariable runTaskAsync(KeyValueBackupTask task) { in runTaskAsync()
[all …]
/aosp14/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
H A DTaskTests.java434 final Task task = createTask(1); in testCopyBaseIntentForTaskInfo() local
462 final Task task = createTask(1); in testReturnsToHomeRootTask() local
966 final Task task = getTestTask(); in testFindRootIndex() local
981 final Task task = getTestTask(); in testFindRootIndex_finishing() local
1000 final Task task = getTestTask(); in testFindRootIndex_effectiveRoot() local
1035 final Task task = getTestTask(); in testFindRootIndex_effectiveRoot_relinquishingAndSingleActivity() local
1065 final Task task = getTestTask(); in testGetRootActivity() local
1078 final Task task = getTestTask(); in testGetRootActivity_finishing() local
1093 final Task task = getTestTask(); in testGetRootActivity_relinquishTaskIdentity() local
1110 final Task task = getTestTask(); in testGetRootActivity_allFinishing() local
[all …]
H A DDesktopModeLaunchParamsModifierTests.java78 final Task task = new TaskBuilder(mSupervisor).build(); in testReturnsSkipIfNotBoundsPhase() local
85 final Task task = new TaskBuilder(mSupervisor).setActivityType( in testReturnsSkipIfTaskNotUsingActivityTypeStandardOrUndefined() local
92 final Task task = new TaskBuilder(mSupervisor).setActivityType( in testReturnsDoneIfTaskUsingActivityTypeStandard() local
99 final Task task = new TaskBuilder(mSupervisor).setActivityType( in testReturnsDoneIfTaskUsingActivityTypeUndefined() local
106 final Task task = new TaskBuilder(mSupervisor).setActivityType( in testReturnsSkipIfCurrentParamsHasBounds() local
114 final Task task = new TaskBuilder(mSupervisor).setActivityType( in testUsesDefaultBounds() local
123 final Task task = new TaskBuilder(mSupervisor).setActivityType( in testUsesDisplayAreaAndWindowingModeFromSource() local
134 private int dpiToPx(Task task, int dpi) { in dpiToPx()
147 private CalculateRequestBuilder setTask(Task task) { in setTask()
H A DRootTaskTests.java249 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
820 final Task task = firstActivity.getTask(); in testShouldBeVisible_FullscreenBehindTranslucentInHomeRootTask() local
1031 final Task task; in createTaskForShouldBeVisibleTest() local
1060 final Task task = new TaskBuilder(mSupervisor).build(); in testFinishDisabledPackageActivities_FinishAliveActivities() local
1246 private ActivityRecord finishTopActivity(Task task) { in finishTopActivity()
1362 final Task task = activity.getTask(); in testShouldUpRecreateTaskLockedWithCorrectAffinityFormat() local
1373 final Task task = activity.getTask(); in testShouldUpRecreateTaskLockedWithWrongAffinityFormat() local
[all …]
H A DTaskFragmentOrganizerControllerTest.java358 final Task task = activity.getTask(); in testOnActivityReparentedToTask_activityInOrganizerProcess_useActivityToken() local
407 final Task task = createTask(mDisplayContent); in testOnActivityReparentedToTask_activityNotInOrganizerProcess_useTemporaryToken() local
460 final Task task = createTask(mDisplayContent); in testOnActivityReparentedToTask_untrustedEmbed_notReported() local
491 final Task task = activity.getTask(); in testOnActivityReparentedToTask_trimReportedIntent() local
580 final Task task = createTask(mDisplayContent); in testApplyTransaction_enforceTaskFragmentOrganized_startActivityInTaskFragment() local
603 final Task task = createTask(mDisplayContent); in testApplyTransaction_enforceTaskFragmentOrganized_reparentActivityInTaskFragment() local
625 final Task task = createTask(mDisplayContent); in testApplyTransaction_enforceTaskFragmentOrganized_setAdjacentTaskFragments() local
672 final Task task = createTask(mDisplayContent); in testApplyTransaction_enforceTaskFragmentOrganized_clearAdjacentTaskFragments() local
704 final Task task = createTask(mDisplayContent); in testApplyTransaction_enforceTaskFragmentOrganized_requestFocusOnTaskFragment() local
725 final Task task = createTask(mDisplayContent); in testApplyTransaction_enforceTaskFragmentOrganized_addTaskFragmentOperation() local
[all …]
H A DActivityRecordTests.java209 final Task task = activity.getTask(); in testTaskFragmentCleanupOnClearingTask() local
218 final Task task = activity.getTask(); in testTaskFragmentCleanupOnActivityRemoval() local
227 final Task task = activity.getTask(); in testRootTaskCleanupOnTaskRemoval() local
237 final Task task = activity.getTask(); in testRemoveChildWithOverlayActivity() local
295 final Task task = activity.getTask(); in testPausingWhenVisibleFromStopped() local
365 final Task task = activity.getTask(); in testNewParentConfigurationIncrementsSeq() local
379 final Task task = activity.getTask(); in testSetsRelaunchReason_NotDragResizing() local
404 final Task task = activity.getTask(); in testSetsRelaunchReason_DragResizing() local
431 final Task task = activity.getTask(); in testRelaunchClearTopWaitingTranslucent() local
452 final Task task = activity.getTask(); in testSetsRelaunchReason_NonResizeConfigChanges() local
[all …]
H A DTaskFragmentTest.java128 final Task task = createTask(mDisplayContent, WINDOWING_MODE_MULTI_WINDOW, in testShouldStartChangeTransition_relativePositionChange() local
160 final Task task = createTask(mDisplayContent, WINDOWING_MODE_MULTI_WINDOW, in testStartChangeTransition_resetSurface() local
305 final Task task = createTask(mDisplayContent); in testEmbeddedTaskFragmentEnterPip_singleActivity_resetOrganizerOverrideConfig() local
349 final Task task = createTask(mDisplayContent); in testEmbeddedTaskFragmentEnterPip_multiActivities_notifyOrganizer() local
380 final Task task = createTask(mDisplayContent); in testEmbeddedActivityExitPip_notifyOrganizer() local
414 final Task task = taskFragment.getTask(); in testIsReadyToTransit() local
541 final Task task = createTask(mDisplayContent); in testIgnoreRequestedOrientationForActivityEmbeddingSplit() local
602 final Task task = createTask(mDisplayContent); in testIsVisibleWithAdjacent_reportOrientationUnspecified() local
630 final Task task = createTask(mDisplayContent); in testUpdateImeParentForActivityEmbedding() local
659 final Task task = createTask(mDisplayContent); in testIsolatedNavigation() local
H A DWindowOrganizerTests.java161 final Task task = createTask(rootTask); in testAppearVanish() local
235 final Task task = createTask(rootTask); in testClearOrganizer() local
254 final Task task = createTask(rootTask); in testRemoveWithOrganizerRemovesTask() local
272 final Task task = createTask(rootTask); in testNoRemoveWithOrganizerNoRemoveTask() local
290 final Task task = createTask(rootTask); in testUnregisterOrganizer() local
308 final Task task = createTask(rootTask); in testUnregisterOrganizerReturnsRegistrationToPrevious() local
351 final Task task = createTask(rootTask); in testUnregisterOrganizer_removesTasksCreatedByIt() local
405 final Task task = createTask(rootTask); in testOrganizerDeathReturnsRegistrationToPrevious() local
450 final Task task = createTask(rootTask); in testRegisterTaskOrganizerWithExistingTasks() local
466 final Task task = createTask(rootTask); in testRegisterTaskOrganizerWithExistingTasks_noSurfaceControl() local
[all …]
H A 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
702 final Task task = createTask(mDisplayContent); in testGetAnimationTargets_activityInEmbeddedTask() local
845 final Task task = createTask(mDisplayContent); in testOverrideTaskFragmentAdapter_overrideWithEmbeddedActivity() local
866 final Task task = createTask(mDisplayContent); in testOverrideTaskFragmentAdapter_noOverrideWithOnlyTaskFragmentFillingTask() local
897 final Task task = createTask(mDisplayContent); in testOverrideTaskFragmentAdapter_overrideWithTaskFragmentNotFillingTask() local
932 final Task task = createTask(mDisplayContent); in testOverrideTaskFragmentAdapter_overrideWithNonEmbeddedActivity() local
957 final Task task = createTask(mDisplayContent); in testOverrideTaskFragmentAdapter_overrideEmbeddedActivityWithDiffUid() local
984 final Task task = createTask(mDisplayContent); in testOverrideTaskFragmentAdapter_noOverrideWithTwoApps() local
[all …]
H A DRootWindowContainerTests.java153 Task task = activity.getTask(); in testAllPausedActivitiesComplete() local
216 final Task task = new TaskBuilder(mSupervisor).setCreateActivity(true).build(); in testForceStopPackage() local
248 Task task = mRootWindowContainer.anyTaskForId(0 /*taskId*/, in testRestoringInvalidTask() local
300 final Task task = firstActivity.getTask(); in testMovingBottomMostRootTaskActivityToPinnedRootTask() local
331 final Task task = activity.getTask(); in testSingleActivityTaskEnterPip() local
366 final Task task = activity.getTask(); in testSingleActivityInTaskFragmentEnterPip() local
454 final Task task = new TaskBuilder(mSupervisor) in testApplySleepTokens() local
488 Task task, boolean displaySleeping, boolean displayShouldSleep, in verifySleepTokenBehavior()
593 final Task task = defaultTaskDisplayArea.createRootTask( in testFocusability() local
1098 final Task task = new TaskBuilder(mSupervisor) in testGetOrCreateRootTaskOnDisplayWithCandidateRootTask() local
[all …]
H A DBackNavigationControllerTests.java104 Task task = createTopTaskWithActivity(); in backNavInfo_HomeWhenBackToLauncher() local
287 Task task = createTopTaskWithActivity(); in backTypeCallback() local
336 Task task = createTopTaskWithActivity(); in testUnregisterCallbacksWithSystemCallback() local
439 Task task = createTopTaskWithActivity(); in testWindowFocusChangeCancelNavigation() local
478 private IOnBackInvokedCallback withSystemCallback(Task task) { in withSystemCallback()
488 private IOnBackInvokedCallback withAppCallback(Task task) { in withAppCallback()
/aosp14/frameworks/base/services/core/java/com/android/server/wm/
H A DRecentTasks.java143 void onRecentTaskAdded(Task task); in onRecentTaskAdded()
564 final Task task = mTasks.get(i); in syncPersistentTaskIdsLocked() local
648 Task task = mTasks.get(i); in removeTasksForUserLocked() local
660 final Task task = mTasks.get(i); in onPackagesSuspendedChanged() local
679 final Task task = mTasks.get(i); in onLockTaskModeStateChanged() local
709 final Task task = mTasks.get(i); in removeTasksByPackageName() local
720 final Task task = mTasks.get(i); in removeAllVisibleTasks() local
1071 Task task = mTasks.get(i); in getTask() local
1082 void add(Task task) { in add()
1226 boolean addToBottom(Task task) { in addToBottom()
[all …]
H A DTaskOrganizerController.java120 void onTaskAppeared(Task task) { in onTaskAppeared()
131 void onTaskVanished(Task task) { in onTaskVanished()
161 void onBackPressedOnTaskRoot(Task task) { in onBackPressedOnTaskRoot()
222 boolean removePendingTaskEvents(Task task) { in removePendingTaskEvents()
272 final Task task = event.mTask; in dispatchPendingEvent() local
461 PendingTaskEvent(Task task, int event) { in PendingTaskEvent()
940 void reportImeDrawnOnTask(Task task) { in reportImeDrawnOnTask()
1108 final Task task = wc.asTask(); in setInterceptBackPressedOnTaskRoot() local
1135 final Task task = wc.asTask(); in restartTaskTopActivityProcessIfVisible() local
1163 final Task task = wc.asTask(); in updateCameraCompatControlState() local
[all …]
H A DLockTaskController.java239 boolean isTaskLocked(Task task) { in isTaskLocked()
246 private boolean isRootTask(Task task) { in isRootTask()
255 final Task task = activity.getTask(); in activityBlockedFromFinish() local
304 boolean canMoveTaskToBack(Task task) { in canMoveTaskToBack()
331 boolean isLockTaskModeViolation(Task task) { in isLockTaskModeViolation()
339 boolean isLockTaskModeViolation(Task task, boolean isNewClearTask) { in isLockTaskModeViolation()
552 void clearLockedTask(final Task task) { in clearLockedTask()
575 private void removeLockedTask(final Task task) { in removeLockedTask()
687 private void setLockTaskMode(@NonNull Task task, int lockTaskModeState, in setLockTaskMode()
793 final Task task = (r != null) ? r.getTask() : null; in updateLockTaskPackages() local
[all …]
H A DTaskSnapshotController.java121 final Task task = activity.getTask(); in handleClosingApps() local
150 TaskSnapshot recordSnapshot(Task task, boolean allowSnapshotHome) { in recordSnapshot()
201 @Nullable protected ActivityRecord findAppTokenForSnapshot(Task task) { in findAppTokenForSnapshot()
212 private ScreenCapture.ScreenshotHardwareBuffer createImeSnapshot(@NonNull Task task, in createImeSnapshot()
236 ScreenCapture.ScreenshotHardwareBuffer snapshotImeFromAttachedTask(@NonNull Task task) { in snapshotImeFromAttachedTask()
263 void getClosingTasksInner(Task task, ArraySet<Task> outClosingTasks) { in getClosingTasksInner()
H A DRecentsAnimationController.java409 final Task task = visibleTasks.get(i); in initialize() local
474 private boolean skipAnimation(Task task) { in skipAnimation()
480 TaskAnimationAdapter addAnimation(Task task, boolean isRecentTaskInvisible) { in addAnimation()
486 TaskAnimationAdapter addAnimation(Task task, boolean isRecentTaskInvisible, boolean hidden, in addAnimation()
583 final Task task = adapter.mTask; in attachNavigationBarToApp() local
665 void addTaskToTargets(Task task, OnAnimationFinishedCallback finishedCallback) { in addTaskToTargets()
690 private void collectTaskRemoteAnimations(Task task, int mode, in collectTaskRemoteAnimations()
H A DTaskPersister.java123 private void removeThumbnails(Task task) { in removeThumbnails()
190 void wakeup(Task task, boolean flush) { in wakeup()
266 final Task task = tasks.get(taskNdx); in taskIdToTask() local
322 final Task task = Task.restoreFromXml(in, mTaskSupervisor); in restoreTasksForUserLocked() local
385 final Task task = tasks.get(taskNdx); in restoreTasksForUserLocked() local
519 TaskWriteQueueItem(Task task, ActivityTaskManagerService service) { in TaskWriteQueueItem()
524 private byte[] saveToXml(Task task) throws Exception { in saveToXml()
551 Task task = mTask; in process() local
/aosp14/frameworks/base/libs/WindowManager/Shell/tests/unittest/src/com/android/wm/shell/desktopmode/
H A DDesktopTasksControllerTest.kt279 val task = setUpFullscreenTask() regex
289 val task = setUpFullscreenTask() regex
345 val task = setUpFreeformTask() regex
355 val task = setUpFreeformTask() regex
554 val task = createFreeformTask() regex
596 val task = regex
623 val task = regex
656 val task = setUpFreeformTask() regex
666 val task = setUpFreeformTask() regex
676 val task = createFreeformTask(displayId) regex
[all …]
/aosp14/frameworks/base/core/java/android/window/
H A 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()
/aosp14/frameworks/base/services/backup/java/com/android/server/backup/internal/
H A DBackupHandler.java269 BackupRestoreTask task = (BackupRestoreTask) msg.obj; in handleMessage() local
295 PerformAdbBackupTask task = new PerformAdbBackupTask( in handleMessage() local
310 PerformUnifiedRestoreTask task = in handleMessage() local
349 PerformAdbRestoreTask task = new PerformAdbRestoreTask(backupManagerService, in handleMessage() local
359 Runnable task = in handleMessage() local
/aosp14/frameworks/base/services/tests/servicestests/src/com/android/server/storage/
H A 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
/aosp14/frameworks/base/core/java/com/android/internal/widget/
H A 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
/aosp14/frameworks/base/telephony/java/android/telephony/
H A 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()
/aosp14/frameworks/base/libs/WindowManager/Shell/tests/unittest/src/com/android/wm/shell/splitscreen/
H A DSideStageTests.java77 final ActivityManager.RunningTaskInfo task = new TestRunningTaskInfoBuilder().build(); in testAddTask() local
86 final ActivityManager.RunningTaskInfo task = new TestRunningTaskInfoBuilder().build(); in testRemoveTask() local
/aosp14/frameworks/base/services/core/jni/BroadcastRadio/
H A DNativeCallbackThread.cpp52 Task task; in threadLoop() local
84 void NativeCallbackThread::enqueue(const Task &task) { in enqueue()

12345678