/packages/apps/Launcher3/src/com/android/launcher3/compat/ |
D | LauncherAppsCompatVL.java | 51 protected final LauncherApps mLauncherApps; field in LauncherAppsCompatVL 59 mLauncherApps = (LauncherApps) context.getSystemService(Context.LAUNCHER_APPS_SERVICE); in LauncherAppsCompatVL() 64 return mLauncherApps.getActivityList(packageName, user); in getActivityList() 69 return mLauncherApps.resolveActivity(intent, user); in resolveActivity() 75 mLauncherApps.startMainActivity(component, user, sourceBounds, opts); in startActivityForProfile() 85 mLauncherApps.getActivityList(packageName, user); in getApplicationInfo() 107 mLauncherApps.startAppDetailsActivity(component, user, sourceBounds, opts); in showAppDetailsForProfile() 116 mLauncherApps.registerCallback(wrappedCallback); in addOnAppsChangedCallback() 126 mLauncherApps.unregisterCallback(wrappedCallback); in removeOnAppsChangedCallback() 132 return mLauncherApps.isPackageEnabled(packageName, user); in isPackageEnabledForProfile() [all …]
|
D | PackageInstallerCompatVL.java | 58 private final LauncherAppsCompat mLauncherApps; field in PackageInstallerCompatVL 65 mLauncherApps = LauncherAppsCompat.getInstance(context); in PackageInstallerCompatVL() 66 mLauncherApps.registerSessionCallback(MODEL_EXECUTOR, mCallback); in PackageInstallerCompatVL() 128 mLauncherApps.unregisterSessionCallback(mCallback); in onStop() 154 && mLauncherApps.getApplicationInfo(sessionInfo.getAppPackageName(), 0, in tryQueuePromiseAppIcon() 260 ? mLauncherApps.getAllPackageInstallerSessions() in getAllVerifiedSessions()
|
D | LauncherAppsCompatVQ.java | 36 return mLauncherApps.getAllPackageInstallerSessions(); in getAllPackageInstallerSessions() 41 mLauncherApps.registerPackageInstallerSessionCallback(executor, sessionCallback); in registerSessionCallback() 46 mLauncherApps.unregisterPackageInstallerSessionCallback(sessionCallback); in unregisterSessionCallback()
|
D | LauncherAppsCompatVO.java | 56 ApplicationInfo info = mLauncherApps.getApplicationInfo(packageName, flags, user); in getApplicationInfo() 83 mLauncherApps.getShortcutConfigActivityList(packageName, user); in getCustomShortcutActivityList()
|
/packages/apps/Launcher3/src_shortcuts_overrides/com/android/launcher3/shortcuts/ |
D | DeepShortcutManager.java | 54 private final LauncherApps mLauncherApps; field in DeepShortcutManager 57 mLauncherApps = (LauncherApps) context.getSystemService(Context.LAUNCHER_APPS_SERVICE); in DeepShortcutManager() 93 mLauncherApps.pinShortcuts(packageName, pinnedIds, user); in unpinShortcut() 110 mLauncherApps.pinShortcuts(packageName, pinnedIds, user); in pinShortcut() 119 mLauncherApps.startShortcut(packageName, id, sourceBounds, in startShortcut() 128 return mLauncherApps.getShortcutIconDrawable(shortcutInfo, density); in getShortcutIconDrawable() 177 return new QueryResult(mLauncherApps.getShortcuts(q, user)); in query() 186 return mLauncherApps.hasShortcutHostPermission(); in hasHostPermission()
|
/packages/apps/Launcher3/src/com/android/launcher3/util/ |
D | PackageManagerHelper.java | 64 private final LauncherAppsCompat mLauncherApps; field in PackageManagerHelper 69 mLauncherApps = LauncherAppsCompat.getInstance(context); in PackageManagerHelper() 77 ApplicationInfo info = mLauncherApps.getApplicationInfo( in isAppOnSdcard() 87 ApplicationInfo info = mLauncherApps.getApplicationInfo(packageName, 0, user); in isAppSuspended() 96 List<LauncherActivityInfo> activities = mLauncherApps.getActivityList(pkg, user); in getAppLaunchIntent() 205 mLauncherApps.showAppDetailsForProfile( in startDetailsActivityForInfo()
|
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/module/ |
D | DefaultPackageStatusNotifier.java | 34 private final LauncherApps mLauncherApps; field in DefaultPackageStatusNotifier 39 mLauncherApps = (LauncherApps) context.getSystemService(Context.LAUNCHER_APPS_SERVICE); in DefaultPackageStatusNotifier() 47 mLauncherApps.registerCallback(wrapper); in addListener() 58 mLauncherApps.unregisterCallback(oldWrapper); in removeListenerAndMaybeUnregisterCallback()
|
/packages/apps/Launcher3/src/com/android/launcher3/icons/ |
D | IconCache.java | 67 private final LauncherAppsCompat mLauncherApps; field in IconCache 79 mLauncherApps = LauncherAppsCompat.getInstance(mContext); in IconCache() 109 for (LauncherActivityInfo app : mLauncherApps.getActivityList(packageName, user)) { in updateIconsForPkg() 189 getTitleAndIcon(info, () -> mLauncherApps.resolveActivity(intent, info.user), in getTitleAndIcon()
|
/packages/apps/Launcher3/quickstep/recents_ui_overrides/src/com/android/quickstep/views/ |
D | DigitalWellBeingToast.java | 60 private final LauncherApps mLauncherApps; field in DigitalWellBeingToast 69 mLauncherApps = activity.getSystemService(LauncherApps.class); in DigitalWellBeingToast() 121 final AppUsageLimit usageLimit = mLauncherApps.getAppUsageLimit( in initialize()
|
/packages/apps/Launcher3/tests/src/com/android/launcher3/model/ |
D | LoaderCursorTest.java | 65 private LauncherAppsCompat mLauncherApps; field in LoaderCursorTest 84 mLauncherApps = LauncherAppsCompat.getInstance(mContext); in setup() 113 ComponentName cn = mLauncherApps.getActivityList(null, mLoaderCursor.user) in getAppShortcutInfo_dontAllowMissing_validComponent()
|
/packages/apps/Launcher3/src/com/android/launcher3/model/ |
D | LoaderTask.java | 107 private final LauncherAppsCompat mLauncherApps; field in LoaderTask 123 mLauncherApps = LauncherAppsCompat.getInstance(mApp.getContext()); in LoaderTask() 390 mLauncherApps.isPackageEnabledForProfile(targetPkg, c.user); in loadWorkspace() 399 if (mLauncherApps.isActivityEnabledForProfile(cn, c.user)) { in loadWorkspace() 826 final List<LauncherActivityInfo> apps = mLauncherApps.getActivityList(null, user); in loadAllApps()
|