Home
last modified time | relevance | path

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

12

/frameworks/base/core/java/com/android/internal/pm/pkg/component/
DParsedActivityImpl.java65 private String taskAffinity; field in ParsedActivityImpl
108 this.taskAffinity = other.taskAffinity; in ParsedActivityImpl()
138 int uiOptions, String taskAffinity, boolean hardwareAccelerated) { in makeAppDetailsActivity() argument
146 activity.taskAffinity = taskAffinity; in makeAppDetailsActivity()
183 alias.taskAffinity = target.getTaskAffinity(); in makeAlias()
300 dest.writeString(this.taskAffinity); in writeToParcel()
340 this.taskAffinity = in.readString(); in ParsedActivityImpl()
402 @Nullable String taskAffinity, in ParsedActivityImpl() argument
428 this.taskAffinity = taskAffinity; in ParsedActivityImpl()
476 return taskAffinity; in getTaskAffinity()
[all …]
DParsedActivityUtils.java214 String taskAffinity = sa.getNonConfigurationString( in parseActivityOrReceiver() local
219 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.java321 void init(int activityType, String taskAffinity, Intent intent, ActivityInfo info, in init() argument
324 mTaskAffinity = taskAffinity; in init()
2388 return findTask(r.getActivityType(), r.taskAffinity, r.intent, r.info, in findTask()
2393 ActivityRecord findTask(int activityType, String taskAffinity, Intent intent, ActivityInfo info, in findTask() argument
2397 taskAffinity, intent, info, preferredTaskDisplayArea, includeLaunchedFromBubble); in findTask()
2398 mTmpFindTaskResult.init(activityType, taskAffinity, intent, info, in findTask()
DActivityRecord.java512 final String taskAffinity; // as per ActivityInfo.taskAffinity field in ActivityRecord
1106 pw.print(prefix); pw.print("taskAffinity="); pw.println(taskAffinity); in dump()
2253 info.taskAffinity = computeTaskAffinity(info.taskAffinity, info.applicationInfo.uid); in ActivityRecord()
2254 taskAffinity = info.taskAffinity; in ActivityRecord()
3593 if (!Objects.equals(r.taskAffinity, taskAffinity)) return true; in finishIfSameAffinity()
DTask.java961 affinity = info.taskAffinity; in setIntent()
3544 info.topActivityInfo.taskAffinity = "";
3562 info.topActivityInfo.applicationInfo.taskAffinity = "";
DActivityTaskManagerService.java1534 a.taskAffinity = "android:" + a.packageName + "/dream"; in startDreamActivityInternal()
/frameworks/base/core/java/android/content/pm/
DActivityInfo.java211 public String taskAffinity; field in ActivityInfo
1737 taskAffinity = orig.taskAffinity;
2066 pw.println(prefix + "taskAffinity=" + taskAffinity
2138 dest.writeString8(taskAffinity);
2265 taskAffinity = source.readString8();
DApplicationInfo.java82 public String taskAffinity; field in ApplicationInfo
1670 pw.println(prefix + "taskAffinity=" + taskAffinity); in dump()
1838 proto.write(ApplicationInfoProto.Detail.TASK_AFFINITY, taskAffinity); in dumpDebug()
1948 taskAffinity = orig.taskAffinity; in ApplicationInfo()
2038 dest.writeString8(taskAffinity); in writeToParcel()
2144 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/tests/wmtests/src/com/android/server/wm/
DRootTaskTests.java408 result.init(r.getActivityType(), r.taskAffinity, r.intent, r.info, true); in testFindTaskWithOverlay()
436 result.init(r1.getActivityType(), r1.taskAffinity, r1.intent, r1.info, true); in testFindTaskAlias()
444 result.init(r2.getActivityType(), r2.taskAffinity, r2.intent, r2.info, true); in testFindTaskAlias()
1369 task.affinity = activity.taskAffinity; in testShouldUpRecreateTaskLockedWithCorrectAffinityFormat()
1380 task.affinity = activity.taskAffinity; in testShouldUpRecreateTaskLockedWithWrongAffinityFormat()
1381 final String fakeAffinity = activity.getUid() + activity.taskAffinity; in testShouldUpRecreateTaskLockedWithWrongAffinityFormat()
DActivityStarterTests.java1545 info.taskAffinity = ActivityRecord.computeTaskAffinity("test", DEFAULT_FAKE_UID); in testLaunchActivityWithoutDisplayCategory()
1550 final ActivityRecord target = new ActivityBuilder(mAtm).setAffinity(info.taskAffinity) in testLaunchActivityWithoutDisplayCategory()
1570 info.taskAffinity = ActivityRecord.computeTaskAffinity("test", DEFAULT_FAKE_UID); in testLaunchActivityWithDifferentDisplayCategory()
1576 .setAffinity(info.taskAffinity).build(); in testLaunchActivityWithDifferentDisplayCategory()
1595 info.taskAffinity = ActivityRecord.computeTaskAffinity("test", DEFAULT_FAKE_UID); in testLaunchActivityWithSameDisplayCategory()
1602 .setAffinity(info.taskAffinity).build(); in testLaunchActivityWithSameDisplayCategory()
DRecentTasksTest.java450 final String taskAffinity = "affinity"; in testRemoveAffinityTask() local
454 task1.affinity = ActivityRecord.computeTaskAffinity(taskAffinity, uid); in testRemoveAffinityTask()
459 task2.affinity = ActivityRecord.computeTaskAffinity(taskAffinity, uid); in testRemoveAffinityTask()
DWindowTestsBase.java1457 aInfo.taskAffinity = mAffinity; in buildInner()
/frameworks/base/core/java/com/android/internal/pm/parsing/pkg/
DPackageImpl.java376 private String taskAffinity; field in PackageImpl
1392 return taskAffinity; in getTaskAffinity()
2489 public PackageImpl setTaskAffinity(@Nullable String taskAffinity) {
2490 this.taskAffinity = taskAffinity;
2649 appInfo.taskAffinity = taskAffinity;
3235 dest.writeString(this.taskAffinity);
3401 this.taskAffinity = in.readString();
/frameworks/base/core/java/com/android/internal/pm/pkg/parsing/
DParsingPackageUtils.java518 final String taskAffinity = null; in parsePackageFromPackageLite()
520 pkgName, pkgName, taskAffinity, input); in parsePackageFromPackageLite()
2090 String taskAffinity;
2092 taskAffinity = sa.getNonConfigurationString(
2099 taskAffinity = sa.getNonResourceString(
2104 pkgName, pkgName, taskAffinity, input);
2842 String taskAffinity = result.getResult();
2846 pkg.getProcessName(), pkg.getUiOptions(), taskAffinity,
DParsingPackage.java152 ParsingPackage setTaskAffinity(String taskAffinity); in setTaskAffinity() argument
/frameworks/base/services/tests/PackageManagerServiceTests/server/src/com/android/server/pm/
DPackageParserTest.java1157 assertEquals(a.taskAffinity, that.taskAffinity); in assertApplicationInfoEqual()
/frameworks/base/core/java/com/android/internal/pm/parsing/
DPackageInfoCommonUtils.java359 ai.taskAffinity = a.getTaskAffinity(); in generateActivityInfo()
/frameworks/base/core/java/android/app/
DActivity.java4863 if (mActivityInfo.taskAffinity == null) { in onNavigateUp()
8666 if (info.taskAffinity == null) {
8669 return ActivityClient.getInstance().shouldUpRecreateTask(mToken, info.taskAffinity);
/frameworks/base/services/core/java/com/android/server/
DBinaryTransparencyService.java738 pw.println("Task affinity: " + packageInfo.applicationInfo.taskAffinity); in onShellCommand()
/frameworks/base/services/core/java/com/android/server/pm/parsing/
DPackageInfoUtils.java568 ai.taskAffinity = a.getTaskAffinity(); in generateActivityInfo()
/frameworks/base/tools/aapt2/integration-tests/CommandTests/
Dandroid-33.jarAndroidManifest.xml META-INF/ META-INF/MANIFEST.MF NOTICES/ NOTICES/libcore ...
/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.txt1651 field public static final int taskAffinity = 16842770; // 0x1010012
12122 field public String taskAffinity;
12250 field public String taskAffinity;

12