Home
last modified time | relevance | path

Searched refs:isPackageEnabled (Results 1 – 11 of 11) sorted by relevance

/packages/apps/Settings/tests/robotests/src/com/android/settings/
DUtilsTest.java251 assertThat(Utils.isPackageEnabled(mContext, PACKAGE_NAME)).isTrue(); in isPackageEnabled_appEnabled_returnTrue()
260 assertThat(Utils.isPackageEnabled(mContext, PACKAGE_NAME)).isFalse(); in isPackageEnabled_appDisabled_returnTrue()
265 assertThat(Utils.isPackageEnabled(mContext, PACKAGE_NAME)).isFalse(); in isPackageEnabled_noApp_returnFalse()
/packages/apps/Dialer/java/com/android/dialer/common/
DPackageUtils.java43 public static boolean isPackageEnabled(@NonNull String packageName, @NonNull Context context) { in isPackageEnabled() method in PackageUtils
/packages/apps/Settings/tests/robotests/src/com/android/settings/testutils/shadow/
DShadowUtils.java107 protected static boolean isPackageEnabled(Context context, String packageName) { in isPackageEnabled() method in ShadowUtils
/packages/apps/Settings/src/com/android/settings/search/
DSearchFeatureProvider.java71 !Utils.isPackageEnabled(activity, getSettingsIntelligencePkgName(activity))) { in initSearchToolbar()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/search/
DSearchFeatureProvider.java71 !Utils.isPackageEnabled(activity, getSettingsIntelligencePkgName(activity))) { in initSearchToolbar()
/packages/apps/Settings/src/com/android/settings/search/actionbar/
DSearchMenuController.java70 if (!Utils.isPackageEnabled(mHost.getContext(), SettingsIntelligencePkgName)) { in onCreateOptionsMenu()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/search/actionbar/
DSearchMenuController.java70 if (!Utils.isPackageEnabled(mHost.getContext(), SettingsIntelligencePkgName)) { in onCreateOptionsMenu()
/packages/apps/Dialer/java/com/android/dialer/oem/
DMotorolaUtils.java150 supportSprintWifiCall = PackageUtils.isPackageEnabled(WIFI_CALL_PACKAGE_NAME, context); in isSupportingSprintWifiCall()
/packages/apps/Launcher3/src/com/android/launcher3/compat/
DLauncherAppsCompatVL.java127 return mLauncherApps.isPackageEnabled(packageName, user); in isPackageEnabledForProfile()
/packages/apps/Settings/src/com/android/settings/
DUtils.java1012 public static boolean isPackageEnabled(Context context, String packageName) { in isPackageEnabled() method in Utils
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/
DUtils.java1017 public static boolean isPackageEnabled(Context context, String packageName) { in isPackageEnabled() method in Utils