Searched refs:getAppTasks (Results 1 – 3 of 3) sorted by relevance
98 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 AppTaskTests211 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 …]
145 List<ActivityManager.AppTask> list = actmgr.getAppTasks(); in getAppTask()
247 mActivityManager.getAppTasks().get(0).getTaskInfo().topActivity.getClassName(); in checkLockedActivityIsRunning()