Home
last modified time | relevance | path

Searched refs:defaultLauncher (Results 1 – 4 of 4) sorted by relevance

/frameworks/base/services/core/java/com/android/server/pm/
DShortcutRequestPinProcessor.java276 final ComponentName defaultLauncher = mService.getDefaultLauncher(launcherUserId); in createShortcutResultIntent() local
277 if (defaultLauncher == null) { in createShortcutResultIntent()
288 Pair.create(defaultLauncher, launcherUserId)); in createShortcutResultIntent()
420 final ComponentName defaultLauncher = mService.getDefaultLauncher(launcherUserId); in getRequestPinConfirmationActivity() local
422 if (defaultLauncher == null) { in getRequestPinConfirmationActivity()
427 defaultLauncher.getPackageName(), launcherUserId, requestType); in getRequestPinConfirmationActivity()
DShortcutService.java2366 final ComponentName defaultLauncher = mPackageManagerInternal in getDefaultLauncher() local
2371 if (defaultLauncher != null) { in getDefaultLauncher()
2372 detected = defaultLauncher; in getDefaultLauncher()
2799 final ComponentName defaultLauncher = getDefaultLauncher(userId); in isForegroundDefaultLauncher() local
2800 if (defaultLauncher == null) { in isForegroundDefaultLauncher()
2803 if (!callingPackage.equals(defaultLauncher.getPackageName())) { in isForegroundDefaultLauncher()
/frameworks/base/services/core/java/com/android/server/slice/
DSliceManagerService.java504 final ComponentName defaultLauncher = mPackageManagerInternal in getDefaultHome() local
508 if (defaultLauncher != null) { in getDefaultHome()
509 detected = defaultLauncher; in getDefaultHome()
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/
DShortcutManagerTest1.java7989 final ComponentName defaultLauncher = new ComponentName("default", "launcher"); in testIsForegroundDefaultLauncher_true() local
7992 setDefaultLauncher(UserHandle.USER_SYSTEM, defaultLauncher); in testIsForegroundDefaultLauncher_true()
8000 final ComponentName defaultLauncher = new ComponentName("default", "launcher"); in testIsForegroundDefaultLauncher_defaultButNotForeground() local
8003 setDefaultLauncher(UserHandle.USER_SYSTEM, defaultLauncher); in testIsForegroundDefaultLauncher_defaultButNotForeground()
8010 final ComponentName defaultLauncher = new ComponentName("default", "launcher"); in testIsForegroundDefaultLauncher_foregroundButNotDefault() local
8013 setDefaultLauncher(UserHandle.USER_SYSTEM, defaultLauncher); in testIsForegroundDefaultLauncher_foregroundButNotDefault()