Home
last modified time | relevance | path

Searched refs:getAppTasks (Results 1 – 3 of 3) sorted by relevance

/cts/tests/app/src/android/app/cts/
DAppTaskTests.java98 final List<ActivityManager.AppTask> appTasks = getAppTasks(); in testSingleAppTask()
112 final List<ActivityManager.AppTask> appTasks = getAppTasks(); in testMultipleAppTasks()
126 waitAndAssertCondition(() -> getAppTasks().size() == 1, "Expected 1 running task"); in testFinishAndRemoveTask()
128 waitAndAssertCondition(() -> getAppTasks().isEmpty(), "Expected no running tasks"); in testFinishAndRemoveTask()
196 final List<ActivityManager.AppTask> appTasks = getAppTasks(); in testSetExcludeFromRecents()
209 private List<ActivityManager.AppTask> getAppTasks() { in getAppTasks() method in AppTaskTests
211 return am.getAppTasks(); in getAppTasks()
218 waitAndAssertCondition(() -> getAppTask(getAppTasks(), activity) != null, in getAppTask()
220 return getAppTask(getAppTasks(), activity); in getAppTask()
237 final List<ActivityManager.AppTask> appTasks = getAppTasks(); in removeAllAppTasks()
[all …]
/cts/tests/tests/security/src/android/security/cts/
DBinderExploitTest.java145 List<ActivityManager.AppTask> list = actmgr.getAppTasks(); in getAppTask()
/cts/hostsidetests/devicepolicy/app/DeviceAndProfileOwner/src/com/android/cts/deviceandprofileowner/
DLockTaskHostDrivenTest.java247 mActivityManager.getAppTasks().get(0).getTaskInfo().topActivity.getClassName(); in checkLockedActivityIsRunning()