Searched refs:PackageManagerHelper (Results 1 – 24 of 24) sorted by relevance
28 import com.android.launcher3.util.PackageManagerHelper;57 final PackageManagerHelper pmHelper = new PackageManagerHelper(context); in onReceive()
39 import com.android.launcher3.util.PackageManagerHelper;81 if (PackageManagerHelper.isSystemApp(app.getContext(), item.getIntent())) { in execute()221 boolean isLauncherAppTarget = PackageManagerHelper.isLauncherAppTarget(intent); in shortcutExists()
24 import static com.android.launcher3.util.PackageManagerHelper.isSystemApp;76 import com.android.launcher3.util.PackageManagerHelper;257 final PackageManagerHelper pmHelper = new PackageManagerHelper(context); in loadWorkspace()
48 import com.android.launcher3.util.PackageManagerHelper;343 Intent intent = new PackageManagerHelper(context).getAppLaunchIntent(packageName, mUser); in updateWorkspaceItemIntent()
23 import com.android.launcher3.util.PackageManagerHelper;52 return new PackageManagerHelper(context).getMarketIntent(componentName.getPackageName()); in getMarketIntent()
30 import com.android.launcher3.util.PackageManagerHelper;119 if (PackageManagerHelper.isAppSuspended(appInfo)) { in updateRuntimeFlagsForActivityTarget()
41 import com.android.launcher3.util.PackageManagerHelper;142 if (mIsSafeModeEnabled && !PackageManagerHelper.isSystemApp(this, intent)) { in startActivitySafely()
52 import com.android.launcher3.util.PackageManagerHelper;197 if (!new PackageManagerHelper(context).hasPermissionForActivity( in onReceive()616 if (!PackageManagerHelper.isLauncherAppTarget(original.launchIntent)) { in convertToLauncherActivityIfPossible()
19 import static com.android.launcher3.util.PackageManagerHelper.findSystemApk;
71 import com.android.launcher3.util.PackageManagerHelper;146 PackageManagerHelper.getStyleWallpapersIntent(context), 0); in existsStyleWallpapers()
49 import com.android.launcher3.util.PackageManagerHelper;79 Pair<String, Resources> customizationApkInfo = PackageManagerHelper.findSystemApk( in get()
71 import com.android.launcher3.util.PackageManagerHelper;874 if (!PackageManagerHelper.isLauncherAppTarget(intent)) { in convertShortcutsToLauncherActivities()
23 import static com.android.launcher3.util.PackageManagerHelper.getPackageFilter;
130 import com.android.launcher3.util.PackageManagerHelper;1196 } else if (!new PackageManagerHelper(this).hasPermissionForActivity( in completeAddShortcut()
30 import com.android.launcher3.util.PackageManagerHelper;168 new PackageManagerHelper(activity).startDetailsActivityForInfo( in getOnClickListener()201 Intent intent = new PackageManagerHelper(view.getContext()).getMarketIntent(
20 import com.android.launcher3.util.PackageManagerHelper;118 assertTrue(PackageManagerHelper.isLauncherAppTarget(info.intent)); in getAppShortcutInfo_dontAllowMissing_validComponent()130 assertTrue(PackageManagerHelper.isLauncherAppTarget(info.intent)); in getAppShortcutInfo_allowMissing_invalidComponent()
33 import com.android.launcher3.util.PackageManagerHelper;115 PackageManagerHelper.getMarketSearchIntent(mLauncher, query), null, in onEditorAction()
58 public class PackageManagerHelper { class66 public PackageManagerHelper(Context context) { in PackageManagerHelper() method in PackageManagerHelper
58 import com.android.launcher3.util.PackageManagerHelper;189 Intent intent = new PackageManagerHelper(launcher).getMarketIntent(packageName); in startMarketIntentForPackage()
38 import com.android.launcher3.util.PackageManagerHelper;234 mMarketSearchIntent = PackageManagerHelper.getMarketSearchIntent(mLauncher, query); in setLastSearchQuery()
59 import com.android.launcher3.util.PackageManagerHelper;138 PackageManagerHelper.getPackageFilter(pkg, in clearPackageData()
52 import com.android.launcher3.util.PackageManagerHelper;226 if (PackageManagerHelper.isLauncherAppTarget(intent)) { in importWorkspaceItems()
19 import static com.android.launcher3.util.PackageManagerHelper.getPackageFilter;