Home
last modified time | relevance | path

Searched refs:getRank (Results 1 – 25 of 28) sorted by relevance

12

/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/collection/listbuilder/
DSemiStableSort.kt69 items.filterTo(result) { stableOrder.getRank(it) != null } in <lambda>()
70 result.sortBy { stableOrder.getRank(it)!! } in <lambda>()
73 items.filterTo(additions) { stableOrder.getRank(it) == null } in <lambda>()
93 sortedItems.filterTo(result) { stableOrder.getRank(it) != null } in <lambda>()
94 val stableRankComparator = compareBy<T> { stableOrder.getRank(it)!! } in <lambda>()
100 sortedItems.filterTo(result) { stableOrder.getRank(it) == null } in <lambda>()
104 sortedItems.filterTo(additions) { stableOrder.getRank(it) == null } in <lambda>()
196 fun getRank(item: T): Int? in <lambda>() method
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/
DShortcutManagerTest2.java298 assertEquals(123, si.getRank()); in testShortcutInfoParcel()
369 assertEquals(123, si.getRank()); in testShortcutInfoParcel_resId()
421 assertEquals(123, si.getRank()); in testShortcutInfoClone()
445 assertEquals(123, si.getRank()); in testShortcutInfoClone()
469 assertEquals(123, si.getRank()); in testShortcutInfoClone()
491 assertEquals(0, si.getRank()); in testShortcutInfoClone()
515 assertEquals(123, si.getRank()); in testShortcutInfoClone()
570 assertEquals(123, si.getRank()); in testShortcutInfoClone_resId()
594 assertEquals(123, si.getRank()); in testShortcutInfoClone_resId()
618 assertEquals(123, si.getRank()); in testShortcutInfoClone_resId()
[all …]
DShortcutManagerTest1.java424 assertEquals(0, getCallerShortcut("s1").getRank()); in testPushDynamicShortcut()
435 assertEquals(0, getCallerShortcut("s3").getRank()); in testPushDynamicShortcut()
436 assertEquals(1, getCallerShortcut("s1").getRank()); in testPushDynamicShortcut()
437 assertEquals(2, getCallerShortcut("s2").getRank()); in testPushDynamicShortcut()
451 assertEquals(2, getCallerShortcut("s4").getRank()); in testPushDynamicShortcut()
452 assertEquals(3, getCallerShortcut("s2").getRank()); in testPushDynamicShortcut()
461 assertEquals(2, getCallerShortcut("s2").getRank()); in testPushDynamicShortcut()
462 assertEquals(3, getCallerShortcut("s4").getRank()); in testPushDynamicShortcut()
473 assertEquals(0, getCallerShortcut("s5").getRank()); in testPushDynamicShortcut()
474 assertEquals(1, getCallerShortcut("s3").getRank()); in testPushDynamicShortcut()
[all …]
/frameworks/av/media/libmedia/tests/codeclist/
DCodecListTest.cpp115 ALOGV("codec rank: %d", info->getRank()); in TEST()
211 EXPECT_EQ(info->getRank(), parcelCodecInfo->getRank()) in TEST()
/frameworks/base/services/core/java/com/android/server/pm/
DShortcutPackage.java1397 return Integer.compare(a.getRank(), b.getRank());
1420 return Integer.compare(a.getRank(), b.getRank());
1596 int ret = Integer.compare(a.getRank(), b.getRank());
1629 if (si.isFloating() && si.getRank() != 0) { in adjustRanks()
1662 if (si.getRank() != thisRank) { in adjustRanks()
1936 ShortcutService.writeAttr(out, ATTR_RANK, si.getRank()); in saveShortcut()
2316 Collections.sort(list, (a, b) -> Integer.compare(a.getRank(), b.getRank())); in verifyStates()
2351 if (si.isFloating() && si.getRank() != 0) { in verifyStates()
2354 + " is floating, but has rank=" + si.getRank()); in verifyStates()
2518 if (si.getRank() != i) { in verifyRanksSequential()
[all …]
/frameworks/base/services/people/java/com/android/server/people/prediction/
DShareTargetPredictor.java123 .thenComparing(t -> t.getAppTarget().getRank())); in predictTargets()
182 .setRank(shortcutInfo.getRank()) in getDirectShareTargets()
/frameworks/av/media/libmedia/include/media/
DMediaCodecInfo.h224 uint32_t getRank() const;
/frameworks/base/core/tests/coretests/src/android/service/notification/
DNotificationRankingUpdateTest.java370 Assert.assertEquals(comment, a.getRank(), b.getRank()); in detailedAssertEquals()
529 tweak.getRank(), in testRankingUpdate_equals_legacy()
/frameworks/av/media/libstagefright/
DMediaCodecList.cpp229 || (info2 != nullptr && info1->getRank() < info2->getRank()); in MediaCodecList()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/collection/
DListDumper.java130 .append(notifEntry.getRanking().getRank()); in dumpEntry()
DShadeListBuilder.java1241 o1.getRepresentativeEntry().getRanking().getRank(),
1242 o2.getRepresentativeEntry().getRanking().getRank());
1255 o1.getRepresentativeEntry().getRanking().getRank(),
1256 o2.getRepresentativeEntry().getRanking().getRank());
/frameworks/base/packages/SystemUI/tests/utils/src/com/android/systemui/statusbar/
DRankingBuilder.java70 mRank = ranking.getRank(); in RankingBuilder()
/frameworks/base/core/java/android/app/prediction/
DAppTarget.java147 public @IntRange(from = 0) int getRank() { in getRank() method in AppTarget
/frameworks/av/media/libmedia/
DMediaCodecInfo.cpp150 uint32_t MediaCodecInfo::getRank() const { in getRank() function in android::MediaCodecInfo
/frameworks/base/services/tests/shortcutmanagerutils/src/com/android/server/pm/shortcutmanagertest/
DShortcutManagerTestUtils.java780 (ShortcutInfo a, ShortcutInfo b) -> Integer.compare(a.getRank(), b.getRank());
913 assertEquals("Rank not sequential: id=" + si.getId(), i, si.getRank()); in haveSequentialRanks()
/frameworks/av/media/libstagefright/xmlparser/api/
Dcurrent.txt90 method public String getRank();
/frameworks/av/cmds/stagefright/
Dstagefright.cpp739 printf(" rank: %u\n", info->getRank()); in dumpCodecDetails()
/frameworks/base/core/java/android/service/notification/
DNotificationListenerService.java1870 public int getRank() { in getRank() method in NotificationListenerService.Ranking
/frameworks/base/core/java/android/content/pm/
DShortcutInfo.java1782 public int getRank() { in getRank() method in ShortcutInfo
/frameworks/base/core/java/com/android/internal/app/
DChooserActivity.java2191 int shortcutRank = matchingShortcuts.get(i).getShortcutInfo().getRank();
2210 int rankIndex = scoreList.indexOf(shortcutInfo.getRank());
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/collection/
DNotifCollectionTest.java481 assertEquals(56, entry1.getRanking().getRank()); in testRankingsAreUpdatedForOtherNotifs()
/frameworks/av/media/libmediaplayerservice/
DMediaPlayerService.cpp362 snprintf(buffer, SIZE - 1, " rank: %u\n", info->getRank()); in dumpCodecDetails()
/frameworks/base/core/api/
Dsystem-current.txt2411 method @IntRange(from=0) public int getRank();
Dcurrent.txt13561 method public int getRank();
41247 method public int getRank();
/frameworks/base/boot/
Dboot-image-profile.txt4737 HSPLandroid/content/pm/ShortcutInfo;->getRank()I

12