/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/collection/listbuilder/ |
D | SemiStableSort.kt | 69 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/ |
D | ShortcutManagerTest2.java | 298 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 …]
|
D | ShortcutManagerTest1.java | 424 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/ |
D | CodecListTest.cpp | 115 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/ |
D | ShortcutPackage.java | 1397 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/ |
D | ShareTargetPredictor.java | 123 .thenComparing(t -> t.getAppTarget().getRank())); in predictTargets() 182 .setRank(shortcutInfo.getRank()) in getDirectShareTargets()
|
/frameworks/av/media/libmedia/include/media/ |
D | MediaCodecInfo.h | 224 uint32_t getRank() const;
|
/frameworks/base/core/tests/coretests/src/android/service/notification/ |
D | NotificationRankingUpdateTest.java | 370 Assert.assertEquals(comment, a.getRank(), b.getRank()); in detailedAssertEquals() 529 tweak.getRank(), in testRankingUpdate_equals_legacy()
|
/frameworks/av/media/libstagefright/ |
D | MediaCodecList.cpp | 229 || (info2 != nullptr && info1->getRank() < info2->getRank()); in MediaCodecList()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/collection/ |
D | ListDumper.java | 130 .append(notifEntry.getRanking().getRank()); in dumpEntry()
|
D | ShadeListBuilder.java | 1241 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/ |
D | RankingBuilder.java | 70 mRank = ranking.getRank(); in RankingBuilder()
|
/frameworks/base/core/java/android/app/prediction/ |
D | AppTarget.java | 147 public @IntRange(from = 0) int getRank() { in getRank() method in AppTarget
|
/frameworks/av/media/libmedia/ |
D | MediaCodecInfo.cpp | 150 uint32_t MediaCodecInfo::getRank() const { in getRank() function in android::MediaCodecInfo
|
/frameworks/base/services/tests/shortcutmanagerutils/src/com/android/server/pm/shortcutmanagertest/ |
D | ShortcutManagerTestUtils.java | 780 (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/ |
D | current.txt | 90 method public String getRank();
|
/frameworks/av/cmds/stagefright/ |
D | stagefright.cpp | 739 printf(" rank: %u\n", info->getRank()); in dumpCodecDetails()
|
/frameworks/base/core/java/android/service/notification/ |
D | NotificationListenerService.java | 1870 public int getRank() { in getRank() method in NotificationListenerService.Ranking
|
/frameworks/base/core/java/android/content/pm/ |
D | ShortcutInfo.java | 1782 public int getRank() { in getRank() method in ShortcutInfo
|
/frameworks/base/core/java/com/android/internal/app/ |
D | ChooserActivity.java | 2191 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/ |
D | NotifCollectionTest.java | 481 assertEquals(56, entry1.getRanking().getRank()); in testRankingsAreUpdatedForOtherNotifs()
|
/frameworks/av/media/libmediaplayerservice/ |
D | MediaPlayerService.cpp | 362 snprintf(buffer, SIZE - 1, " rank: %u\n", info->getRank()); in dumpCodecDetails()
|
/frameworks/base/core/api/ |
D | system-current.txt | 2411 method @IntRange(from=0) public int getRank();
|
D | current.txt | 13561 method public int getRank(); 41247 method public int getRank();
|
/frameworks/base/boot/ |
D | boot-image-profile.txt | 4737 HSPLandroid/content/pm/ShortcutInfo;->getRank()I
|