Home
last modified time | relevance | path

Searched refs:CALLING_PACKAGE_2 (Results 1 – 6 of 6) sorted by relevance

/frameworks/base/services/tests/servicestests/src/com/android/server/pm/
DShortcutManagerTest1.java347 runWithCaller(CALLING_PACKAGE_2, USER_10, () -> { in testSetDynamicShortcuts()
395 runWithCaller(CALLING_PACKAGE_2, USER_10, () -> { in testAddDynamicShortcuts()
577 runWithCaller(CALLING_PACKAGE_2, USER_10, () -> { in testPublishWithNoActivity()
681 runWithCaller(CALLING_PACKAGE_2, USER_10, () -> { in testPublishWithNoActivity_noMainActivityInPackage()
817 setCaller(CALLING_PACKAGE_2); in testIcons()
1000 runWithCaller(CALLING_PACKAGE_2, USER_0, () -> { in testCleanupDanglingBitmaps()
1026 runWithCaller(CALLING_PACKAGE_2, USER_10, () -> { in testCleanupDanglingBitmaps()
1043 assertBitmapDirectories(USER_0, CALLING_PACKAGE_1, CALLING_PACKAGE_2); in testCleanupDanglingBitmaps()
1044 assertBitmapDirectories(USER_10, CALLING_PACKAGE_1, CALLING_PACKAGE_2); in testCleanupDanglingBitmaps()
1051 assertBitmapFiles(USER_0, CALLING_PACKAGE_2, in testCleanupDanglingBitmaps()
[all …]
DShortcutManagerTest6.java28 prepareGetRoleHoldersAsUser(CALLING_PACKAGE_2, USER_0); in testHasShortcutHostPermissionInner_with3pLauncher_complicated()
32 assertTrue(mService.hasShortcutHostPermissionInner(CALLING_PACKAGE_2, USER_0)); in testHasShortcutHostPermissionInner_with3pLauncher_complicated()
35 assertEquals(CALLING_PACKAGE_2, in testHasShortcutHostPermissionInner_with3pLauncher_complicated()
63 prepareGetRoleHoldersAsUser(CALLING_PACKAGE_2, USER_10); in testHasShortcutHostPermissionInner_multiUser()
68 assertFalse(mService.hasShortcutHostPermissionInner(CALLING_PACKAGE_2, USER_0)); in testHasShortcutHostPermissionInner_multiUser()
77 assertTrue(mService.hasShortcutHostPermissionInner(CALLING_PACKAGE_2, USER_10)); in testHasShortcutHostPermissionInner_multiUser()
80 assertEquals(CALLING_PACKAGE_2, in testHasShortcutHostPermissionInner_multiUser()
DShortcutManagerTest7.java230 prepareGetRoleHoldersAsUser(CALLING_PACKAGE_2, USER_10); in testLauncherCommands()
232 /* preferred */ cn(CALLING_PACKAGE_2, "name"), in testLauncherCommands()
235 ri(CALLING_PACKAGE_2, "name", false, 0) in testLauncherCommands()
311 assertSuccess(callShellCommand("clear-shortcuts", "--user", "10", CALLING_PACKAGE_2)); in testClearShortcuts()
DShortcutManagerTest2.java1689 mInjectedClientPackage = CALLING_PACKAGE_2;
1732 mInjectedClientPackage = CALLING_PACKAGE_2;
1761 runWithCaller(CALLING_PACKAGE_2, USER_0, () -> {
1818 runWithCaller(CALLING_PACKAGE_2, USER_0, () -> { in testThrottling_foreground()
1843 runWithCaller(CALLING_PACKAGE_2, USER_0, () -> { in testThrottling_foreground()
1868 runWithCaller(CALLING_PACKAGE_2, USER_0, () -> { in testThrottling_foreground()
1901 runWithCaller(CALLING_PACKAGE_2, USER_0, () -> { in testThrottling_foreground()
1921 runWithCaller(CALLING_PACKAGE_2, USER_0, () -> { in testThrottling_foreground()
1936 runWithCaller(CALLING_PACKAGE_2, USER_0, () -> { in testThrottling_foreground()
1979 runWithCaller(CALLING_PACKAGE_2, USER_0, () -> { in testThrottling_foreground()
[all …]
DBaseShortcutManagerTest.java968 protected static final String CALLING_PACKAGE_2 = "com.android.test.2"; field in BaseShortcutManagerTest
1133 addPackage(CALLING_PACKAGE_2, CALLING_UID_2, 2); in setUp()
1524 addApplicationInfo(getInjectedPackageInfo(CALLING_PACKAGE_2, userId, false), ret); in getInstalledApplications()
1545 addPackageInfo(getInjectedPackageInfo(CALLING_PACKAGE_2, userId, false), ret); in getInstalledPackagesWithUninstalled()
2418 for (String pkg : list(CALLING_PACKAGE_1, CALLING_PACKAGE_2, CALLING_PACKAGE_3,
2450 runWithCaller(CALLING_PACKAGE_2, USER_0, () -> {
2476 mLauncherApps.pinShortcuts(CALLING_PACKAGE_2, list("s1", "s2"), HANDLE_USER_0);
2483 mLauncherApps.pinShortcuts(CALLING_PACKAGE_2, list("s2", "s3"), HANDLE_USER_0);
2492 mLauncherApps.pinShortcuts(CALLING_PACKAGE_2, list("s3", "s4"), HANDLE_USER_0);
2499 mLauncherApps.pinShortcuts(CALLING_PACKAGE_2, list(), HANDLE_USER_0);
[all …]
DShortcutManagerTest8.java124 runWithCaller(CALLING_PACKAGE_2, USER_0, () -> { in testIsRequestPinShortcutSupported()
157 runWithCaller(CALLING_PACKAGE_2, USER_0, () -> { in testIsRequestPinShortcutSupported()
188 runWithCaller(CALLING_PACKAGE_2, USER_0, () -> { in testRequestPinShortcut_notSupported()