Home
last modified time | relevance | path

Searched refs:hasShortcutHostPermissionInner (Results 1 – 3 of 3) sorted by relevance

/frameworks/base/services/tests/servicestests/src/com/android/server/pm/
DShortcutManagerTest6.java45 assertTrue(mService.hasShortcutHostPermissionInner(PACKAGE_SYSTEM_LAUNCHER, USER_0)); in testHasShortcutHostPermissionInner_systemLauncherOnly()
46 assertFalse(mService.hasShortcutHostPermissionInner(PACKAGE_FALLBACK_LAUNCHER, USER_0)); in testHasShortcutHostPermissionInner_systemLauncherOnly()
47 assertFalse(mService.hasShortcutHostPermissionInner(CALLING_PACKAGE_1, USER_0)); in testHasShortcutHostPermissionInner_systemLauncherOnly()
48 assertFalse(mService.hasShortcutHostPermissionInner(CALLING_PACKAGE_2, USER_0)); in testHasShortcutHostPermissionInner_systemLauncherOnly()
75 assertTrue(mService.hasShortcutHostPermissionInner(PACKAGE_SYSTEM_LAUNCHER, USER_0)); in testHasShortcutHostPermissionInner_with3pLauncher()
76 assertFalse(mService.hasShortcutHostPermissionInner(PACKAGE_FALLBACK_LAUNCHER, USER_0)); in testHasShortcutHostPermissionInner_with3pLauncher()
77 assertFalse(mService.hasShortcutHostPermissionInner(CALLING_PACKAGE_1, USER_0)); in testHasShortcutHostPermissionInner_with3pLauncher()
78 assertFalse(mService.hasShortcutHostPermissionInner(CALLING_PACKAGE_2, USER_0)); in testHasShortcutHostPermissionInner_with3pLauncher()
96 assertFalse(mService.hasShortcutHostPermissionInner(PACKAGE_SYSTEM_LAUNCHER, USER_0)); in testHasShortcutHostPermissionInner_with3pLauncher_complicated()
97 assertFalse(mService.hasShortcutHostPermissionInner(PACKAGE_FALLBACK_LAUNCHER, USER_0)); in testHasShortcutHostPermissionInner_with3pLauncher_complicated()
[all …]
DShortcutManagerTest7.java230 assertTrue(mService.hasShortcutHostPermissionInner(PACKAGE_SYSTEM_LAUNCHER, USER_0)); in testLauncherCommands()
/frameworks/base/services/core/java/com/android/server/pm/
DShortcutService.java2284 return hasShortcutHostPermissionInner(callingPackage, userId); in hasShortcutHostPermission()
2321 boolean hasShortcutHostPermissionInner(@NonNull String packageName, int userId) { in hasShortcutHostPermissionInner() method in ShortcutService
4139 hasShortcutHostPermissionInner("-", mUserId); in showLauncher()