Lines Matching defs:affinity
109 private static final String ATTR_AFFINITY = "affinity";
142 String affinity; // The affinity name for this task, or null; may change identity.
143 String rootAffinity; // Initial base affinity, or null; does not change from initial root.
147 Intent affinityIntent; // Intent of affinity-moved activity that started this task.
344 affinity = _affinity;
406 affinity = info.taskAffinity;
409 // affinity -- we don't want it changing after initially set, but the initially
411 rootAffinity = affinity;
1142 // Write affinity, and root affinity if it is different from affinity.
1143 // We use the special string "@" for a null root affinity, so we can identify
1144 // later whether we were given a root affinity or should just make it the
1145 // same as the affinity.
1146 if (affinity != null) {
1147 out.attribute(null, ATTR_AFFINITY, affinity);
1148 if (!affinity.equals(rootAffinity)) {
1222 String affinity = null;
1267 affinity = attrValue;
1353 rootAffinity = affinity;
1378 affinityIntent, affinity, rootAffinity, realActivity, origActivity, rootHasReset,
1681 // We don't allow root affinity matching on the pinned stack as no other task should
1682 // be launching in it based on affinity.
1692 if (affinity != null || rootAffinity != null) {
1693 pw.print(prefix); pw.print("affinity="); pw.print(affinity);
1694 if (affinity == null || !affinity.equals(rootAffinity)) {
1803 if (affinity != null) {
1805 sb.append(affinity);