Home
last modified time | relevance | path

Searched refs:PACKAGE_3 (Results 1 – 5 of 5) sorted by relevance

/frameworks/base/services/tests/servicestests/src/com/android/server/usage/
DAppIdleHistoryTests.java42 private static final String PACKAGE_3 = "com.android.testpackage3"; field in AppIdleHistoryTests
105 aih.setAppStandbyBucket(PACKAGE_3, USER_ID, 2500, STANDBY_BUCKET_RESTRICTED, in testBuckets()
116 assertEquals(aih.getAppStandbyBucket(PACKAGE_3, USER_ID, 3000), STANDBY_BUCKET_RESTRICTED); in testBuckets()
117 assertEquals(aih.getAppStandbyReason(PACKAGE_3, USER_ID, 3000), in testBuckets()
126 assertTrue(aih.isIdle(PACKAGE_3, USER_ID, 3000)); in testBuckets()
136 assertEquals(aih.getAppStandbyBucket(PACKAGE_3, USER_ID, 3000), STANDBY_BUCKET_RESTRICTED); in testBuckets()
137 assertEquals(aih.getAppStandbyReason(PACKAGE_3, USER_ID, 3000), in testBuckets()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/collection/
DShadeListBuilderTest.java129 addNotif(2, PACKAGE_3).setRank(4).modifyNotification(mContext).setWhen(33); in testNotifsAreSortedByRankAndWhen()
130 addNotif(3, PACKAGE_3).setRank(3); in testNotifsAreSortedByRankAndWhen()
132 addNotif(5, PACKAGE_3).setRank(1); in testNotifsAreSortedByRankAndWhen()
238 addNotif(0, PACKAGE_3); in testDuplicateGroupSummariesAreDiscarded()
354 addNotif(2, PACKAGE_3); in testPreviousParentsAreSetProperly()
403 addNotif(2, PACKAGE_3); in testPreGroupNotifsAreFiltered()
439 addNotif(2, PACKAGE_3); in testPreRenderNotifsAreFiltered()
550 addNotif(6, PACKAGE_3); in testNotifsArePromoted()
590 addNotif(5, PACKAGE_3); in testNotifPromotersCanBePreempted()
624 addNotif(3, PACKAGE_3); in testNotifSections()
[all …]
/frameworks/base/services/tests/servicestests/src/com/android/server/people/prediction/
DSharesheetModelScorerTest.java57 private static final String PACKAGE_3 = "pkg3"; field in SharesheetModelScorerTest
149 new AppTargetId("cls1#pkg3"), PACKAGE_3, UserHandle.of(USER_ID)) in setUp()
154 new AppTargetId("cls2#pkg3"), PACKAGE_3, UserHandle.of(USER_ID)) in setUp()
276 PACKAGE_3, new AppUsageStatsData(3, 0))); in testComputeScoreForAppShare_promoteFrequentlyChosenApps()
309 PACKAGE_3, new AppUsageStatsData(1, 0))); in testComputeScoreForAppShare_promoteFrequentlyUsedApps()
347 PACKAGE_3, new AppUsageStatsData(1, 0))); in testComputeScoreForAppShare_skipPromoteFrequentlyUsedAppsWhenReachesLimit()
379 createUsageEvent(PACKAGE_3), in testComputeScoreForAppShare_promoteForegroundApp()
381 createUsageEvent(PACKAGE_3), in testComputeScoreForAppShare_promoteForegroundApp()
382 createUsageEvent(PACKAGE_3)) in testComputeScoreForAppShare_promoteForegroundApp()
414 List.of(createUsageEvent(PACKAGE_3), in testComputeScoreForAppShare_skipPromoteForegroundAppWhenNoValidForegroundApp()
[all …]
DShareTargetPredictorTest.java71 private static final String PACKAGE_3 = "pkg3"; field in ShareTargetPredictorTest
306 new AppTargetId("cls1#pkg3"), PACKAGE_3, UserHandle.of(USER_ID)) in testSortTargets()
315 when(mDataManager.getPackage(PACKAGE_3, USER_ID)).thenReturn(null); in testSortTargets()
366 new AppTargetId("cls1#pkg3"), PACKAGE_3, UserHandle.of(USER_ID)) in testSortTargets_nullIntentFilter()
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/
DAppStateTrackerTest.java155 private static final String PACKAGE_3 = "package3"; field in AppStateTrackerTest
445 areRestricted(instance, UID_3, PACKAGE_3, JOBS_AND_ALARMS); in testAll()
446 areRestricted(instance, UID_10_3, PACKAGE_3, JOBS_AND_ALARMS); in testAll()
455 areRestricted(instance, UID_3, PACKAGE_3, JOBS_AND_ALARMS); in testAll()
456 areRestricted(instance, UID_10_3, PACKAGE_3, JOBS_AND_ALARMS); in testAll()
470 areRestricted(instance, UID_3, PACKAGE_3, JOBS_AND_ALARMS); in testAll()
471 areRestricted(instance, UID_10_3, PACKAGE_3, JOBS_AND_ALARMS); in testAll()
730 ops.add(new PackageOps(PACKAGE_3, UID_10_3, entries)); in loadPersistedAppOps()
743 assertTrue(instance.isRunAnyInBackgroundAppOpsAllowed(UID_3, PACKAGE_3)); in loadPersistedAppOps()
747 assertFalse(instance.isRunAnyInBackgroundAppOpsAllowed(UID_10_3, PACKAGE_3)); in loadPersistedAppOps()