Searched refs:isKeepEnabledPackage (Results 1 – 3 of 3) sorted by relevance
61 assertThat(ApplicationsUtils.isKeepEnabledPackage(RuntimeEnvironment.application, in isKeepEnabledPackage_defaultDialerApplication_returnsTrue()69 assertThat(ApplicationsUtils.isKeepEnabledPackage(RuntimeEnvironment.application, in isKeepEnabledPackage_defaultSmsApplication_returnsTrue()75 assertThat(ApplicationsUtils.isKeepEnabledPackage(RuntimeEnvironment.application, in isKeepEnabledPackage_returnsFalse()
50 public static boolean isKeepEnabledPackage(Context context, String packageName) { in isKeepEnabledPackage() method in ApplicationsUtils
21 import static com.android.car.settings.applications.ApplicationsUtils.isKeepEnabledPackage;399 if (isAppEnabled() && isKeepEnabledPackage(getContext(), mPackageName)) { in shouldDisableUninstallButton()