Searched refs:isPackageInstalled (Results 1 – 8 of 8) sorted by relevance
27 private static boolean isPackageInstalled(@NonNull String packageName, @NonNull Context context) { in isPackageInstalled() method in PackageUtils46 if (isPackageInstalled(packageName, context)) { in isPackageEnabled()
34 return isPackageInstalled(TERMINAL_APP_PACKAGE); in isAvailable()89 private boolean isPackageInstalled(String packageName) { in isPackageInstalled() method in LocalTerminalPreferenceController
142 isPackageInstalled(getTimeZoneDataPackageName())); in resetDeviceToClean()419 private boolean isPackageInstalled(String pkg) throws Exception { in isPackageInstalled() method in TimeZoneUpdateHostTest
30 public static boolean isPackageInstalled(Context context, String packageName) { in isPackageInstalled() method in PackageUtils
144 if (PackageUtils.isPackageInstalled(context, packageName)) { in cleanupVoicemail()
543 final boolean installed = PackageUtils.isPackageInstalled(getContext(), pkg); in removeStalePackages()
305 if (!isPackageInstalled(getActivity(), TERMINAL_APP_PACKAGE)) { in onCreatePreferences()1658 private static boolean isPackageInstalled(Context context, String packageName) { in isPackageInstalled() method in DevelopmentFragment