Searched refs:isComponentExplicitlyEnabled (Results 1 – 2 of 2) sorted by relevance
19 import static androidx.work.impl.utils.PackageManagerHelper.isComponentExplicitlyEnabled;77 assertThat(isComponentExplicitlyEnabled(mAppContext, SystemJobService.class), in assertServicesEnabled()80 assertThat(isComponentExplicitlyEnabled( in assertServicesEnabled()84 assertThat(isComponentExplicitlyEnabled(mAppContext, SystemAlarmService.class), in assertServicesEnabled()
64 public static boolean isComponentExplicitlyEnabled(Context context, Class klazz) { in isComponentExplicitlyEnabled() method in PackageManagerHelper65 return isComponentExplicitlyEnabled(context, klazz.getName()); in isComponentExplicitlyEnabled()75 public static boolean isComponentExplicitlyEnabled(Context context, String className) { in isComponentExplicitlyEnabled() method in PackageManagerHelper