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 final TaskRecord task = srec.getTaskRecord(); in navigateUpToLocked()
4246 final int start = activities.indexOf(srec); in navigateUpToLocked()
4271 ActivityRecord next = topRunningActivityLocked(srec.appToken, 0); 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.java1892 final ServiceRecord srec = crec.binding.service; in updateServiceGroupLocked() local
1893 if (srec != null && (srec.serviceInfo.flags & ServiceInfo.FLAG_ISOLATED_PROCESS) != 0) { in updateServiceGroupLocked()
1894 if (srec.app != null) { in updateServiceGroupLocked()
1896 srec.app.connectionService = srec; in updateServiceGroupLocked()
1897 srec.app.connectionGroup = group; in updateServiceGroupLocked()
1898 srec.app.connectionImportance = importance; in updateServiceGroupLocked()
1900 srec.app.connectionService = null; in updateServiceGroupLocked()
1901 srec.app.connectionGroup = 0; in updateServiceGroupLocked()
1902 srec.app.connectionImportance = 0; in updateServiceGroupLocked()
1906 srec.pendingConnectionGroup = group; in updateServiceGroupLocked()
[all …]