Home
last modified time | relevance | path

Searched refs:getContactAffinity (Results 1 – 11 of 11) sorted by relevance

/frameworks/base/services/core/java/com/android/server/notification/
DNotificationComparator.java101 Float.compare(left.getContactAffinity(), right.getContactAffinity()); in compare()
172 if (record.getContactAffinity() > ValidateNotificationPeople.NONE) { in isImportantPeople()
DValidateNotificationPeople.java184 public float getContactAffinity(UserHandle userHandle, Bundle extras, int timeoutMs, in getContactAffinity() method in ValidateNotificationPeople
222 affinity = Math.max(prr.getContactAffinity(), affinity); in getContactAffinity()
709 float affinityBound = operand.getContactAffinity(); in applyChangesLocked()
711 if (VERBOSE) Slog.i(TAG, "final affinity: " + operand.getContactAffinity()); in applyChangesLocked()
715 public float getContactAffinity() { in getContactAffinity() method in ValidateNotificationPeople.PeopleRankingReconsideration
DZenModeFiltering.java126 final float contactAffinity = validator.getContactAffinity(userHandle, extras, in matchesCallFilter()
329 float affinity = record.getContactAffinity(); in shouldInterceptAudience()
DNotificationRecord.java803 public float getContactAffinity() { in getContactAffinity() method in NotificationRecord
/frameworks/base/core/tests/coretests/src/android/app/people/
DPeopleSpaceTileTest.java239 assertThat(tile.getContactAffinity()).isEqualTo(0f); in testContactAffinity()
245 assertThat(tile.getContactAffinity()).isEqualTo(1f); in testContactAffinity()
342 assertThat(readTile.getContactAffinity()).isEqualTo(tile.getContactAffinity()); in testWriteThenReadFromParcel()
/frameworks/base/packages/SystemUI/src/com/android/systemui/people/
DPeopleSpaceUtils.java429 boolean shouldUpdate = storedTile.getContactAffinity() != affinity || outdatedBirthdayStatus in updateTileContactFields()
456 float affinity = getContactAffinity(cursor); in updateTileWithBirthdayAndUpdateAffinity()
478 private static float getContactAffinity(Cursor cursor) { in getContactAffinity() method in PeopleSpaceUtils
DPeopleTileViewHelper.java325 && tile.getContactAffinity() == STARRED_CONTACT) { in isDndBlockingTileData()
330 && (tile.getContactAffinity() == VALID_CONTACT in isDndBlockingTileData()
331 || tile.getContactAffinity() == STARRED_CONTACT)) { in isDndBlockingTileData()
/frameworks/base/core/java/android/app/people/
DPeopleSpaceTile.java223 public float getContactAffinity() { in getContactAffinity() method in PeopleSpaceTile
/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/
DValidateNotificationPeopleTest.java394 assertEquals(affinity, record.getContactAffinity(), 1e-8); in testValidatePeople_noLookupWhenCached_andPopulatesContactInfo()
DNotificationRecordTest.java1194 assertEquals(1.0f, record.getContactAffinity()); in testSetContactAffinity()
/frameworks/base/services/
Dart-wear-profile16241 PLcom/android/server/notification/NotificationRecord;->getContactAffinity()F