Searched refs:appTask (Results 1 – 2 of 2) sorted by relevance
23 final AppTask appTask = ShadowAppTask.newInstance(); in finishAndRemoveTask_marksTaskFinished() local25 appTask.finishAndRemoveTask(); in finishAndRemoveTask_marksTaskFinished()27 assertThat(shadowOf(appTask).isFinishedAndRemoved()).isTrue(); in finishAndRemoveTask_marksTaskFinished()42 final AppTask appTask = ShadowAppTask.newInstance(); in getTaskInfo_returnsCorrectValue() local46 shadowOf(appTask).setTaskInfo(recentTaskInfo); in getTaskInfo_returnsCorrectValue()48 assertThat(appTask.getTaskInfo()).isSameAs(recentTaskInfo); in getTaskInfo_returnsCorrectValue()53 final AppTask appTask = ShadowAppTask.newInstance(); in moveToFront_movesTaskToFront() local55 appTask.moveToFront(); in moveToFront_movesTaskToFront()57 assertThat(shadowOf(appTask).hasMovedToFront()).isTrue(); in moveToFront_movesTaskToFront()67 final AppTask appTask = ShadowAppTask.newInstance(); in startActivity() local[all …]
155 Context who, IBinder contextThread, Object appTask, Intent intent, Bundle options) { in execStartActivityFromAppTask() argument