Home
last modified time | relevance | path

Searched refs:taskAffinity (Results 1 – 23 of 23) sorted by relevance

/frameworks/base/services/core/java/com/android/server/pm/pkg/component/
DParsedActivityImpl.java67 private String taskAffinity; field in ParsedActivityImpl
105 this.taskAffinity = other.taskAffinity; in ParsedActivityImpl()
133 int uiOptions, String taskAffinity, boolean hardwareAccelerated) { in makeAppDetailsActivity() argument
141 activity.taskAffinity = taskAffinity; in makeAppDetailsActivity()
178 alias.taskAffinity = target.getTaskAffinity(); in makeAlias()
292 dest.writeString(this.taskAffinity); in writeToParcel()
330 this.taskAffinity = in.readString(); in ParsedActivityImpl()
390 @Nullable String taskAffinity, in ParsedActivityImpl() argument
414 this.taskAffinity = taskAffinity; in ParsedActivityImpl()
460 return taskAffinity; in getTaskAffinity()
[all …]
DParsedActivity.java36 int uiOptions, String taskAffinity, boolean hardwareAccelerated) { in makeAppDetailsActivity() argument
39 taskAffinity, hardwareAccelerated); in makeAppDetailsActivity()
DParsedActivityUtils.java204 String taskAffinity = sa.getNonConfigurationString( in parseActivityOrReceiver() local
209 packageName, pkg.getTaskAffinity(), taskAffinity, input); in parseActivityOrReceiver()
/frameworks/base/services/core/java/com/android/server/wm/
DResetTargetTaskHelper.java108 if (allowTaskReparenting && r.taskAffinity != null in test()
109 && !r.taskAffinity.equals(mTask.affinity)) { in test()
152 && mTargetTask.affinity.equals(r.taskAffinity)) { in test()
241 if (task != null && r.taskAffinity.equals(task.affinity)) { in processPendingReparentActivities()
DRootWindowContainer.java304 void init(int activityType, String taskAffinity, Intent intent, ActivityInfo info) { in init() argument
306 mTaskAffinity = taskAffinity; in init()
399 mInfo.taskAffinity, (task.realActivity != null in matchingCandidate()
2180 return findTask(r.getActivityType(), r.taskAffinity, r.intent, r.info, in findTask()
2185 ActivityRecord findTask(int activityType, String taskAffinity, Intent intent, ActivityInfo info, in findTask() argument
2188 + ", info=%s, preferredTDA=%s", activityType, taskAffinity, intent, info, in findTask()
2190 mTmpFindTaskResult.init(activityType, taskAffinity, intent, info); in findTask()
DActivityRecord.java469 final String taskAffinity; // as per ActivityInfo.taskAffinity field in ActivityRecord
1019 pw.print(prefix); pw.print("taskAffinity="); pw.println(taskAffinity); in dump()
2089 info.taskAffinity = computeTaskAffinity(info.taskAffinity, info.applicationInfo.uid, in ActivityRecord()
2091 taskAffinity = info.taskAffinity; in ActivityRecord()
3335 if (!Objects.equals(r.taskAffinity, taskAffinity)) return true; in finishIfSameAffinity()
DTask.java1016 affinity = info.taskAffinity; in setIntent()
3524 info.topActivityInfo.taskAffinity = "";
3542 info.topActivityInfo.applicationInfo.taskAffinity = "";
DActivityTaskManagerService.java1503 a.taskAffinity = "android:" + a.packageName + "/dream"; in startDreamActivity()
/frameworks/base/core/java/android/content/pm/
DActivityInfo.java209 public String taskAffinity; field in ActivityInfo
1492 taskAffinity = orig.taskAffinity; in ActivityInfo()
1815 pw.println(prefix + "taskAffinity=" + taskAffinity in dump()
1879 dest.writeString8(taskAffinity); in writeToParcel()
2004 taskAffinity = source.readString8(); in ActivityInfo()
DApplicationInfo.java78 public String taskAffinity; field in ApplicationInfo
1601 pw.println(prefix + "taskAffinity=" + taskAffinity); in dump()
1766 proto.write(ApplicationInfoProto.Detail.TASK_AFFINITY, taskAffinity); in dumpDebug()
1874 taskAffinity = orig.taskAffinity; in ApplicationInfo()
1962 dest.writeString8(taskAffinity); in writeToParcel()
2065 taskAffinity = source.readString8(); in ApplicationInfo()
DPackageParser.java3683 ai.taskAffinity = buildTaskAffinityName(ai.packageName, ai.packageName, in parseBaseApplication()
4273 a.info.taskAffinity = buildTaskAffinityName(owner.packageName, owner.packageName, in generateAppDetailsHiddenActivity()
4359 a.info.taskAffinity = buildTaskAffinityName(owner.applicationInfo.packageName, in parseActivity()
4360 owner.applicationInfo.taskAffinity, str, outError); in parseActivity()
4940 info.taskAffinity = target.info.taskAffinity;
/frameworks/base/services/core/java/com/android/server/pm/pkg/parsing/
DParsingPackageImpl.java402 private String taskAffinity; field in ParsingPackageImpl
1138 appInfo.taskAffinity = taskAffinity;
1319 dest.writeString(this.taskAffinity);
1468 this.taskAffinity = in.readString();
2121 return taskAffinity;
2983 public ParsingPackageImpl setTaskAffinity(@Nullable String taskAffinity) {
2984 this.taskAffinity = taskAffinity;
DParsingPackage.java148 ParsingPackage setTaskAffinity(String taskAffinity); in setTaskAffinity() argument
DParsingPackageUtils.java1987 String taskAffinity; in parseBaseApplication() local
1989 taskAffinity = sa.getNonConfigurationString( in parseBaseApplication()
1996 taskAffinity = sa.getNonResourceString( in parseBaseApplication()
2001 pkgName, pkgName, taskAffinity, input); in parseBaseApplication()
2715 String taskAffinity = result.getResult();
2719 pkg.getProcessName(), pkg.getUiOptions(), taskAffinity,
DPackageInfoWithoutStateUtils.java528 ai.taskAffinity = a.getTaskAffinity(); in generateActivityInfoUnchecked()
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
DRootTaskTests.java408 result.init(r.getActivityType(), r.taskAffinity, r.intent, r.info); in testFindTaskWithOverlay()
435 result.init(r1.getActivityType(), r1.taskAffinity, r1.intent, r1.info); in testFindTaskAlias()
443 result.init(r2.getActivityType(), r2.taskAffinity, r2.intent, r2.info); in testFindTaskAlias()
1338 task.affinity = activity.taskAffinity; in testShouldUpRecreateTaskLockedWithCorrectAffinityFormat()
1349 task.affinity = activity.taskAffinity; in testShouldUpRecreateTaskLockedWithWrongAffinityFormat()
1350 final String fakeAffinity = activity.getUid() + activity.taskAffinity; in testShouldUpRecreateTaskLockedWithWrongAffinityFormat()
DRecentTasksTest.java448 final String taskAffinity = "affinity"; in testRemoveAffinityTask() local
451 task1.affinity = ActivityRecord.computeTaskAffinity(taskAffinity, uid, LAUNCH_MULTIPLE); in testRemoveAffinityTask()
456 task2.affinity = ActivityRecord.computeTaskAffinity(taskAffinity, uid, LAUNCH_MULTIPLE); in testRemoveAffinityTask()
463 task3.affinity = ActivityRecord.computeTaskAffinity(taskAffinity, uid, in testRemoveAffinityTask()
DWindowTestsBase.java1196 aInfo.taskAffinity = mAffinity; in buildInner()
/frameworks/base/services/tests/PackageManagerServiceTests/server/src/com/android/server/
DPackageParserTest.java931 assertEquals(a.taskAffinity, that.taskAffinity); in assertApplicationInfoEqual()
/frameworks/base/core/java/android/app/
DActivity.java4625 if (mActivityInfo.taskAffinity == null) { in onNavigateUp()
8032 if (info.taskAffinity == null) {
8035 return ActivityClient.getInstance().shouldUpRecreateTask(mToken, info.taskAffinity);
/frameworks/opt/setupwizard/tools/docs/
Dandroid-22.txt1204 field public static final int taskAffinity = 16842770; // 0x1010012
8352 field public java.lang.String taskAffinity;
8411 field public java.lang.String taskAffinity;
/frameworks/base/core/api/
Dcurrent.txt1491 field public static final int taskAffinity = 16842770; // 0x1010012
11091 field public String taskAffinity;
11219 field public String taskAffinity;
/frameworks/base/boot/hiddenapi/
Dhiddenapi-max-target-o.txt76543 Lcom/android/internal/R$attr;->taskAffinity:I