Searched refs:affinity (Results 1 – 12 of 12) sorted by relevance
/frameworks/base/services/core/java/com/android/server/notification/ |
D | ValidateNotificationPeople.java | 176 float affinity = affinityOut[0]; in getContactAffinity() local 198 + "Returning affinity=" + affinity, e); in getContactAffinity() 199 return affinity; in getContactAffinity() 202 affinity = Math.max(prr.getContactAffinity(), affinity); in getContactAffinity() 204 return affinity; in getContactAffinity() 227 final float affinity = affinityOut[0]; in validatePeople() local 228 record.setContactAffinity(affinity); in validatePeople() 230 mUsageStats.registerPeopleAffinity(record, affinity > NONE, affinity == STARRED_CONTACT, in validatePeople() 240 float affinity = NONE; in validatePeople() local 265 affinity = Math.max(affinity, lookupResult.getAffinity()); in validatePeople() [all …]
|
/frameworks/base/services/core/java/com/android/server/wm/ |
D | ResetTargetTaskHelper.java | 116 && !r.taskAffinity.equals(mTask.affinity)) { in processActivity() 158 } else if (mTargetTaskFound && allowTaskReparenting && mTargetTask.affinity != null in processActivity() 159 && mTargetTask.affinity.equals(r.taskAffinity)) { in processActivity() 252 if (task != null && r.taskAffinity.equals(task.affinity)) { in processPendingReparentActivities()
|
D | Task.java | 230 String affinity; // The affinity name for this task, or null; may change identity. field in Task 559 affinity = _affinity; in Task() 957 affinity = isLeaf ? info.taskAffinity : null; in setIntent() 962 rootAffinity = affinity; in setIntent() 3786 if (affinity != null || rootAffinity != null) { 3787 pw.print(prefix); pw.print("affinity="); pw.print(affinity); 3788 if (affinity == null || !affinity.equals(rootAffinity)) { 3901 if (affinity != null) { 3903 sb.append(affinity); 3971 if (affinity != null) { [all …]
|
D | ActivityStack.java | 2303 final String affinity = ActivityRecord.getTaskAffinityWithUid(destAffinity, srec.getUid()); in shouldUpRecreateTaskLocked() local 2304 if (srec == null || srec.getTask().affinity == null in shouldUpRecreateTaskLocked() 2305 || !srec.getTask().affinity.equals(affinity)) { in shouldUpRecreateTaskLocked() 2326 if (!task.affinity.equals(prevTask.affinity)) { in shouldUpRecreateTaskLocked()
|
D | RecentTasks.java | 1502 task.affinity != null && task.affinity.equals(t.affinity); in findRemoveIndexForAddTask()
|
D | LaunchParamsPersister.java | 272 mWindowLayoutAffinityMap.computeIfAbsent(launchParamAffinity, affinity -> new ArraySet<>()) in addComponentNameToLaunchParamAffinityMapIfNotNull()
|
D | ActivityRecord.java | 1664 static String getTaskAffinityWithUid(String affinity, int uid) { in getTaskAffinityWithUid() argument 1666 if (affinity != null && !affinity.startsWith(uidStr)) { in getTaskAffinityWithUid() 1667 affinity = uidStr + ":" + affinity; in getTaskAffinityWithUid() 1669 return affinity; in getTaskAffinityWithUid()
|
D | ActivityTaskManagerService.java | 5035 pw.print("TASK "); pw.print(lastTask.affinity); in dumpActivity()
|
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/ |
D | ActivityStackTests.java | 1301 final String affinity = "affinity"; in testShouldUpRecreateTaskLockedWithCorrectAffinityFormat() local 1302 final ActivityRecord activity = new ActivityBuilder(mService).setAffinity(affinity) in testShouldUpRecreateTaskLockedWithCorrectAffinityFormat() 1304 activity.getTask().affinity = activity.taskAffinity; in testShouldUpRecreateTaskLockedWithCorrectAffinityFormat() 1306 assertFalse(mStack.shouldUpRecreateTaskLocked(activity, affinity)); in testShouldUpRecreateTaskLockedWithCorrectAffinityFormat() 1311 final String affinity = "affinity"; in testShouldUpRecreateTaskLockedWithWrongAffinityFormat() local 1312 final ActivityRecord activity = new ActivityBuilder(mService).setAffinity(affinity) in testShouldUpRecreateTaskLockedWithWrongAffinityFormat() 1314 activity.getTask().affinity = activity.taskAffinity; in testShouldUpRecreateTaskLockedWithWrongAffinityFormat()
|
D | ActivityTestsBase.java | 227 ActivityBuilder setAffinity(String affinity) { in setAffinity() argument 228 mAffinity = affinity; in setAffinity()
|
D | LaunchParamsPersisterTests.java | 263 mTestTask.affinity = TEST_WINDOW_LAYOUT_AFFINITY; in testReturnsEmptyLaunchParamsWindowLayoutAffinityMismatch()
|
D | RecentTasksTest.java | 1202 task.affinity = null; in createDocumentTask()
|