Home
last modified time | relevance | path

Searched refs:affinity (Results 1 – 7 of 7) sorted by relevance

/frameworks/base/services/core/java/com/android/server/notification/
DValidateNotificationPeople.java170 float affinity = affinityOut[0]; in getContactAffinity() local
192 + "Returning affinity=" + affinity, e); in getContactAffinity()
193 return affinity; in getContactAffinity()
196 affinity = Math.max(prr.getContactAffinity(), affinity); in getContactAffinity()
198 return affinity; in getContactAffinity()
221 final float affinity = affinityOut[0]; in validatePeople() local
222 record.setContactAffinity(affinity); in validatePeople()
224 mUsageStats.registerPeopleAffinity(record, affinity > NONE, affinity == STARRED_CONTACT, in validatePeople()
234 float affinity = NONE; in validatePeople() local
259 affinity = Math.max(affinity, lookupResult.getAffinity()); in validatePeople()
[all …]
/frameworks/base/services/core/java/com/android/server/wm/
DTaskRecord.java212 String affinity; // The affinity name for this task, or null; may change identity. field in TaskRecord
412 affinity = _affinity; in TaskRecord()
887 affinity = info.taskAffinity; in setIntent()
892 rootAffinity = affinity; in setIntent()
2427 if (affinity != null || rootAffinity != null) { in dump()
2428 pw.print(prefix); pw.print("affinity="); pw.print(affinity); in dump()
2429 if (affinity == null || !affinity.equals(rootAffinity)) { in dump()
2535 if (affinity != null) { in toString()
2537 sb.append(affinity); in toString()
2621 if (affinity != null) { in saveToXml()
[all …]
DRecentTasks.java1433 task.affinity != null && task.affinity.equals(tr.affinity); in findRemoveIndexForAddTask()
DActivityStack.java3371 && !target.taskAffinity.equals(task.affinity)) { in resetTargetTaskIfNeededLocked()
3383 && target.taskAffinity.equals(bottom.getTaskRecord().affinity)) { in resetTargetTaskIfNeededLocked()
3485 final String taskAffinity = task.affinity; in resetAffinityTaskIfNeededLocked()
4239 if (srec == null || srec.getTaskRecord().affinity == null || in shouldUpRecreateTaskLocked()
4240 !srec.getTaskRecord().affinity.equals(destAffinity)) { in shouldUpRecreateTaskLocked()
4261 if (!task.affinity.equals(prevTask.affinity)) { in shouldUpRecreateTaskLocked()
DActivityTaskManagerService.java5053 pw.print("TASK "); pw.print(lastTask.affinity); in dumpActivity()
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
DTaskRecordTests.java517 Intent affinityIntent, String affinity, String rootAffinity, in create() argument
DRecentTasksTest.java1048 task.affinity = null; in createDocumentTask()