Home
last modified time | relevance | path

Searched refs:srec (Results 1 – 2 of 2) sorted by relevance

/frameworks/base/services/core/java/com/android/server/am/
DActivityStack.java3816 final boolean shouldUpRecreateTaskLocked(ActivityRecord srec, String destAffinity) { in shouldUpRecreateTaskLocked() argument
3819 if (srec == null || srec.getTask().affinity == null || in shouldUpRecreateTaskLocked()
3820 !srec.getTask().affinity.equals(destAffinity)) { in shouldUpRecreateTaskLocked()
3827 final TaskRecord task = srec.getTask(); in shouldUpRecreateTaskLocked()
3828 if (srec.frontOfTask && task != null && task.getBaseIntent() != null in shouldUpRecreateTaskLocked()
3838 Slog.w(TAG, "shouldUpRecreateTask: task not in history for " + srec); in shouldUpRecreateTaskLocked()
3854 final boolean navigateUpToLocked(ActivityRecord srec, Intent destIntent, int resultCode, in navigateUpToLocked() argument
3856 final TaskRecord task = srec.getTask(); in navigateUpToLocked()
3858 final int start = activities.indexOf(srec); in navigateUpToLocked()
3881 ActivityRecord next = topRunningActivityLocked(srec.appToken, 0); in navigateUpToLocked()
[all …]
DActivityManagerService.java20540 ActivityRecord srec = ActivityRecord.forTokenLocked(token);
20541 if (srec != null) {
20542 return srec.getStack().shouldUpRecreateTaskLocked(srec, destAffinity);
20561 ActivityRecord srec;
20563 srec = ActivityRecord.forTokenLocked(activityToken);
20565 if (srec == null) {
20568 return srec.launchedFromUid;
20572 ActivityRecord srec;
20574 srec = ActivityRecord.forTokenLocked(activityToken);
20576 if (srec == null) {
[all …]