Searched refs:srec (Results 1 – 2 of 2) sorted by relevance
3902 boolean shouldUpRecreateTaskLocked(ActivityRecord srec, String destAffinity) { in shouldUpRecreateTaskLocked() argument3905 if (srec == null || srec.getTask().affinity == null || in shouldUpRecreateTaskLocked()3906 !srec.getTask().affinity.equals(destAffinity)) { in shouldUpRecreateTaskLocked()3913 final TaskRecord task = srec.getTask(); in shouldUpRecreateTaskLocked()3914 if (srec.frontOfTask && task.getBaseIntent() != null && task.getBaseIntent().isDocument()) { in shouldUpRecreateTaskLocked()3923 Slog.w(TAG, "shouldUpRecreateTask: task not in history for " + srec); in shouldUpRecreateTaskLocked()3935 final boolean navigateUpToLocked(ActivityRecord srec, Intent destIntent, int resultCode, in navigateUpToLocked() argument3937 final TaskRecord task = srec.getTask(); in navigateUpToLocked()3939 final int start = activities.indexOf(srec); in navigateUpToLocked()3962 ActivityRecord next = topRunningActivityLocked(srec.appToken, 0); in navigateUpToLocked()[all …]
22864 ActivityRecord srec = ActivityRecord.forTokenLocked(token); in shouldUpRecreateTask() local22865 if (srec != null) { in shouldUpRecreateTask()22866 return srec.getStack().shouldUpRecreateTaskLocked(srec, destAffinity); in shouldUpRecreateTask()22885 ActivityRecord srec; in getLaunchedFromUid() local22887 srec = ActivityRecord.forTokenLocked(activityToken); in getLaunchedFromUid()22889 if (srec == null) { in getLaunchedFromUid()22892 return srec.launchedFromUid; in getLaunchedFromUid()22896 ActivityRecord srec; in getLaunchedFromPackage() local22898 srec = ActivityRecord.forTokenLocked(activityToken); in getLaunchedFromPackage()22900 if (srec == null) { in getLaunchedFromPackage()[all …]