Home
last modified time | relevance | path

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

/frameworks/base/services/core/java/com/android/server/wm/
DActivityStack.java4209 boolean shouldUpRecreateTaskLocked(ActivityRecord srec, String destAffinity) { in shouldUpRecreateTaskLocked() argument
4212 if (srec == null || srec.getTaskRecord().affinity == null || in shouldUpRecreateTaskLocked()
4213 !srec.getTaskRecord().affinity.equals(destAffinity)) { in shouldUpRecreateTaskLocked()
4220 final TaskRecord task = srec.getTaskRecord(); in shouldUpRecreateTaskLocked()
4221 if (srec.frontOfTask && task.getBaseIntent() != null && task.getBaseIntent().isDocument()) { in shouldUpRecreateTaskLocked()
4230 Slog.w(TAG, "shouldUpRecreateTask: task not in history for " + srec); in shouldUpRecreateTaskLocked()
4242 final boolean navigateUpToLocked(ActivityRecord srec, Intent destIntent, int resultCode, in navigateUpToLocked() argument
4244 if (!srec.attachedToProcess()) { in navigateUpToLocked()
4249 final TaskRecord task = srec.getTaskRecord(); in navigateUpToLocked()
4251 final int start = activities.indexOf(srec); in navigateUpToLocked()
[all …]
DActivityTaskManagerService.java1917 ActivityRecord srec; in getLaunchedFromUid() local
1919 srec = ActivityRecord.forTokenLocked(activityToken); in getLaunchedFromUid()
1921 if (srec == null) { in getLaunchedFromUid()
1924 return srec.launchedFromUid; in getLaunchedFromUid()
1929 ActivityRecord srec; in getLaunchedFromPackage() local
1931 srec = ActivityRecord.forTokenLocked(activityToken); in getLaunchedFromPackage()
1933 if (srec == null) { in getLaunchedFromPackage()
1936 return srec.launchedFromPackage; in getLaunchedFromPackage()
2130 final ActivityRecord srec = ActivityRecord.forTokenLocked(token); in shouldUpRecreateTask() local
2131 if (srec != null) { in shouldUpRecreateTask()
[all …]
/frameworks/base/services/core/java/com/android/server/am/
DActiveServices.java1901 final ServiceRecord srec = crec.binding.service; in updateServiceGroupLocked() local
1902 if (srec != null && (srec.serviceInfo.flags & ServiceInfo.FLAG_ISOLATED_PROCESS) != 0) { in updateServiceGroupLocked()
1903 if (srec.app != null) { in updateServiceGroupLocked()
1905 srec.app.connectionService = srec; in updateServiceGroupLocked()
1906 srec.app.connectionGroup = group; in updateServiceGroupLocked()
1907 srec.app.connectionImportance = importance; in updateServiceGroupLocked()
1909 srec.app.connectionService = null; in updateServiceGroupLocked()
1910 srec.app.connectionGroup = 0; in updateServiceGroupLocked()
1911 srec.app.connectionImportance = 0; in updateServiceGroupLocked()
1915 srec.pendingConnectionGroup = group; in updateServiceGroupLocked()
[all …]