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.java2430 final ComponentName defaultLauncher = mPackageManagerInternal in getDefaultLauncher() local
2435 if (defaultLauncher != null) { in getDefaultLauncher()
2436 detected = defaultLauncher; in getDefaultLauncher()
2863 final ComponentName defaultLauncher = getDefaultLauncher(userId); in isForegroundDefaultLauncher() local
2864 if (defaultLauncher == null) { in isForegroundDefaultLauncher()
2867 if (!callingPackage.equals(defaultLauncher.getPackageName())) { in isForegroundDefaultLauncher()
/frameworks/base/services/core/java/com/android/server/slice/
DSliceManagerService.java484 final ComponentName defaultLauncher = mPackageManagerInternal in getDefaultHome() local
488 if (defaultLauncher != null) { in getDefaultHome()
489 detected = defaultLauncher; in getDefaultHome()
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/
DShortcutManagerTest1.java8020 final ComponentName defaultLauncher = new ComponentName("default", "launcher"); in testIsForegroundDefaultLauncher_true() local
8023 setDefaultLauncher(UserHandle.USER_SYSTEM, defaultLauncher); in testIsForegroundDefaultLauncher_true()
8031 final ComponentName defaultLauncher = new ComponentName("default", "launcher"); in testIsForegroundDefaultLauncher_defaultButNotForeground() local
8034 setDefaultLauncher(UserHandle.USER_SYSTEM, defaultLauncher); in testIsForegroundDefaultLauncher_defaultButNotForeground()
8041 final ComponentName defaultLauncher = new ComponentName("default", "launcher"); in testIsForegroundDefaultLauncher_foregroundButNotDefault() local
8044 setDefaultLauncher(UserHandle.USER_SYSTEM, defaultLauncher); in testIsForegroundDefaultLauncher_foregroundButNotDefault()