Home
last modified time | relevance | path

Searched refs:affinity (Results 1 – 13 of 13) 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/opt/gamesdk/src/swappy/
DThread.cpp49 void setAffinity(Affinity affinity) { in setAffinity() argument
55 switch (affinity) { in setAffinity()
DThread.h54 void setAffinity(Affinity affinity);
/frameworks/opt/gamesdk/samples/common/src/
DThread.cpp49 void setAffinity(Affinity affinity) { in setAffinity() argument
55 switch (affinity) { in setAffinity()
/frameworks/opt/gamesdk/samples/bouncyball/app/src/main/cpp/
DThread.cpp49 void setAffinity(Affinity affinity) { in setAffinity() argument
55 switch (affinity) { in setAffinity()
DWorkerThread.h34 WorkerThread(const char *name, Affinity affinity) in WorkerThread() argument
36 mAffinity(affinity) { in WorkerThread()
/frameworks/opt/gamesdk/samples/common/include/
DThread.h47 void setAffinity(Affinity affinity);
/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.java3356 && !target.taskAffinity.equals(task.affinity)) { in resetTargetTaskIfNeededLocked()
3368 && target.taskAffinity.equals(bottom.getTaskRecord().affinity)) { in resetTargetTaskIfNeededLocked()
3470 final String taskAffinity = task.affinity; in resetAffinityTaskIfNeededLocked()
4212 if (srec == null || srec.getTaskRecord().affinity == null || in shouldUpRecreateTaskLocked()
4213 !srec.getTaskRecord().affinity.equals(destAffinity)) { in shouldUpRecreateTaskLocked()
4234 if (!task.affinity.equals(prevTask.affinity)) { in shouldUpRecreateTaskLocked()
DActivityTaskManagerService.java5023 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()