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.java3012 final boolean shouldUpRecreateTaskLocked(ActivityRecord srec, String destAffinity) { in shouldUpRecreateTaskLocked() argument
3015 if (srec == null || srec.task.affinity == null || in shouldUpRecreateTaskLocked()
3016 !srec.task.affinity.equals(destAffinity)) { in shouldUpRecreateTaskLocked()
3023 if (srec.frontOfTask && srec.task != null && srec.task.getBaseIntent() != null in shouldUpRecreateTaskLocked()
3024 && srec.task.getBaseIntent().isDocument()) { in shouldUpRecreateTaskLocked()
3026 if (srec.task.getTaskToReturnTo() != ActivityRecord.APPLICATION_ACTIVITY_TYPE) { in shouldUpRecreateTaskLocked()
3031 int taskIdx = mTaskHistory.indexOf(srec.task); in shouldUpRecreateTaskLocked()
3033 Slog.w(TAG, "shouldUpRecreateTask: task not in history for " + srec); in shouldUpRecreateTaskLocked()
3041 if (!srec.task.affinity.equals(prevTask.affinity)) { in shouldUpRecreateTaskLocked()
3049 final boolean navigateUpToLocked(ActivityRecord srec, Intent destIntent, int resultCode, in navigateUpToLocked() argument
[all …]
DActivityManagerService.java17433 ActivityRecord srec = ActivityRecord.forTokenLocked(token); in shouldUpRecreateTask() local
17434 if (srec != null) { in shouldUpRecreateTask()
17435 return srec.task.stack.shouldUpRecreateTaskLocked(srec, destAffinity); in shouldUpRecreateTask()
17454 ActivityRecord srec; in getLaunchedFromUid() local
17456 srec = ActivityRecord.forTokenLocked(activityToken); in getLaunchedFromUid()
17458 if (srec == null) { in getLaunchedFromUid()
17461 return srec.launchedFromUid; in getLaunchedFromUid()
17465 ActivityRecord srec; in getLaunchedFromPackage() local
17467 srec = ActivityRecord.forTokenLocked(activityToken); in getLaunchedFromPackage()
17469 if (srec == null) { in getLaunchedFromPackage()
[all …]