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.java4236 boolean shouldUpRecreateTaskLocked(ActivityRecord srec, String destAffinity) { in shouldUpRecreateTaskLocked() argument
4239 if (srec == null || srec.getTaskRecord().affinity == null || in shouldUpRecreateTaskLocked()
4240 !srec.getTaskRecord().affinity.equals(destAffinity)) { in shouldUpRecreateTaskLocked()
4247 final TaskRecord task = srec.getTaskRecord(); in shouldUpRecreateTaskLocked()
4248 if (srec.frontOfTask && task.getBaseIntent() != null && task.getBaseIntent().isDocument()) { in shouldUpRecreateTaskLocked()
4257 Slog.w(TAG, "shouldUpRecreateTask: task not in history for " + srec); in shouldUpRecreateTaskLocked()
4269 final boolean navigateUpToLocked(ActivityRecord srec, Intent destIntent, int resultCode, in navigateUpToLocked() argument
4271 if (!srec.attachedToProcess()) { in navigateUpToLocked()
4276 final TaskRecord task = srec.getTaskRecord(); in navigateUpToLocked()
4278 final int start = activities.indexOf(srec); in navigateUpToLocked()
[all …]
DActivityTaskManagerService.java1932 ActivityRecord srec; in getLaunchedFromUid() local
1934 srec = ActivityRecord.forTokenLocked(activityToken); in getLaunchedFromUid()
1936 if (srec == null) { in getLaunchedFromUid()
1939 return srec.launchedFromUid; in getLaunchedFromUid()
1944 ActivityRecord srec; in getLaunchedFromPackage() local
1946 srec = ActivityRecord.forTokenLocked(activityToken); in getLaunchedFromPackage()
1948 if (srec == null) { in getLaunchedFromPackage()
1951 return srec.launchedFromPackage; in getLaunchedFromPackage()
2145 final ActivityRecord srec = ActivityRecord.forTokenLocked(token); in shouldUpRecreateTask() local
2146 if (srec != null) { in shouldUpRecreateTask()
[all …]
/frameworks/base/services/core/java/com/android/server/am/
DActiveServices.java1925 final ServiceRecord srec = crec.binding.service; in updateServiceGroupLocked() local
1926 if (srec != null && (srec.serviceInfo.flags & ServiceInfo.FLAG_ISOLATED_PROCESS) != 0) { in updateServiceGroupLocked()
1927 if (srec.app != null) { in updateServiceGroupLocked()
1929 srec.app.connectionService = srec; in updateServiceGroupLocked()
1930 srec.app.connectionGroup = group; in updateServiceGroupLocked()
1931 srec.app.connectionImportance = importance; in updateServiceGroupLocked()
1933 srec.app.connectionService = null; in updateServiceGroupLocked()
1934 srec.app.connectionGroup = 0; in updateServiceGroupLocked()
1935 srec.app.connectionImportance = 0; in updateServiceGroupLocked()
1939 srec.pendingConnectionGroup = group; in updateServiceGroupLocked()
[all …]