Home
last modified time | relevance | path

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

12

/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/collection/
DShadeListBuilderTest.java164 addNotif(0, PACKAGE_1).setRank(2); in testNotifsAreSortedByRankAndWhen()
165 addNotif(1, PACKAGE_2).setRank(4).modifyNotification(mContext).setWhen(22); in testNotifsAreSortedByRankAndWhen()
166 addNotif(2, PACKAGE_3).setRank(4).modifyNotification(mContext).setWhen(33); in testNotifsAreSortedByRankAndWhen()
167 addNotif(3, PACKAGE_3).setRank(3); in testNotifsAreSortedByRankAndWhen()
168 addNotif(4, PACKAGE_5).setRank(4).modifyNotification(mContext).setWhen(11); in testNotifsAreSortedByRankAndWhen()
169 addNotif(5, PACKAGE_3).setRank(1); in testNotifsAreSortedByRankAndWhen()
170 addNotif(6, PACKAGE_1).setRank(0); in testNotifsAreSortedByRankAndWhen()
244 addGroupChild(0, PACKAGE_1, GROUP_1).setRank(4); in testNotifsNotifChildrenAreSorted()
245 addGroupChild(1, PACKAGE_1, GROUP_1).setRank(2) in testNotifsNotifChildrenAreSorted()
247 addGroupChild(2, PACKAGE_1, GROUP_1).setRank(1); in testNotifsNotifChildrenAreSorted()
[all …]
DNotifCollectionTest.java232 .setRank(4747)); in testEventDispatchedWhenNotifPosted()
313 .setRank(4747)); in testEventDispatchedWhenNotifUpdated()
317 .setRank(89)); in testEventDispatchedWhenNotifUpdated()
471 .setRank(47)); in testRankingsAreUpdatedForOtherNotifs()
476 .setRank(56) in testRankingsAreUpdatedForOtherNotifs()
488 .setRank(3)); in testRankingUpdateIsProperlyIssuedToEveryone()
490 .setRank(2)); in testRankingUpdateIsProperlyIssuedToEveryone()
492 .setRank(1)); in testRankingUpdateIsProperlyIssuedToEveryone()
500 .setRank(4) in testRankingUpdateIsProperlyIssuedToEveryone()
504 .setRank(5) in testRankingUpdateIsProperlyIssuedToEveryone()
[all …]
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/
DShortcutManagerTest2.java266 .setRank(123) in testShortcutInfoParcel()
343 .setRank(123) in testShortcutInfoParcel_resId()
395 .setRank(123) in testShortcutInfoClone()
543 .setRank(123) in testShortcutInfoClone_resId()
706 .setRank(123) in testShortcutInfoCopyNonNullFieldsFrom()
811 .setRank(999).build()); in testShortcutInfoCopyNonNullFieldsFrom()
838 .setRank(123) in testShortcutInfoCopyNonNullFieldsFrom_resId()
940 .setRank(999).build()); in testShortcutInfoCopyNonNullFieldsFrom_resId()
975 .setRank(123) in testShortcutInfoSaveAndLoad()
997 .setRank(456) in testShortcutInfoSaveAndLoad()
[all …]
DShortcutManagerTest11.java504 s3.setRank(3); in testShortcutChangeCallback_pushDynamicShortcut_causeDeletionButCached()
DBaseShortcutManagerTest.java1667 .setRank(rank) in makeShortcut()
1696 .setRank(rank) in makeShortcut()
DShortcutManagerTest1.java449 s4.setRank(2); in testPushDynamicShortcut()
459 s4_2.setRank(4); in testPushDynamicShortcut()
508 s1_2.setRank(1); in testPushDynamicShortcut()
524 s8.setRank(100); in testPushDynamicShortcut()
/frameworks/base/packages/SystemUI/tests/utils/src/com/android/systemui/statusbar/notification/collection/
DNotificationEntryBuilder.java263 public NotificationEntryBuilder setRank(int rank) { in setRank() method in NotificationEntryBuilder
264 mRankingBuilder.setRank(rank); in setRank()
/frameworks/base/services/people/java/com/android/server/people/prediction/
DShareTargetPredictor.java155 .setRank(shareTarget.getScore() > 0 ? (int) (shareTarget.getScore() in sortTargets()
182 .setRank(shortcutInfo.getRank()) in getDirectShareTargets()
/frameworks/av/media/libmedia/include/media/
DMediaCodecInfo.h322 void setRank(uint32_t rank);
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/domain/interactor/
DRenderNotificationsListInteractorTest.kt148 whenever(this.ranking).thenReturn(RankingBuilder().setRank(rank).build()) in mockNotificationEntry()
/frameworks/av/media/libstagefright/
DOmxInfoBuilder.cpp189 info->setRank(rank); in buildMediaCodecList()
/frameworks/base/packages/SystemUI/tests/utils/src/com/android/systemui/statusbar/
DRankingBuilder.java134 public RankingBuilder setRank(int rank) { in setRank() method in RankingBuilder
/frameworks/base/core/java/android/app/prediction/
DAppTarget.java291 public Builder setRank(@IntRange(from = 0) int rank) { in setRank() method in AppTarget.Builder
/frameworks/av/media/libmedia/
DMediaCodecInfo.cpp261 void MediaCodecInfoWriter::setRank(uint32_t rank) { in setRank() function in android::MediaCodecInfoWriter
/frameworks/av/media/libstagefright/xmlparser/api/
Dcurrent.txt101 method public void setRank(String);
/frameworks/base/services/core/java/com/android/server/pm/
DShortcutPackage.java566 si.setRank(0); // It may still be pinned, so clear the rank. in deleteAllDynamicShortcuts()
670 si.setRank(0); in deleteOrDisableWithId()
1631 si.setRank(0); in adjustRanks()
1665 shortcut.setRank(thisRank); in adjustRanks()
DShortcutService.java2264 shortcut.setRank(0);
/frameworks/base/services/tests/servicestests/src/com/android/server/people/prediction/
DShareTargetPredictorTest.java429 .setRank(rank) in buildShortcut()
/frameworks/base/core/java/android/content/pm/
DShortcutInfo.java1444 public Builder setRank(int rank) { in setRank() method in ShortcutInfo.Builder
1792 public void setRank(int rank) { in setRank() method in ShortcutInfo
/frameworks/av/media/codec2/sfplugin/
DCodec2InfoBuilder.cpp663 codecInfo->setRank(rank); in buildMediaCodecList()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/collection/coordinator/
DPreparationCoordinatorTest.java304 mEntry.setRanking(new RankingBuilder(mEntry.getRanking()).setRank(100).build()); in testEntryRankChangeWillNotRebindViews()
/frameworks/base/core/tests/coretests/src/com/android/internal/app/
DChooserActivityTest.java3147 .setIntent(testIntent).setShortLabel("label1").setRank(3).build(), // 0 2 in createShortcuts()
3151 .setIntent(testIntent).setShortLabel("label2").setRank(7).build(), // 1 3 in createShortcuts()
3155 .setIntent(testIntent).setShortLabel("label3").setRank(1).build(), // 2 0 in createShortcuts()
3159 .setIntent(testIntent).setShortLabel("label4").setRank(3).build(), // 3 2 in createShortcuts()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/people/widget/
DPeopleSpaceWidgetManagerTest.java843 .setRank(1) in testUpdateMissedCallNotificationWithContentPostedIfMatchingUriTileFromSender()
/frameworks/base/core/api/
Dsystem-current.txt2423 method @NonNull public android.app.prediction.AppTarget.Builder setRank(@IntRange(from=0) int);
/frameworks/base/boot/
Dboot-image-profile.txt4716 HSPLandroid/content/pm/ShortcutInfo$Builder;->setRank(I)Landroid/content/pm/ShortcutInfo$Builder;

12