/packages/apps/Car/SystemUI/tests/src/com/android/systemui/car/sideloaded/ |
D | SideLoadedAppListenerTest.java | 84 RootTaskInfo taskInfo1 = createTask(1, /* isVisible= */ true); in onTaskCreated_safeTask_callsNoMethods() 87 RootTaskInfo taskInfo2 = createTask(2, /* isVisible= */ true); in onTaskCreated_safeTask_callsNoMethods() 112 RootTaskInfo taskInfo1 = createTask(1, /* isVisible= */ true); in onTaskCreated_unsafeTask_callsUnsafeTaskCreated() 114 RootTaskInfo taskInfo2 = createTask(2, /* isVisible= */ true); in onTaskCreated_unsafeTask_callsUnsafeTaskCreated() 138 RootTaskInfo taskInfo1 = createTask(1, /* isVisible= */ false); in onTaskStackChanged_safeTask_callsSafeTaskDisplayed() 139 RootTaskInfo taskInfo2 = createTask(2, /* isVisible= */ true); in onTaskStackChanged_safeTask_callsSafeTaskDisplayed() 140 RootTaskInfo taskInfo3 = createTask(3, /* isVisible= */ true); in onTaskStackChanged_safeTask_callsSafeTaskDisplayed() 162 RootTaskInfo taskInfo1 = createTask(1, /* isVisible= */ false); in onTaskStackChanged_unsafeTask_callsUnsafeTaskDisplayed() 163 RootTaskInfo taskInfo2 = createTask(2, /* isVisible= */ true); in onTaskStackChanged_unsafeTask_callsUnsafeTaskDisplayed() 164 RootTaskInfo taskInfo3 = createTask(3, /* isVisible= */ true); in onTaskStackChanged_unsafeTask_callsUnsafeTaskDisplayed() [all …]
|
/packages/apps/Car/SystemUI/tests/src/com/android/systemui/car/wm/taskview/ |
D | RootTaskMediatorTest.java | 62 private ActivityManager.RunningTaskInfo createTask(int taskId) { in createTask() method in RootTaskMediatorTest 95 ActivityManager.RunningTaskInfo taskInfo = createTask(/* taskId= */ 1); in onTaskAppeared_setsRootTask() 107 ActivityManager.RunningTaskInfo rootTaskInfo = createTask(/* taskId= */ 1); in onTaskAppeared_withIsLaunchRoot_setsLaunchRootTask() 120 ActivityManager.RunningTaskInfo launchRootTask = createTask(/* taskId= */ 1); in onTaskAppeared_withIsLaunchRoot_callsCarActivityManager() 123 ActivityManager.RunningTaskInfo taskInfo = createTask(/* taskId= */ 2); in onTaskAppeared_withIsLaunchRoot_callsCarActivityManager() 152 ActivityManager.RunningTaskInfo taskInfo = createTask(/* taskId= */ 1); in onTaskInfoChanged_forRootTask_updatesShellPart() 180 ActivityManager.RunningTaskInfo rootTask = createTask(/* taskId= */ 99); in onTaskInfoChanged_multipleExisting_taskVisible_movesToFrontOfStack() 182 ActivityManager.RunningTaskInfo task1 = createTask(/* taskId= */ 1); in onTaskInfoChanged_multipleExisting_taskVisible_movesToFrontOfStack() 184 ActivityManager.RunningTaskInfo task2 = createTask(/* taskId= */ 2); in onTaskInfoChanged_multipleExisting_taskVisible_movesToFrontOfStack() 199 ActivityManager.RunningTaskInfo taskInfo = createTask(/* taskId= */ 1); in onTaskVanished_forRootTask_updatesShellPart() [all …]
|
/packages/apps/ManagedProvisioning/tests/instrumentation/src/com/android/managedprovisioning/task/ |
D | SetDeviceOwnerPolicyTaskTest.java | 86 createTask(ACTION_PROVISION_MANAGED_DEVICE); in testEnableDevicePolicyApp_DefaultToDefault() 104 createTask(ACTION_PROVISION_MANAGED_DEVICE); in testEnableDevicePolicyApp_DisabledToDefault() 123 createTask(ACTION_PROVISION_MANAGED_DEVICE); in testEnableDevicePolicyApp_EnabledToEnabled() 141 createTask(ACTION_PROVISION_MANAGED_DEVICE); in testEnableDevicePolicyApp_PackageNotFound() 157 createTask(ACTION_PROVISION_MANAGED_DEVICE); in testSetActiveAdmin() 171 createTask(ACTION_PROVISION_MANAGED_DEVICE); in testSetDeviceOwner() 185 createTask(ACTION_PROVISION_MANAGED_DEVICE); in testSetDeviceOwner_PreconditionsNotMet() 202 createTask(ACTION_PROVISION_MANAGED_DEVICE); in testSetDeviceOwner_ReturnFalse() 219 createTask(ACTION_PROVISION_FINANCED_DEVICE); in testSetDeviceOwnerType_asDeviceOwner_toFinancedDevice() 236 createTask(ACTION_PROVISION_MANAGED_DEVICE); in testSetDeviceOwnerType_asDeviceOwner_notCalledWhenProvisioningManagedDevice() [all …]
|
/packages/apps/Launcher3/quickstep/tests/src/com/android/quickstep/ |
D | DesktopSystemShortcutTest.kt | 115 val taskContainer = createTaskContainer(createTask()) in createDesktopTaskShortcutFactory_desktopModeEnabled_DeviceNotSupported() 127 val taskContainer = spy(createTaskContainer(createTask())) in createDesktopTaskShortcutFactory_desktopModeEnabled_DeviceNotSupported_OverrideEnabled() 138 val unDockableTask = createTask().apply { isDockable = false } in createDesktopTaskShortcutFactory_undockable() 149 val task = createTask() in desktopSystemShortcutClicked() 183 private fun createTask(): Task { in createTask() method in com.android.quickstep.DesktopSystemShortcutTest
|
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/pm/ |
D | CarPackageManagerServiceUnitTest.java | 431 ActivityManager.RunningTaskInfo taskInfo = createTask(); in registerMultipleListeners_finishBlockingUiInvoked() 447 ActivityManager.RunningTaskInfo taskInfo = createTask(); in registerListenerForOtherDisplay_finishBlockingUiNotInvoked() 466 ActivityManager.RunningTaskInfo taskInfo = createTask(); in registerMultipleListenersForDifferentDisplay_finishBlockingUiInvokedForSomeDisplay() 479 private ActivityManager.RunningTaskInfo createTask() { in createTask() method in CarPackageManagerServiceUnitTest
|
/packages/apps/TV/src/com/android/tv/dvr/provider/ |
D | EpisodicProgramLoadTask.java | 166 mProgramQueryTask = createTask(); in execute() 188 private AsyncProgramQueryTask createTask() { in createTask() method in EpisodicProgramLoadTask
|
/packages/apps/Dialer/java/com/android/voicemail/impl/scheduling/ |
D | Tasks.java | 45 public static Task createTask(Context context, Bundle extras) throws TaskCreationException { in createTask() method in Tasks
|
D | TaskReceiver.java | 74 Task task = Tasks.createTask(context.getApplicationContext(), intent.getExtras()); in onReceive()
|
D | TaskQueue.java | 54 Task task = Tasks.createTask(context, pendingTask); in fromBundles()
|
D | TaskSchedulerJobService.java | 115 queue.add(Tasks.createTask(context, pendingTask)); in scheduleJob()
|
/packages/apps/TvSettings/ |
D | two-panel-baseline-profile.txt | 3036 PLkotlinx/coroutines/scheduling/CoroutineScheduler;->createTask(Ljava/lang/Runnable;Lkotlinx/corout…
|