Home
last modified time | relevance | path

Searched refs:PackageManagerHelper (Results 1 – 24 of 24) sorted by relevance

/packages/apps/Launcher3/src/com/android/launcher3/model/
DSdCardAvailableReceiver.java28 import com.android.launcher3.util.PackageManagerHelper;
57 final PackageManagerHelper pmHelper = new PackageManagerHelper(context); in onReceive()
DAddWorkspaceItemsTask.java39 import com.android.launcher3.util.PackageManagerHelper;
81 if (PackageManagerHelper.isSystemApp(app.getContext(), item.getIntent())) { in execute()
221 boolean isLauncherAppTarget = PackageManagerHelper.isLauncherAppTarget(intent); in shortcutExists()
DLoaderTask.java24 import static com.android.launcher3.util.PackageManagerHelper.isSystemApp;
76 import com.android.launcher3.util.PackageManagerHelper;
257 final PackageManagerHelper pmHelper = new PackageManagerHelper(context); in loadWorkspace()
DPackageUpdatedTask.java48 import com.android.launcher3.util.PackageManagerHelper;
343 Intent intent = new PackageManagerHelper(context).getAppLaunchIntent(packageName, mUser); in updateWorkspaceItemIntent()
/packages/apps/Launcher3/src/com/android/launcher3/
DPromiseAppInfo.java23 import com.android.launcher3.util.PackageManagerHelper;
52 return new PackageManagerHelper(context).getMarketIntent(componentName.getPackageName()); in getMarketIntent()
DAppInfo.java30 import com.android.launcher3.util.PackageManagerHelper;
119 if (PackageManagerHelper.isAppSuspended(appInfo)) { in updateRuntimeFlagsForActivityTarget()
DBaseDraggingActivity.java41 import com.android.launcher3.util.PackageManagerHelper;
142 if (mIsSafeModeEnabled && !PackageManagerHelper.isSystemApp(this, intent)) { in startActivitySafely()
DInstallShortcutReceiver.java52 import com.android.launcher3.util.PackageManagerHelper;
197 if (!new PackageManagerHelper(context).hasPermissionForActivity( in onReceive()
616 if (!PackageManagerHelper.isLauncherAppTarget(original.launchIntent)) { in convertToLauncherActivityIfPossible()
DPartner.java19 import static com.android.launcher3.util.PackageManagerHelper.findSystemApk;
DUtilities.java71 import com.android.launcher3.util.PackageManagerHelper;
146 PackageManagerHelper.getStyleWallpapersIntent(context), 0); in existsStyleWallpapers()
DAutoInstallsLayout.java49 import com.android.launcher3.util.PackageManagerHelper;
79 Pair<String, Resources> customizationApkInfo = PackageManagerHelper.findSystemApk( in get()
DLauncherProvider.java71 import com.android.launcher3.util.PackageManagerHelper;
874 if (!PackageManagerHelper.isLauncherAppTarget(intent)) { in convertShortcutsToLauncherActivities()
DInvariantDeviceProfile.java23 import static com.android.launcher3.util.PackageManagerHelper.getPackageFilter;
DLauncher.java130 import com.android.launcher3.util.PackageManagerHelper;
1196 } else if (!new PackageManagerHelper(this).hasPermissionForActivity( in completeAddShortcut()
/packages/apps/Launcher3/src/com/android/launcher3/popup/
DSystemShortcut.java30 import com.android.launcher3.util.PackageManagerHelper;
168 new PackageManagerHelper(activity).startDetailsActivityForInfo( in getOnClickListener()
201 Intent intent = new PackageManagerHelper(view.getContext()).getMarketIntent(
/packages/apps/Launcher3/tests/src/com/android/launcher3/model/
DLoaderCursorTest.java20 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()
/packages/apps/Launcher3/src/com/android/launcher3/allapps/search/
DAllAppsSearchBarController.java33 import com.android.launcher3.util.PackageManagerHelper;
115 PackageManagerHelper.getMarketSearchIntent(mLauncher, query), null, in onEditorAction()
/packages/apps/Launcher3/src/com/android/launcher3/util/
DPackageManagerHelper.java58 public class PackageManagerHelper { class
66 public PackageManagerHelper(Context context) { in PackageManagerHelper() method in PackageManagerHelper
/packages/apps/Launcher3/src/com/android/launcher3/touch/
DItemClickHandler.java58 import com.android.launcher3.util.PackageManagerHelper;
189 Intent intent = new PackageManagerHelper(launcher).getMarketIntent(packageName); in startMarketIntentForPackage()
/packages/apps/Launcher3/src/com/android/launcher3/allapps/
DAllAppsGridAdapter.java38 import com.android.launcher3.util.PackageManagerHelper;
234 mMarketSearchIntent = PackageManagerHelper.getMarketSearchIntent(mLauncher, query); in setLastSearchQuery()
/packages/apps/Launcher3/tests/src/com/android/launcher3/ui/
DAbstractLauncherUiTest.java59 import com.android.launcher3.util.PackageManagerHelper;
138 PackageManagerHelper.getPackageFilter(pkg, in clearPackageData()
/packages/apps/Launcher3/src/com/android/launcher3/provider/
DImportDataTask.java52 import com.android.launcher3.util.PackageManagerHelper;
226 if (PackageManagerHelper.isLauncherAppTarget(intent)) { in importWorkspaceItems()
/packages/apps/Launcher3/quickstep/src/com/android/quickstep/
DSysUINavigationMode.java19 import static com.android.launcher3.util.PackageManagerHelper.getPackageFilter;
DOverviewComponentObserver.java23 import static com.android.launcher3.util.PackageManagerHelper.getPackageFilter;